manifests

package
v5.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 26 Imported by: 1

Documentation

Overview

Code generated by go generate; DO NOT EDIT.

Code generated by go generate; DO NOT EDIT.

Code generated by go generate; DO NOT EDIT.

Code generated by go generate; DO NOT EDIT.

Code generated by go generate; DO NOT EDIT.

Code generated by go generate; DO NOT EDIT.

Code generated by go generate; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(ctx context.Context, name string, options *AddOptions) (string, error)

Add adds a manifest to a given manifest list. Additional options for the manifest can also be specified. The ID of the new manifest list is returned as a string

func AddArtifact

func AddArtifact(ctx context.Context, name string, options *AddArtifactOptions) (string, error)

AddArtifact creates an artifact manifest and adds it to a given manifest list. Additional options for the manifest can also be specified. The ID of the new manifest list is returned as a string

func Annotate

func Annotate(ctx context.Context, name string, images []string, options *ModifyOptions) (string, error)

Annotate modifies the given manifest list using options and the optional list of images

As of 4.0.0

func Create

func Create(ctx context.Context, name string, images []string, options *CreateOptions) (string, error)

Create creates a manifest for the given name. Optional images to be associated with the new manifest can also be specified. The all boolean specifies to add all entries of a list if the name provided is a manifest list. The ID of the new manifest list is returned as a string.

func Delete

Delete removes specified manifest from local storage.

func Exists

func Exists(ctx context.Context, name string, options *ExistsOptions) (bool, error)

Exists returns true if a given manifest list exists

func Inspect

func Inspect(ctx context.Context, name string, options *InspectOptions) (*manifest.Schema2List, error)

Inspect returns a manifest list for a given name.

func InspectListData

func InspectListData(ctx context.Context, name string, options *InspectOptions) (*define.ManifestListData, error)

InspectListData returns a manifest list for a given name. Contains exclusive field like `annotations` which is only present in OCI spec and not in docker image spec.

func Modify

func Modify(ctx context.Context, name string, images []string, options *ModifyOptions) (string, error)

Modify modifies the given manifest list using options and the optional list of images

func Push

func Push(ctx context.Context, name, destination string, options *images.PushOptions) (string, error)

Push takes a manifest list and pushes to a destination. If the destination is not specified, the name will be used instead. If the optional all boolean is specified, all images specified in the list will be pushed as well.

func Remove

func Remove(ctx context.Context, name, digest string, _ *RemoveOptions) (string, error)

Remove deletes a manifest entry from a manifest list. Both name and the digest to be removed are mandatory inputs. The ID of the new manifest list is returned as a string.

Types

type AddArtifactOptions

type AddArtifactOptions struct {
	Annotation map[string]string
	Arch       *string
	Features   []string
	OS         *string
	OSVersion  *string
	OSFeatures []string
	Variant    *string

	Type          **string          `json:"artifact_type,omitempty"`
	ConfigType    *string           `json:"artifact_config_type,omitempty"`
	Config        *string           `json:"artifact_config,omitempty"`
	LayerType     *string           `json:"artifact_layer_type,omitempty"`
	ExcludeTitles *bool             `json:"artifact_exclude_titles,omitempty"`
	Subject       *string           `json:"artifact_subject,omitempty"`
	Annotations   map[string]string `json:"artifact_annotations,omitempty"`
	Files         []string          `json:"artifact_files,omitempty"`
}

AddArtifactOptions are optional options for adding artifact manifests

func (*AddArtifactOptions) Changed

func (o *AddArtifactOptions) Changed(fieldName string) bool

Changed returns true if named field has been set

func (*AddArtifactOptions) GetAnnotation

func (o *AddArtifactOptions) GetAnnotation() map[string]string

GetAnnotation returns value of field Annotation

func (*AddArtifactOptions) GetAnnotations

func (o *AddArtifactOptions) GetAnnotations() map[string]string

GetAnnotations returns value of field Annotations

func (*AddArtifactOptions) GetArch

func (o *AddArtifactOptions) GetArch() string

GetArch returns value of field Arch

func (*AddArtifactOptions) GetConfig

func (o *AddArtifactOptions) GetConfig() string

GetConfig returns value of field Config

func (*AddArtifactOptions) GetConfigType

func (o *AddArtifactOptions) GetConfigType() string

GetConfigType returns value of field ConfigType

func (*AddArtifactOptions) GetExcludeTitles

func (o *AddArtifactOptions) GetExcludeTitles() bool

