v1alpha1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudCredentialsReferenceApplyConfiguration

type CloudCredentialsReferenceApplyConfiguration struct {
	SecretName *string `json:"secretName,omitempty"`
	CloudName  *string `json:"cloudName,omitempty"`
}

CloudCredentialsReferenceApplyConfiguration represents a declarative configuration of the CloudCredentialsReference type for use with apply.

func CloudCredentialsReference

func CloudCredentialsReference() *CloudCredentialsReferenceApplyConfiguration

CloudCredentialsReferenceApplyConfiguration constructs a declarative configuration of the CloudCredentialsReference type for use with apply.

func (*CloudCredentialsReferenceApplyConfiguration) WithCloudName

WithCloudName sets the CloudName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudName field is set to the value of the last call.

func (*CloudCredentialsReferenceApplyConfiguration) WithSecretName

WithSecretName sets the SecretName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretName field is set to the value of the last call.

type ImageApplyConfiguration

type ImageApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ImageSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ImageStatusApplyConfiguration `json:"status,omitempty"`
}

ImageApplyConfiguration represents a declarative configuration of the Image type for use with apply.

func ExtractImage

func ExtractImage(image *apiv1alpha1.Image, fieldManager string) (*ImageApplyConfiguration, error)

ExtractImage extracts the applied configuration owned by fieldManager from image. If no managedFields are found in image for fieldManager, a ImageApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. image must be a unmodified Image API object that was retrieved from the Kubernetes API. ExtractImage provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractImageStatus

func ExtractImageStatus(image *apiv1alpha1.Image, fieldManager string) (*ImageApplyConfiguration, error)

ExtractImageStatus is the same as ExtractImage except that it extracts the status subresource applied configuration. Experimental!

func Image

func Image(name, namespace string) *ImageApplyConfiguration

Image constructs a declarative configuration of the Image type for use with apply.

func (*ImageApplyConfiguration) GetName

func (b *ImageApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*ImageApplyConfiguration) WithAPIVersion

func (b *ImageApplyConfiguration) WithAPIVersion(value string) *ImageApplyConfiguration

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*ImageApplyConfiguration) WithAnnotations

func (b *ImageApplyConfiguration) WithAnnotations(entries map[string]string) *ImageApplyConfiguration

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*ImageApplyConfiguration) WithCreationTimestamp

func (b *ImageApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ImageApplyConfiguration

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*ImageApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *ImageApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ImageApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*ImageApplyConfiguration) WithDeletionTimestamp

func (b *ImageApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ImageApplyConfiguration

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*ImageApplyConfiguration) WithFinalizers

func (b *ImageApplyConfiguration) WithFinalizers(values ...string) *ImageApplyConfiguration

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*ImageApplyConfiguration) WithGenerateName

func (b *ImageApplyConfiguration) WithGenerateName(value string) *ImageApplyConfiguration

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*ImageApplyConfiguration) WithGeneration

func (b *ImageApplyConfiguration) WithGeneration(value int64) *ImageApplyConfiguration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*ImageApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*ImageApplyConfiguration) WithLabels

func (b *ImageApplyConfiguration) WithLabels(entries map[string]string) *ImageApplyConfiguration

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*ImageApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ImageApplyConfiguration) WithNamespace

func (b *ImageApplyConfiguration) WithNamespace(value string) *ImageApplyConfiguration

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*ImageApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*ImageApplyConfiguration) WithResourceVersion

func (b *ImageApplyConfiguration) WithResourceVersion(value string) *ImageApplyConfiguration

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*ImageApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*ImageApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ImageApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type ImageContentApplyConfiguration

type ImageContentApplyConfiguration struct {
	ContainerFormat *v1alpha1.ImageContainerFormat                `json:"containerFormat,omitempty"`
	DiskFormat      *v1alpha1.ImageDiskFormat                     `json:"diskFormat,omitempty"`
	Download        *ImageContentSourceDownloadApplyConfiguration `json:"download,omitempty"`
}

ImageContentApplyConfiguration represents a declarative configuration of the ImageContent type for use with apply.

func ImageContent

func ImageContent() *ImageContentApplyConfiguration

ImageContentApplyConfiguration constructs a declarative configuration of the ImageContent type for use with apply.

