Documentation ¶
Index ¶
- type AttachedDiskApplyConfiguration
- func (b *AttachedDiskApplyConfiguration) WithDevice(value string) *AttachedDiskApplyConfiguration
- func (b *AttachedDiskApplyConfiguration) WithDiskRef(value *LocalObjectReferenceApplyConfiguration) *AttachedDiskApplyConfiguration
- func (b *AttachedDiskApplyConfiguration) WithEmptyDisk(value *EmptyDiskSourceApplyConfiguration) *AttachedDiskApplyConfiguration
- func (b *AttachedDiskApplyConfiguration) WithEphemeral(value *EphemeralDiskSourceApplyConfiguration) *AttachedDiskApplyConfiguration
- func (b *AttachedDiskApplyConfiguration) WithName(value string) *AttachedDiskApplyConfiguration
- type AttachedDiskSourceApplyConfiguration
- func (b *AttachedDiskSourceApplyConfiguration) WithDiskRef(value *LocalObjectReferenceApplyConfiguration) *AttachedDiskSourceApplyConfiguration
- func (b *AttachedDiskSourceApplyConfiguration) WithEmptyDisk(value *EmptyDiskSourceApplyConfiguration) *AttachedDiskSourceApplyConfiguration
- func (b *AttachedDiskSourceApplyConfiguration) WithEphemeral(value *EphemeralDiskSourceApplyConfiguration) *AttachedDiskSourceApplyConfiguration
- type AttachedDiskStatusApplyConfiguration
- func (b *AttachedDiskStatusApplyConfiguration) WithLastStateTransitionTime(value v1.Time) *AttachedDiskStatusApplyConfiguration
- func (b *AttachedDiskStatusApplyConfiguration) WithName(value string) *AttachedDiskStatusApplyConfiguration
- func (b *AttachedDiskStatusApplyConfiguration) WithState(value v1alpha1.AttachedDiskState) *AttachedDiskStatusApplyConfiguration
- type DaemonEndpointApplyConfiguration
- type DiskAccessApplyConfiguration
- func (b *DiskAccessApplyConfiguration) WithAttributes(entries map[string]string) *DiskAccessApplyConfiguration
- func (b *DiskAccessApplyConfiguration) WithDriver(value string) *DiskAccessApplyConfiguration
- func (b *DiskAccessApplyConfiguration) WithHandle(value string) *DiskAccessApplyConfiguration
- func (b *DiskAccessApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *DiskAccessApplyConfiguration
- type DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithAPIVersion(value string) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithAnnotations(entries map[string]string) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithFinalizers(values ...string) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithGenerateName(value string) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithGeneration(value int64) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithKind(value string) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithLabels(entries map[string]string) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithName(value string) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithNamespace(value string) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithResourceVersion(value string) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithSpec(value *DiskSpecApplyConfiguration) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithStatus(value *DiskStatusApplyConfiguration) *DiskApplyConfiguration
- func (b *DiskApplyConfiguration) WithUID(value types.UID) *DiskApplyConfiguration
- type DiskSpecApplyConfiguration
- func (b *DiskSpecApplyConfiguration) WithInstanceRef(value *LocalUIDReferenceApplyConfiguration) *DiskSpecApplyConfiguration
- func (b *DiskSpecApplyConfiguration) WithResources(value corev1alpha1.ResourceList) *DiskSpecApplyConfiguration
- func (b *DiskSpecApplyConfiguration) WithTypeRef(value *LocalObjectReferenceApplyConfiguration) *DiskSpecApplyConfiguration
- type DiskStatusApplyConfiguration
- func (b *DiskStatusApplyConfiguration) WithAccess(value *DiskAccessApplyConfiguration) *DiskStatusApplyConfiguration
- func (b *DiskStatusApplyConfiguration) WithLastStateTransitionTime(value v1.Time) *DiskStatusApplyConfiguration
- func (b *DiskStatusApplyConfiguration) WithState(value v1alpha1.DiskState) *DiskStatusApplyConfiguration
- type DiskTemplateSpecApplyConfiguration
- func (b *DiskTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *DiskTemplateSpecApplyConfiguration
- func (b *DiskTemplateSpecApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DiskTemplateSpecApplyConfiguration
- func (b *DiskTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DiskTemplateSpecApplyConfiguration
- func (b *DiskTemplateSpecApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DiskTemplateSpecApplyConfiguration
- func (b *DiskTemplateSpecApplyConfiguration) WithFinalizers(values ...string) *DiskTemplateSpecApplyConfiguration
- func (b *DiskTemplateSpecApplyConfiguration) WithGenerateName(value string) *DiskTemplateSpecApplyConfiguration
- func (b *DiskTemplateSpecApplyConfiguration) WithGeneration(value int64) *DiskTemplateSpecApplyConfiguration
- func (b *DiskTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *DiskTemplateSpecApplyConfiguration
- func (b *DiskTemplateSpecApplyConfiguration) WithName(value string) *DiskTemplateSpecApplyConfiguration
- func (b *DiskTemplateSpecApplyConfiguration) WithNamespace(value string) *DiskTemplateSpecApplyConfiguration
- func (b *DiskTemplateSpecApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DiskTemplateSpecApplyConfiguration
- func (b *DiskTemplateSpecApplyConfiguration) WithResourceVersion(value string) *DiskTemplateSpecApplyConfiguration
- func (b *DiskTemplateSpecApplyConfiguration) WithSpec(value *DiskSpecApplyConfiguration) *DiskTemplateSpecApplyConfiguration
- func (b *DiskTemplateSpecApplyConfiguration) WithUID(value types.UID) *DiskTemplateSpecApplyConfiguration
- type DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithAPIVersion(value string) *DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithAnnotations(entries map[string]string) *DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithFinalizers(values ...string) *DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithGenerateName(value string) *DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithGeneration(value int64) *DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithKind(value string) *DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithLabels(entries map[string]string) *DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithName(value string) *DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithNamespace(value string) *DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithResourceVersion(value string) *DiskTypeApplyConfiguration
- func (b *DiskTypeApplyConfiguration) WithUID(value types.UID) *DiskTypeApplyConfiguration
- type EFIVarApplyConfiguration
- type EmptyDiskSourceApplyConfiguration
- type EphemeralDiskSourceApplyConfiguration
- type FleetAddressApplyConfiguration
- type FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithAPIVersion(value string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithAnnotations(entries map[string]string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithFinalizers(values ...string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithGenerateName(value string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithGeneration(value int64) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithKind(value string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithLabels(entries map[string]string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithName(value string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithNamespace(value string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithResourceVersion(value string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithSpec(value *FleetSpecApplyConfiguration) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithStatus(value *FleetStatusApplyConfiguration) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithUID(value types.UID) *FleetApplyConfiguration
- type FleetConditionApplyConfiguration
- func (b *FleetConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *FleetConditionApplyConfiguration
- func (b *FleetConditionApplyConfiguration) WithMessage(value string) *FleetConditionApplyConfiguration
- func (b *FleetConditionApplyConfiguration) WithObservedGeneration(value int64) *FleetConditionApplyConfiguration
- func (b *FleetConditionApplyConfiguration) WithReason(value string) *FleetConditionApplyConfiguration
- func (b *FleetConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *FleetConditionApplyConfiguration
- func (b *FleetConditionApplyConfiguration) WithType(value v1alpha1.FleetConditionType) *FleetConditionApplyConfiguration
- type FleetDaemonEndpointsApplyConfiguration
- type FleetSpecApplyConfiguration
- type FleetStatusApplyConfiguration
- func (b *FleetStatusApplyConfiguration) WithAddresses(values ...*FleetAddressApplyConfiguration) *FleetStatusApplyConfiguration
- func (b *FleetStatusApplyConfiguration) WithAllocatable(value v1alpha1.ResourceList) *FleetStatusApplyConfiguration
- func (b *FleetStatusApplyConfiguration) WithCapacity(value v1alpha1.ResourceList) *FleetStatusApplyConfiguration
- func (b *FleetStatusApplyConfiguration) WithConditions(values ...*FleetConditionApplyConfiguration) *FleetStatusApplyConfiguration
- func (b *FleetStatusApplyConfiguration) WithDaemonEndpoints(value *FleetDaemonEndpointsApplyConfiguration) *FleetStatusApplyConfiguration
- func (b *FleetStatusApplyConfiguration) WithState(value v1alpha1.FleetState) *FleetStatusApplyConfiguration
- type InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithAPIVersion(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithAnnotations(entries map[string]string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithFinalizers(values ...string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithGenerateName(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithGeneration(value int64) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithKind(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithLabels(entries map[string]string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithName(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithNamespace(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithResourceVersion(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithSpec(value *InstanceSpecApplyConfiguration) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithStatus(value *InstanceStatusApplyConfiguration) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithUID(value types.UID) *InstanceApplyConfiguration
- type InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithDisks(values ...*AttachedDiskApplyConfiguration) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithEFIVars(values ...*EFIVarApplyConfiguration) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithFleetRef(value *LocalObjectReferenceApplyConfiguration) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithFleetSelector(entries map[string]string) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithIgnitionRef(value *SecretKeySelectorApplyConfiguration) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithImage(value string) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithImagePullSecretRef(value *LocalObjectReferenceApplyConfiguration) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithInstanceTypeRef(value *LocalObjectReferenceApplyConfiguration) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithNetworkInterfaces(values ...*NetworkInterfaceApplyConfiguration) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithPower(value corev1alpha1.Power) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithTolerations(values ...*TolerationApplyConfiguration) *InstanceSpecApplyConfiguration
- type InstanceStatusApplyConfiguration
- func (b *InstanceStatusApplyConfiguration) WithDisks(values ...*AttachedDiskStatusApplyConfiguration) *InstanceStatusApplyConfiguration
- func (b *InstanceStatusApplyConfiguration) WithInstanceID(value string) *InstanceStatusApplyConfiguration
- func (b *InstanceStatusApplyConfiguration) WithNetworkInterfaces(values ...*NetworkInterfaceStatusApplyConfiguration) *InstanceStatusApplyConfiguration
- func (b *InstanceStatusApplyConfiguration) WithObservedGeneration(value int64) *InstanceStatusApplyConfiguration
- func (b *InstanceStatusApplyConfiguration) WithState(value v1alpha1.InstanceState) *InstanceStatusApplyConfiguration
- type InstanceTypeApplyConfiguration
- func ExtractInstanceType(instanceType *v1alpha1.InstanceType, fieldManager string) (*InstanceTypeApplyConfiguration, error)
- func ExtractInstanceTypeStatus(instanceType *v1alpha1.InstanceType, fieldManager string) (*InstanceTypeApplyConfiguration, error)
- func InstanceType(name string) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithAPIVersion(value string) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithAnnotations(entries map[string]string) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithCapabilities(value v1alpha1.ResourceList) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithClass(value v1alpha1.InstanceTypeClass) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithFinalizers(values ...string) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithGenerateName(value string) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithGeneration(value int64) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithKind(value string) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithLabels(entries map[string]string) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithName(value string) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithNamespace(value string) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithResourceVersion(value string) *InstanceTypeApplyConfiguration
- func (b *InstanceTypeApplyConfiguration) WithUID(value types.UID) *InstanceTypeApplyConfiguration
- type LocalObjectReferenceApplyConfiguration
- type LocalUIDReferenceApplyConfiguration
- type NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithAPIVersion(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithFinalizers(values ...string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithGenerateName(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithGeneration(value int64) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithKind(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithLabels(entries map[string]string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithName(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithNamespace(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithResourceVersion(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithSpec(value v1alpha1.NetworkSpec) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithStatus(value *NetworkStatusApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithUID(value types.UID) *NetworkApplyConfiguration
- type NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithAccessIPFamilies(values ...v1.IPFamily) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithAccessIPs(values ...string) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithIPFamilies(values ...v1.IPFamily) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithIPs(values ...string) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithName(value string) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithSubnetRef(value *SubnetReferenceApplyConfiguration) *NetworkInterfaceApplyConfiguration
- type NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithAccessIPs(values ...string) *NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithIPs(values ...string) *NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithLastStateTransitionTime(value v1.Time) *NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithName(value string) *NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithState(value v1alpha1.NetworkInterfaceState) *NetworkInterfaceStatusApplyConfiguration
- type NetworkStatusApplyConfiguration
- type SecretKeySelectorApplyConfiguration
- type SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithAPIVersion(value string) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithAnnotations(entries map[string]string) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithFinalizers(values ...string) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithGenerateName(value string) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithGeneration(value int64) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithKind(value string) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithLabels(entries map[string]string) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithName(value string) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithNamespace(value string) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithResourceVersion(value string) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithSpec(value *SubnetSpecApplyConfiguration) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithStatus(value *SubnetStatusApplyConfiguration) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithUID(value types.UID) *SubnetApplyConfiguration
- type SubnetReferenceApplyConfiguration
- type SubnetSpecApplyConfiguration
- type SubnetStatusApplyConfiguration
- type TaintApplyConfiguration
- type TolerationApplyConfiguration
- func (b *TolerationApplyConfiguration) WithEffect(value v1alpha1.TaintEffect) *TolerationApplyConfiguration
- func (b *TolerationApplyConfiguration) WithKey(value string) *TolerationApplyConfiguration
- func (b *TolerationApplyConfiguration) WithOperator(value v1alpha1.TolerationOperator) *TolerationApplyConfiguration
- func (b *TolerationApplyConfiguration) WithValue(value string) *TolerationApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachedDiskApplyConfiguration ¶
type AttachedDiskApplyConfiguration struct { Name *string `json:"name,omitempty"` Device *string `json:"device,omitempty"` AttachedDiskSourceApplyConfiguration `json:",inline"` }
AttachedDiskApplyConfiguration represents an declarative configuration of the AttachedDisk type for use with apply.
func AttachedDisk ¶
func AttachedDisk() *AttachedDiskApplyConfiguration
AttachedDiskApplyConfiguration constructs an declarative configuration of the AttachedDisk type for use with apply.
func (*AttachedDiskApplyConfiguration) WithDevice ¶
func (b *AttachedDiskApplyConfiguration) WithDevice(value string) *AttachedDiskApplyConfiguration
WithDevice sets the Device field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Device field is set to the value of the last call.
func (*AttachedDiskApplyConfiguration) WithDiskRef ¶
func (b *AttachedDiskApplyConfiguration) WithDiskRef(value *LocalObjectReferenceApplyConfiguration) *AttachedDiskApplyConfiguration
WithDiskRef sets the DiskRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DiskRef field is set to the value of the last call.
func (*AttachedDiskApplyConfiguration) WithEmptyDisk ¶
func (b *AttachedDiskApplyConfiguration) WithEmptyDisk(value *EmptyDiskSourceApplyConfiguration) *AttachedDiskApplyConfiguration
WithEmptyDisk sets the EmptyDisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EmptyDisk field is set to the value of the last call.
func (*AttachedDiskApplyConfiguration) WithEphemeral ¶
func (b *AttachedDiskApplyConfiguration) WithEphemeral(value *EphemeralDiskSourceApplyConfiguration) *AttachedDiskApplyConfiguration
WithEphemeral sets the Ephemeral field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ephemeral field is set to the value of the last call.
func (*AttachedDiskApplyConfiguration) WithName ¶
func (b *AttachedDiskApplyConfiguration) WithName(value string) *AttachedDiskApplyConfiguration
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 AttachedDiskSourceApplyConfiguration ¶
type AttachedDiskSourceApplyConfiguration struct { DiskRef *LocalObjectReferenceApplyConfiguration `json:"diskRef,omitempty"` EmptyDisk *EmptyDiskSourceApplyConfiguration `json:"emptyDisk,omitempty"` Ephemeral *EphemeralDiskSourceApplyConfiguration `json:"ephemeral,omitempty"` }
AttachedDiskSourceApplyConfiguration represents an declarative configuration of the AttachedDiskSource type for use with apply.
func AttachedDiskSource ¶
func AttachedDiskSource() *AttachedDiskSourceApplyConfiguration
AttachedDiskSourceApplyConfiguration constructs an declarative configuration of the AttachedDiskSource type for use with apply.
func (*AttachedDiskSourceApplyConfiguration) WithDiskRef ¶
func (b *AttachedDiskSourceApplyConfiguration) WithDiskRef(value *LocalObjectReferenceApplyConfiguration) *AttachedDiskSourceApplyConfiguration
WithDiskRef sets the DiskRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DiskRef field is set to the value of the last call.
func (*AttachedDiskSourceApplyConfiguration) WithEmptyDisk ¶
func (b *AttachedDiskSourceApplyConfiguration) WithEmptyDisk(value *EmptyDiskSourceApplyConfiguration) *AttachedDiskSourceApplyConfiguration
WithEmptyDisk sets the EmptyDisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EmptyDisk field is set to the value of the last call.
func (*AttachedDiskSourceApplyConfiguration) WithEphemeral ¶
func (b *AttachedDiskSourceApplyConfiguration) WithEphemeral(value *EphemeralDiskSourceApplyConfiguration) *AttachedDiskSourceApplyConfiguration
WithEphemeral sets the Ephemeral field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ephemeral field is set to the value of the last call.
type AttachedDiskStatusApplyConfiguration ¶
type AttachedDiskStatusApplyConfiguration struct { Name *string `json:"name,omitempty"` State *v1alpha1.AttachedDiskState `json:"state,omitempty"` LastStateTransitionTime *v1.Time `json:"lastStateTransitionTime,omitempty"` }
AttachedDiskStatusApplyConfiguration represents an declarative configuration of the AttachedDiskStatus type for use with apply.
func AttachedDiskStatus ¶
func AttachedDiskStatus() *AttachedDiskStatusApplyConfiguration
AttachedDiskStatusApplyConfiguration constructs an declarative configuration of the AttachedDiskStatus type for use with apply.
func (*AttachedDiskStatusApplyConfiguration) WithLastStateTransitionTime ¶
func (b *AttachedDiskStatusApplyConfiguration) WithLastStateTransitionTime(value v1.Time) *AttachedDiskStatusApplyConfiguration
WithLastStateTransitionTime sets the LastStateTransitionTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastStateTransitionTime field is set to the value of the last call.
func (*AttachedDiskStatusApplyConfiguration) WithName ¶
func (b *AttachedDiskStatusApplyConfiguration) WithName(value string) *AttachedDiskStatusApplyConfiguration
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 (*AttachedDiskStatusApplyConfiguration) WithState ¶
func (b *AttachedDiskStatusApplyConfiguration) WithState(value v1alpha1.AttachedDiskState) *AttachedDiskStatusApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type DaemonEndpointApplyConfiguration ¶
type DaemonEndpointApplyConfiguration struct {
Port *int32 `json:"port,omitempty"`
}
DaemonEndpointApplyConfiguration represents an declarative configuration of the DaemonEndpoint type for use with apply.
func DaemonEndpoint ¶
func DaemonEndpoint() *DaemonEndpointApplyConfiguration
DaemonEndpointApplyConfiguration constructs an declarative configuration of the DaemonEndpoint type for use with apply.
func (*DaemonEndpointApplyConfiguration) WithPort ¶
func (b *DaemonEndpointApplyConfiguration) WithPort(value int32) *DaemonEndpointApplyConfiguration
WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.
type DiskAccessApplyConfiguration ¶
type DiskAccessApplyConfiguration struct { Driver *string `json:"driver,omitempty"` Handle *string `json:"handle,omitempty"` Attributes map[string]string `json:"attributes,omitempty"` SecretRef *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"` }
DiskAccessApplyConfiguration represents an declarative configuration of the DiskAccess type for use with apply.
func DiskAccess ¶
func DiskAccess() *DiskAccessApplyConfiguration
DiskAccessApplyConfiguration constructs an declarative configuration of the DiskAccess type for use with apply.
func (*DiskAccessApplyConfiguration) WithAttributes ¶
func (b *DiskAccessApplyConfiguration) WithAttributes(entries map[string]string) *DiskAccessApplyConfiguration
WithAttributes puts the entries into the Attributes 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 Attributes field, overwriting an existing map entries in Attributes field with the same key.
func (*DiskAccessApplyConfiguration) WithDriver ¶
func (b *DiskAccessApplyConfiguration) WithDriver(value string) *DiskAccessApplyConfiguration
WithDriver sets the Driver field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Driver field is set to the value of the last call.
func (*DiskAccessApplyConfiguration) WithHandle ¶
func (b *DiskAccessApplyConfiguration) WithHandle(value string) *DiskAccessApplyConfiguration
WithHandle sets the Handle field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Handle field is set to the value of the last call.
func (*DiskAccessApplyConfiguration) WithSecretRef ¶
func (b *DiskAccessApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *DiskAccessApplyConfiguration
WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.
type DiskApplyConfiguration ¶
type DiskApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *DiskSpecApplyConfiguration `json:"spec,omitempty"` Status *DiskStatusApplyConfiguration `json:"status,omitempty"` }
DiskApplyConfiguration represents an declarative configuration of the Disk type for use with apply.
func Disk ¶
func Disk(name, namespace string) *DiskApplyConfiguration
Disk constructs an declarative configuration of the Disk type for use with apply.
func ExtractDisk ¶
func ExtractDisk(disk *corev1alpha1.Disk, fieldManager string) (*DiskApplyConfiguration, error)
ExtractDisk extracts the applied configuration owned by fieldManager from disk. If no managedFields are found in disk for fieldManager, a DiskApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. disk must be a unmodified Disk API object that was retrieved from the Kubernetes API. ExtractDisk provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractDiskStatus ¶
func ExtractDiskStatus(disk *corev1alpha1.Disk, fieldManager string) (*DiskApplyConfiguration, error)
ExtractDiskStatus is the same as ExtractDisk except that it extracts the status subresource applied configuration. Experimental!
func (*DiskApplyConfiguration) WithAPIVersion ¶
func (b *DiskApplyConfiguration) WithAPIVersion(value string) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithAnnotations ¶
func (b *DiskApplyConfiguration) WithAnnotations(entries map[string]string) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithCreationTimestamp ¶
func (b *DiskApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *DiskApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithDeletionTimestamp ¶
func (b *DiskApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithFinalizers ¶
func (b *DiskApplyConfiguration) WithFinalizers(values ...string) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithGenerateName ¶
func (b *DiskApplyConfiguration) WithGenerateName(value string) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithGeneration ¶
func (b *DiskApplyConfiguration) WithGeneration(value int64) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithKind ¶
func (b *DiskApplyConfiguration) WithKind(value string) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithLabels ¶
func (b *DiskApplyConfiguration) WithLabels(entries map[string]string) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithName ¶
func (b *DiskApplyConfiguration) WithName(value string) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithNamespace ¶
func (b *DiskApplyConfiguration) WithNamespace(value string) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithOwnerReferences ¶
func (b *DiskApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithResourceVersion ¶
func (b *DiskApplyConfiguration) WithResourceVersion(value string) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithSpec ¶
func (b *DiskApplyConfiguration) WithSpec(value *DiskSpecApplyConfiguration) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithStatus ¶
func (b *DiskApplyConfiguration) WithStatus(value *DiskStatusApplyConfiguration) *DiskApplyConfiguration
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 (*DiskApplyConfiguration) WithUID ¶
func (b *DiskApplyConfiguration) WithUID(value types.UID) *DiskApplyConfiguration
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 DiskSpecApplyConfiguration ¶
type DiskSpecApplyConfiguration struct { TypeRef *LocalObjectReferenceApplyConfiguration `json:"typeRef,omitempty"` InstanceRef *LocalUIDReferenceApplyConfiguration `json:"instanceRef,omitempty"` Resources *corev1alpha1.ResourceList `json:"resources,omitempty"` }
DiskSpecApplyConfiguration represents an declarative configuration of the DiskSpec type for use with apply.
func DiskSpec ¶
func DiskSpec() *DiskSpecApplyConfiguration
DiskSpecApplyConfiguration constructs an declarative configuration of the DiskSpec type for use with apply.
func (*DiskSpecApplyConfiguration) WithInstanceRef ¶
func (b *DiskSpecApplyConfiguration) WithInstanceRef(value *LocalUIDReferenceApplyConfiguration) *DiskSpecApplyConfiguration
WithInstanceRef sets the InstanceRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InstanceRef field is set to the value of the last call.
func (*DiskSpecApplyConfiguration) WithResources ¶
func (b *DiskSpecApplyConfiguration) WithResources(value corev1alpha1.ResourceList) *DiskSpecApplyConfiguration
WithResources sets the Resources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resources field is set to the value of the last call.
func (*DiskSpecApplyConfiguration) WithTypeRef ¶
func (b *DiskSpecApplyConfiguration) WithTypeRef(value *LocalObjectReferenceApplyConfiguration) *DiskSpecApplyConfiguration
WithTypeRef sets the TypeRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TypeRef field is set to the value of the last call.
type DiskStatusApplyConfiguration ¶
type DiskStatusApplyConfiguration struct { State *v1alpha1.DiskState `json:"state,omitempty"` Access *DiskAccessApplyConfiguration `json:"access,omitempty"` LastStateTransitionTime *v1.Time `json:"lastStateTransitionTime,omitempty"` }
DiskStatusApplyConfiguration represents an declarative configuration of the DiskStatus type for use with apply.
func DiskStatus ¶
func DiskStatus() *DiskStatusApplyConfiguration
DiskStatusApplyConfiguration constructs an declarative configuration of the DiskStatus type for use with apply.
func (*DiskStatusApplyConfiguration) WithAccess ¶
func (b *DiskStatusApplyConfiguration) WithAccess(value *DiskAccessApplyConfiguration) *DiskStatusApplyConfiguration
WithAccess sets the Access field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Access field is set to the value of the last call.
func (*DiskStatusApplyConfiguration) WithLastStateTransitionTime ¶
func (b *DiskStatusApplyConfiguration) WithLastStateTransitionTime(value v1.Time) *DiskStatusApplyConfiguration
WithLastStateTransitionTime sets the LastStateTransitionTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastStateTransitionTime field is set to the value of the last call.
func (*DiskStatusApplyConfiguration) WithState ¶
func (b *DiskStatusApplyConfiguration) WithState(value v1alpha1.DiskState) *DiskStatusApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type DiskTemplateSpecApplyConfiguration ¶
type DiskTemplateSpecApplyConfiguration struct { *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *DiskSpecApplyConfiguration `json:"spec,omitempty"` }
DiskTemplateSpecApplyConfiguration represents an declarative configuration of the DiskTemplateSpec type for use with apply.
func DiskTemplateSpec ¶
func DiskTemplateSpec() *DiskTemplateSpecApplyConfiguration
DiskTemplateSpecApplyConfiguration constructs an declarative configuration of the DiskTemplateSpec type for use with apply.
func (*DiskTemplateSpecApplyConfiguration) WithAnnotations ¶
func (b *DiskTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *DiskTemplateSpecApplyConfiguration
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 (*DiskTemplateSpecApplyConfiguration) WithCreationTimestamp ¶
func (b *DiskTemplateSpecApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DiskTemplateSpecApplyConfiguration
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 (*DiskTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *DiskTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DiskTemplateSpecApplyConfiguration
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 (*DiskTemplateSpecApplyConfiguration) WithDeletionTimestamp ¶
func (b *DiskTemplateSpecApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DiskTemplateSpecApplyConfiguration
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 (*DiskTemplateSpecApplyConfiguration) WithFinalizers ¶
func (b *DiskTemplateSpecApplyConfiguration) WithFinalizers(values ...string) *DiskTemplateSpecApplyConfiguration
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 (*DiskTemplateSpecApplyConfiguration) WithGenerateName ¶
func (b *DiskTemplateSpecApplyConfiguration) WithGenerateName(value string) *DiskTemplateSpecApplyConfiguration
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 (*DiskTemplateSpecApplyConfiguration) WithGeneration ¶
func (b *DiskTemplateSpecApplyConfiguration) WithGeneration(value int64) *DiskTemplateSpecApplyConfiguration
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 (*DiskTemplateSpecApplyConfiguration) WithLabels ¶
func (b *DiskTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *DiskTemplateSpecApplyConfiguration
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 (*DiskTemplateSpecApplyConfiguration) WithName ¶
func (b *DiskTemplateSpecApplyConfiguration) WithName(value string) *DiskTemplateSpecApplyConfiguration
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 (*DiskTemplateSpecApplyConfiguration) WithNamespace ¶
func (b *DiskTemplateSpecApplyConfiguration) WithNamespace(value string) *DiskTemplateSpecApplyConfiguration
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 (*DiskTemplateSpecApplyConfiguration) WithOwnerReferences ¶
func (b *DiskTemplateSpecApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DiskTemplateSpecApplyConfiguration
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 (*DiskTemplateSpecApplyConfiguration) WithResourceVersion ¶
func (b *DiskTemplateSpecApplyConfiguration) WithResourceVersion(value string) *DiskTemplateSpecApplyConfiguration
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 (*DiskTemplateSpecApplyConfiguration) WithSpec ¶
func (b *DiskTemplateSpecApplyConfiguration) WithSpec(value *DiskSpecApplyConfiguration) *DiskTemplateSpecApplyConfiguration
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 (*DiskTemplateSpecApplyConfiguration) WithUID ¶
func (b *DiskTemplateSpecApplyConfiguration) WithUID(value types.UID) *DiskTemplateSpecApplyConfiguration
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 DiskTypeApplyConfiguration ¶
type DiskTypeApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` }
DiskTypeApplyConfiguration represents an declarative configuration of the DiskType type for use with apply.
func DiskType ¶
func DiskType(name string) *DiskTypeApplyConfiguration
DiskType constructs an declarative configuration of the DiskType type for use with apply.
func ExtractDiskType ¶
func ExtractDiskType(diskType *v1alpha1.DiskType, fieldManager string) (*DiskTypeApplyConfiguration, error)
ExtractDiskType extracts the applied configuration owned by fieldManager from diskType. If no managedFields are found in diskType for fieldManager, a DiskTypeApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. diskType must be a unmodified DiskType API object that was retrieved from the Kubernetes API. ExtractDiskType provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractDiskTypeStatus ¶
func ExtractDiskTypeStatus(diskType *v1alpha1.DiskType, fieldManager string) (*DiskTypeApplyConfiguration, error)
ExtractDiskTypeStatus is the same as ExtractDiskType except that it extracts the status subresource applied configuration. Experimental!
func (*DiskTypeApplyConfiguration) WithAPIVersion ¶
func (b *DiskTypeApplyConfiguration) WithAPIVersion(value string) *DiskTypeApplyConfiguration
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 (*DiskTypeApplyConfiguration) WithAnnotations ¶
func (b *DiskTypeApplyConfiguration) WithAnnotations(entries map[string]string) *DiskTypeApplyConfiguration
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 (*DiskTypeApplyConfiguration) WithCreationTimestamp ¶
func (b *DiskTypeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DiskTypeApplyConfiguration
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 (*DiskTypeApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *DiskTypeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DiskTypeApplyConfiguration
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 (*DiskTypeApplyConfiguration) WithDeletionTimestamp ¶
func (b *DiskTypeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DiskTypeApplyConfiguration
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 (*DiskTypeApplyConfiguration) WithFinalizers ¶
func (b *DiskTypeApplyConfiguration) WithFinalizers(values ...string) *DiskTypeApplyConfiguration
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 (*DiskTypeApplyConfiguration) WithGenerateName ¶
func (b *DiskTypeApplyConfiguration) WithGenerateName(value string) *DiskTypeApplyConfiguration
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 (*DiskTypeApplyConfiguration) WithGeneration ¶
func (b *DiskTypeApplyConfiguration) WithGeneration(value int64) *DiskTypeApplyConfiguration
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 (*DiskTypeApplyConfiguration) WithKind ¶
func (b *DiskTypeApplyConfiguration) WithKind(value string) *DiskTypeApplyConfiguration
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 (*DiskTypeApplyConfiguration) WithLabels ¶
func (b *DiskTypeApplyConfiguration) WithLabels(entries map[string]string) *DiskTypeApplyConfiguration
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 (*DiskTypeApplyConfiguration) WithName ¶
func (b *DiskTypeApplyConfiguration) WithName(value string) *DiskTypeApplyConfiguration
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 (*DiskTypeApplyConfiguration) WithNamespace ¶
func (b *DiskTypeApplyConfiguration) WithNamespace(value string) *DiskTypeApplyConfiguration
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 (*DiskTypeApplyConfiguration) WithOwnerReferences ¶
func (b *DiskTypeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DiskTypeApplyConfiguration
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 (*DiskTypeApplyConfiguration) WithResourceVersion ¶
func (b *DiskTypeApplyConfiguration) WithResourceVersion(value string) *DiskTypeApplyConfiguration
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 (*DiskTypeApplyConfiguration) WithUID ¶
func (b *DiskTypeApplyConfiguration) WithUID(value types.UID) *DiskTypeApplyConfiguration
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 EFIVarApplyConfiguration ¶
type EFIVarApplyConfiguration struct { Name *string `json:"name,omitempty"` UUID *string `json:"uuid,omitempty"` Value *string `json:"value,omitempty"` }
EFIVarApplyConfiguration represents an declarative configuration of the EFIVar type for use with apply.
func EFIVar ¶
func EFIVar() *EFIVarApplyConfiguration
EFIVarApplyConfiguration constructs an declarative configuration of the EFIVar type for use with apply.
func (*EFIVarApplyConfiguration) WithName ¶
func (b *EFIVarApplyConfiguration) WithName(value string) *EFIVarApplyConfiguration
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 (*EFIVarApplyConfiguration) WithUUID ¶
func (b *EFIVarApplyConfiguration) WithUUID(value string) *EFIVarApplyConfiguration
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.
func (*EFIVarApplyConfiguration) WithValue ¶
func (b *EFIVarApplyConfiguration) WithValue(value string) *EFIVarApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type EmptyDiskSourceApplyConfiguration ¶
type EmptyDiskSourceApplyConfiguration struct {
SizeLimit *resource.Quantity `json:"sizeLimit,omitempty"`
}
EmptyDiskSourceApplyConfiguration represents an declarative configuration of the EmptyDiskSource type for use with apply.
func EmptyDiskSource ¶
func EmptyDiskSource() *EmptyDiskSourceApplyConfiguration
EmptyDiskSourceApplyConfiguration constructs an declarative configuration of the EmptyDiskSource type for use with apply.
func (*EmptyDiskSourceApplyConfiguration) WithSizeLimit ¶
func (b *EmptyDiskSourceApplyConfiguration) WithSizeLimit(value resource.Quantity) *EmptyDiskSourceApplyConfiguration
WithSizeLimit sets the SizeLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SizeLimit field is set to the value of the last call.
type EphemeralDiskSourceApplyConfiguration ¶
type EphemeralDiskSourceApplyConfiguration struct {
DiskTemplate *DiskTemplateSpecApplyConfiguration `json:"diskTemplate,omitempty"`
}
EphemeralDiskSourceApplyConfiguration represents an declarative configuration of the EphemeralDiskSource type for use with apply.
func EphemeralDiskSource ¶
func EphemeralDiskSource() *EphemeralDiskSourceApplyConfiguration
EphemeralDiskSourceApplyConfiguration constructs an declarative configuration of the EphemeralDiskSource type for use with apply.
func (*EphemeralDiskSourceApplyConfiguration) WithDiskTemplate ¶
func (b *EphemeralDiskSourceApplyConfiguration) WithDiskTemplate(value *DiskTemplateSpecApplyConfiguration) *EphemeralDiskSourceApplyConfiguration
WithDiskTemplate sets the DiskTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DiskTemplate field is set to the value of the last call.
type FleetAddressApplyConfiguration ¶
type FleetAddressApplyConfiguration struct { Type *v1alpha1.FleetAddressType `json:"type,omitempty"` Address *string `json:"address,omitempty"` }
FleetAddressApplyConfiguration represents an declarative configuration of the FleetAddress type for use with apply.
func FleetAddress ¶
func FleetAddress() *FleetAddressApplyConfiguration
FleetAddressApplyConfiguration constructs an declarative configuration of the FleetAddress type for use with apply.
func (*FleetAddressApplyConfiguration) WithAddress ¶
func (b *FleetAddressApplyConfiguration) WithAddress(value string) *FleetAddressApplyConfiguration
WithAddress sets the Address field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Address field is set to the value of the last call.
func (*FleetAddressApplyConfiguration) WithType ¶
func (b *FleetAddressApplyConfiguration) WithType(value v1alpha1.FleetAddressType) *FleetAddressApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type FleetApplyConfiguration ¶
type FleetApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *FleetSpecApplyConfiguration `json:"spec,omitempty"` Status *FleetStatusApplyConfiguration `json:"status,omitempty"` }
FleetApplyConfiguration represents an declarative configuration of the Fleet type for use with apply.
func ExtractFleet ¶
func ExtractFleet(fleet *corev1alpha1.Fleet, fieldManager string) (*FleetApplyConfiguration, error)
ExtractFleet extracts the applied configuration owned by fieldManager from fleet. If no managedFields are found in fleet for fieldManager, a FleetApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. fleet must be a unmodified Fleet API object that was retrieved from the Kubernetes API. ExtractFleet provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractFleetStatus ¶
func ExtractFleetStatus(fleet *corev1alpha1.Fleet, fieldManager string) (*FleetApplyConfiguration, error)
ExtractFleetStatus is the same as ExtractFleet except that it extracts the status subresource applied configuration. Experimental!
func Fleet ¶
func Fleet(name string) *FleetApplyConfiguration
Fleet constructs an declarative configuration of the Fleet type for use with apply.
func (*FleetApplyConfiguration) WithAPIVersion ¶
func (b *FleetApplyConfiguration) WithAPIVersion(value string) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithAnnotations ¶
func (b *FleetApplyConfiguration) WithAnnotations(entries map[string]string) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithCreationTimestamp ¶
func (b *FleetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *FleetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithDeletionTimestamp ¶
func (b *FleetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithFinalizers ¶
func (b *FleetApplyConfiguration) WithFinalizers(values ...string) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithGenerateName ¶
func (b *FleetApplyConfiguration) WithGenerateName(value string) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithGeneration ¶
func (b *FleetApplyConfiguration) WithGeneration(value int64) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithKind ¶
func (b *FleetApplyConfiguration) WithKind(value string) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithLabels ¶
func (b *FleetApplyConfiguration) WithLabels(entries map[string]string) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithName ¶
func (b *FleetApplyConfiguration) WithName(value string) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithNamespace ¶
func (b *FleetApplyConfiguration) WithNamespace(value string) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithOwnerReferences ¶
func (b *FleetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithResourceVersion ¶
func (b *FleetApplyConfiguration) WithResourceVersion(value string) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithSpec ¶
func (b *FleetApplyConfiguration) WithSpec(value *FleetSpecApplyConfiguration) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithStatus ¶
func (b *FleetApplyConfiguration) WithStatus(value *FleetStatusApplyConfiguration) *FleetApplyConfiguration
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 (*FleetApplyConfiguration) WithUID ¶
func (b *FleetApplyConfiguration) WithUID(value types.UID) *FleetApplyConfiguration
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 FleetConditionApplyConfiguration ¶
type FleetConditionApplyConfiguration struct { Type *v1alpha1.FleetConditionType `json:"type,omitempty"` Status *v1.ConditionStatus `json:"status,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` }
FleetConditionApplyConfiguration represents an declarative configuration of the FleetCondition type for use with apply.
func FleetCondition ¶
func FleetCondition() *FleetConditionApplyConfiguration
FleetConditionApplyConfiguration constructs an declarative configuration of the FleetCondition type for use with apply.
func (*FleetConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *FleetConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *FleetConditionApplyConfiguration
WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTransitionTime field is set to the value of the last call.
func (*FleetConditionApplyConfiguration) WithMessage ¶
func (b *FleetConditionApplyConfiguration) WithMessage(value string) *FleetConditionApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*FleetConditionApplyConfiguration) WithObservedGeneration ¶
func (b *FleetConditionApplyConfiguration) WithObservedGeneration(value int64) *FleetConditionApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*FleetConditionApplyConfiguration) WithReason ¶
func (b *FleetConditionApplyConfiguration) WithReason(value string) *FleetConditionApplyConfiguration
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.
func (*FleetConditionApplyConfiguration) WithStatus ¶
func (b *FleetConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *FleetConditionApplyConfiguration
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 (*FleetConditionApplyConfiguration) WithType ¶
func (b *FleetConditionApplyConfiguration) WithType(value v1alpha1.FleetConditionType) *FleetConditionApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type FleetDaemonEndpointsApplyConfiguration ¶
type FleetDaemonEndpointsApplyConfiguration struct {
SphereletEndpoint *DaemonEndpointApplyConfiguration `json:"sphereletEndpoint,omitempty"`
}
FleetDaemonEndpointsApplyConfiguration represents an declarative configuration of the FleetDaemonEndpoints type for use with apply.
func FleetDaemonEndpoints ¶
func FleetDaemonEndpoints() *FleetDaemonEndpointsApplyConfiguration
FleetDaemonEndpointsApplyConfiguration constructs an declarative configuration of the FleetDaemonEndpoints type for use with apply.
func (*FleetDaemonEndpointsApplyConfiguration) WithSphereletEndpoint ¶
func (b *FleetDaemonEndpointsApplyConfiguration) WithSphereletEndpoint(value *DaemonEndpointApplyConfiguration) *FleetDaemonEndpointsApplyConfiguration
WithSphereletEndpoint sets the SphereletEndpoint field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SphereletEndpoint field is set to the value of the last call.
type FleetSpecApplyConfiguration ¶
type FleetSpecApplyConfiguration struct { ProviderID *string `json:"providerID,omitempty"` Taints []TaintApplyConfiguration `json:"taints,omitempty"` }
FleetSpecApplyConfiguration represents an declarative configuration of the FleetSpec type for use with apply.
func FleetSpec ¶
func FleetSpec() *FleetSpecApplyConfiguration
FleetSpecApplyConfiguration constructs an declarative configuration of the FleetSpec type for use with apply.
func (*FleetSpecApplyConfiguration) WithProviderID ¶
func (b *FleetSpecApplyConfiguration) WithProviderID(value string) *FleetSpecApplyConfiguration
WithProviderID sets the ProviderID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProviderID field is set to the value of the last call.
func (*FleetSpecApplyConfiguration) WithTaints ¶
func (b *FleetSpecApplyConfiguration) WithTaints(values ...*TaintApplyConfiguration) *FleetSpecApplyConfiguration
WithTaints adds the given value to the Taints 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 Taints field.
type FleetStatusApplyConfiguration ¶
type FleetStatusApplyConfiguration struct { State *v1alpha1.FleetState `json:"state,omitempty"` Conditions []FleetConditionApplyConfiguration `json:"conditions,omitempty"` Addresses []FleetAddressApplyConfiguration `json:"addresses,omitempty"` DaemonEndpoints *FleetDaemonEndpointsApplyConfiguration `json:"daemonEndpoints,omitempty"` Capacity *v1alpha1.ResourceList `json:"capacity,omitempty"` Allocatable *v1alpha1.ResourceList `json:"allocatable,omitempty"` }
FleetStatusApplyConfiguration represents an declarative configuration of the FleetStatus type for use with apply.
func FleetStatus ¶
func FleetStatus() *FleetStatusApplyConfiguration
FleetStatusApplyConfiguration constructs an declarative configuration of the FleetStatus type for use with apply.
func (*FleetStatusApplyConfiguration) WithAddresses ¶
func (b *FleetStatusApplyConfiguration) WithAddresses(values ...*FleetAddressApplyConfiguration) *FleetStatusApplyConfiguration
WithAddresses adds the given value to the Addresses 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 Addresses field.
func (*FleetStatusApplyConfiguration) WithAllocatable ¶
func (b *FleetStatusApplyConfiguration) WithAllocatable(value v1alpha1.ResourceList) *FleetStatusApplyConfiguration
WithAllocatable sets the Allocatable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Allocatable field is set to the value of the last call.
func (*FleetStatusApplyConfiguration) WithCapacity ¶
func (b *FleetStatusApplyConfiguration) WithCapacity(value v1alpha1.ResourceList) *FleetStatusApplyConfiguration
WithCapacity sets the Capacity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Capacity field is set to the value of the last call.
func (*FleetStatusApplyConfiguration) WithConditions ¶
func (b *FleetStatusApplyConfiguration) WithConditions(values ...*FleetConditionApplyConfiguration) *FleetStatusApplyConfiguration
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 (*FleetStatusApplyConfiguration) WithDaemonEndpoints ¶
func (b *FleetStatusApplyConfiguration) WithDaemonEndpoints(value *FleetDaemonEndpointsApplyConfiguration) *FleetStatusApplyConfiguration
WithDaemonEndpoints sets the DaemonEndpoints field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DaemonEndpoints field is set to the value of the last call.
func (*FleetStatusApplyConfiguration) WithState ¶
func (b *FleetStatusApplyConfiguration) WithState(value v1alpha1.FleetState) *FleetStatusApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type InstanceApplyConfiguration ¶
type InstanceApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *InstanceSpecApplyConfiguration `json:"spec,omitempty"` Status *InstanceStatusApplyConfiguration `json:"status,omitempty"` }
InstanceApplyConfiguration represents an declarative configuration of the Instance type for use with apply.
func ExtractInstance ¶
func ExtractInstance(instance *corev1alpha1.Instance, fieldManager string) (*InstanceApplyConfiguration, error)
ExtractInstance extracts the applied configuration owned by fieldManager from instance. If no managedFields are found in instance for fieldManager, a InstanceApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. instance must be a unmodified Instance API object that was retrieved from the Kubernetes API. ExtractInstance provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractInstanceStatus ¶
func ExtractInstanceStatus(instance *corev1alpha1.Instance, fieldManager string) (*InstanceApplyConfiguration, error)
ExtractInstanceStatus is the same as ExtractInstance except that it extracts the status subresource applied configuration. Experimental!
func Instance ¶
func Instance(name, namespace string) *InstanceApplyConfiguration
Instance constructs an declarative configuration of the Instance type for use with apply.
func (*InstanceApplyConfiguration) WithAPIVersion ¶
func (b *InstanceApplyConfiguration) WithAPIVersion(value string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithAnnotations ¶
func (b *InstanceApplyConfiguration) WithAnnotations(entries map[string]string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithCreationTimestamp ¶
func (b *InstanceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *InstanceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithDeletionTimestamp ¶
func (b *InstanceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithFinalizers ¶
func (b *InstanceApplyConfiguration) WithFinalizers(values ...string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithGenerateName ¶
func (b *InstanceApplyConfiguration) WithGenerateName(value string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithGeneration ¶
func (b *InstanceApplyConfiguration) WithGeneration(value int64) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithKind ¶
func (b *InstanceApplyConfiguration) WithKind(value string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithLabels ¶
func (b *InstanceApplyConfiguration) WithLabels(entries map[string]string) *InstanceApplyConfiguration
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 (*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.
func (*InstanceApplyConfiguration) WithNamespace ¶
func (b *InstanceApplyConfiguration) WithNamespace(value string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithOwnerReferences ¶
func (b *InstanceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithResourceVersion ¶
func (b *InstanceApplyConfiguration) WithResourceVersion(value string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithSpec ¶
func (b *InstanceApplyConfiguration) WithSpec(value *InstanceSpecApplyConfiguration) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithStatus ¶
func (b *InstanceApplyConfiguration) WithStatus(value *InstanceStatusApplyConfiguration) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithUID ¶
func (b *InstanceApplyConfiguration) WithUID(value types.UID) *InstanceApplyConfiguration
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 InstanceSpecApplyConfiguration ¶
type InstanceSpecApplyConfiguration struct { InstanceTypeRef *LocalObjectReferenceApplyConfiguration `json:"instanceTypeRef,omitempty"` FleetSelector map[string]string `json:"fleetSelector,omitempty"` FleetRef *LocalObjectReferenceApplyConfiguration `json:"fleetRef,omitempty"` Power *corev1alpha1.Power `json:"power,omitempty"` Image *string `json:"image,omitempty"` ImagePullSecretRef *LocalObjectReferenceApplyConfiguration `json:"imagePullSecret,omitempty"` NetworkInterfaces []NetworkInterfaceApplyConfiguration `json:"networkInterfaces,omitempty"` Disks []AttachedDiskApplyConfiguration `json:"disks,omitempty"` IgnitionRef *SecretKeySelectorApplyConfiguration `json:"ignitionRef,omitempty"` EFIVars []EFIVarApplyConfiguration `json:"efiVars,omitempty"` Tolerations []TolerationApplyConfiguration `json:"tolerations,omitempty"` }
InstanceSpecApplyConfiguration represents an declarative configuration of the InstanceSpec type for use with apply.
func InstanceSpec ¶
func InstanceSpec() *InstanceSpecApplyConfiguration
InstanceSpecApplyConfiguration constructs an declarative configuration of the InstanceSpec type for use with apply.
func (*InstanceSpecApplyConfiguration) WithDisks ¶
func (b *InstanceSpecApplyConfiguration) WithDisks(values ...*AttachedDiskApplyConfiguration) *InstanceSpecApplyConfiguration
WithDisks adds the given value to the Disks 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 Disks field.
func (*InstanceSpecApplyConfiguration) WithEFIVars ¶
func (b *InstanceSpecApplyConfiguration) WithEFIVars(values ...*EFIVarApplyConfiguration) *InstanceSpecApplyConfiguration
WithEFIVars adds the given value to the EFIVars 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 EFIVars field.
func (*InstanceSpecApplyConfiguration) WithFleetRef ¶
func (b *InstanceSpecApplyConfiguration) WithFleetRef(value *LocalObjectReferenceApplyConfiguration) *InstanceSpecApplyConfiguration
WithFleetRef sets the FleetRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FleetRef field is set to the value of the last call.
func (*InstanceSpecApplyConfiguration) WithFleetSelector ¶
func (b *InstanceSpecApplyConfiguration) WithFleetSelector(entries map[string]string) *InstanceSpecApplyConfiguration
WithFleetSelector puts the entries into the FleetSelector 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 FleetSelector field, overwriting an existing map entries in FleetSelector field with the same key.
func (*InstanceSpecApplyConfiguration) WithIgnitionRef ¶
func (b *InstanceSpecApplyConfiguration) WithIgnitionRef(value *SecretKeySelectorApplyConfiguration) *InstanceSpecApplyConfiguration
WithIgnitionRef sets the IgnitionRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IgnitionRef field is set to the value of the last call.
func (*InstanceSpecApplyConfiguration) WithImage ¶
func (b *InstanceSpecApplyConfiguration) WithImage(value string) *InstanceSpecApplyConfiguration
WithImage sets the Image field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Image field is set to the value of the last call.
func (*InstanceSpecApplyConfiguration) WithImagePullSecretRef ¶
func (b *InstanceSpecApplyConfiguration) WithImagePullSecretRef(value *LocalObjectReferenceApplyConfiguration) *InstanceSpecApplyConfiguration
WithImagePullSecretRef sets the ImagePullSecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImagePullSecretRef field is set to the value of the last call.
func (*InstanceSpecApplyConfiguration) WithInstanceTypeRef ¶
func (b *InstanceSpecApplyConfiguration) WithInstanceTypeRef(value *LocalObjectReferenceApplyConfiguration) *InstanceSpecApplyConfiguration
WithInstanceTypeRef sets the InstanceTypeRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InstanceTypeRef field is set to the value of the last call.
func (*InstanceSpecApplyConfiguration) WithNetworkInterfaces ¶
func (b *InstanceSpecApplyConfiguration) WithNetworkInterfaces(values ...*NetworkInterfaceApplyConfiguration) *InstanceSpecApplyConfiguration
WithNetworkInterfaces adds the given value to the NetworkInterfaces 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 NetworkInterfaces field.
func (*InstanceSpecApplyConfiguration) WithPower ¶
func (b *InstanceSpecApplyConfiguration) WithPower(value corev1alpha1.Power) *InstanceSpecApplyConfiguration
WithPower sets the Power field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Power field is set to the value of the last call.
func (*InstanceSpecApplyConfiguration) WithTolerations ¶
func (b *InstanceSpecApplyConfiguration) WithTolerations(values ...*TolerationApplyConfiguration) *InstanceSpecApplyConfiguration
WithTolerations adds the given value to the Tolerations 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 Tolerations field.
type InstanceStatusApplyConfiguration ¶
type InstanceStatusApplyConfiguration struct { InstanceID *string `json:"instanceID,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` State *v1alpha1.InstanceState `json:"state,omitempty"` NetworkInterfaces []NetworkInterfaceStatusApplyConfiguration `json:"networkInterfaces,omitempty"` Disks []AttachedDiskStatusApplyConfiguration `json:"disks,omitempty"` }
InstanceStatusApplyConfiguration represents an declarative configuration of the InstanceStatus type for use with apply.
func InstanceStatus ¶
func InstanceStatus() *InstanceStatusApplyConfiguration
InstanceStatusApplyConfiguration constructs an declarative configuration of the InstanceStatus type for use with apply.
func (*InstanceStatusApplyConfiguration) WithDisks ¶
func (b *InstanceStatusApplyConfiguration) WithDisks(values ...*AttachedDiskStatusApplyConfiguration) *InstanceStatusApplyConfiguration
WithDisks adds the given value to the Disks 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 Disks field.
func (*InstanceStatusApplyConfiguration) WithInstanceID ¶
func (b *InstanceStatusApplyConfiguration) WithInstanceID(value string) *InstanceStatusApplyConfiguration
WithInstanceID sets the InstanceID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InstanceID field is set to the value of the last call.
func (*InstanceStatusApplyConfiguration) WithNetworkInterfaces ¶
func (b *InstanceStatusApplyConfiguration) WithNetworkInterfaces(values ...*NetworkInterfaceStatusApplyConfiguration) *InstanceStatusApplyConfiguration
WithNetworkInterfaces adds the given value to the NetworkInterfaces 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 NetworkInterfaces field.
func (*InstanceStatusApplyConfiguration) WithObservedGeneration ¶
func (b *InstanceStatusApplyConfiguration) WithObservedGeneration(value int64) *InstanceStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*InstanceStatusApplyConfiguration) WithState ¶
func (b *InstanceStatusApplyConfiguration) WithState(value v1alpha1.InstanceState) *InstanceStatusApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type InstanceTypeApplyConfiguration ¶
type InstanceTypeApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Class *v1alpha1.InstanceTypeClass `json:"class,omitempty"` Capabilities *v1alpha1.ResourceList `json:"capabilities,omitempty"` }
InstanceTypeApplyConfiguration represents an declarative configuration of the InstanceType type for use with apply.
func ExtractInstanceType ¶
func ExtractInstanceType(instanceType *v1alpha1.InstanceType, fieldManager string) (*InstanceTypeApplyConfiguration, error)
ExtractInstanceType extracts the applied configuration owned by fieldManager from instanceType. If no managedFields are found in instanceType for fieldManager, a InstanceTypeApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. instanceType must be a unmodified InstanceType API object that was retrieved from the Kubernetes API. ExtractInstanceType provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractInstanceTypeStatus ¶
func ExtractInstanceTypeStatus(instanceType *v1alpha1.InstanceType, fieldManager string) (*InstanceTypeApplyConfiguration, error)
ExtractInstanceTypeStatus is the same as ExtractInstanceType except that it extracts the status subresource applied configuration. Experimental!
func InstanceType ¶
func InstanceType(name string) *InstanceTypeApplyConfiguration
InstanceType constructs an declarative configuration of the InstanceType type for use with apply.
func (*InstanceTypeApplyConfiguration) WithAPIVersion ¶
func (b *InstanceTypeApplyConfiguration) WithAPIVersion(value string) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithAnnotations ¶
func (b *InstanceTypeApplyConfiguration) WithAnnotations(entries map[string]string) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithCapabilities ¶
func (b *InstanceTypeApplyConfiguration) WithCapabilities(value v1alpha1.ResourceList) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithClass ¶
func (b *InstanceTypeApplyConfiguration) WithClass(value v1alpha1.InstanceTypeClass) *InstanceTypeApplyConfiguration
WithClass sets the Class field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Class field is set to the value of the last call.
func (*InstanceTypeApplyConfiguration) WithCreationTimestamp ¶
func (b *InstanceTypeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *InstanceTypeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithDeletionTimestamp ¶
func (b *InstanceTypeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithFinalizers ¶
func (b *InstanceTypeApplyConfiguration) WithFinalizers(values ...string) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithGenerateName ¶
func (b *InstanceTypeApplyConfiguration) WithGenerateName(value string) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithGeneration ¶
func (b *InstanceTypeApplyConfiguration) WithGeneration(value int64) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithKind ¶
func (b *InstanceTypeApplyConfiguration) WithKind(value string) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithLabels ¶
func (b *InstanceTypeApplyConfiguration) WithLabels(entries map[string]string) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithName ¶
func (b *InstanceTypeApplyConfiguration) WithName(value string) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithNamespace ¶
func (b *InstanceTypeApplyConfiguration) WithNamespace(value string) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithOwnerReferences ¶
func (b *InstanceTypeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithResourceVersion ¶
func (b *InstanceTypeApplyConfiguration) WithResourceVersion(value string) *InstanceTypeApplyConfiguration
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 (*InstanceTypeApplyConfiguration) WithUID ¶
func (b *InstanceTypeApplyConfiguration) WithUID(value types.UID) *InstanceTypeApplyConfiguration
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 LocalObjectReferenceApplyConfiguration ¶
type LocalObjectReferenceApplyConfiguration struct {
Name *string `json:"name,omitempty"`
}
LocalObjectReferenceApplyConfiguration represents an declarative configuration of the LocalObjectReference type for use with apply.
func LocalObjectReference ¶
func LocalObjectReference() *LocalObjectReferenceApplyConfiguration
LocalObjectReferenceApplyConfiguration constructs an declarative configuration of the LocalObjectReference type for use with apply.
func (*LocalObjectReferenceApplyConfiguration) WithName ¶
func (b *LocalObjectReferenceApplyConfiguration) WithName(value string) *LocalObjectReferenceApplyConfiguration
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 LocalUIDReferenceApplyConfiguration ¶
type LocalUIDReferenceApplyConfiguration struct { Name *string `json:"name,omitempty"` UID *types.UID `json:"uid,omitempty"` }
LocalUIDReferenceApplyConfiguration represents an declarative configuration of the LocalUIDReference type for use with apply.
func LocalUIDReference ¶
func LocalUIDReference() *LocalUIDReferenceApplyConfiguration
LocalUIDReferenceApplyConfiguration constructs an declarative configuration of the LocalUIDReference type for use with apply.
func (*LocalUIDReferenceApplyConfiguration) WithName ¶
func (b *LocalUIDReferenceApplyConfiguration) WithName(value string) *LocalUIDReferenceApplyConfiguration
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 (*LocalUIDReferenceApplyConfiguration) WithUID ¶
func (b *LocalUIDReferenceApplyConfiguration) WithUID(value types.UID) *LocalUIDReferenceApplyConfiguration
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 NetworkApplyConfiguration ¶
type NetworkApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *v1alpha1.NetworkSpec `json:"spec,omitempty"` Status *NetworkStatusApplyConfiguration `json:"status,omitempty"` }
NetworkApplyConfiguration represents an declarative configuration of the Network type for use with apply.
func ExtractNetwork ¶
func ExtractNetwork(network *v1alpha1.Network, fieldManager string) (*NetworkApplyConfiguration, error)
ExtractNetwork extracts the applied configuration owned by fieldManager from network. If no managedFields are found in network for fieldManager, a NetworkApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. network must be a unmodified Network API object that was retrieved from the Kubernetes API. ExtractNetwork provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractNetworkStatus ¶
func ExtractNetworkStatus(network *v1alpha1.Network, fieldManager string) (*NetworkApplyConfiguration, error)
ExtractNetworkStatus is the same as ExtractNetwork except that it extracts the status subresource applied configuration. Experimental!
func Network ¶
func Network(name, namespace string) *NetworkApplyConfiguration
Network constructs an declarative configuration of the Network type for use with apply.
func (*NetworkApplyConfiguration) WithAPIVersion ¶
func (b *NetworkApplyConfiguration) WithAPIVersion(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithAnnotations ¶
func (b *NetworkApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithCreationTimestamp ¶
func (b *NetworkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NetworkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithDeletionTimestamp ¶
func (b *NetworkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithFinalizers ¶
func (b *NetworkApplyConfiguration) WithFinalizers(values ...string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithGenerateName ¶
func (b *NetworkApplyConfiguration) WithGenerateName(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithGeneration ¶
func (b *NetworkApplyConfiguration) WithGeneration(value int64) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithKind ¶
func (b *NetworkApplyConfiguration) WithKind(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithLabels ¶
func (b *NetworkApplyConfiguration) WithLabels(entries map[string]string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithName ¶
func (b *NetworkApplyConfiguration) WithName(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithNamespace ¶
func (b *NetworkApplyConfiguration) WithNamespace(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithOwnerReferences ¶
func (b *NetworkApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithResourceVersion ¶
func (b *NetworkApplyConfiguration) WithResourceVersion(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithSpec ¶
func (b *NetworkApplyConfiguration) WithSpec(value v1alpha1.NetworkSpec) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithStatus ¶
func (b *NetworkApplyConfiguration) WithStatus(value *NetworkStatusApplyConfiguration) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithUID ¶
func (b *NetworkApplyConfiguration) WithUID(value types.UID) *NetworkApplyConfiguration
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 NetworkInterfaceApplyConfiguration ¶
type NetworkInterfaceApplyConfiguration struct { Name *string `json:"name,omitempty"` SubnetRef *SubnetReferenceApplyConfiguration `json:"subnetRef,omitempty"` IPFamilies []v1.IPFamily `json:"ipFamilies,omitempty"` IPs []string `json:"ips,omitempty"` AccessIPFamilies []v1.IPFamily `json:"accessIPFamilies,omitempty"` AccessIPs []string `json:"accessIPs,omitempty"` }
NetworkInterfaceApplyConfiguration represents an declarative configuration of the NetworkInterface type for use with apply.
func NetworkInterface ¶
func NetworkInterface() *NetworkInterfaceApplyConfiguration
NetworkInterfaceApplyConfiguration constructs an declarative configuration of the NetworkInterface type for use with apply.
func (*NetworkInterfaceApplyConfiguration) WithAccessIPFamilies ¶
func (b *NetworkInterfaceApplyConfiguration) WithAccessIPFamilies(values ...v1.IPFamily) *NetworkInterfaceApplyConfiguration
WithAccessIPFamilies adds the given value to the AccessIPFamilies 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 AccessIPFamilies field.
func (*NetworkInterfaceApplyConfiguration) WithAccessIPs ¶
func (b *NetworkInterfaceApplyConfiguration) WithAccessIPs(values ...string) *NetworkInterfaceApplyConfiguration
WithAccessIPs adds the given value to the AccessIPs 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 AccessIPs field.
func (*NetworkInterfaceApplyConfiguration) WithIPFamilies ¶
func (b *NetworkInterfaceApplyConfiguration) WithIPFamilies(values ...v1.IPFamily) *NetworkInterfaceApplyConfiguration
WithIPFamilies adds the given value to the IPFamilies 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 IPFamilies field.
func (*NetworkInterfaceApplyConfiguration) WithIPs ¶
func (b *NetworkInterfaceApplyConfiguration) WithIPs(values ...string) *NetworkInterfaceApplyConfiguration
WithIPs adds the given value to the IPs 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 IPs field.
func (*NetworkInterfaceApplyConfiguration) WithName ¶
func (b *NetworkInterfaceApplyConfiguration) WithName(value string) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithSubnetRef ¶
func (b *NetworkInterfaceApplyConfiguration) WithSubnetRef(value *SubnetReferenceApplyConfiguration) *NetworkInterfaceApplyConfiguration
WithSubnetRef sets the SubnetRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubnetRef field is set to the value of the last call.
type NetworkInterfaceStatusApplyConfiguration ¶
type NetworkInterfaceStatusApplyConfiguration struct { Name *string `json:"name,omitempty"` IPs []string `json:"ips,omitempty"` AccessIPs []string `json:"accessIPs,omitempty"` State *v1alpha1.NetworkInterfaceState `json:"state,omitempty"` LastStateTransitionTime *v1.Time `json:"lastStateTransitionTime,omitempty"` }
NetworkInterfaceStatusApplyConfiguration represents an declarative configuration of the NetworkInterfaceStatus type for use with apply.
func NetworkInterfaceStatus ¶
func NetworkInterfaceStatus() *NetworkInterfaceStatusApplyConfiguration
NetworkInterfaceStatusApplyConfiguration constructs an declarative configuration of the NetworkInterfaceStatus type for use with apply.
func (*NetworkInterfaceStatusApplyConfiguration) WithAccessIPs ¶
func (b *NetworkInterfaceStatusApplyConfiguration) WithAccessIPs(values ...string) *NetworkInterfaceStatusApplyConfiguration
WithAccessIPs adds the given value to the AccessIPs 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 AccessIPs field.
func (*NetworkInterfaceStatusApplyConfiguration) WithIPs ¶
func (b *NetworkInterfaceStatusApplyConfiguration) WithIPs(values ...string) *NetworkInterfaceStatusApplyConfiguration
WithIPs adds the given value to the IPs 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 IPs field.
func (*NetworkInterfaceStatusApplyConfiguration) WithLastStateTransitionTime ¶
func (b *NetworkInterfaceStatusApplyConfiguration) WithLastStateTransitionTime(value v1.Time) *NetworkInterfaceStatusApplyConfiguration
WithLastStateTransitionTime sets the LastStateTransitionTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastStateTransitionTime field is set to the value of the last call.
func (*NetworkInterfaceStatusApplyConfiguration) WithName ¶
func (b *NetworkInterfaceStatusApplyConfiguration) WithName(value string) *NetworkInterfaceStatusApplyConfiguration
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 (*NetworkInterfaceStatusApplyConfiguration) WithState ¶
func (b *NetworkInterfaceStatusApplyConfiguration) WithState(value v1alpha1.NetworkInterfaceState) *NetworkInterfaceStatusApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type NetworkStatusApplyConfiguration ¶
type NetworkStatusApplyConfiguration struct {
State *v1alpha1.NetworkState `json:"state,omitempty"`
}
NetworkStatusApplyConfiguration represents an declarative configuration of the NetworkStatus type for use with apply.
func NetworkStatus ¶
func NetworkStatus() *NetworkStatusApplyConfiguration
NetworkStatusApplyConfiguration constructs an declarative configuration of the NetworkStatus type for use with apply.
func (*NetworkStatusApplyConfiguration) WithState ¶
func (b *NetworkStatusApplyConfiguration) WithState(value v1alpha1.NetworkState) *NetworkStatusApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type SecretKeySelectorApplyConfiguration ¶
type SecretKeySelectorApplyConfiguration struct { Name *string `json:"name,omitempty"` Key *string `json:"key,omitempty"` }
SecretKeySelectorApplyConfiguration represents an declarative configuration of the SecretKeySelector type for use with apply.
func SecretKeySelector ¶
func SecretKeySelector() *SecretKeySelectorApplyConfiguration
SecretKeySelectorApplyConfiguration constructs an declarative configuration of the SecretKeySelector type for use with apply.
func (*SecretKeySelectorApplyConfiguration) WithKey ¶
func (b *SecretKeySelectorApplyConfiguration) WithKey(value string) *SecretKeySelectorApplyConfiguration
WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.
func (*SecretKeySelectorApplyConfiguration) WithName ¶
func (b *SecretKeySelectorApplyConfiguration) WithName(value string) *SecretKeySelectorApplyConfiguration
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 SubnetApplyConfiguration ¶
type SubnetApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *SubnetSpecApplyConfiguration `json:"spec,omitempty"` Status *SubnetStatusApplyConfiguration `json:"status,omitempty"` }
SubnetApplyConfiguration represents an declarative configuration of the Subnet type for use with apply.
func ExtractSubnet ¶
func ExtractSubnet(subnet *corev1alpha1.Subnet, fieldManager string) (*SubnetApplyConfiguration, error)
ExtractSubnet extracts the applied configuration owned by fieldManager from subnet. If no managedFields are found in subnet for fieldManager, a SubnetApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. subnet must be a unmodified Subnet API object that was retrieved from the Kubernetes API. ExtractSubnet provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractSubnetStatus ¶
func ExtractSubnetStatus(subnet *corev1alpha1.Subnet, fieldManager string) (*SubnetApplyConfiguration, error)
ExtractSubnetStatus is the same as ExtractSubnet except that it extracts the status subresource applied configuration. Experimental!
func Subnet ¶
func Subnet(name, namespace string) *SubnetApplyConfiguration
Subnet constructs an declarative configuration of the Subnet type for use with apply.
func (*SubnetApplyConfiguration) WithAPIVersion ¶
func (b *SubnetApplyConfiguration) WithAPIVersion(value string) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithAnnotations ¶
func (b *SubnetApplyConfiguration) WithAnnotations(entries map[string]string) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithCreationTimestamp ¶
func (b *SubnetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *SubnetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithDeletionTimestamp ¶
func (b *SubnetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithFinalizers ¶
func (b *SubnetApplyConfiguration) WithFinalizers(values ...string) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithGenerateName ¶
func (b *SubnetApplyConfiguration) WithGenerateName(value string) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithGeneration ¶
func (b *SubnetApplyConfiguration) WithGeneration(value int64) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithKind ¶
func (b *SubnetApplyConfiguration) WithKind(value string) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithLabels ¶
func (b *SubnetApplyConfiguration) WithLabels(entries map[string]string) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithName ¶
func (b *SubnetApplyConfiguration) WithName(value string) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithNamespace ¶
func (b *SubnetApplyConfiguration) WithNamespace(value string) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithOwnerReferences ¶
func (b *SubnetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithResourceVersion ¶
func (b *SubnetApplyConfiguration) WithResourceVersion(value string) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithSpec ¶
func (b *SubnetApplyConfiguration) WithSpec(value *SubnetSpecApplyConfiguration) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithStatus ¶
func (b *SubnetApplyConfiguration) WithStatus(value *SubnetStatusApplyConfiguration) *SubnetApplyConfiguration
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 (*SubnetApplyConfiguration) WithUID ¶
func (b *SubnetApplyConfiguration) WithUID(value types.UID) *SubnetApplyConfiguration
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 SubnetReferenceApplyConfiguration ¶
type SubnetReferenceApplyConfiguration struct { NetworkName *string `json:"networkName,omitempty"` Name *string `json:"name,omitempty"` }
SubnetReferenceApplyConfiguration represents an declarative configuration of the SubnetReference type for use with apply.
func SubnetReference ¶
func SubnetReference() *SubnetReferenceApplyConfiguration
SubnetReferenceApplyConfiguration constructs an declarative configuration of the SubnetReference type for use with apply.
func (*SubnetReferenceApplyConfiguration) WithName ¶
func (b *SubnetReferenceApplyConfiguration) WithName(value string) *SubnetReferenceApplyConfiguration
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 (*SubnetReferenceApplyConfiguration) WithNetworkName ¶
func (b *SubnetReferenceApplyConfiguration) WithNetworkName(value string) *SubnetReferenceApplyConfiguration
WithNetworkName sets the NetworkName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkName field is set to the value of the last call.
type SubnetSpecApplyConfiguration ¶
type SubnetSpecApplyConfiguration struct { NetworkRef *LocalObjectReferenceApplyConfiguration `json:"networkRef,omitempty"` CIDRs []string `json:"cidrs,omitempty"` }
SubnetSpecApplyConfiguration represents an declarative configuration of the SubnetSpec type for use with apply.
func SubnetSpec ¶
func SubnetSpec() *SubnetSpecApplyConfiguration
SubnetSpecApplyConfiguration constructs an declarative configuration of the SubnetSpec type for use with apply.
func (*SubnetSpecApplyConfiguration) WithCIDRs ¶
func (b *SubnetSpecApplyConfiguration) WithCIDRs(values ...string) *SubnetSpecApplyConfiguration
WithCIDRs adds the given value to the CIDRs 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 CIDRs field.
func (*SubnetSpecApplyConfiguration) WithNetworkRef ¶
func (b *SubnetSpecApplyConfiguration) WithNetworkRef(value *LocalObjectReferenceApplyConfiguration) *SubnetSpecApplyConfiguration
WithNetworkRef sets the NetworkRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkRef field is set to the value of the last call.
type SubnetStatusApplyConfiguration ¶
type SubnetStatusApplyConfiguration struct {
State *v1alpha1.SubnetState `json:"state,omitempty"`
}
SubnetStatusApplyConfiguration represents an declarative configuration of the SubnetStatus type for use with apply.
func SubnetStatus ¶
func SubnetStatus() *SubnetStatusApplyConfiguration
SubnetStatusApplyConfiguration constructs an declarative configuration of the SubnetStatus type for use with apply.
func (*SubnetStatusApplyConfiguration) WithState ¶
func (b *SubnetStatusApplyConfiguration) WithState(value v1alpha1.SubnetState) *SubnetStatusApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type TaintApplyConfiguration ¶
type TaintApplyConfiguration struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` Effect *v1alpha1.TaintEffect `json:"effect,omitempty"` }
TaintApplyConfiguration represents an declarative configuration of the Taint type for use with apply.
func Taint ¶
func Taint() *TaintApplyConfiguration
TaintApplyConfiguration constructs an declarative configuration of the Taint type for use with apply.
func (*TaintApplyConfiguration) WithEffect ¶
func (b *TaintApplyConfiguration) WithEffect(value v1alpha1.TaintEffect) *TaintApplyConfiguration
WithEffect sets the Effect field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Effect field is set to the value of the last call.
func (*TaintApplyConfiguration) WithKey ¶
func (b *TaintApplyConfiguration) WithKey(value string) *TaintApplyConfiguration
WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.
func (*TaintApplyConfiguration) WithValue ¶
func (b *TaintApplyConfiguration) WithValue(value string) *TaintApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type TolerationApplyConfiguration ¶
type TolerationApplyConfiguration struct { Key *string `json:"key,omitempty"` Operator *v1alpha1.TolerationOperator `json:"operator,omitempty"` Value *string `json:"value,omitempty"` Effect *v1alpha1.TaintEffect `json:"effect,omitempty"` }
TolerationApplyConfiguration represents an declarative configuration of the Toleration type for use with apply.
func Toleration ¶
func Toleration() *TolerationApplyConfiguration
TolerationApplyConfiguration constructs an declarative configuration of the Toleration type for use with apply.
func (*TolerationApplyConfiguration) WithEffect ¶
func (b *TolerationApplyConfiguration) WithEffect(value v1alpha1.TaintEffect) *TolerationApplyConfiguration
WithEffect sets the Effect field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Effect field is set to the value of the last call.
func (*TolerationApplyConfiguration) WithKey ¶
func (b *TolerationApplyConfiguration) WithKey(value string) *TolerationApplyConfiguration
WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.
func (*TolerationApplyConfiguration) WithOperator ¶
func (b *TolerationApplyConfiguration) WithOperator(value v1alpha1.TolerationOperator) *TolerationApplyConfiguration
WithOperator sets the Operator field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Operator field is set to the value of the last call.
func (*TolerationApplyConfiguration) WithValue ¶
func (b *TolerationApplyConfiguration) WithValue(value string) *TolerationApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
Source Files ¶
- attacheddisk.go
- attacheddisksource.go
- attacheddiskstatus.go
- daemonendpoint.go
- disk.go
- diskaccess.go
- diskspec.go
- diskstatus.go
- disktemplatespec.go
- disktype.go
- efivar.go
- emptydisksource.go
- ephemeraldisksource.go
- fleet.go
- fleetaddress.go
- fleetcondition.go
- fleetdaemonendpoints.go
- fleetspec.go
- fleetstatus.go
- instance.go
- instancespec.go
- instancestatus.go
- instancetype.go
- localobjectreference.go
- localuidreference.go
- network.go
- networkinterface.go
- networkinterfacestatus.go
- networkstatus.go
- secretkeyselector.go
- subnet.go
- subnetreference.go
- subnetspec.go
- subnetstatus.go
- taint.go
- toleration.go