v1

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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