func (*ImageContentApplyConfiguration) WithContainerFormat

WithContainerFormat sets the ContainerFormat field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ContainerFormat field is set to the value of the last call.

func (*ImageContentApplyConfiguration) WithDiskFormat

WithDiskFormat sets the DiskFormat field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DiskFormat field is set to the value of the last call.

func (*ImageContentApplyConfiguration) WithDownload

WithDownload sets the Download field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Download field is set to the value of the last call.

type ImageContentSourceDownloadApplyConfiguration

type ImageContentSourceDownloadApplyConfiguration struct {
	URL        *string                      `json:"url,omitempty"`
	Decompress *v1alpha1.ImageCompression   `json:"decompress,omitempty"`
	Hash       *ImageHashApplyConfiguration `json:"hash,omitempty"`
}

ImageContentSourceDownloadApplyConfiguration represents a declarative configuration of the ImageContentSourceDownload type for use with apply.

func ImageContentSourceDownload

func ImageContentSourceDownload() *ImageContentSourceDownloadApplyConfiguration

ImageContentSourceDownloadApplyConfiguration constructs a declarative configuration of the ImageContentSourceDownload type for use with apply.

func (*ImageContentSourceDownloadApplyConfiguration) WithDecompress

WithDecompress sets the Decompress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Decompress field is set to the value of the last call.

func (*ImageContentSourceDownloadApplyConfiguration) WithHash

WithHash sets the Hash field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hash field is set to the value of the last call.

func (*ImageContentSourceDownloadApplyConfiguration) WithURL

WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.

type ImageFilterApplyConfiguration

type ImageFilterApplyConfiguration struct {
	Name *string `json:"name,omitempty"`
}

ImageFilterApplyConfiguration represents a declarative configuration of the ImageFilter type for use with apply.

func ImageFilter

func ImageFilter() *ImageFilterApplyConfiguration

ImageFilterApplyConfiguration constructs a declarative configuration of the ImageFilter type for use with apply.

func (*ImageFilterApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type ImageHashApplyConfiguration

type ImageHashApplyConfiguration struct {
	Algorithm *v1alpha1.ImageHashAlgorithm `json:"algorithm,omitempty"`
	Value     *string                      `json:"value,omitempty"`
}

ImageHashApplyConfiguration represents a declarative configuration of the ImageHash type for use with apply.

func ImageHash

func ImageHash() *ImageHashApplyConfiguration

ImageHashApplyConfiguration constructs a declarative configuration of the ImageHash type for use with apply.

func (*ImageHashApplyConfiguration) WithAlgorithm

WithAlgorithm sets the Algorithm field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Algorithm field is set to the value of the last call.

func (*ImageHashApplyConfiguration) WithValue

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type ImageImportApplyConfiguration

type ImageImportApplyConfiguration struct {
	ID     *string                        `json:"id,omitempty"`
	Filter *ImageFilterApplyConfiguration `json:"filter,omitempty"`
}

ImageImportApplyConfiguration represents a declarative configuration of the ImageImport type for use with apply.

func ImageImport

func ImageImport() *ImageImportApplyConfiguration

ImageImportApplyConfiguration constructs a declarative configuration of the ImageImport type for use with apply.

func (*ImageImportApplyConfiguration) WithFilter

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*ImageImportApplyConfiguration) WithID

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type ImagePropertiesApplyConfiguration

type ImagePropertiesApplyConfiguration struct {
	MinDiskGB   *int                                       `json:"minDiskGB,omitempty"`
	MinMemoryMB *int                                       `json:"minMemoryMB,omitempty"`
	Hardware    *ImagePropertiesHardwareApplyConfiguration `json:"hardware,omitempty"`
}

ImagePropertiesApplyConfiguration represents a declarative configuration of the ImageProperties type for use with apply.

func ImageProperties

func ImageProperties() *ImagePropertiesApplyConfiguration

ImagePropertiesApplyConfiguration constructs a declarative configuration of the ImageProperties type for use with apply.

func (*ImagePropertiesApplyConfiguration) WithHardware

WithHardware sets the Hardware field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hardware field is set to the value of the last call.

func (*ImagePropertiesApplyConfiguration) WithMinDiskGB

WithMinDiskGB sets the MinDiskGB field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinDiskGB field is set to the value of the last call.