GetExcludeTitles returns value of field ExcludeTitles

func (*AddArtifactOptions) GetFeatures

func (o *AddArtifactOptions) GetFeatures() []string

GetFeatures returns value of field Features

func (*AddArtifactOptions) GetFiles

func (o *AddArtifactOptions) GetFiles() []string

GetFiles returns value of field Files

func (*AddArtifactOptions) GetLayerType

func (o *AddArtifactOptions) GetLayerType() string

GetLayerType returns value of field LayerType

func (*AddArtifactOptions) GetOS

func (o *AddArtifactOptions) GetOS() string

GetOS returns value of field OS

func (*AddArtifactOptions) GetOSFeatures

func (o *AddArtifactOptions) GetOSFeatures() []string

GetOSFeatures returns value of field OSFeatures

func (*AddArtifactOptions) GetOSVersion

func (o *AddArtifactOptions) GetOSVersion() string

GetOSVersion returns value of field OSVersion

func (*AddArtifactOptions) GetSubject

func (o *AddArtifactOptions) GetSubject() string

GetSubject returns value of field Subject

func (*AddArtifactOptions) GetType

func (o *AddArtifactOptions) GetType() *string

GetType returns value of field Type

func (*AddArtifactOptions) GetVariant

func (o *AddArtifactOptions) GetVariant() string

GetVariant returns value of field Variant

func (*AddArtifactOptions) ToParams

func (o *AddArtifactOptions) ToParams() (url.Values, error)

ToParams formats struct fields to be passed to API service

func (*AddArtifactOptions) WithAnnotation

func (o *AddArtifactOptions) WithAnnotation(value map[string]string) *AddArtifactOptions

WithAnnotation set field Annotation to given value

func (*AddArtifactOptions) WithAnnotations

func (o *AddArtifactOptions) WithAnnotations(value map[string]string) *AddArtifactOptions

WithAnnotations set field Annotations to given value

func (*AddArtifactOptions) WithArch

func (o *AddArtifactOptions) WithArch(value string) *AddArtifactOptions

WithArch set field Arch to given value

func (*AddArtifactOptions) WithConfig

func (o *AddArtifactOptions) WithConfig(value string) *AddArtifactOptions

WithConfig set field Config to given value

func (*AddArtifactOptions) WithConfigType

func (o *AddArtifactOptions) WithConfigType(value string) *AddArtifactOptions

WithConfigType set field ConfigType to given value

func (*AddArtifactOptions) WithExcludeTitles

func (o *AddArtifactOptions) WithExcludeTitles(value bool) *AddArtifactOptions

WithExcludeTitles set field ExcludeTitles to given value

func (*AddArtifactOptions) WithFeatures

func (o *AddArtifactOptions) WithFeatures(value []string) *AddArtifactOptions

WithFeatures set field Features to given value

func (*AddArtifactOptions) WithFiles

func (o *AddArtifactOptions) WithFiles(value []string) *AddArtifactOptions

WithFiles set field Files to given value

func (*AddArtifactOptions) WithLayerType

func (o *AddArtifactOptions) WithLayerType(value string) *AddArtifactOptions

WithLayerType set field LayerType to given value

func (*AddArtifactOptions) WithOS

func (o *AddArtifactOptions) WithOS(value string) *AddArtifactOptions

WithOS set field OS to given value

func (*AddArtifactOptions) WithOSFeatures

func (o *AddArtifactOptions) WithOSFeatures(value []string) *AddArtifactOptions

WithOSFeatures set field OSFeatures to given value

func (*AddArtifactOptions) WithOSVersion

func (o *AddArtifactOptions) WithOSVersion(value string) *AddArtifactOptions

WithOSVersion set field OSVersion to given value

func (*AddArtifactOptions) WithSubject

func (o *AddArtifactOptions) WithSubject(value string) *AddArtifactOptions

WithSubject set field Subject to given value

func (*AddArtifactOptions) WithType

func (o *AddArtifactOptions) WithType(value *string) *AddArtifactOptions

WithType set field Type to given value

func (*AddArtifactOptions) WithVariant

func (o *AddArtifactOptions) WithVariant(value string) *AddArtifactOptions

WithVariant set field Variant to given value

type AddOptions

type AddOptions struct {
	All *bool

	Annotation map[string]string
	Arch       *string
	Features   []string
	OS         *string
	OSVersion  *string
	OSFeatures []string
	Variant    *string

	Images        []string
	Authfile      *string
	Password      *string
	Username      *string
	SkipTLSVerify *bool `schema:"-"`
}

