Documentation ¶
Index ¶
- type CloudCredentialsReferenceApplyConfiguration
- type ImageApplyConfiguration
- func (b *ImageApplyConfiguration) GetName() *string
- func (b *ImageApplyConfiguration) WithAPIVersion(value string) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithAnnotations(entries map[string]string) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithFinalizers(values ...string) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithGenerateName(value string) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithGeneration(value int64) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithKind(value string) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithLabels(entries map[string]string) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithName(value string) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithNamespace(value string) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithResourceVersion(value string) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithSpec(value *ImageSpecApplyConfiguration) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithStatus(value *ImageStatusApplyConfiguration) *ImageApplyConfiguration
- func (b *ImageApplyConfiguration) WithUID(value types.UID) *ImageApplyConfiguration
- type ImageContentApplyConfiguration
- func (b *ImageContentApplyConfiguration) WithContainerFormat(value v1alpha1.ImageContainerFormat) *ImageContentApplyConfiguration
- func (b *ImageContentApplyConfiguration) WithDiskFormat(value v1alpha1.ImageDiskFormat) *ImageContentApplyConfiguration
- func (b *ImageContentApplyConfiguration) WithDownload(value *ImageContentSourceDownloadApplyConfiguration) *ImageContentApplyConfiguration
- type ImageContentSourceDownloadApplyConfiguration
- func (b *ImageContentSourceDownloadApplyConfiguration) WithDecompress(value v1alpha1.ImageCompression) *ImageContentSourceDownloadApplyConfiguration
- func (b *ImageContentSourceDownloadApplyConfiguration) WithHash(value *ImageHashApplyConfiguration) *ImageContentSourceDownloadApplyConfiguration
- func (b *ImageContentSourceDownloadApplyConfiguration) WithURL(value string) *ImageContentSourceDownloadApplyConfiguration
- type ImageFilterApplyConfiguration
- type ImageHashApplyConfiguration
- type ImageImportApplyConfiguration
- type ImagePropertiesApplyConfiguration
- func (b *ImagePropertiesApplyConfiguration) WithHardware(value *ImagePropertiesHardwareApplyConfiguration) *ImagePropertiesApplyConfiguration
- func (b *ImagePropertiesApplyConfiguration) WithMinDiskGB(value int) *ImagePropertiesApplyConfiguration
- func (b *ImagePropertiesApplyConfiguration) WithMinMemoryMB(value int) *ImagePropertiesApplyConfiguration
- type ImagePropertiesHardwareApplyConfiguration
- func (b *ImagePropertiesHardwareApplyConfiguration) WithCDROMBus(value v1alpha1.ImageHWBus) *ImagePropertiesHardwareApplyConfiguration
- func (b *ImagePropertiesHardwareApplyConfiguration) WithCPUCores(value int) *ImagePropertiesHardwareApplyConfiguration
- func (b *ImagePropertiesHardwareApplyConfiguration) WithCPUPolicy(value string) *ImagePropertiesHardwareApplyConfiguration
- func (b *ImagePropertiesHardwareApplyConfiguration) WithCPUSockets(value int) *ImagePropertiesHardwareApplyConfiguration
- func (b *ImagePropertiesHardwareApplyConfiguration) WithCPUThreadPolicy(value string) *ImagePropertiesHardwareApplyConfiguration
- func (b *ImagePropertiesHardwareApplyConfiguration) WithCPUThreads(value int) *ImagePropertiesHardwareApplyConfiguration
- func (b *ImagePropertiesHardwareApplyConfiguration) WithDiskBus(value v1alpha1.ImageHWBus) *ImagePropertiesHardwareApplyConfiguration
- func (b *ImagePropertiesHardwareApplyConfiguration) WithSCSIModel(value string) *ImagePropertiesHardwareApplyConfiguration
- func (b *ImagePropertiesHardwareApplyConfiguration) WithVIFModel(value string) *ImagePropertiesHardwareApplyConfiguration
- type ImageResourceSpecApplyConfiguration
- func (b *ImageResourceSpecApplyConfiguration) WithContent(value *ImageContentApplyConfiguration) *ImageResourceSpecApplyConfiguration
- func (b *ImageResourceSpecApplyConfiguration) WithName(value v1alpha1.OpenStackName) *ImageResourceSpecApplyConfiguration
- func (b *ImageResourceSpecApplyConfiguration) WithProperties(value *ImagePropertiesApplyConfiguration) *ImageResourceSpecApplyConfiguration
- func (b *ImageResourceSpecApplyConfiguration) WithProtected(value bool) *ImageResourceSpecApplyConfiguration
- func (b *ImageResourceSpecApplyConfiguration) WithTags(values ...v1alpha1.ImageTag) *ImageResourceSpecApplyConfiguration
- func (b *ImageResourceSpecApplyConfiguration) WithVisibility(value v1alpha1.ImageVisibility) *ImageResourceSpecApplyConfiguration
- type ImageResourceStatusApplyConfiguration
- func (b *ImageResourceStatusApplyConfiguration) WithHash(value *ImageHashApplyConfiguration) *ImageResourceStatusApplyConfiguration
- func (b *ImageResourceStatusApplyConfiguration) WithSizeB(value int64) *ImageResourceStatusApplyConfiguration
- func (b *ImageResourceStatusApplyConfiguration) WithStatus(value string) *ImageResourceStatusApplyConfiguration
- func (b *ImageResourceStatusApplyConfiguration) WithVirtualSizeB(value int64) *ImageResourceStatusApplyConfiguration
- type ImageSpecApplyConfiguration
- func (b *ImageSpecApplyConfiguration) WithCloudCredentialsRef(value *CloudCredentialsReferenceApplyConfiguration) *ImageSpecApplyConfiguration
- func (b *ImageSpecApplyConfiguration) WithImport(value *ImageImportApplyConfiguration) *ImageSpecApplyConfiguration
- func (b *ImageSpecApplyConfiguration) WithManagedOptions(value *ManagedOptionsApplyConfiguration) *ImageSpecApplyConfiguration
- func (b *ImageSpecApplyConfiguration) WithManagementPolicy(value apiv1alpha1.ManagementPolicy) *ImageSpecApplyConfiguration
- func (b *ImageSpecApplyConfiguration) WithResource(value *ImageResourceSpecApplyConfiguration) *ImageSpecApplyConfiguration
- type ImageStatusApplyConfiguration
- func (b *ImageStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *ImageStatusApplyConfiguration
- func (b *ImageStatusApplyConfiguration) WithDownloadAttempts(value int) *ImageStatusApplyConfiguration
- func (b *ImageStatusApplyConfiguration) WithID(value string) *ImageStatusApplyConfiguration
- func (b *ImageStatusApplyConfiguration) WithResource(value *ImageResourceStatusApplyConfiguration) *ImageStatusApplyConfiguration
- type ImageStatusExtraApplyConfiguration
- type ManagedOptionsApplyConfiguration
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 ¶
func (b *CloudCredentialsReferenceApplyConfiguration) WithCloudName(value string) *CloudCredentialsReferenceApplyConfiguration
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 ¶
func (b *CloudCredentialsReferenceApplyConfiguration) WithSecretName(value string) *CloudCredentialsReferenceApplyConfiguration
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 ¶
func (b *ImageApplyConfiguration) WithKind(value string) *ImageApplyConfiguration
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 ¶
func (b *ImageApplyConfiguration) WithName(value string) *ImageApplyConfiguration
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 ¶
func (b *ImageApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ImageApplyConfiguration
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 ¶
func (b *ImageApplyConfiguration) WithSpec(value *ImageSpecApplyConfiguration) *ImageApplyConfiguration
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 ¶
func (b *ImageApplyConfiguration) WithStatus(value *ImageStatusApplyConfiguration) *ImageApplyConfiguration
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 ¶
func (b *ImageApplyConfiguration) WithUID(value types.UID) *ImageApplyConfiguration
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 ¶
func (b *ImageContentApplyConfiguration) WithContainerFormat(value v1alpha1.ImageContainerFormat) *ImageContentApplyConfiguration
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 ¶
func (b *ImageContentApplyConfiguration) WithDiskFormat(value v1alpha1.ImageDiskFormat) *ImageContentApplyConfiguration
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 ¶
func (b *ImageContentApplyConfiguration) WithDownload(value *ImageContentSourceDownloadApplyConfiguration) *ImageContentApplyConfiguration
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 ¶
func (b *ImageContentSourceDownloadApplyConfiguration) WithDecompress(value v1alpha1.ImageCompression) *ImageContentSourceDownloadApplyConfiguration
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 ¶
func (b *ImageContentSourceDownloadApplyConfiguration) WithHash(value *ImageHashApplyConfiguration) *ImageContentSourceDownloadApplyConfiguration
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 ¶
func (b *ImageContentSourceDownloadApplyConfiguration) WithURL(value string) *ImageContentSourceDownloadApplyConfiguration
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 ¶
func (b *ImageFilterApplyConfiguration) WithName(value string) *ImageFilterApplyConfiguration
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 ¶
func (b *ImageHashApplyConfiguration) WithAlgorithm(value v1alpha1.ImageHashAlgorithm) *ImageHashApplyConfiguration
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 ¶
func (b *ImageHashApplyConfiguration) WithValue(value string) *ImageHashApplyConfiguration
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 ¶
func (b *ImageImportApplyConfiguration) WithFilter(value *ImageFilterApplyConfiguration) *ImageImportApplyConfiguration
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 ¶
func (b *ImageImportApplyConfiguration) WithID(value string) *ImageImportApplyConfiguration
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 ¶
func (b *ImagePropertiesApplyConfiguration) WithHardware(value *ImagePropertiesHardwareApplyConfiguration) *ImagePropertiesApplyConfiguration
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 ¶
func (b *ImagePropertiesApplyConfiguration) WithMinDiskGB(value int) *ImagePropertiesApplyConfiguration
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 ¶
func (b *ImagePropertiesApplyConfiguration) WithMinMemoryMB(value int) *ImagePropertiesApplyConfiguration
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 ¶
func (b *ImagePropertiesHardwareApplyConfiguration) WithCDROMBus(value v1alpha1.ImageHWBus) *ImagePropertiesHardwareApplyConfiguration
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 ¶
func (b *ImagePropertiesHardwareApplyConfiguration) WithCPUCores(value int) *ImagePropertiesHardwareApplyConfiguration
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 ¶
func (b *ImagePropertiesHardwareApplyConfiguration) WithCPUPolicy(value string) *ImagePropertiesHardwareApplyConfiguration
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 ¶
func (b *ImagePropertiesHardwareApplyConfiguration) WithCPUSockets(value int) *ImagePropertiesHardwareApplyConfiguration
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 ¶
func (b *ImagePropertiesHardwareApplyConfiguration) WithCPUThreadPolicy(value string) *ImagePropertiesHardwareApplyConfiguration
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 ¶
func (b *ImagePropertiesHardwareApplyConfiguration) WithCPUThreads(value int) *ImagePropertiesHardwareApplyConfiguration
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 ¶
func (b *ImagePropertiesHardwareApplyConfiguration) WithDiskBus(value v1alpha1.ImageHWBus) *ImagePropertiesHardwareApplyConfiguration
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 ¶
func (b *ImagePropertiesHardwareApplyConfiguration) WithSCSIModel(value string) *ImagePropertiesHardwareApplyConfiguration
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 ¶
func (b *ImagePropertiesHardwareApplyConfiguration) WithVIFModel(value string) *ImagePropertiesHardwareApplyConfiguration
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 ¶
func (b *ImageResourceSpecApplyConfiguration) WithContent(value *ImageContentApplyConfiguration) *ImageResourceSpecApplyConfiguration
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 ¶
func (b *ImageResourceSpecApplyConfiguration) WithName(value v1alpha1.OpenStackName) *ImageResourceSpecApplyConfiguration
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 ¶
func (b *ImageResourceSpecApplyConfiguration) WithProperties(value *ImagePropertiesApplyConfiguration) *ImageResourceSpecApplyConfiguration
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 ¶
func (b *ImageResourceSpecApplyConfiguration) WithProtected(value bool) *ImageResourceSpecApplyConfiguration
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 ¶
func (b *ImageResourceSpecApplyConfiguration) WithTags(values ...v1alpha1.ImageTag) *ImageResourceSpecApplyConfiguration
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 ¶
func (b *ImageResourceSpecApplyConfiguration) WithVisibility(value v1alpha1.ImageVisibility) *ImageResourceSpecApplyConfiguration
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 ¶
func (b *ImageResourceStatusApplyConfiguration) WithHash(value *ImageHashApplyConfiguration) *ImageResourceStatusApplyConfiguration
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 ¶
func (b *ImageResourceStatusApplyConfiguration) WithSizeB(value int64) *ImageResourceStatusApplyConfiguration
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 ¶
func (b *ImageResourceStatusApplyConfiguration) WithStatus(value string) *ImageResourceStatusApplyConfiguration
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 ¶
func (b *ImageResourceStatusApplyConfiguration) WithVirtualSizeB(value int64) *ImageResourceStatusApplyConfiguration
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 ¶
func (b *ImageSpecApplyConfiguration) WithCloudCredentialsRef(value *CloudCredentialsReferenceApplyConfiguration) *ImageSpecApplyConfiguration
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 ¶
func (b *ImageSpecApplyConfiguration) WithImport(value *ImageImportApplyConfiguration) *ImageSpecApplyConfiguration
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 ¶
func (b *ImageSpecApplyConfiguration) WithManagedOptions(value *ManagedOptionsApplyConfiguration) *ImageSpecApplyConfiguration
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 ¶
func (b *ImageSpecApplyConfiguration) WithManagementPolicy(value apiv1alpha1.ManagementPolicy) *ImageSpecApplyConfiguration
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 ¶
func (b *ImageSpecApplyConfiguration) WithResource(value *ImageResourceSpecApplyConfiguration) *ImageSpecApplyConfiguration
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 ¶
func (b *ImageStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *ImageStatusApplyConfiguration
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 ¶
func (b *ImageStatusApplyConfiguration) WithID(value string) *ImageStatusApplyConfiguration
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 ¶
func (b *ImageStatusApplyConfiguration) WithResource(value *ImageResourceStatusApplyConfiguration) *ImageStatusApplyConfiguration
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 ¶
func (b *ImageStatusExtraApplyConfiguration) WithDownloadAttempts(value int) *ImageStatusExtraApplyConfiguration
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 ¶
func (b *ManagedOptionsApplyConfiguration) WithOnDelete(value v1alpha1.OnDelete) *ManagedOptionsApplyConfiguration
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.