func (*ImagePropertiesApplyConfiguration) WithMinMemoryMB

WithMinMemoryMB sets the MinMemoryMB field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinMemoryMB field is set to the value of the last call.

type ImagePropertiesHardwareApplyConfiguration

type ImagePropertiesHardwareApplyConfiguration struct {
	CPUSockets      *int                 `json:"cpuSockets,omitempty"`
	CPUCores        *int                 `json:"cpuCores,omitempty"`
	CPUThreads      *int                 `json:"cpuThreads,omitempty"`
	CPUPolicy       *string              `json:"cpuPolicy,omitempty"`
	CPUThreadPolicy *string              `json:"cpuThreadPolicy,omitempty"`
	CDROMBus        *v1alpha1.ImageHWBus `json:"cdromBus,omitempty"`
	DiskBus         *v1alpha1.ImageHWBus `json:"diskBus,omitempty"`
	SCSIModel       *string              `json:"scsiModel,omitempty"`
	VIFModel        *string              `json:"vifModel,omitempty"`
}

ImagePropertiesHardwareApplyConfiguration represents a declarative configuration of the ImagePropertiesHardware type for use with apply.

func ImagePropertiesHardware

func ImagePropertiesHardware() *ImagePropertiesHardwareApplyConfiguration

ImagePropertiesHardwareApplyConfiguration constructs a declarative configuration of the ImagePropertiesHardware type for use with apply.

func (*ImagePropertiesHardwareApplyConfiguration) WithCDROMBus

WithCDROMBus sets the CDROMBus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CDROMBus field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithCPUCores

WithCPUCores sets the CPUCores field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CPUCores field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithCPUPolicy

WithCPUPolicy sets the CPUPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CPUPolicy field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithCPUSockets

WithCPUSockets sets the CPUSockets field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CPUSockets field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithCPUThreadPolicy

WithCPUThreadPolicy sets the CPUThreadPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CPUThreadPolicy field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithCPUThreads

WithCPUThreads sets the CPUThreads field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CPUThreads field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithDiskBus

WithDiskBus sets the DiskBus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DiskBus field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithSCSIModel

WithSCSIModel sets the SCSIModel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SCSIModel field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithVIFModel

WithVIFModel sets the VIFModel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VIFModel field is set to the value of the last call.

type ImageResourceSpecApplyConfiguration

type ImageResourceSpecApplyConfiguration struct {
	Name       *v1alpha1.OpenStackName            `json:"name,omitempty"`
	Protected  *bool                              `json:"protected,omitempty"`
	Tags       []v1alpha1.ImageTag                `json:"tags,omitempty"`
	Visibility *v1alpha1.ImageVisibility          `json:"visibility,omitempty"`
	Properties *ImagePropertiesApplyConfiguration `json:"properties,omitempty"`
	Content    *ImageContentApplyConfiguration    `json:"content,omitempty"`
}

ImageResourceSpecApplyConfiguration represents a declarative configuration of the ImageResourceSpec type for use with apply.

func ImageResourceSpec

func ImageResourceSpec() *ImageResourceSpecApplyConfiguration

ImageResourceSpecApplyConfiguration constructs a declarative configuration of the ImageResourceSpec type for use with apply.

func (*ImageResourceSpecApplyConfiguration) WithContent

WithContent sets the Content field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Content field is set to the value of the last call.

func (*ImageResourceSpecApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ImageResourceSpecApplyConfiguration) WithProperties

WithProperties sets the Properties field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Properties field is set to the value of the last call.

func (*ImageResourceSpecApplyConfiguration) WithProtected

WithProtected sets the Protected field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Protected field is set to the value of the last call.

func (*ImageResourceSpecApplyConfiguration) WithTags

WithTags adds the given value to the Tags field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Tags field.

func (*ImageResourceSpecApplyConfiguration) WithVisibility

WithVisibility sets the Visibility field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Visibility field is set to the value of the last call.

type ImageResourceStatusApplyConfiguration

type ImageResourceStatusApplyConfiguration struct {
	Status       *string                      `json:"status,omitempty"`
	Hash         *ImageHashApplyConfiguration `json:"hash,omitempty"`
	SizeB        *int64                       `json:"sizeB,omitempty"`
	VirtualSizeB *int64                       `json:"virtualSizeB,omitempty"`
}