AddOptions are optional options for adding manifest lists

func (*AddOptions) Changed

func (o *AddOptions) Changed(fieldName string) bool

Changed returns true if named field has been set

func (*AddOptions) GetAll

func (o *AddOptions) GetAll() bool

GetAll returns value of field All

func (*AddOptions) GetAnnotation

func (o *AddOptions) GetAnnotation() map[string]string

GetAnnotation returns value of field Annotation

func (*AddOptions) GetArch

func (o *AddOptions) GetArch() string

GetArch returns value of field Arch

func (*AddOptions) GetAuthfile

func (o *AddOptions) GetAuthfile() string

GetAuthfile returns value of field Authfile

func (*AddOptions) GetFeatures

func (o *AddOptions) GetFeatures() []string

GetFeatures returns value of field Features

func (*AddOptions) GetImages

func (o *AddOptions) GetImages() []string

GetImages returns value of field Images

func (*AddOptions) GetOS

func (o *AddOptions) GetOS() string

GetOS returns value of field OS

func (*AddOptions) GetOSFeatures

func (o *AddOptions) GetOSFeatures() []string

GetOSFeatures returns value of field OSFeatures

func (*AddOptions) GetOSVersion

func (o *AddOptions) GetOSVersion() string

GetOSVersion returns value of field OSVersion

func (*AddOptions) GetPassword

func (o *AddOptions) GetPassword() string

GetPassword returns value of field Password

func (*AddOptions) GetSkipTLSVerify

func (o *AddOptions) GetSkipTLSVerify() bool

GetSkipTLSVerify returns value of field SkipTLSVerify

func (*AddOptions) GetUsername

func (o *AddOptions) GetUsername() string

GetUsername returns value of field Username

func (*AddOptions) GetVariant

func (o *AddOptions) GetVariant() string

GetVariant returns value of field Variant

func (*AddOptions) ToParams

func (o *AddOptions) ToParams() (url.Values, error)

ToParams formats struct fields to be passed to API service

func (*AddOptions) WithAll

func (o *AddOptions) WithAll(value bool) *AddOptions

WithAll set field All to given value

func (*AddOptions) WithAnnotation

func (o *AddOptions) WithAnnotation(value map[string]string) *AddOptions

WithAnnotation set field Annotation to given value

func (*AddOptions) WithArch

func (o *AddOptions) WithArch(value string) *AddOptions

WithArch set field Arch to given value

func (*AddOptions) WithAuthfile

func (o *AddOptions) WithAuthfile(value string) *AddOptions

WithAuthfile set field Authfile to given value

func (*AddOptions) WithFeatures

func (o *AddOptions) WithFeatures(value []string) *AddOptions

WithFeatures set field Features to given value

func (*AddOptions) WithImages

func (o *AddOptions) WithImages(value []string) *AddOptions

WithImages set field Images to given value

func (*AddOptions) WithOS

func (o *AddOptions) WithOS(value string) *AddOptions

WithOS set field OS to given value

func (*AddOptions) WithOSFeatures

func (o *AddOptions) WithOSFeatures(value []string) *AddOptions

WithOSFeatures set field OSFeatures to given value

func (*AddOptions) WithOSVersion

func (o *AddOptions) WithOSVersion(value string) *AddOptions

WithOSVersion set field OSVersion to given value

func (*AddOptions) WithPassword

func (o *AddOptions) WithPassword(value string) *AddOptions

WithPassword set field Password to given value

func (*AddOptions) WithSkipTLSVerify

func (o *AddOptions) WithSkipTLSVerify(value bool) *AddOptions

WithSkipTLSVerify set field SkipTLSVerify to given value

func (*AddOptions) WithUsername

func (o *AddOptions) WithUsername(value string) *AddOptions

WithUsername set field Username to given value

func (*AddOptions) WithVariant

func (o *AddOptions) WithVariant(value string) *AddOptions

WithVariant set field Variant to given value

type CreateOptions

type CreateOptions struct {
	All        *bool
	Amend      *bool
	Annotation map[string]string
}

CreateOptions are optional options for creating manifests

func (*CreateOptions) Changed

func (o *CreateOptions) Changed(fieldName string) bool

Changed returns true if named field has been set

func (*CreateOptions) GetAll

func (o *CreateOptions) GetAll() bool

GetAll returns value of field All

func (*CreateOptions) GetAmend

func (o *CreateOptions) GetAmend() bool

GetAmend returns value of field Amend

