Documentation
¶
Index ¶
- type AggregateApplyConfiguration
- type CapabilitiesApplyConfiguration
- func (b *CapabilitiesApplyConfiguration) WithHostCpuArch(value string) *CapabilitiesApplyConfiguration
- func (b *CapabilitiesApplyConfiguration) WithHostCpus(value resource.Quantity) *CapabilitiesApplyConfiguration
- func (b *CapabilitiesApplyConfiguration) WithHostMemory(value resource.Quantity) *CapabilitiesApplyConfiguration
- type CellApplyConfiguration
- func (b *CellApplyConfiguration) WithAllocation(entries map[apiv1.ResourceName]resource.Quantity) *CellApplyConfiguration
- func (b *CellApplyConfiguration) WithCapacity(entries map[apiv1.ResourceName]resource.Quantity) *CellApplyConfiguration
- func (b *CellApplyConfiguration) WithCellID(value uint64) *CellApplyConfiguration
- func (b *CellApplyConfiguration) WithEffectiveCapacity(entries map[apiv1.ResourceName]resource.Quantity) *CellApplyConfiguration
- type DomainCapabilitiesApplyConfiguration
- func (b *DomainCapabilitiesApplyConfiguration) WithArch(value string) *DomainCapabilitiesApplyConfiguration
- func (b *DomainCapabilitiesApplyConfiguration) WithHypervisorType(value string) *DomainCapabilitiesApplyConfiguration
- func (b *DomainCapabilitiesApplyConfiguration) WithSupportedCpuModes(values ...string) *DomainCapabilitiesApplyConfiguration
- func (b *DomainCapabilitiesApplyConfiguration) WithSupportedDevices(values ...string) *DomainCapabilitiesApplyConfiguration
- func (b *DomainCapabilitiesApplyConfiguration) WithSupportedFeatures(values ...string) *DomainCapabilitiesApplyConfiguration
- type DomainInfoApplyConfiguration
- func (b *DomainInfoApplyConfiguration) WithAllocation(entries map[string]resource.Quantity) *DomainInfoApplyConfiguration
- func (b *DomainInfoApplyConfiguration) WithCpuCells(values ...int) *DomainInfoApplyConfiguration
- func (b *DomainInfoApplyConfiguration) WithMemoryCells(values ...int) *DomainInfoApplyConfiguration
- func (b *DomainInfoApplyConfiguration) WithName(value string) *DomainInfoApplyConfiguration
- func (b *DomainInfoApplyConfiguration) WithUUID(value string) *DomainInfoApplyConfiguration
- type EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) GetAPIVersion() *string
- func (b *EvictionApplyConfiguration) GetKind() *string
- func (b *EvictionApplyConfiguration) GetName() *string
- func (b *EvictionApplyConfiguration) GetNamespace() *string
- func (b EvictionApplyConfiguration) IsApplyConfiguration()
- func (b *EvictionApplyConfiguration) WithAPIVersion(value string) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithAnnotations(entries map[string]string) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithFinalizers(values ...string) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithGenerateName(value string) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithGeneration(value int64) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithKind(value string) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithLabels(entries map[string]string) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithName(value string) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithNamespace(value string) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithResourceVersion(value string) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithSpec(value *EvictionSpecApplyConfiguration) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithStatus(value *EvictionStatusApplyConfiguration) *EvictionApplyConfiguration
- func (b *EvictionApplyConfiguration) WithUID(value types.UID) *EvictionApplyConfiguration
- type EvictionSpecApplyConfiguration
- type EvictionStatusApplyConfiguration
- func (b *EvictionStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *EvictionStatusApplyConfiguration
- func (b *EvictionStatusApplyConfiguration) WithHypervisorServiceId(value string) *EvictionStatusApplyConfiguration
- func (b *EvictionStatusApplyConfiguration) WithOutstandingInstances(values ...string) *EvictionStatusApplyConfiguration
- func (b *EvictionStatusApplyConfiguration) WithOutstandingRamMb(value int64) *EvictionStatusApplyConfiguration
- type HyperVisorUpdateStatusApplyConfiguration
- func (b *HyperVisorUpdateStatusApplyConfiguration) WithInProgress(value bool) *HyperVisorUpdateStatusApplyConfiguration
- func (b *HyperVisorUpdateStatusApplyConfiguration) WithInstalled(value string) *HyperVisorUpdateStatusApplyConfiguration
- func (b *HyperVisorUpdateStatusApplyConfiguration) WithRetry(value int) *HyperVisorUpdateStatusApplyConfiguration
- type HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) GetAPIVersion() *string
- func (b *HypervisorApplyConfiguration) GetKind() *string
- func (b *HypervisorApplyConfiguration) GetName() *string
- func (b *HypervisorApplyConfiguration) GetNamespace() *string
- func (b HypervisorApplyConfiguration) IsApplyConfiguration()
- func (b *HypervisorApplyConfiguration) WithAPIVersion(value string) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithAnnotations(entries map[string]string) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithFinalizers(values ...string) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithGenerateName(value string) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithGeneration(value int64) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithKind(value string) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithLabels(entries map[string]string) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithName(value string) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithNamespace(value string) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithResourceVersion(value string) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithSpec(value *HypervisorSpecApplyConfiguration) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithStatus(value *HypervisorStatusApplyConfiguration) *HypervisorApplyConfiguration
- func (b *HypervisorApplyConfiguration) WithUID(value types.UID) *HypervisorApplyConfiguration
- type HypervisorSpecApplyConfiguration
- func (b *HypervisorSpecApplyConfiguration) WithAggregates(values ...string) *HypervisorSpecApplyConfiguration
- func (b *HypervisorSpecApplyConfiguration) WithAllowedProjects(values ...string) *HypervisorSpecApplyConfiguration
- func (b *HypervisorSpecApplyConfiguration) WithCreateCertManagerCertificate(value bool) *HypervisorSpecApplyConfiguration
- func (b *HypervisorSpecApplyConfiguration) WithCustomTraits(values ...string) *HypervisorSpecApplyConfiguration
- func (b *HypervisorSpecApplyConfiguration) WithEvacuateOnReboot(value bool) *HypervisorSpecApplyConfiguration
- func (b *HypervisorSpecApplyConfiguration) WithHighAvailability(value bool) *HypervisorSpecApplyConfiguration
- func (b *HypervisorSpecApplyConfiguration) WithInstallCertificate(value bool) *HypervisorSpecApplyConfiguration
- func (b *HypervisorSpecApplyConfiguration) WithLifecycleEnabled(value bool) *HypervisorSpecApplyConfiguration
- func (b *HypervisorSpecApplyConfiguration) WithMaintenance(value string) *HypervisorSpecApplyConfiguration
- func (b *HypervisorSpecApplyConfiguration) WithMaintenanceReason(value string) *HypervisorSpecApplyConfiguration
- func (b *HypervisorSpecApplyConfiguration) WithOperatingSystemVersion(value string) *HypervisorSpecApplyConfiguration
- func (b *HypervisorSpecApplyConfiguration) WithOvercommit(entries map[apiv1.ResourceName]float64) *HypervisorSpecApplyConfiguration
- func (b *HypervisorSpecApplyConfiguration) WithReboot(value bool) *HypervisorSpecApplyConfiguration
- func (b *HypervisorSpecApplyConfiguration) WithSkipTests(value bool) *HypervisorSpecApplyConfiguration
- type HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithAggregates(values ...*AggregateApplyConfiguration) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithAllocation(entries map[apiv1.ResourceName]resource.Quantity) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithCapabilities(value *CapabilitiesApplyConfiguration) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithCapacity(entries map[apiv1.ResourceName]resource.Quantity) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithCells(values ...*CellApplyConfiguration) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithDomainCapabilities(value *DomainCapabilitiesApplyConfiguration) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithEffectiveCapacity(entries map[apiv1.ResourceName]resource.Quantity) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithEvicted(value bool) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithHypervisorID(value string) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithHypervisorVersion(value string) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithInstances(values ...*InstanceApplyConfiguration) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithInternalIP(value string) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithLibVirtVersion(value string) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithNumInstances(value int) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithOperatingSystem(value *OperatingSystemStatusApplyConfiguration) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithServiceID(value string) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithSpecHash(value string) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithTraits(values ...string) *HypervisorStatusApplyConfiguration
- func (b *HypervisorStatusApplyConfiguration) WithUpdate(value *HyperVisorUpdateStatusApplyConfiguration) *HypervisorStatusApplyConfiguration
- type InstanceApplyConfiguration
- type OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithFirmwareDate(value metav1.Time) *OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithFirmwareVendor(value string) *OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithFirmwareVersion(value string) *OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithGardenLinuxCommitID(value string) *OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithGardenLinuxFeatures(values ...string) *OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithHardwareModel(value string) *OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithHardwareSerial(value string) *OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithHardwareVendor(value string) *OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithKernelCommandLine(value string) *OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithKernelName(value string) *OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithKernelRelease(value string) *OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithKernelVersion(value string) *OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithPrettyVersion(value string) *OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithVariantID(value string) *OperatingSystemStatusApplyConfiguration
- func (b *OperatingSystemStatusApplyConfiguration) WithVersion(value string) *OperatingSystemStatusApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregateApplyConfiguration ¶
type AggregateApplyConfiguration struct {
Name *string `json:"name,omitempty"`
UUID *string `json:"uuid,omitempty"`
}
AggregateApplyConfiguration represents a declarative configuration of the Aggregate type for use with apply.
func Aggregate ¶
func Aggregate() *AggregateApplyConfiguration
AggregateApplyConfiguration constructs a declarative configuration of the Aggregate type for use with apply.
func (*AggregateApplyConfiguration) WithName ¶
func (b *AggregateApplyConfiguration) WithName(value string) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithUUID ¶
func (b *AggregateApplyConfiguration) WithUUID(value string) *AggregateApplyConfiguration
WithUUID sets the UUID 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 UUID field is set to the value of the last call.
type CapabilitiesApplyConfiguration ¶
type CapabilitiesApplyConfiguration struct {
HostCpuArch *string `json:"cpuArch,omitempty"`
HostMemory *resource.Quantity `json:"memory,omitempty"`
HostCpus *resource.Quantity `json:"cpus,omitempty"`
}
CapabilitiesApplyConfiguration represents a declarative configuration of the Capabilities type for use with apply.
func Capabilities ¶
func Capabilities() *CapabilitiesApplyConfiguration
CapabilitiesApplyConfiguration constructs a declarative configuration of the Capabilities type for use with apply.
func (*CapabilitiesApplyConfiguration) WithHostCpuArch ¶
func (b *CapabilitiesApplyConfiguration) WithHostCpuArch(value string) *CapabilitiesApplyConfiguration
WithHostCpuArch sets the HostCpuArch 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 HostCpuArch field is set to the value of the last call.
func (*CapabilitiesApplyConfiguration) WithHostCpus ¶
func (b *CapabilitiesApplyConfiguration) WithHostCpus(value resource.Quantity) *CapabilitiesApplyConfiguration
WithHostCpus sets the HostCpus 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 HostCpus field is set to the value of the last call.
func (*CapabilitiesApplyConfiguration) WithHostMemory ¶
func (b *CapabilitiesApplyConfiguration) WithHostMemory(value resource.Quantity) *CapabilitiesApplyConfiguration
WithHostMemory sets the HostMemory 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 HostMemory field is set to the value of the last call.
type CellApplyConfiguration ¶
type CellApplyConfiguration struct {
CellID *uint64 `json:"cellID,omitempty"`
Allocation map[apiv1.ResourceName]resource.Quantity `json:"allocation,omitempty"`
Capacity map[apiv1.ResourceName]resource.Quantity `json:"capacity,omitempty"`
EffectiveCapacity map[apiv1.ResourceName]resource.Quantity `json:"effectiveCapacity,omitempty"`
}
CellApplyConfiguration represents a declarative configuration of the Cell type for use with apply.
func Cell ¶
func Cell() *CellApplyConfiguration
CellApplyConfiguration constructs a declarative configuration of the Cell type for use with apply.
func (*CellApplyConfiguration) WithAllocation ¶
func (b *CellApplyConfiguration) WithAllocation(entries map[apiv1.ResourceName]resource.Quantity) *CellApplyConfiguration
WithAllocation puts the entries into the Allocation 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 Allocation field, overwriting an existing map entries in Allocation field with the same key.
func (*CellApplyConfiguration) WithCapacity ¶
func (b *CellApplyConfiguration) WithCapacity(entries map[apiv1.ResourceName]resource.Quantity) *CellApplyConfiguration
WithCapacity puts the entries into the Capacity 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 Capacity field, overwriting an existing map entries in Capacity field with the same key.
func (*CellApplyConfiguration) WithCellID ¶
func (b *CellApplyConfiguration) WithCellID(value uint64) *CellApplyConfiguration
WithCellID sets the CellID 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 CellID field is set to the value of the last call.
func (*CellApplyConfiguration) WithEffectiveCapacity ¶
func (b *CellApplyConfiguration) WithEffectiveCapacity(entries map[apiv1.ResourceName]resource.Quantity) *CellApplyConfiguration
WithEffectiveCapacity puts the entries into the EffectiveCapacity 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 EffectiveCapacity field, overwriting an existing map entries in EffectiveCapacity field with the same key.
type DomainCapabilitiesApplyConfiguration ¶
type DomainCapabilitiesApplyConfiguration struct {
Arch *string `json:"arch,omitempty"`
HypervisorType *string `json:"hypervisorType,omitempty"`
SupportedDevices []string `json:"supportedDevices,omitempty"`
SupportedCpuModes []string `json:"supportedCpuModes,omitempty"`
SupportedFeatures []string `json:"supportedFeatures,omitempty"`
}
DomainCapabilitiesApplyConfiguration represents a declarative configuration of the DomainCapabilities type for use with apply.
func DomainCapabilities ¶
func DomainCapabilities() *DomainCapabilitiesApplyConfiguration
DomainCapabilitiesApplyConfiguration constructs a declarative configuration of the DomainCapabilities type for use with apply.
func (*DomainCapabilitiesApplyConfiguration) WithArch ¶
func (b *DomainCapabilitiesApplyConfiguration) WithArch(value string) *DomainCapabilitiesApplyConfiguration
WithArch sets the Arch 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 Arch field is set to the value of the last call.
func (*DomainCapabilitiesApplyConfiguration) WithHypervisorType ¶
func (b *DomainCapabilitiesApplyConfiguration) WithHypervisorType(value string) *DomainCapabilitiesApplyConfiguration
WithHypervisorType sets the HypervisorType 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 HypervisorType field is set to the value of the last call.
func (*DomainCapabilitiesApplyConfiguration) WithSupportedCpuModes ¶
func (b *DomainCapabilitiesApplyConfiguration) WithSupportedCpuModes(values ...string) *DomainCapabilitiesApplyConfiguration
WithSupportedCpuModes adds the given value to the SupportedCpuModes 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 SupportedCpuModes field.
func (*DomainCapabilitiesApplyConfiguration) WithSupportedDevices ¶
func (b *DomainCapabilitiesApplyConfiguration) WithSupportedDevices(values ...string) *DomainCapabilitiesApplyConfiguration
WithSupportedDevices adds the given value to the SupportedDevices 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 SupportedDevices field.
func (*DomainCapabilitiesApplyConfiguration) WithSupportedFeatures ¶
func (b *DomainCapabilitiesApplyConfiguration) WithSupportedFeatures(values ...string) *DomainCapabilitiesApplyConfiguration
WithSupportedFeatures adds the given value to the SupportedFeatures 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 SupportedFeatures field.
type DomainInfoApplyConfiguration ¶
type DomainInfoApplyConfiguration struct {
Name *string `json:"name,omitempty"`
UUID *string `json:"uuid,omitempty"`
Allocation map[string]resource.Quantity `json:"allocation,omitempty"`
MemoryCells []int `json:"memoryCells,omitempty"`
CpuCells []int `json:"cpuCells,omitempty"`
}
DomainInfoApplyConfiguration represents a declarative configuration of the DomainInfo type for use with apply.
func DomainInfo ¶
func DomainInfo() *DomainInfoApplyConfiguration
DomainInfoApplyConfiguration constructs a declarative configuration of the DomainInfo type for use with apply.
func (*DomainInfoApplyConfiguration) WithAllocation ¶
func (b *DomainInfoApplyConfiguration) WithAllocation(entries map[string]resource.Quantity) *DomainInfoApplyConfiguration
WithAllocation puts the entries into the Allocation 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 Allocation field, overwriting an existing map entries in Allocation field with the same key.
func (*DomainInfoApplyConfiguration) WithCpuCells ¶
func (b *DomainInfoApplyConfiguration) WithCpuCells(values ...int) *DomainInfoApplyConfiguration
WithCpuCells adds the given value to the CpuCells 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 CpuCells field.
func (*DomainInfoApplyConfiguration) WithMemoryCells ¶
func (b *DomainInfoApplyConfiguration) WithMemoryCells(values ...int) *DomainInfoApplyConfiguration
WithMemoryCells adds the given value to the MemoryCells 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 MemoryCells field.
func (*DomainInfoApplyConfiguration) WithName ¶
func (b *DomainInfoApplyConfiguration) WithName(value string) *DomainInfoApplyConfiguration
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 (*DomainInfoApplyConfiguration) WithUUID ¶
func (b *DomainInfoApplyConfiguration) WithUUID(value string) *DomainInfoApplyConfiguration
WithUUID sets the UUID 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 UUID field is set to the value of the last call.
type EvictionApplyConfiguration ¶
type EvictionApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *EvictionSpecApplyConfiguration `json:"spec,omitempty"`
Status *EvictionStatusApplyConfiguration `json:"status,omitempty"`
}
EvictionApplyConfiguration represents a declarative configuration of the Eviction type for use with apply.
func Eviction ¶
func Eviction(name, namespace string) *EvictionApplyConfiguration
Eviction constructs a declarative configuration of the Eviction type for use with apply.
func (*EvictionApplyConfiguration) GetAPIVersion ¶
func (b *EvictionApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*EvictionApplyConfiguration) GetKind ¶
func (b *EvictionApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*EvictionApplyConfiguration) GetName ¶
func (b *EvictionApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*EvictionApplyConfiguration) GetNamespace ¶
func (b *EvictionApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (EvictionApplyConfiguration) IsApplyConfiguration ¶
func (b EvictionApplyConfiguration) IsApplyConfiguration()
func (*EvictionApplyConfiguration) WithAPIVersion ¶
func (b *EvictionApplyConfiguration) WithAPIVersion(value string) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithAnnotations ¶
func (b *EvictionApplyConfiguration) WithAnnotations(entries map[string]string) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithCreationTimestamp ¶
func (b *EvictionApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *EvictionApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithDeletionTimestamp ¶
func (b *EvictionApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithFinalizers ¶
func (b *EvictionApplyConfiguration) WithFinalizers(values ...string) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithGenerateName ¶
func (b *EvictionApplyConfiguration) WithGenerateName(value string) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithGeneration ¶
func (b *EvictionApplyConfiguration) WithGeneration(value int64) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithKind ¶
func (b *EvictionApplyConfiguration) WithKind(value string) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithLabels ¶
func (b *EvictionApplyConfiguration) WithLabels(entries map[string]string) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithName ¶
func (b *EvictionApplyConfiguration) WithName(value string) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithNamespace ¶
func (b *EvictionApplyConfiguration) WithNamespace(value string) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithOwnerReferences ¶
func (b *EvictionApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithResourceVersion ¶
func (b *EvictionApplyConfiguration) WithResourceVersion(value string) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithSpec ¶
func (b *EvictionApplyConfiguration) WithSpec(value *EvictionSpecApplyConfiguration) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithStatus ¶
func (b *EvictionApplyConfiguration) WithStatus(value *EvictionStatusApplyConfiguration) *EvictionApplyConfiguration
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 (*EvictionApplyConfiguration) WithUID ¶
func (b *EvictionApplyConfiguration) WithUID(value types.UID) *EvictionApplyConfiguration
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 EvictionSpecApplyConfiguration ¶
type EvictionSpecApplyConfiguration struct {
Hypervisor *string `json:"hypervisor,omitempty"`
Reason *string `json:"reason,omitempty"`
}
EvictionSpecApplyConfiguration represents a declarative configuration of the EvictionSpec type for use with apply.
func EvictionSpec ¶
func EvictionSpec() *EvictionSpecApplyConfiguration
EvictionSpecApplyConfiguration constructs a declarative configuration of the EvictionSpec type for use with apply.
func (*EvictionSpecApplyConfiguration) WithHypervisor ¶
func (b *EvictionSpecApplyConfiguration) WithHypervisor(value string) *EvictionSpecApplyConfiguration
WithHypervisor sets the Hypervisor 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 Hypervisor field is set to the value of the last call.
func (*EvictionSpecApplyConfiguration) WithReason ¶
func (b *EvictionSpecApplyConfiguration) WithReason(value string) *EvictionSpecApplyConfiguration
WithReason sets the Reason 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 Reason field is set to the value of the last call.
type EvictionStatusApplyConfiguration ¶
type EvictionStatusApplyConfiguration struct {
HypervisorServiceId *string `json:"hypervisorServiceId,omitempty"`
OutstandingRamMb *int64 `json:"outstandingRamMb,omitempty"`
OutstandingInstances []string `json:"outstandingInstances,omitempty"`
Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"`
}
EvictionStatusApplyConfiguration represents a declarative configuration of the EvictionStatus type for use with apply.
func EvictionStatus ¶
func EvictionStatus() *EvictionStatusApplyConfiguration
EvictionStatusApplyConfiguration constructs a declarative configuration of the EvictionStatus type for use with apply.
func (*EvictionStatusApplyConfiguration) WithConditions ¶
func (b *EvictionStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *EvictionStatusApplyConfiguration
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 (*EvictionStatusApplyConfiguration) WithHypervisorServiceId ¶
func (b *EvictionStatusApplyConfiguration) WithHypervisorServiceId(value string) *EvictionStatusApplyConfiguration
WithHypervisorServiceId sets the HypervisorServiceId 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 HypervisorServiceId field is set to the value of the last call.
func (*EvictionStatusApplyConfiguration) WithOutstandingInstances ¶
func (b *EvictionStatusApplyConfiguration) WithOutstandingInstances(values ...string) *EvictionStatusApplyConfiguration
WithOutstandingInstances adds the given value to the OutstandingInstances 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 OutstandingInstances field.
func (*EvictionStatusApplyConfiguration) WithOutstandingRamMb ¶
func (b *EvictionStatusApplyConfiguration) WithOutstandingRamMb(value int64) *EvictionStatusApplyConfiguration
WithOutstandingRamMb sets the OutstandingRamMb 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 OutstandingRamMb field is set to the value of the last call.
type HyperVisorUpdateStatusApplyConfiguration ¶
type HyperVisorUpdateStatusApplyConfiguration struct {
InProgress *bool `json:"inProgress,omitempty"`
Installed *string `json:"installed,omitempty"`
Retry *int `json:"retry,omitempty"`
}
HyperVisorUpdateStatusApplyConfiguration represents a declarative configuration of the HyperVisorUpdateStatus type for use with apply.
func HyperVisorUpdateStatus ¶
func HyperVisorUpdateStatus() *HyperVisorUpdateStatusApplyConfiguration
HyperVisorUpdateStatusApplyConfiguration constructs a declarative configuration of the HyperVisorUpdateStatus type for use with apply.
func (*HyperVisorUpdateStatusApplyConfiguration) WithInProgress ¶
func (b *HyperVisorUpdateStatusApplyConfiguration) WithInProgress(value bool) *HyperVisorUpdateStatusApplyConfiguration
WithInProgress sets the InProgress 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 InProgress field is set to the value of the last call.
func (*HyperVisorUpdateStatusApplyConfiguration) WithInstalled ¶
func (b *HyperVisorUpdateStatusApplyConfiguration) WithInstalled(value string) *HyperVisorUpdateStatusApplyConfiguration
WithInstalled sets the Installed 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 Installed field is set to the value of the last call.
func (*HyperVisorUpdateStatusApplyConfiguration) WithRetry ¶
func (b *HyperVisorUpdateStatusApplyConfiguration) WithRetry(value int) *HyperVisorUpdateStatusApplyConfiguration
WithRetry sets the Retry 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 Retry field is set to the value of the last call.
type HypervisorApplyConfiguration ¶
type HypervisorApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *HypervisorSpecApplyConfiguration `json:"spec,omitempty"`
Status *HypervisorStatusApplyConfiguration `json:"status,omitempty"`
}
HypervisorApplyConfiguration represents a declarative configuration of the Hypervisor type for use with apply.
func Hypervisor ¶
func Hypervisor(name, namespace string) *HypervisorApplyConfiguration
Hypervisor constructs a declarative configuration of the Hypervisor type for use with apply.
func (*HypervisorApplyConfiguration) GetAPIVersion ¶
func (b *HypervisorApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*HypervisorApplyConfiguration) GetKind ¶
func (b *HypervisorApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*HypervisorApplyConfiguration) GetName ¶
func (b *HypervisorApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*HypervisorApplyConfiguration) GetNamespace ¶
func (b *HypervisorApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (HypervisorApplyConfiguration) IsApplyConfiguration ¶
func (b HypervisorApplyConfiguration) IsApplyConfiguration()
func (*HypervisorApplyConfiguration) WithAPIVersion ¶
func (b *HypervisorApplyConfiguration) WithAPIVersion(value string) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithAnnotations ¶
func (b *HypervisorApplyConfiguration) WithAnnotations(entries map[string]string) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithCreationTimestamp ¶
func (b *HypervisorApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *HypervisorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithDeletionTimestamp ¶
func (b *HypervisorApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithFinalizers ¶
func (b *HypervisorApplyConfiguration) WithFinalizers(values ...string) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithGenerateName ¶
func (b *HypervisorApplyConfiguration) WithGenerateName(value string) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithGeneration ¶
func (b *HypervisorApplyConfiguration) WithGeneration(value int64) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithKind ¶
func (b *HypervisorApplyConfiguration) WithKind(value string) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithLabels ¶
func (b *HypervisorApplyConfiguration) WithLabels(entries map[string]string) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithName ¶
func (b *HypervisorApplyConfiguration) WithName(value string) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithNamespace ¶
func (b *HypervisorApplyConfiguration) WithNamespace(value string) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithOwnerReferences ¶
func (b *HypervisorApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithResourceVersion ¶
func (b *HypervisorApplyConfiguration) WithResourceVersion(value string) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithSpec ¶
func (b *HypervisorApplyConfiguration) WithSpec(value *HypervisorSpecApplyConfiguration) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithStatus ¶
func (b *HypervisorApplyConfiguration) WithStatus(value *HypervisorStatusApplyConfiguration) *HypervisorApplyConfiguration
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 (*HypervisorApplyConfiguration) WithUID ¶
func (b *HypervisorApplyConfiguration) WithUID(value types.UID) *HypervisorApplyConfiguration
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 HypervisorSpecApplyConfiguration ¶
type HypervisorSpecApplyConfiguration struct {
OperatingSystemVersion *string `json:"version,omitempty"`
Reboot *bool `json:"reboot,omitempty"`
EvacuateOnReboot *bool `json:"evacuateOnReboot,omitempty"`
LifecycleEnabled *bool `json:"lifecycleEnabled,omitempty"`
SkipTests *bool `json:"skipTests,omitempty"`
CustomTraits []string `json:"customTraits,omitempty"`
Aggregates []string `json:"aggregates,omitempty"`
AllowedProjects []string `json:"allowedProjects,omitempty"`
HighAvailability *bool `json:"highAvailability,omitempty"`
CreateCertManagerCertificate *bool `json:"createCertManagerCertificate,omitempty"`
InstallCertificate *bool `json:"installCertificate,omitempty"`
Maintenance *string `json:"maintenance,omitempty"`
MaintenanceReason *string `json:"maintenanceReason,omitempty"`
Overcommit map[apiv1.ResourceName]float64 `json:"overcommit,omitempty"`
}
HypervisorSpecApplyConfiguration represents a declarative configuration of the HypervisorSpec type for use with apply.
func HypervisorSpec ¶
func HypervisorSpec() *HypervisorSpecApplyConfiguration
HypervisorSpecApplyConfiguration constructs a declarative configuration of the HypervisorSpec type for use with apply.
func (*HypervisorSpecApplyConfiguration) WithAggregates ¶
func (b *HypervisorSpecApplyConfiguration) WithAggregates(values ...string) *HypervisorSpecApplyConfiguration
WithAggregates adds the given value to the Aggregates 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 Aggregates field.
func (*HypervisorSpecApplyConfiguration) WithAllowedProjects ¶
func (b *HypervisorSpecApplyConfiguration) WithAllowedProjects(values ...string) *HypervisorSpecApplyConfiguration
WithAllowedProjects adds the given value to the AllowedProjects 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 AllowedProjects field.
func (*HypervisorSpecApplyConfiguration) WithCreateCertManagerCertificate ¶
func (b *HypervisorSpecApplyConfiguration) WithCreateCertManagerCertificate(value bool) *HypervisorSpecApplyConfiguration
WithCreateCertManagerCertificate sets the CreateCertManagerCertificate 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 CreateCertManagerCertificate field is set to the value of the last call.
func (*HypervisorSpecApplyConfiguration) WithCustomTraits ¶
func (b *HypervisorSpecApplyConfiguration) WithCustomTraits(values ...string) *HypervisorSpecApplyConfiguration
WithCustomTraits adds the given value to the CustomTraits 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 CustomTraits field.
func (*HypervisorSpecApplyConfiguration) WithEvacuateOnReboot ¶
func (b *HypervisorSpecApplyConfiguration) WithEvacuateOnReboot(value bool) *HypervisorSpecApplyConfiguration
WithEvacuateOnReboot sets the EvacuateOnReboot 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 EvacuateOnReboot field is set to the value of the last call.
func (*HypervisorSpecApplyConfiguration) WithHighAvailability ¶
func (b *HypervisorSpecApplyConfiguration) WithHighAvailability(value bool) *HypervisorSpecApplyConfiguration
WithHighAvailability sets the HighAvailability 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 HighAvailability field is set to the value of the last call.
func (*HypervisorSpecApplyConfiguration) WithInstallCertificate ¶
func (b *HypervisorSpecApplyConfiguration) WithInstallCertificate(value bool) *HypervisorSpecApplyConfiguration
WithInstallCertificate sets the InstallCertificate 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 InstallCertificate field is set to the value of the last call.
func (*HypervisorSpecApplyConfiguration) WithLifecycleEnabled ¶
func (b *HypervisorSpecApplyConfiguration) WithLifecycleEnabled(value bool) *HypervisorSpecApplyConfiguration
WithLifecycleEnabled sets the LifecycleEnabled 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 LifecycleEnabled field is set to the value of the last call.
func (*HypervisorSpecApplyConfiguration) WithMaintenance ¶
func (b *HypervisorSpecApplyConfiguration) WithMaintenance(value string) *HypervisorSpecApplyConfiguration
WithMaintenance sets the Maintenance 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 Maintenance field is set to the value of the last call.
func (*HypervisorSpecApplyConfiguration) WithMaintenanceReason ¶
func (b *HypervisorSpecApplyConfiguration) WithMaintenanceReason(value string) *HypervisorSpecApplyConfiguration
WithMaintenanceReason sets the MaintenanceReason 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 MaintenanceReason field is set to the value of the last call.
func (*HypervisorSpecApplyConfiguration) WithOperatingSystemVersion ¶
func (b *HypervisorSpecApplyConfiguration) WithOperatingSystemVersion(value string) *HypervisorSpecApplyConfiguration
WithOperatingSystemVersion sets the OperatingSystemVersion 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 OperatingSystemVersion field is set to the value of the last call.
func (*HypervisorSpecApplyConfiguration) WithOvercommit ¶
func (b *HypervisorSpecApplyConfiguration) WithOvercommit(entries map[apiv1.ResourceName]float64) *HypervisorSpecApplyConfiguration
WithOvercommit puts the entries into the Overcommit 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 Overcommit field, overwriting an existing map entries in Overcommit field with the same key.
func (*HypervisorSpecApplyConfiguration) WithReboot ¶
func (b *HypervisorSpecApplyConfiguration) WithReboot(value bool) *HypervisorSpecApplyConfiguration
WithReboot sets the Reboot 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 Reboot field is set to the value of the last call.
func (*HypervisorSpecApplyConfiguration) WithSkipTests ¶
func (b *HypervisorSpecApplyConfiguration) WithSkipTests(value bool) *HypervisorSpecApplyConfiguration
WithSkipTests sets the SkipTests 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 SkipTests field is set to the value of the last call.
type HypervisorStatusApplyConfiguration ¶
type HypervisorStatusApplyConfiguration struct {
LibVirtVersion *string `json:"libVirtVersion,omitempty"`
HypervisorVersion *string `json:"hypervisorVersion,omitempty"`
OperatingSystem *OperatingSystemStatusApplyConfiguration `json:"operatingSystem,omitempty"`
Update *HyperVisorUpdateStatusApplyConfiguration `json:"updateStatus,omitempty"`
Instances []InstanceApplyConfiguration `json:"instances,omitempty"`
Capabilities *CapabilitiesApplyConfiguration `json:"capabilities,omitempty"`
DomainCapabilities *DomainCapabilitiesApplyConfiguration `json:"domainCapabilities,omitempty"`
Allocation map[apiv1.ResourceName]resource.Quantity `json:"allocation,omitempty"`
Capacity map[apiv1.ResourceName]resource.Quantity `json:"capacity,omitempty"`
EffectiveCapacity map[apiv1.ResourceName]resource.Quantity `json:"effectiveCapacity,omitempty"`
Cells []CellApplyConfiguration `json:"cells,omitempty"`
NumInstances *int `json:"numInstances,omitempty"`
HypervisorID *string `json:"hypervisorId,omitempty"`
ServiceID *string `json:"serviceId,omitempty"`
Traits []string `json:"traits,omitempty"`
Aggregates []AggregateApplyConfiguration `json:"aggregates,omitempty"`
InternalIP *string `json:"internalIp,omitempty"`
Evicted *bool `json:"evicted,omitempty"`
Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"`
SpecHash *string `json:"specHash,omitempty"`
}
HypervisorStatusApplyConfiguration represents a declarative configuration of the HypervisorStatus type for use with apply.
func HypervisorStatus ¶
func HypervisorStatus() *HypervisorStatusApplyConfiguration
HypervisorStatusApplyConfiguration constructs a declarative configuration of the HypervisorStatus type for use with apply.
func (*HypervisorStatusApplyConfiguration) WithAggregates ¶
func (b *HypervisorStatusApplyConfiguration) WithAggregates(values ...*AggregateApplyConfiguration) *HypervisorStatusApplyConfiguration
WithAggregates adds the given value to the Aggregates 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 Aggregates field.
func (*HypervisorStatusApplyConfiguration) WithAllocation ¶
func (b *HypervisorStatusApplyConfiguration) WithAllocation(entries map[apiv1.ResourceName]resource.Quantity) *HypervisorStatusApplyConfiguration
WithAllocation puts the entries into the Allocation 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 Allocation field, overwriting an existing map entries in Allocation field with the same key.
func (*HypervisorStatusApplyConfiguration) WithCapabilities ¶
func (b *HypervisorStatusApplyConfiguration) WithCapabilities(value *CapabilitiesApplyConfiguration) *HypervisorStatusApplyConfiguration
WithCapabilities sets the Capabilities 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 Capabilities field is set to the value of the last call.
func (*HypervisorStatusApplyConfiguration) WithCapacity ¶
func (b *HypervisorStatusApplyConfiguration) WithCapacity(entries map[apiv1.ResourceName]resource.Quantity) *HypervisorStatusApplyConfiguration
WithCapacity puts the entries into the Capacity 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 Capacity field, overwriting an existing map entries in Capacity field with the same key.
func (*HypervisorStatusApplyConfiguration) WithCells ¶
func (b *HypervisorStatusApplyConfiguration) WithCells(values ...*CellApplyConfiguration) *HypervisorStatusApplyConfiguration
WithCells adds the given value to the Cells 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 Cells field.
func (*HypervisorStatusApplyConfiguration) WithConditions ¶
func (b *HypervisorStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *HypervisorStatusApplyConfiguration
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 (*HypervisorStatusApplyConfiguration) WithDomainCapabilities ¶
func (b *HypervisorStatusApplyConfiguration) WithDomainCapabilities(value *DomainCapabilitiesApplyConfiguration) *HypervisorStatusApplyConfiguration
WithDomainCapabilities sets the DomainCapabilities 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 DomainCapabilities field is set to the value of the last call.
func (*HypervisorStatusApplyConfiguration) WithEffectiveCapacity ¶
func (b *HypervisorStatusApplyConfiguration) WithEffectiveCapacity(entries map[apiv1.ResourceName]resource.Quantity) *HypervisorStatusApplyConfiguration
WithEffectiveCapacity puts the entries into the EffectiveCapacity 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 EffectiveCapacity field, overwriting an existing map entries in EffectiveCapacity field with the same key.
func (*HypervisorStatusApplyConfiguration) WithEvicted ¶
func (b *HypervisorStatusApplyConfiguration) WithEvicted(value bool) *HypervisorStatusApplyConfiguration
WithEvicted sets the Evicted 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 Evicted field is set to the value of the last call.
func (*HypervisorStatusApplyConfiguration) WithHypervisorID ¶
func (b *HypervisorStatusApplyConfiguration) WithHypervisorID(value string) *HypervisorStatusApplyConfiguration
WithHypervisorID sets the HypervisorID 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 HypervisorID field is set to the value of the last call.
func (*HypervisorStatusApplyConfiguration) WithHypervisorVersion ¶
func (b *HypervisorStatusApplyConfiguration) WithHypervisorVersion(value string) *HypervisorStatusApplyConfiguration
WithHypervisorVersion sets the HypervisorVersion 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 HypervisorVersion field is set to the value of the last call.
func (*HypervisorStatusApplyConfiguration) WithInstances ¶
func (b *HypervisorStatusApplyConfiguration) WithInstances(values ...*InstanceApplyConfiguration) *HypervisorStatusApplyConfiguration
WithInstances adds the given value to the Instances 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 Instances field.
func (*HypervisorStatusApplyConfiguration) WithInternalIP ¶
func (b *HypervisorStatusApplyConfiguration) WithInternalIP(value string) *HypervisorStatusApplyConfiguration
WithInternalIP sets the InternalIP 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 InternalIP field is set to the value of the last call.
func (*HypervisorStatusApplyConfiguration) WithLibVirtVersion ¶
func (b *HypervisorStatusApplyConfiguration) WithLibVirtVersion(value string) *HypervisorStatusApplyConfiguration
WithLibVirtVersion sets the LibVirtVersion 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 LibVirtVersion field is set to the value of the last call.
func (*HypervisorStatusApplyConfiguration) WithNumInstances ¶
func (b *HypervisorStatusApplyConfiguration) WithNumInstances(value int) *HypervisorStatusApplyConfiguration
WithNumInstances sets the NumInstances 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 NumInstances field is set to the value of the last call.
func (*HypervisorStatusApplyConfiguration) WithOperatingSystem ¶
func (b *HypervisorStatusApplyConfiguration) WithOperatingSystem(value *OperatingSystemStatusApplyConfiguration) *HypervisorStatusApplyConfiguration
WithOperatingSystem sets the OperatingSystem 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 OperatingSystem field is set to the value of the last call.
func (*HypervisorStatusApplyConfiguration) WithServiceID ¶
func (b *HypervisorStatusApplyConfiguration) WithServiceID(value string) *HypervisorStatusApplyConfiguration
WithServiceID sets the ServiceID 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 ServiceID field is set to the value of the last call.
func (*HypervisorStatusApplyConfiguration) WithSpecHash ¶
func (b *HypervisorStatusApplyConfiguration) WithSpecHash(value string) *HypervisorStatusApplyConfiguration
WithSpecHash sets the SpecHash 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 SpecHash field is set to the value of the last call.
func (*HypervisorStatusApplyConfiguration) WithTraits ¶
func (b *HypervisorStatusApplyConfiguration) WithTraits(values ...string) *HypervisorStatusApplyConfiguration
WithTraits adds the given value to the Traits 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 Traits field.
func (*HypervisorStatusApplyConfiguration) WithUpdate ¶
func (b *HypervisorStatusApplyConfiguration) WithUpdate(value *HyperVisorUpdateStatusApplyConfiguration) *HypervisorStatusApplyConfiguration
WithUpdate sets the Update 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 Update field is set to the value of the last call.
type InstanceApplyConfiguration ¶
type InstanceApplyConfiguration struct {
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Active *bool `json:"active,omitempty"`
}
InstanceApplyConfiguration represents a declarative configuration of the Instance type for use with apply.
func Instance ¶
func Instance() *InstanceApplyConfiguration
InstanceApplyConfiguration constructs a declarative configuration of the Instance type for use with apply.
func (*InstanceApplyConfiguration) WithActive ¶
func (b *InstanceApplyConfiguration) WithActive(value bool) *InstanceApplyConfiguration
WithActive sets the Active 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 Active field is set to the value of the last call.
func (*InstanceApplyConfiguration) WithID ¶
func (b *InstanceApplyConfiguration) WithID(value string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithName ¶
func (b *InstanceApplyConfiguration) WithName(value string) *InstanceApplyConfiguration
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 OperatingSystemStatusApplyConfiguration ¶
type OperatingSystemStatusApplyConfiguration struct {
Version *string `json:"version,omitempty"`
VariantID *string `json:"variantID,omitempty"`
PrettyVersion *string `json:"prettyVersion,omitempty"`
KernelName *string `json:"kernelName,omitempty"`
KernelRelease *string `json:"kernelRelease,omitempty"`
KernelVersion *string `json:"kernelVersion,omitempty"`
KernelCommandLine *string `json:"kernelCommandLine,omitempty"`
HardwareVendor *string `json:"hardwareVendor,omitempty"`
HardwareModel *string `json:"hardwareModel,omitempty"`
HardwareSerial *string `json:"hardwareSerial,omitempty"`
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
FirmwareVendor *string `json:"firmwareVendor,omitempty"`
FirmwareDate *metav1.Time `json:"firmwareDate,omitempty"`
GardenLinuxCommitID *string `json:"gardenLinuxCommitID,omitempty"`
GardenLinuxFeatures []string `json:"gardenLinuxFeatures,omitempty"`
}
OperatingSystemStatusApplyConfiguration represents a declarative configuration of the OperatingSystemStatus type for use with apply.
func OperatingSystemStatus ¶
func OperatingSystemStatus() *OperatingSystemStatusApplyConfiguration
OperatingSystemStatusApplyConfiguration constructs a declarative configuration of the OperatingSystemStatus type for use with apply.
func (*OperatingSystemStatusApplyConfiguration) WithFirmwareDate ¶
func (b *OperatingSystemStatusApplyConfiguration) WithFirmwareDate(value metav1.Time) *OperatingSystemStatusApplyConfiguration
WithFirmwareDate sets the FirmwareDate 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 FirmwareDate field is set to the value of the last call.
func (*OperatingSystemStatusApplyConfiguration) WithFirmwareVendor ¶
func (b *OperatingSystemStatusApplyConfiguration) WithFirmwareVendor(value string) *OperatingSystemStatusApplyConfiguration
WithFirmwareVendor sets the FirmwareVendor 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 FirmwareVendor field is set to the value of the last call.
func (*OperatingSystemStatusApplyConfiguration) WithFirmwareVersion ¶
func (b *OperatingSystemStatusApplyConfiguration) WithFirmwareVersion(value string) *OperatingSystemStatusApplyConfiguration
WithFirmwareVersion sets the FirmwareVersion 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 FirmwareVersion field is set to the value of the last call.
func (*OperatingSystemStatusApplyConfiguration) WithGardenLinuxCommitID ¶
func (b *OperatingSystemStatusApplyConfiguration) WithGardenLinuxCommitID(value string) *OperatingSystemStatusApplyConfiguration
WithGardenLinuxCommitID sets the GardenLinuxCommitID 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 GardenLinuxCommitID field is set to the value of the last call.
func (*OperatingSystemStatusApplyConfiguration) WithGardenLinuxFeatures ¶
func (b *OperatingSystemStatusApplyConfiguration) WithGardenLinuxFeatures(values ...string) *OperatingSystemStatusApplyConfiguration
WithGardenLinuxFeatures adds the given value to the GardenLinuxFeatures 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 GardenLinuxFeatures field.
func (*OperatingSystemStatusApplyConfiguration) WithHardwareModel ¶
func (b *OperatingSystemStatusApplyConfiguration) WithHardwareModel(value string) *OperatingSystemStatusApplyConfiguration
WithHardwareModel sets the HardwareModel 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 HardwareModel field is set to the value of the last call.
func (*OperatingSystemStatusApplyConfiguration) WithHardwareSerial ¶
func (b *OperatingSystemStatusApplyConfiguration) WithHardwareSerial(value string) *OperatingSystemStatusApplyConfiguration
WithHardwareSerial sets the HardwareSerial 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 HardwareSerial field is set to the value of the last call.
func (*OperatingSystemStatusApplyConfiguration) WithHardwareVendor ¶
func (b *OperatingSystemStatusApplyConfiguration) WithHardwareVendor(value string) *OperatingSystemStatusApplyConfiguration
WithHardwareVendor sets the HardwareVendor 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 HardwareVendor field is set to the value of the last call.
func (*OperatingSystemStatusApplyConfiguration) WithKernelCommandLine ¶
func (b *OperatingSystemStatusApplyConfiguration) WithKernelCommandLine(value string) *OperatingSystemStatusApplyConfiguration
WithKernelCommandLine sets the KernelCommandLine 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 KernelCommandLine field is set to the value of the last call.
func (*OperatingSystemStatusApplyConfiguration) WithKernelName ¶
func (b *OperatingSystemStatusApplyConfiguration) WithKernelName(value string) *OperatingSystemStatusApplyConfiguration
WithKernelName sets the KernelName 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 KernelName field is set to the value of the last call.
func (*OperatingSystemStatusApplyConfiguration) WithKernelRelease ¶
func (b *OperatingSystemStatusApplyConfiguration) WithKernelRelease(value string) *OperatingSystemStatusApplyConfiguration
WithKernelRelease sets the KernelRelease 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 KernelRelease field is set to the value of the last call.
func (*OperatingSystemStatusApplyConfiguration) WithKernelVersion ¶
func (b *OperatingSystemStatusApplyConfiguration) WithKernelVersion(value string) *OperatingSystemStatusApplyConfiguration
WithKernelVersion sets the KernelVersion 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 KernelVersion field is set to the value of the last call.
func (*OperatingSystemStatusApplyConfiguration) WithPrettyVersion ¶
func (b *OperatingSystemStatusApplyConfiguration) WithPrettyVersion(value string) *OperatingSystemStatusApplyConfiguration
WithPrettyVersion sets the PrettyVersion 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 PrettyVersion field is set to the value of the last call.
func (*OperatingSystemStatusApplyConfiguration) WithVariantID ¶
func (b *OperatingSystemStatusApplyConfiguration) WithVariantID(value string) *OperatingSystemStatusApplyConfiguration
WithVariantID sets the VariantID 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 VariantID field is set to the value of the last call.
func (*OperatingSystemStatusApplyConfiguration) WithVersion ¶
func (b *OperatingSystemStatusApplyConfiguration) WithVersion(value string) *OperatingSystemStatusApplyConfiguration
WithVersion sets the Version 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 Version field is set to the value of the last call.