diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-01-29 11:47:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-29 11:47:20 -0500 |
commit | 0fe3d43ef1c6dce6ae931aba53dc68d80e42e4da (patch) | |
tree | f93633b4041ec7cacad2ff1380e987f5c9dd6265 /pkg/bindings/images/types.go | |
parent | 0c6a889a7ec93964a12a10870920727e13e438c3 (diff) | |
parent | 59076888d9013fdfa4800b3fe61e008abf5e61e9 (diff) | |
download | podman-0fe3d43ef1c6dce6ae931aba53dc68d80e42e4da.tar.gz podman-0fe3d43ef1c6dce6ae931aba53dc68d80e42e4da.tar.bz2 podman-0fe3d43ef1c6dce6ae931aba53dc68d80e42e4da.zip |
Merge pull request #9133 from rhatdan/pull1
Cleanup bindings for image pull
Diffstat (limited to 'pkg/bindings/images/types.go')
-rw-r--r-- | pkg/bindings/images/types.go | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/pkg/bindings/images/types.go b/pkg/bindings/images/types.go index 75f1a2f81..f9d6f8dbb 100644 --- a/pkg/bindings/images/types.go +++ b/pkg/bindings/images/types.go @@ -2,7 +2,6 @@ package images import ( "github.com/containers/buildah/imagebuildah" - "github.com/containers/common/pkg/config" ) //go:generate go run ../generator/generator.go RemoveOptions @@ -138,32 +137,25 @@ type PullOptions struct { // AllTags can be specified to pull all tags of an image. Note // that this only works if the image does not include a tag. AllTags *bool + // Arch will overwrite the local architecture for image pulls. + Arch *string // Authfile is the path to the authentication file. Ignored for remote // calls. Authfile *string - // CertDir is the path to certificate directories. Ignored for remote - // calls. - CertDir *string - // Username for authenticating against the registry. - Username *string - // Password for authenticating against the registry. - Password *string - // Arch will overwrite the local architecture for image pulls. - Arch *string // OS will overwrite the local operating system (OS) for image // pulls. OS *string - // Variant will overwrite the local variant for image pulls. - Variant *string + // Password for authenticating against the registry. + Password *string // Quiet can be specified to suppress pull progress when pulling. Ignored // for remote calls. Quiet *bool - // SignaturePolicy to use when pulling. Ignored for remote calls. - SignaturePolicy *string // SkipTLSVerify to skip HTTPS and certificate verification. SkipTLSVerify *bool - // PullPolicy whether to pull new image - PullPolicy *config.PullPolicy + // Username for authenticating against the registry. + Username *string + // Variant will overwrite the local variant for image pulls. + Variant *string } //BuildOptions are optional options for building images |