func (*CreateOptions) GetAnnotation

func (o *CreateOptions) GetAnnotation() map[string]string

GetAnnotation returns value of field Annotation

func (*CreateOptions) ToParams

func (o *CreateOptions) ToParams() (url.Values, error)

ToParams formats struct fields to be passed to API service

func (*CreateOptions) WithAll

func (o *CreateOptions) WithAll(value bool) *CreateOptions

WithAll set field All to given value

func (*CreateOptions) WithAmend

func (o *CreateOptions) WithAmend(value bool) *CreateOptions

WithAmend set field Amend to given value

func (*CreateOptions) WithAnnotation

func (o *CreateOptions) WithAnnotation(value map[string]string) *CreateOptions

WithAnnotation set field Annotation to given value

type ExistsOptions

type ExistsOptions struct {
}

ExistsOptions are optional options for checking if a manifest list exists

func (*ExistsOptions) Changed

func (o *ExistsOptions) Changed(fieldName string) bool

Changed returns true if named field has been set

func (*ExistsOptions) ToParams

func (o *ExistsOptions) ToParams() (url.Values, error)

ToParams formats struct fields to be passed to API service

type InspectOptions

type InspectOptions struct {
	// Authfile - path to an authentication file.
	Authfile *string
	// SkipTLSVerify - skip https and certificate validation when
	// contacting container registries.
	SkipTLSVerify *bool
}

InspectOptions are optional options for inspecting manifests

func (*InspectOptions) Changed

func (o *InspectOptions) Changed(fieldName string) bool

Changed returns true if named field has been set

func (*InspectOptions) GetAuthfile

func (o *InspectOptions) GetAuthfile() string

GetAuthfile returns value of field Authfile

func (*InspectOptions) GetSkipTLSVerify

func (o *InspectOptions) GetSkipTLSVerify() bool

GetSkipTLSVerify returns value of field SkipTLSVerify

func (*InspectOptions) ToParams

func (o *InspectOptions) ToParams() (url.Values, error)

ToParams formats struct fields to be passed to API service

func (*InspectOptions) WithAuthfile

func (o *InspectOptions) WithAuthfile(value string) *InspectOptions

WithAuthfile set field Authfile to given value

func (*InspectOptions) WithSkipTLSVerify

func (o *InspectOptions) WithSkipTLSVerify(value bool) *InspectOptions

WithSkipTLSVerify set field SkipTLSVerify to given value

type ModifyOptions

type ModifyOptions struct {
	// Operation values are "update", "remove" and "annotate". This allows the service to
	// efficiently perform each update on a manifest list.
	Operation *string
	All       *bool // All when true, operate on all images in a manifest list that may be included in Images

	Annotations map[string]string // Annotations to add to the entries for Images in the manifest list
	Arch        *string           // Arch overrides the architecture for the image
	Features    []string          // Feature list for the image
	OS          *string           // OS overrides the operating system for the image
	OSFeatures  []string          `json:"os_features" schema:"os_features"` // OSFeatures overrides the OS features for the image
	OSVersion   *string           `json:"os_version" schema:"os_version"`   // OSVersion overrides the operating system version for the image
	Variant     *string           // Variant overrides the architecture variant for the image

	Images        []string // Images is an optional list of images to add/remove to/from manifest list depending on operation
	Authfile      *string
	Password      *string
	Username      *string
	SkipTLSVerify *bool `schema:"-"`

	ArtifactType          **string          `json:"artifact_type"`           // the ArtifactType in an artifact manifest being created
	ArtifactConfigType    *string           `json:"artifact_config_type"`    // the config.MediaType in an artifact manifest being created
	ArtifactConfig        *string           `json:"artifact_config"`         // the config.Data in an artifact manifest being created
	ArtifactLayerType     *string           `json:"artifact_layer_type"`     // the MediaType for each layer in an artifact manifest being created
	ArtifactExcludeTitles *bool             `json:"artifact_exclude_titles"` // whether or not to include title annotations for each layer in an artifact manifest being created
	ArtifactSubject       *string           `json:"artifact_subject"`        // subject to set in an artifact manifest being created
	ArtifactAnnotations   map[string]string `json:"artifact_annotations"`    // annotations to add to an artifact manifest being created
	ArtifactFiles         *[]string         `json:"artifact_files"`          // an optional list of files to add to a new artifact manifest in the manifest list
	Body                  *io.Reader        `json:"-" schema:"-"`
}

ModifyOptions are optional options for modifying manifest lists

func (*ModifyOptions) Changed

