mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
api/types/client.go: documentation fix for ImageImportSource
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
This commit is contained in:
parent
1f9beceacc
commit
6ab57aafa6
1 changed files with 2 additions and 2 deletions
|
@ -173,8 +173,8 @@ type ImageCreateOptions struct {
|
||||||
|
|
||||||
// ImageImportSource holds source information for ImageImport
|
// ImageImportSource holds source information for ImageImport
|
||||||
type ImageImportSource struct {
|
type ImageImportSource struct {
|
||||||
Source io.Reader // Source is the data to send to the server to create this image from (mutually exclusive with SourceName)
|
Source io.Reader // Source is the data to send to the server to create this image from. You must set SourceName to "-" to leverage this.
|
||||||
SourceName string // SourceName is the name of the image to pull (mutually exclusive with Source)
|
SourceName string // SourceName is the name of the image to pull. Set to "-" to leverage the Source attribute.
|
||||||
}
|
}
|
||||||
|
|
||||||
// ImageImportOptions holds information to import images from the client host.
|
// ImageImportOptions holds information to import images from the client host.
|
||||||
|
|
Loading…
Reference in a new issue