ImageResourceStatusApplyConfiguration represents a declarative configuration of the ImageResourceStatus type for use with apply.

func ImageResourceStatus

func ImageResourceStatus() *ImageResourceStatusApplyConfiguration

ImageResourceStatusApplyConfiguration constructs a declarative configuration of the ImageResourceStatus type for use with apply.

func (*ImageResourceStatusApplyConfiguration) WithHash

WithHash sets the Hash field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hash field is set to the value of the last call.

func (*ImageResourceStatusApplyConfiguration) WithSizeB

WithSizeB sets the SizeB field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SizeB field is set to the value of the last call.

func (*ImageResourceStatusApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ImageResourceStatusApplyConfiguration) WithVirtualSizeB

WithVirtualSizeB sets the VirtualSizeB field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VirtualSizeB field is set to the value of the last call.

type ImageSpecApplyConfiguration

type ImageSpecApplyConfiguration struct {
	Import              *ImageImportApplyConfiguration               `json:"import,omitempty"`
	Resource            *ImageResourceSpecApplyConfiguration         `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

ImageSpecApplyConfiguration represents a declarative configuration of the ImageSpec type for use with apply.

func ImageSpec

func ImageSpec() *ImageSpecApplyConfiguration

ImageSpecApplyConfiguration constructs a declarative configuration of the ImageSpec type for use with apply.

func (*ImageSpecApplyConfiguration) WithCloudCredentialsRef

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*ImageSpecApplyConfiguration) WithImport

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*ImageSpecApplyConfiguration) WithManagedOptions

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*ImageSpecApplyConfiguration) WithManagementPolicy

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*ImageSpecApplyConfiguration) WithResource

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type ImageStatusApplyConfiguration

type ImageStatusApplyConfiguration struct {
	Conditions                         []v1.ConditionApplyConfiguration       `json:"conditions,omitempty"`
	ID                                 *string                                `json:"id,omitempty"`
	Resource                           *ImageResourceStatusApplyConfiguration `json:"resource,omitempty"`
	ImageStatusExtraApplyConfiguration `json:",inline"`
}

ImageStatusApplyConfiguration represents a declarative configuration of the ImageStatus type for use with apply.

func ImageStatus

func ImageStatus() *ImageStatusApplyConfiguration

ImageStatusApplyConfiguration constructs a declarative configuration of the ImageStatus type for use with apply.

func (*ImageStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*ImageStatusApplyConfiguration) WithDownloadAttempts

func (b *ImageStatusApplyConfiguration) WithDownloadAttempts(value int) *ImageStatusApplyConfiguration

WithDownloadAttempts sets the DownloadAttempts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DownloadAttempts field is set to the value of the last call.

func (*ImageStatusApplyConfiguration) WithID

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*ImageStatusApplyConfiguration) WithResource

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type ImageStatusExtraApplyConfiguration

type ImageStatusExtraApplyConfiguration struct {
	DownloadAttempts *int `json:"downloadAttempts,omitempty"`
}

ImageStatusExtraApplyConfiguration represents a declarative configuration of the ImageStatusExtra type for use with apply.

func ImageStatusExtra

func ImageStatusExtra() *ImageStatusExtraApplyConfiguration

ImageStatusExtraApplyConfiguration constructs a declarative configuration of the ImageStatusExtra type for use with apply.

func (*ImageStatusExtraApplyConfiguration) WithDownloadAttempts

WithDownloadAttempts sets the DownloadAttempts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DownloadAttempts field is set to the value of the last call.

type ManagedOptionsApplyConfiguration

type ManagedOptionsApplyConfiguration struct {
	OnDelete *v1alpha1.OnDelete `json:"onDelete,omitempty"`
}

ManagedOptionsApplyConfiguration represents a declarative configuration of the ManagedOptions type for use with apply.

func ManagedOptions

func ManagedOptions() *ManagedOptionsApplyConfiguration

ManagedOptionsApplyConfiguration constructs a declarative configuration of the ManagedOptions type for use with apply.

func (*ManagedOptionsApplyConfiguration) WithOnDelete

WithOnDelete sets the OnDelete field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OnDelete field is set to the value of the last call.

Jump to

Keyboard shortcuts

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