func (o *ModifyOptions) Changed(fieldName string) bool

Changed returns true if named field has been set

func (*ModifyOptions) GetAll

func (o *ModifyOptions) GetAll() bool

GetAll returns value of all when true, operate on all images in a manifest list that may be included in Images

func (*ModifyOptions) GetAnnotations

func (o *ModifyOptions) GetAnnotations() map[string]string

GetAnnotations returns value of annotations to add to the entries for Images in the manifest list

func (*ModifyOptions) GetArch

func (o *ModifyOptions) GetArch() string

GetArch returns value of arch overrides the architecture for the image

func (*ModifyOptions) GetArtifactAnnotations

func (o *ModifyOptions) GetArtifactAnnotations() map[string]string

GetArtifactAnnotations returns value of annotations to add to an artifact manifest being created

func (*ModifyOptions) GetArtifactConfig

func (o *ModifyOptions) GetArtifactConfig() string

GetArtifactConfig returns value of the config.Data in an artifact manifest being created

func (*ModifyOptions) GetArtifactConfigType

func (o *ModifyOptions) GetArtifactConfigType() string

GetArtifactConfigType returns value of the config.MediaType in an artifact manifest being created

func (*ModifyOptions) GetArtifactExcludeTitles

func (o *ModifyOptions) GetArtifactExcludeTitles() bool

GetArtifactExcludeTitles returns value of whether or not to include title annotations for each layer in an artifact manifest being created

func (*ModifyOptions) GetArtifactFiles

func (o *ModifyOptions) GetArtifactFiles() []string

GetArtifactFiles returns value of an optional list of files to add to a new artifact manifest in the manifest list

func (*ModifyOptions) GetArtifactLayerType

func (o *ModifyOptions) GetArtifactLayerType() string

GetArtifactLayerType returns value of the MediaType for each layer in an artifact manifest being created

func (*ModifyOptions) GetArtifactSubject

func (o *ModifyOptions) GetArtifactSubject() string

GetArtifactSubject returns value of subject to set in an artifact manifest being created

func (*ModifyOptions) GetArtifactType

func (o *ModifyOptions) GetArtifactType() *string

GetArtifactType returns value of the ArtifactType in an artifact manifest being created

func (*ModifyOptions) GetAuthfile

func (o *ModifyOptions) GetAuthfile() string

GetAuthfile returns value of field Authfile

func (*ModifyOptions) GetBody

func (o *ModifyOptions) GetBody() io.Reader

GetBody returns value of field Body

func (*ModifyOptions) GetFeatures

func (o *ModifyOptions) GetFeatures() []string

GetFeatures returns value of feature list for the image

func (*ModifyOptions) GetImages

func (o *ModifyOptions) GetImages() []string

GetImages returns value of images is an optional list of images to add/remove to/from manifest list depending on operation

func (*ModifyOptions) GetOS

func (o *ModifyOptions) GetOS() string

GetOS returns value of oS overrides the operating system for the image

func (*ModifyOptions) GetOSFeatures

func (o *ModifyOptions) GetOSFeatures() []string

GetOSFeatures returns value of oSFeatures overrides the OS features for the image

func (*ModifyOptions) GetOSVersion

func (o *ModifyOptions) GetOSVersion() string

GetOSVersion returns value of oSVersion overrides the operating system version for the image

func (*ModifyOptions) GetOperation

func (o *ModifyOptions) GetOperation() string

GetOperation returns value of field Operation

func (*ModifyOptions) GetPassword

func (o *ModifyOptions) GetPassword() string

GetPassword returns value of field Password

func (*ModifyOptions) GetSkipTLSVerify

func (o *ModifyOptions) GetSkipTLSVerify() bool

GetSkipTLSVerify returns value of field SkipTLSVerify

func (*ModifyOptions) GetUsername

func (o *ModifyOptions) GetUsername() string

GetUsername returns value of field Username

func (*ModifyOptions) GetVariant

func (o *ModifyOptions) GetVariant() string

GetVariant returns value of variant overrides the architecture variant for the image

func (*ModifyOptions) ToParams

func (o *ModifyOptions) ToParams() (url.Values, error)

ToParams formats struct fields to be passed to API service

func (*ModifyOptions) WithAll

func (o *ModifyOptions) WithAll(value bool) *ModifyOptions

WithAll set all when true, operate on all images in a manifest list that may be included in Images

func (*ModifyOptions) WithAnnotations

func (o *ModifyOptions) WithAnnotations(value map[string]string) *ModifyOptions

WithAnnotations set annotations to add to the entries for Images in the manifest list

func (*ModifyOptions) WithArch

func (o *ModifyOptions) WithArch(value string) *ModifyOptions

WithArch set arch overrides the architecture for the image

func (*ModifyOptions) WithArtifactAnnotations

func (o *ModifyOptions) WithArtifactAnnotations(value map[string]string) *ModifyOptions

WithArtifactAnnotations set annotations to add to an artifact manifest being created

func (*ModifyOptions) WithArtifactConfig

func (o *ModifyOptions) WithArtifactConfig(value string) *ModifyOptions

WithArtifactConfig set the config.Data in an artifact manifest being created

func (*ModifyOptions) WithArtifactConfigType

func (o *ModifyOptions) WithArtifactConfigType(value string) *ModifyOptions

WithArtifactConfigType set the config.MediaType in an artifact manifest being created

func (*ModifyOptions) WithArtifactExcludeTitles

func (o *ModifyOptions) WithArtifactExcludeTitles(value bool) *ModifyOptions

WithArtifactExcludeTitles set whether or not to include title annotations for each layer in an artifact manifest being created

func (*ModifyOptions) WithArtifactFiles

func (o *ModifyOptions) WithArtifactFiles(value []string) *ModifyOptions

WithArtifactFiles set an optional list of files to add to a new artifact manifest in the manifest list

func (*ModifyOptions) WithArtifactLayerType

func (o *ModifyOptions) WithArtifactLayerType(value string) *ModifyOptions

WithArtifactLayerType set the MediaType for each layer in an artifact manifest being created

func (*ModifyOptions) WithArtifactSubject

func (o *ModifyOptions) WithArtifactSubject(value string) *ModifyOptions

WithArtifactSubject set subject to set in an artifact manifest being created

func (*ModifyOptions) WithArtifactType

func (o *ModifyOptions) WithArtifactType(value *string) *ModifyOptions

WithArtifactType set the ArtifactType in an artifact manifest being created

func (*ModifyOptions) WithAuthfile

func (o *ModifyOptions) WithAuthfile(value string) *ModifyOptions

WithAuthfile set field Authfile to given value

func (*ModifyOptions) WithBody

func (o *ModifyOptions) WithBody(value io.Reader) *ModifyOptions

WithBody set field Body to given value

func (*ModifyOptions) WithFeatures

func (o *ModifyOptions) WithFeatures(value []string) *ModifyOptions

WithFeatures set feature list for the image

func (*ModifyOptions) WithImages

func (o *ModifyOptions) WithImages(value []string) *ModifyOptions

WithImages set images is an optional list of images to add/remove to/from manifest list depending on operation

func (*ModifyOptions) WithOS

func (o *ModifyOptions) WithOS(value string) *ModifyOptions

WithOS set oS overrides the operating system for the image

func (*ModifyOptions) WithOSFeatures

func (o *ModifyOptions) WithOSFeatures(value []string) *ModifyOptions

WithOSFeatures set oSFeatures overrides the OS features for the image

func (*ModifyOptions) WithOSVersion

func (o *ModifyOptions) WithOSVersion(value string) *ModifyOptions

WithOSVersion set oSVersion overrides the operating system version for the image

func (*ModifyOptions) WithOperation

func (o *ModifyOptions) WithOperation(value string) *ModifyOptions

WithOperation set field Operation to given value

func (*ModifyOptions) WithPassword

func (o *ModifyOptions) WithPassword(value string) *ModifyOptions

WithPassword set field Password to given value

func (*ModifyOptions) WithSkipTLSVerify

func (o *ModifyOptions) WithSkipTLSVerify(value bool) *ModifyOptions

WithSkipTLSVerify set field SkipTLSVerify to given value

func (*ModifyOptions) WithUsername

func (o *ModifyOptions) WithUsername(value string) *ModifyOptions

WithUsername set field Username to given value

func (*ModifyOptions) WithVariant

func (o *ModifyOptions) WithVariant(value string) *ModifyOptions

WithVariant set variant overrides the architecture variant for the image

type RemoveOptions

type RemoveOptions struct {
}

RemoveOptions are optional options for removing manifest lists

func (*RemoveOptions) Changed

func (o *RemoveOptions) Changed(fieldName string) bool

Changed returns true if named field has been set

func (*RemoveOptions) ToParams

func (o *RemoveOptions) ToParams() (url.Values, error)

ToParams formats struct fields to be passed to API service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL