Documentation ¶
Index ¶
- type DaemonEndpointApplyConfiguration
- type EFIVarApplyConfiguration
- type EmptyDiskVolumeSourceApplyConfiguration
- type EphemeralNetworkInterfaceSourceApplyConfiguration
- type EphemeralVolumeSourceApplyConfiguration
- type MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithAPIVersion(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithAnnotations(entries map[string]string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithFinalizers(values ...string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithGenerateName(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithGeneration(value int64) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithKind(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithLabels(entries map[string]string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithName(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithNamespace(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithResourceVersion(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithSpec(value *MachineSpecApplyConfiguration) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithStatus(value *MachineStatusApplyConfiguration) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithUID(value types.UID) *MachineApplyConfiguration
- type MachineClassApplyConfiguration
- func ExtractMachineClass(machineClass *computev1alpha1.MachineClass, fieldManager string) (*MachineClassApplyConfiguration, error)
- func ExtractMachineClassStatus(machineClass *computev1alpha1.MachineClass, fieldManager string) (*MachineClassApplyConfiguration, error)
- func MachineClass(name string) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithAPIVersion(value string) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithAnnotations(entries map[string]string) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithCapabilities(value v1alpha1.ResourceList) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithFinalizers(values ...string) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithGenerateName(value string) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithGeneration(value int64) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithKind(value string) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithLabels(entries map[string]string) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithName(value string) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithNamespace(value string) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithResourceVersion(value string) *MachineClassApplyConfiguration
- func (b *MachineClassApplyConfiguration) WithUID(value types.UID) *MachineClassApplyConfiguration
- type MachinePoolAddressApplyConfiguration
- type MachinePoolApplyConfiguration
- func ExtractMachinePool(machinePool *computev1alpha1.MachinePool, fieldManager string) (*MachinePoolApplyConfiguration, error)
- func ExtractMachinePoolStatus(machinePool *computev1alpha1.MachinePool, fieldManager string) (*MachinePoolApplyConfiguration, error)
- func MachinePool(name string) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithAPIVersion(value string) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithAnnotations(entries map[string]string) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithFinalizers(values ...string) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithGenerateName(value string) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithGeneration(value int64) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithKind(value string) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithLabels(entries map[string]string) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithName(value string) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithNamespace(value string) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithResourceVersion(value string) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithSpec(value *MachinePoolSpecApplyConfiguration) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithStatus(value *MachinePoolStatusApplyConfiguration) *MachinePoolApplyConfiguration
- func (b *MachinePoolApplyConfiguration) WithUID(value types.UID) *MachinePoolApplyConfiguration
- type MachinePoolConditionApplyConfiguration
- func (b *MachinePoolConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *MachinePoolConditionApplyConfiguration
- func (b *MachinePoolConditionApplyConfiguration) WithMessage(value string) *MachinePoolConditionApplyConfiguration
- func (b *MachinePoolConditionApplyConfiguration) WithObservedGeneration(value int64) *MachinePoolConditionApplyConfiguration
- func (b *MachinePoolConditionApplyConfiguration) WithReason(value string) *MachinePoolConditionApplyConfiguration
- func (b *MachinePoolConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *MachinePoolConditionApplyConfiguration
- func (b *MachinePoolConditionApplyConfiguration) WithType(value v1alpha1.MachinePoolConditionType) *MachinePoolConditionApplyConfiguration
- type MachinePoolDaemonEndpointsApplyConfiguration
- type MachinePoolSpecApplyConfiguration
- type MachinePoolStatusApplyConfiguration
- func (b *MachinePoolStatusApplyConfiguration) WithAddresses(values ...*MachinePoolAddressApplyConfiguration) *MachinePoolStatusApplyConfiguration
- func (b *MachinePoolStatusApplyConfiguration) WithAllocatable(value corev1alpha1.ResourceList) *MachinePoolStatusApplyConfiguration
- func (b *MachinePoolStatusApplyConfiguration) WithAvailableMachineClasses(values ...v1.LocalObjectReference) *MachinePoolStatusApplyConfiguration
- func (b *MachinePoolStatusApplyConfiguration) WithCapacity(value corev1alpha1.ResourceList) *MachinePoolStatusApplyConfiguration
- func (b *MachinePoolStatusApplyConfiguration) WithConditions(values ...*MachinePoolConditionApplyConfiguration) *MachinePoolStatusApplyConfiguration
- func (b *MachinePoolStatusApplyConfiguration) WithDaemonEndpoints(value *MachinePoolDaemonEndpointsApplyConfiguration) *MachinePoolStatusApplyConfiguration
- func (b *MachinePoolStatusApplyConfiguration) WithState(value v1alpha1.MachinePoolState) *MachinePoolStatusApplyConfiguration
- type MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithEFIVars(values ...*EFIVarApplyConfiguration) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithIgnitionRef(value *commonv1alpha1.SecretKeySelectorApplyConfiguration) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithImage(value string) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithImagePullSecretRef(value v1.LocalObjectReference) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithMachineClassRef(value v1.LocalObjectReference) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithMachinePoolRef(value v1.LocalObjectReference) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithMachinePoolSelector(entries map[string]string) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithNetworkInterfaces(values ...*NetworkInterfaceApplyConfiguration) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithPower(value v1alpha1.Power) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithTolerations(values ...*commonv1alpha1.TolerationApplyConfiguration) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithVolumes(values ...*VolumeApplyConfiguration) *MachineSpecApplyConfiguration
- type MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithMachineID(value string) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithNetworkInterfaces(values ...*NetworkInterfaceStatusApplyConfiguration) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithObservedGeneration(value int64) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithState(value v1alpha1.MachineState) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithVolumes(values ...*VolumeStatusApplyConfiguration) *MachineStatusApplyConfiguration
- type NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithEphemeral(value *EphemeralNetworkInterfaceSourceApplyConfiguration) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithName(value string) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithNetworkInterfaceRef(value v1.LocalObjectReference) *NetworkInterfaceApplyConfiguration
- type NetworkInterfaceSourceApplyConfiguration
- func (b *NetworkInterfaceSourceApplyConfiguration) WithEphemeral(value *EphemeralNetworkInterfaceSourceApplyConfiguration) *NetworkInterfaceSourceApplyConfiguration
- func (b *NetworkInterfaceSourceApplyConfiguration) WithNetworkInterfaceRef(value v1.LocalObjectReference) *NetworkInterfaceSourceApplyConfiguration
- type NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithHandle(value string) *NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithIPs(values ...v1alpha1.IP) *NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithLastStateTransitionTime(value metav1.Time) *NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithName(value string) *NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithNetworkInterfaceRef(value v1.LocalObjectReference) *NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithState(value computev1alpha1.NetworkInterfaceState) *NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithVirtualIP(value v1alpha1.IP) *NetworkInterfaceStatusApplyConfiguration
- type VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithDevice(value string) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithEmptyDisk(value *EmptyDiskVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithEphemeral(value *EphemeralVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithName(value string) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithVolumeRef(value v1.LocalObjectReference) *VolumeApplyConfiguration
- type VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithEmptyDisk(value *EmptyDiskVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithEphemeral(value *EphemeralVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
- func (b *VolumeSourceApplyConfiguration) WithVolumeRef(value v1.LocalObjectReference) *VolumeSourceApplyConfiguration
- type VolumeStatusApplyConfiguration
- func (b *VolumeStatusApplyConfiguration) WithHandle(value string) *VolumeStatusApplyConfiguration
- func (b *VolumeStatusApplyConfiguration) WithLastStateTransitionTime(value v1.Time) *VolumeStatusApplyConfiguration
- func (b *VolumeStatusApplyConfiguration) WithName(value string) *VolumeStatusApplyConfiguration
- func (b *VolumeStatusApplyConfiguration) WithState(value v1alpha1.VolumeState) *VolumeStatusApplyConfiguration
- func (b *VolumeStatusApplyConfiguration) WithVolumeRef(value corev1.LocalObjectReference) *VolumeStatusApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 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 EmptyDiskVolumeSourceApplyConfiguration ¶
type EmptyDiskVolumeSourceApplyConfiguration struct {
SizeLimit *resource.Quantity `json:"sizeLimit,omitempty"`
}
EmptyDiskVolumeSourceApplyConfiguration represents an declarative configuration of the EmptyDiskVolumeSource type for use with apply.
func EmptyDiskVolumeSource ¶
func EmptyDiskVolumeSource() *EmptyDiskVolumeSourceApplyConfiguration
EmptyDiskVolumeSourceApplyConfiguration constructs an declarative configuration of the EmptyDiskVolumeSource type for use with apply.
func (*EmptyDiskVolumeSourceApplyConfiguration) WithSizeLimit ¶
func (b *EmptyDiskVolumeSourceApplyConfiguration) WithSizeLimit(value resource.Quantity) *EmptyDiskVolumeSourceApplyConfiguration
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 EphemeralNetworkInterfaceSourceApplyConfiguration ¶
type EphemeralNetworkInterfaceSourceApplyConfiguration struct {
NetworkInterfaceTemplate *v1alpha1.NetworkInterfaceTemplateSpecApplyConfiguration `json:"networkInterfaceTemplate,omitempty"`
}
EphemeralNetworkInterfaceSourceApplyConfiguration represents an declarative configuration of the EphemeralNetworkInterfaceSource type for use with apply.
func EphemeralNetworkInterfaceSource ¶
func EphemeralNetworkInterfaceSource() *EphemeralNetworkInterfaceSourceApplyConfiguration
EphemeralNetworkInterfaceSourceApplyConfiguration constructs an declarative configuration of the EphemeralNetworkInterfaceSource type for use with apply.
func (*EphemeralNetworkInterfaceSourceApplyConfiguration) WithNetworkInterfaceTemplate ¶
func (b *EphemeralNetworkInterfaceSourceApplyConfiguration) WithNetworkInterfaceTemplate(value *v1alpha1.NetworkInterfaceTemplateSpecApplyConfiguration) *EphemeralNetworkInterfaceSourceApplyConfiguration
WithNetworkInterfaceTemplate sets the NetworkInterfaceTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkInterfaceTemplate field is set to the value of the last call.
type EphemeralVolumeSourceApplyConfiguration ¶
type EphemeralVolumeSourceApplyConfiguration struct {
VolumeTemplate *v1alpha1.VolumeTemplateSpecApplyConfiguration `json:"volumeTemplate,omitempty"`
}
EphemeralVolumeSourceApplyConfiguration represents an declarative configuration of the EphemeralVolumeSource type for use with apply.
func EphemeralVolumeSource ¶
func EphemeralVolumeSource() *EphemeralVolumeSourceApplyConfiguration
EphemeralVolumeSourceApplyConfiguration constructs an declarative configuration of the EphemeralVolumeSource type for use with apply.
func (*EphemeralVolumeSourceApplyConfiguration) WithVolumeTemplate ¶
func (b *EphemeralVolumeSourceApplyConfiguration) WithVolumeTemplate(value *v1alpha1.VolumeTemplateSpecApplyConfiguration) *EphemeralVolumeSourceApplyConfiguration
WithVolumeTemplate sets the VolumeTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeTemplate field is set to the value of the last call.
type MachineApplyConfiguration ¶
type MachineApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *MachineSpecApplyConfiguration `json:"spec,omitempty"` Status *MachineStatusApplyConfiguration `json:"status,omitempty"` }
MachineApplyConfiguration represents an declarative configuration of the Machine type for use with apply.
func ExtractMachine ¶
func ExtractMachine(machine *computev1alpha1.Machine, fieldManager string) (*MachineApplyConfiguration, error)
ExtractMachine extracts the applied configuration owned by fieldManager from machine. If no managedFields are found in machine for fieldManager, a MachineApplyConfiguration 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. machine must be a unmodified Machine API object that was retrieved from the Kubernetes API. ExtractMachine 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 ExtractMachineStatus ¶
func ExtractMachineStatus(machine *computev1alpha1.Machine, fieldManager string) (*MachineApplyConfiguration, error)
ExtractMachineStatus is the same as ExtractMachine except that it extracts the status subresource applied configuration. Experimental!
func Machine ¶
func Machine(name, namespace string) *MachineApplyConfiguration
Machine constructs an declarative configuration of the Machine type for use with apply.
func (*MachineApplyConfiguration) WithAPIVersion ¶
func (b *MachineApplyConfiguration) WithAPIVersion(value string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithAnnotations ¶
func (b *MachineApplyConfiguration) WithAnnotations(entries map[string]string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithCreationTimestamp ¶
func (b *MachineApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *MachineApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithDeletionTimestamp ¶
func (b *MachineApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithFinalizers ¶
func (b *MachineApplyConfiguration) WithFinalizers(values ...string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithGenerateName ¶
func (b *MachineApplyConfiguration) WithGenerateName(value string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithGeneration ¶
func (b *MachineApplyConfiguration) WithGeneration(value int64) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithKind ¶
func (b *MachineApplyConfiguration) WithKind(value string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithLabels ¶
func (b *MachineApplyConfiguration) WithLabels(entries map[string]string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithName ¶
func (b *MachineApplyConfiguration) WithName(value string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithNamespace ¶
func (b *MachineApplyConfiguration) WithNamespace(value string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithOwnerReferences ¶
func (b *MachineApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithResourceVersion ¶
func (b *MachineApplyConfiguration) WithResourceVersion(value string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithSpec ¶
func (b *MachineApplyConfiguration) WithSpec(value *MachineSpecApplyConfiguration) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithStatus ¶
func (b *MachineApplyConfiguration) WithStatus(value *MachineStatusApplyConfiguration) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithUID ¶
func (b *MachineApplyConfiguration) WithUID(value types.UID) *MachineApplyConfiguration
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 MachineClassApplyConfiguration ¶
type MachineClassApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Capabilities *v1alpha1.ResourceList `json:"capabilities,omitempty"` }
MachineClassApplyConfiguration represents an declarative configuration of the MachineClass type for use with apply.
func ExtractMachineClass ¶
func ExtractMachineClass(machineClass *computev1alpha1.MachineClass, fieldManager string) (*MachineClassApplyConfiguration, error)
ExtractMachineClass extracts the applied configuration owned by fieldManager from machineClass. If no managedFields are found in machineClass for fieldManager, a MachineClassApplyConfiguration 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. machineClass must be a unmodified MachineClass API object that was retrieved from the Kubernetes API. ExtractMachineClass 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 ExtractMachineClassStatus ¶
func ExtractMachineClassStatus(machineClass *computev1alpha1.MachineClass, fieldManager string) (*MachineClassApplyConfiguration, error)
ExtractMachineClassStatus is the same as ExtractMachineClass except that it extracts the status subresource applied configuration. Experimental!
func MachineClass ¶
func MachineClass(name string) *MachineClassApplyConfiguration
MachineClass constructs an declarative configuration of the MachineClass type for use with apply.
func (*MachineClassApplyConfiguration) WithAPIVersion ¶
func (b *MachineClassApplyConfiguration) WithAPIVersion(value string) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithAnnotations ¶
func (b *MachineClassApplyConfiguration) WithAnnotations(entries map[string]string) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithCapabilities ¶
func (b *MachineClassApplyConfiguration) WithCapabilities(value v1alpha1.ResourceList) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithCreationTimestamp ¶
func (b *MachineClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *MachineClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithDeletionTimestamp ¶
func (b *MachineClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithFinalizers ¶
func (b *MachineClassApplyConfiguration) WithFinalizers(values ...string) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithGenerateName ¶
func (b *MachineClassApplyConfiguration) WithGenerateName(value string) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithGeneration ¶
func (b *MachineClassApplyConfiguration) WithGeneration(value int64) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithKind ¶
func (b *MachineClassApplyConfiguration) WithKind(value string) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithLabels ¶
func (b *MachineClassApplyConfiguration) WithLabels(entries map[string]string) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithName ¶
func (b *MachineClassApplyConfiguration) WithName(value string) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithNamespace ¶
func (b *MachineClassApplyConfiguration) WithNamespace(value string) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithOwnerReferences ¶
func (b *MachineClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithResourceVersion ¶
func (b *MachineClassApplyConfiguration) WithResourceVersion(value string) *MachineClassApplyConfiguration
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 (*MachineClassApplyConfiguration) WithUID ¶
func (b *MachineClassApplyConfiguration) WithUID(value types.UID) *MachineClassApplyConfiguration
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 MachinePoolAddressApplyConfiguration ¶
type MachinePoolAddressApplyConfiguration struct { Type *v1alpha1.MachinePoolAddressType `json:"type,omitempty"` Address *string `json:"address,omitempty"` }
MachinePoolAddressApplyConfiguration represents an declarative configuration of the MachinePoolAddress type for use with apply.
func MachinePoolAddress ¶
func MachinePoolAddress() *MachinePoolAddressApplyConfiguration
MachinePoolAddressApplyConfiguration constructs an declarative configuration of the MachinePoolAddress type for use with apply.
func (*MachinePoolAddressApplyConfiguration) WithAddress ¶
func (b *MachinePoolAddressApplyConfiguration) WithAddress(value string) *MachinePoolAddressApplyConfiguration
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 (*MachinePoolAddressApplyConfiguration) WithType ¶
func (b *MachinePoolAddressApplyConfiguration) WithType(value v1alpha1.MachinePoolAddressType) *MachinePoolAddressApplyConfiguration
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 MachinePoolApplyConfiguration ¶
type MachinePoolApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *MachinePoolSpecApplyConfiguration `json:"spec,omitempty"` Status *MachinePoolStatusApplyConfiguration `json:"status,omitempty"` }
MachinePoolApplyConfiguration represents an declarative configuration of the MachinePool type for use with apply.
func ExtractMachinePool ¶
func ExtractMachinePool(machinePool *computev1alpha1.MachinePool, fieldManager string) (*MachinePoolApplyConfiguration, error)
ExtractMachinePool extracts the applied configuration owned by fieldManager from machinePool. If no managedFields are found in machinePool for fieldManager, a MachinePoolApplyConfiguration 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. machinePool must be a unmodified MachinePool API object that was retrieved from the Kubernetes API. ExtractMachinePool 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 ExtractMachinePoolStatus ¶
func ExtractMachinePoolStatus(machinePool *computev1alpha1.MachinePool, fieldManager string) (*MachinePoolApplyConfiguration, error)
ExtractMachinePoolStatus is the same as ExtractMachinePool except that it extracts the status subresource applied configuration. Experimental!
func MachinePool ¶
func MachinePool(name string) *MachinePoolApplyConfiguration
MachinePool constructs an declarative configuration of the MachinePool type for use with apply.
func (*MachinePoolApplyConfiguration) WithAPIVersion ¶
func (b *MachinePoolApplyConfiguration) WithAPIVersion(value string) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithAnnotations ¶
func (b *MachinePoolApplyConfiguration) WithAnnotations(entries map[string]string) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithCreationTimestamp ¶
func (b *MachinePoolApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *MachinePoolApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithDeletionTimestamp ¶
func (b *MachinePoolApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithFinalizers ¶
func (b *MachinePoolApplyConfiguration) WithFinalizers(values ...string) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithGenerateName ¶
func (b *MachinePoolApplyConfiguration) WithGenerateName(value string) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithGeneration ¶
func (b *MachinePoolApplyConfiguration) WithGeneration(value int64) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithKind ¶
func (b *MachinePoolApplyConfiguration) WithKind(value string) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithLabels ¶
func (b *MachinePoolApplyConfiguration) WithLabels(entries map[string]string) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithName ¶
func (b *MachinePoolApplyConfiguration) WithName(value string) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithNamespace ¶
func (b *MachinePoolApplyConfiguration) WithNamespace(value string) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithOwnerReferences ¶
func (b *MachinePoolApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithResourceVersion ¶
func (b *MachinePoolApplyConfiguration) WithResourceVersion(value string) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithSpec ¶
func (b *MachinePoolApplyConfiguration) WithSpec(value *MachinePoolSpecApplyConfiguration) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithStatus ¶
func (b *MachinePoolApplyConfiguration) WithStatus(value *MachinePoolStatusApplyConfiguration) *MachinePoolApplyConfiguration
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 (*MachinePoolApplyConfiguration) WithUID ¶
func (b *MachinePoolApplyConfiguration) WithUID(value types.UID) *MachinePoolApplyConfiguration
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 MachinePoolConditionApplyConfiguration ¶
type MachinePoolConditionApplyConfiguration struct { Type *v1alpha1.MachinePoolConditionType `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"` }
MachinePoolConditionApplyConfiguration represents an declarative configuration of the MachinePoolCondition type for use with apply.
func MachinePoolCondition ¶
func MachinePoolCondition() *MachinePoolConditionApplyConfiguration
MachinePoolConditionApplyConfiguration constructs an declarative configuration of the MachinePoolCondition type for use with apply.
func (*MachinePoolConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *MachinePoolConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *MachinePoolConditionApplyConfiguration
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 (*MachinePoolConditionApplyConfiguration) WithMessage ¶
func (b *MachinePoolConditionApplyConfiguration) WithMessage(value string) *MachinePoolConditionApplyConfiguration
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 (*MachinePoolConditionApplyConfiguration) WithObservedGeneration ¶
func (b *MachinePoolConditionApplyConfiguration) WithObservedGeneration(value int64) *MachinePoolConditionApplyConfiguration
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 (*MachinePoolConditionApplyConfiguration) WithReason ¶
func (b *MachinePoolConditionApplyConfiguration) WithReason(value string) *MachinePoolConditionApplyConfiguration
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 (*MachinePoolConditionApplyConfiguration) WithStatus ¶
func (b *MachinePoolConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *MachinePoolConditionApplyConfiguration
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 (*MachinePoolConditionApplyConfiguration) WithType ¶
func (b *MachinePoolConditionApplyConfiguration) WithType(value v1alpha1.MachinePoolConditionType) *MachinePoolConditionApplyConfiguration
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 MachinePoolDaemonEndpointsApplyConfiguration ¶
type MachinePoolDaemonEndpointsApplyConfiguration struct {
MachinepoolletEndpoint *DaemonEndpointApplyConfiguration `json:"machinepoolletEndpoint,omitempty"`
}
MachinePoolDaemonEndpointsApplyConfiguration represents an declarative configuration of the MachinePoolDaemonEndpoints type for use with apply.
func MachinePoolDaemonEndpoints ¶
func MachinePoolDaemonEndpoints() *MachinePoolDaemonEndpointsApplyConfiguration
MachinePoolDaemonEndpointsApplyConfiguration constructs an declarative configuration of the MachinePoolDaemonEndpoints type for use with apply.
func (*MachinePoolDaemonEndpointsApplyConfiguration) WithMachinepoolletEndpoint ¶
func (b *MachinePoolDaemonEndpointsApplyConfiguration) WithMachinepoolletEndpoint(value *DaemonEndpointApplyConfiguration) *MachinePoolDaemonEndpointsApplyConfiguration
WithMachinepoolletEndpoint sets the MachinepoolletEndpoint field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MachinepoolletEndpoint field is set to the value of the last call.
type MachinePoolSpecApplyConfiguration ¶
type MachinePoolSpecApplyConfiguration struct { ProviderID *string `json:"providerID,omitempty"` Taints []v1alpha1.TaintApplyConfiguration `json:"taints,omitempty"` }
MachinePoolSpecApplyConfiguration represents an declarative configuration of the MachinePoolSpec type for use with apply.
func MachinePoolSpec ¶
func MachinePoolSpec() *MachinePoolSpecApplyConfiguration
MachinePoolSpecApplyConfiguration constructs an declarative configuration of the MachinePoolSpec type for use with apply.
func (*MachinePoolSpecApplyConfiguration) WithProviderID ¶
func (b *MachinePoolSpecApplyConfiguration) WithProviderID(value string) *MachinePoolSpecApplyConfiguration
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 (*MachinePoolSpecApplyConfiguration) WithTaints ¶
func (b *MachinePoolSpecApplyConfiguration) WithTaints(values ...*v1alpha1.TaintApplyConfiguration) *MachinePoolSpecApplyConfiguration
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 MachinePoolStatusApplyConfiguration ¶
type MachinePoolStatusApplyConfiguration struct { State *v1alpha1.MachinePoolState `json:"state,omitempty"` Conditions []MachinePoolConditionApplyConfiguration `json:"conditions,omitempty"` AvailableMachineClasses []v1.LocalObjectReference `json:"availableMachineClasses,omitempty"` Addresses []MachinePoolAddressApplyConfiguration `json:"addresses,omitempty"` DaemonEndpoints *MachinePoolDaemonEndpointsApplyConfiguration `json:"daemonEndpoints,omitempty"` Capacity *corev1alpha1.ResourceList `json:"capacity,omitempty"` Allocatable *corev1alpha1.ResourceList `json:"allocatable,omitempty"` }
MachinePoolStatusApplyConfiguration represents an declarative configuration of the MachinePoolStatus type for use with apply.
func MachinePoolStatus ¶
func MachinePoolStatus() *MachinePoolStatusApplyConfiguration
MachinePoolStatusApplyConfiguration constructs an declarative configuration of the MachinePoolStatus type for use with apply.
func (*MachinePoolStatusApplyConfiguration) WithAddresses ¶
func (b *MachinePoolStatusApplyConfiguration) WithAddresses(values ...*MachinePoolAddressApplyConfiguration) *MachinePoolStatusApplyConfiguration
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 (*MachinePoolStatusApplyConfiguration) WithAllocatable ¶
func (b *MachinePoolStatusApplyConfiguration) WithAllocatable(value corev1alpha1.ResourceList) *MachinePoolStatusApplyConfiguration
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 (*MachinePoolStatusApplyConfiguration) WithAvailableMachineClasses ¶
func (b *MachinePoolStatusApplyConfiguration) WithAvailableMachineClasses(values ...v1.LocalObjectReference) *MachinePoolStatusApplyConfiguration
WithAvailableMachineClasses adds the given value to the AvailableMachineClasses 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 AvailableMachineClasses field.
func (*MachinePoolStatusApplyConfiguration) WithCapacity ¶
func (b *MachinePoolStatusApplyConfiguration) WithCapacity(value corev1alpha1.ResourceList) *MachinePoolStatusApplyConfiguration
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 (*MachinePoolStatusApplyConfiguration) WithConditions ¶
func (b *MachinePoolStatusApplyConfiguration) WithConditions(values ...*MachinePoolConditionApplyConfiguration) *MachinePoolStatusApplyConfiguration
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 (*MachinePoolStatusApplyConfiguration) WithDaemonEndpoints ¶
func (b *MachinePoolStatusApplyConfiguration) WithDaemonEndpoints(value *MachinePoolDaemonEndpointsApplyConfiguration) *MachinePoolStatusApplyConfiguration
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 (*MachinePoolStatusApplyConfiguration) WithState ¶
func (b *MachinePoolStatusApplyConfiguration) WithState(value v1alpha1.MachinePoolState) *MachinePoolStatusApplyConfiguration
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 MachineSpecApplyConfiguration ¶
type MachineSpecApplyConfiguration struct { MachineClassRef *v1.LocalObjectReference `json:"machineClassRef,omitempty"` MachinePoolSelector map[string]string `json:"machinePoolSelector,omitempty"` MachinePoolRef *v1.LocalObjectReference `json:"machinePoolRef,omitempty"` Power *v1alpha1.Power `json:"power,omitempty"` Image *string `json:"image,omitempty"` ImagePullSecretRef *v1.LocalObjectReference `json:"imagePullSecret,omitempty"` NetworkInterfaces []NetworkInterfaceApplyConfiguration `json:"networkInterfaces,omitempty"` Volumes []VolumeApplyConfiguration `json:"volumes,omitempty"` IgnitionRef *commonv1alpha1.SecretKeySelectorApplyConfiguration `json:"ignitionRef,omitempty"` EFIVars []EFIVarApplyConfiguration `json:"efiVars,omitempty"` Tolerations []commonv1alpha1.TolerationApplyConfiguration `json:"tolerations,omitempty"` }
MachineSpecApplyConfiguration represents an declarative configuration of the MachineSpec type for use with apply.
func MachineSpec ¶
func MachineSpec() *MachineSpecApplyConfiguration
MachineSpecApplyConfiguration constructs an declarative configuration of the MachineSpec type for use with apply.
func (*MachineSpecApplyConfiguration) WithEFIVars ¶
func (b *MachineSpecApplyConfiguration) WithEFIVars(values ...*EFIVarApplyConfiguration) *MachineSpecApplyConfiguration
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 (*MachineSpecApplyConfiguration) WithIgnitionRef ¶
func (b *MachineSpecApplyConfiguration) WithIgnitionRef(value *commonv1alpha1.SecretKeySelectorApplyConfiguration) *MachineSpecApplyConfiguration
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 (*MachineSpecApplyConfiguration) WithImage ¶
func (b *MachineSpecApplyConfiguration) WithImage(value string) *MachineSpecApplyConfiguration
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 (*MachineSpecApplyConfiguration) WithImagePullSecretRef ¶
func (b *MachineSpecApplyConfiguration) WithImagePullSecretRef(value v1.LocalObjectReference) *MachineSpecApplyConfiguration
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 (*MachineSpecApplyConfiguration) WithMachineClassRef ¶
func (b *MachineSpecApplyConfiguration) WithMachineClassRef(value v1.LocalObjectReference) *MachineSpecApplyConfiguration
WithMachineClassRef sets the MachineClassRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MachineClassRef field is set to the value of the last call.
func (*MachineSpecApplyConfiguration) WithMachinePoolRef ¶
func (b *MachineSpecApplyConfiguration) WithMachinePoolRef(value v1.LocalObjectReference) *MachineSpecApplyConfiguration
WithMachinePoolRef sets the MachinePoolRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MachinePoolRef field is set to the value of the last call.
func (*MachineSpecApplyConfiguration) WithMachinePoolSelector ¶
func (b *MachineSpecApplyConfiguration) WithMachinePoolSelector(entries map[string]string) *MachineSpecApplyConfiguration
WithMachinePoolSelector puts the entries into the MachinePoolSelector 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 MachinePoolSelector field, overwriting an existing map entries in MachinePoolSelector field with the same key.
func (*MachineSpecApplyConfiguration) WithNetworkInterfaces ¶
func (b *MachineSpecApplyConfiguration) WithNetworkInterfaces(values ...*NetworkInterfaceApplyConfiguration) *MachineSpecApplyConfiguration
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 (*MachineSpecApplyConfiguration) WithPower ¶
func (b *MachineSpecApplyConfiguration) WithPower(value v1alpha1.Power) *MachineSpecApplyConfiguration
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 (*MachineSpecApplyConfiguration) WithTolerations ¶
func (b *MachineSpecApplyConfiguration) WithTolerations(values ...*commonv1alpha1.TolerationApplyConfiguration) *MachineSpecApplyConfiguration
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.
func (*MachineSpecApplyConfiguration) WithVolumes ¶
func (b *MachineSpecApplyConfiguration) WithVolumes(values ...*VolumeApplyConfiguration) *MachineSpecApplyConfiguration
WithVolumes adds the given value to the Volumes 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 Volumes field.
type MachineStatusApplyConfiguration ¶
type MachineStatusApplyConfiguration struct { MachineID *string `json:"machineID,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` State *v1alpha1.MachineState `json:"state,omitempty"` NetworkInterfaces []NetworkInterfaceStatusApplyConfiguration `json:"networkInterfaces,omitempty"` Volumes []VolumeStatusApplyConfiguration `json:"volumes,omitempty"` }
MachineStatusApplyConfiguration represents an declarative configuration of the MachineStatus type for use with apply.
func MachineStatus ¶
func MachineStatus() *MachineStatusApplyConfiguration
MachineStatusApplyConfiguration constructs an declarative configuration of the MachineStatus type for use with apply.
func (*MachineStatusApplyConfiguration) WithMachineID ¶
func (b *MachineStatusApplyConfiguration) WithMachineID(value string) *MachineStatusApplyConfiguration
WithMachineID sets the MachineID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MachineID field is set to the value of the last call.
func (*MachineStatusApplyConfiguration) WithNetworkInterfaces ¶
func (b *MachineStatusApplyConfiguration) WithNetworkInterfaces(values ...*NetworkInterfaceStatusApplyConfiguration) *MachineStatusApplyConfiguration
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 (*MachineStatusApplyConfiguration) WithObservedGeneration ¶
func (b *MachineStatusApplyConfiguration) WithObservedGeneration(value int64) *MachineStatusApplyConfiguration
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 (*MachineStatusApplyConfiguration) WithState ¶
func (b *MachineStatusApplyConfiguration) WithState(value v1alpha1.MachineState) *MachineStatusApplyConfiguration
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.
func (*MachineStatusApplyConfiguration) WithVolumes ¶
func (b *MachineStatusApplyConfiguration) WithVolumes(values ...*VolumeStatusApplyConfiguration) *MachineStatusApplyConfiguration
WithVolumes adds the given value to the Volumes 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 Volumes field.
type NetworkInterfaceApplyConfiguration ¶
type NetworkInterfaceApplyConfiguration struct { Name *string `json:"name,omitempty"` NetworkInterfaceSourceApplyConfiguration `json:",inline"` }
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) WithEphemeral ¶
func (b *NetworkInterfaceApplyConfiguration) WithEphemeral(value *EphemeralNetworkInterfaceSourceApplyConfiguration) *NetworkInterfaceApplyConfiguration
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 (*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) WithNetworkInterfaceRef ¶
func (b *NetworkInterfaceApplyConfiguration) WithNetworkInterfaceRef(value v1.LocalObjectReference) *NetworkInterfaceApplyConfiguration
WithNetworkInterfaceRef sets the NetworkInterfaceRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkInterfaceRef field is set to the value of the last call.
type NetworkInterfaceSourceApplyConfiguration ¶
type NetworkInterfaceSourceApplyConfiguration struct { NetworkInterfaceRef *v1.LocalObjectReference `json:"networkInterfaceRef,omitempty"` Ephemeral *EphemeralNetworkInterfaceSourceApplyConfiguration `json:"ephemeral,omitempty"` }
NetworkInterfaceSourceApplyConfiguration represents an declarative configuration of the NetworkInterfaceSource type for use with apply.
func NetworkInterfaceSource ¶
func NetworkInterfaceSource() *NetworkInterfaceSourceApplyConfiguration
NetworkInterfaceSourceApplyConfiguration constructs an declarative configuration of the NetworkInterfaceSource type for use with apply.
func (*NetworkInterfaceSourceApplyConfiguration) WithEphemeral ¶
func (b *NetworkInterfaceSourceApplyConfiguration) WithEphemeral(value *EphemeralNetworkInterfaceSourceApplyConfiguration) *NetworkInterfaceSourceApplyConfiguration
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 (*NetworkInterfaceSourceApplyConfiguration) WithNetworkInterfaceRef ¶
func (b *NetworkInterfaceSourceApplyConfiguration) WithNetworkInterfaceRef(value v1.LocalObjectReference) *NetworkInterfaceSourceApplyConfiguration
WithNetworkInterfaceRef sets the NetworkInterfaceRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkInterfaceRef field is set to the value of the last call.
type NetworkInterfaceStatusApplyConfiguration ¶
type NetworkInterfaceStatusApplyConfiguration struct { Name *string `json:"name,omitempty"` Handle *string `json:"handle,omitempty"` IPs []v1alpha1.IP `json:"ips,omitempty"` VirtualIP *v1alpha1.IP `json:"virtualIP,omitempty"` State *computev1alpha1.NetworkInterfaceState `json:"state,omitempty"` NetworkInterfaceRef *v1.LocalObjectReference `json:"networkInterfaceRef,omitempty"` LastStateTransitionTime *metav1.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) WithHandle ¶
func (b *NetworkInterfaceStatusApplyConfiguration) WithHandle(value string) *NetworkInterfaceStatusApplyConfiguration
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 (*NetworkInterfaceStatusApplyConfiguration) WithIPs ¶
func (b *NetworkInterfaceStatusApplyConfiguration) WithIPs(values ...v1alpha1.IP) *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 metav1.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) WithNetworkInterfaceRef ¶ added in v0.2.0
func (b *NetworkInterfaceStatusApplyConfiguration) WithNetworkInterfaceRef(value v1.LocalObjectReference) *NetworkInterfaceStatusApplyConfiguration
WithNetworkInterfaceRef sets the NetworkInterfaceRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkInterfaceRef field is set to the value of the last call.
func (*NetworkInterfaceStatusApplyConfiguration) WithState ¶
func (b *NetworkInterfaceStatusApplyConfiguration) WithState(value computev1alpha1.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.
func (*NetworkInterfaceStatusApplyConfiguration) WithVirtualIP ¶
func (b *NetworkInterfaceStatusApplyConfiguration) WithVirtualIP(value v1alpha1.IP) *NetworkInterfaceStatusApplyConfiguration
WithVirtualIP sets the VirtualIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VirtualIP field is set to the value of the last call.
type VolumeApplyConfiguration ¶
type VolumeApplyConfiguration struct { Name *string `json:"name,omitempty"` Device *string `json:"device,omitempty"` VolumeSourceApplyConfiguration `json:",inline"` }
VolumeApplyConfiguration represents an declarative configuration of the Volume type for use with apply.
func Volume ¶
func Volume() *VolumeApplyConfiguration
VolumeApplyConfiguration constructs an declarative configuration of the Volume type for use with apply.
func (*VolumeApplyConfiguration) WithDevice ¶
func (b *VolumeApplyConfiguration) WithDevice(value string) *VolumeApplyConfiguration
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 (*VolumeApplyConfiguration) WithEmptyDisk ¶
func (b *VolumeApplyConfiguration) WithEmptyDisk(value *EmptyDiskVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 (*VolumeApplyConfiguration) WithEphemeral ¶
func (b *VolumeApplyConfiguration) WithEphemeral(value *EphemeralVolumeSourceApplyConfiguration) *VolumeApplyConfiguration
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 (*VolumeApplyConfiguration) WithName ¶
func (b *VolumeApplyConfiguration) WithName(value string) *VolumeApplyConfiguration
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 (*VolumeApplyConfiguration) WithVolumeRef ¶
func (b *VolumeApplyConfiguration) WithVolumeRef(value v1.LocalObjectReference) *VolumeApplyConfiguration
WithVolumeRef sets the VolumeRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeRef field is set to the value of the last call.
type VolumeSourceApplyConfiguration ¶
type VolumeSourceApplyConfiguration struct { VolumeRef *v1.LocalObjectReference `json:"volumeRef,omitempty"` EmptyDisk *EmptyDiskVolumeSourceApplyConfiguration `json:"emptyDisk,omitempty"` Ephemeral *EphemeralVolumeSourceApplyConfiguration `json:"ephemeral,omitempty"` }
VolumeSourceApplyConfiguration represents an declarative configuration of the VolumeSource type for use with apply.
func VolumeSource ¶
func VolumeSource() *VolumeSourceApplyConfiguration
VolumeSourceApplyConfiguration constructs an declarative configuration of the VolumeSource type for use with apply.
func (*VolumeSourceApplyConfiguration) WithEmptyDisk ¶
func (b *VolumeSourceApplyConfiguration) WithEmptyDisk(value *EmptyDiskVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 (*VolumeSourceApplyConfiguration) WithEphemeral ¶
func (b *VolumeSourceApplyConfiguration) WithEphemeral(value *EphemeralVolumeSourceApplyConfiguration) *VolumeSourceApplyConfiguration
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 (*VolumeSourceApplyConfiguration) WithVolumeRef ¶
func (b *VolumeSourceApplyConfiguration) WithVolumeRef(value v1.LocalObjectReference) *VolumeSourceApplyConfiguration
WithVolumeRef sets the VolumeRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeRef field is set to the value of the last call.
type VolumeStatusApplyConfiguration ¶
type VolumeStatusApplyConfiguration struct { Name *string `json:"name,omitempty"` Handle *string `json:"handle,omitempty"` State *v1alpha1.VolumeState `json:"state,omitempty"` LastStateTransitionTime *v1.Time `json:"lastStateTransitionTime,omitempty"` VolumeRef *corev1.LocalObjectReference `json:"volumeRef,omitempty"` }
VolumeStatusApplyConfiguration represents an declarative configuration of the VolumeStatus type for use with apply.
func VolumeStatus ¶
func VolumeStatus() *VolumeStatusApplyConfiguration
VolumeStatusApplyConfiguration constructs an declarative configuration of the VolumeStatus type for use with apply.
func (*VolumeStatusApplyConfiguration) WithHandle ¶
func (b *VolumeStatusApplyConfiguration) WithHandle(value string) *VolumeStatusApplyConfiguration
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 (*VolumeStatusApplyConfiguration) WithLastStateTransitionTime ¶
func (b *VolumeStatusApplyConfiguration) WithLastStateTransitionTime(value v1.Time) *VolumeStatusApplyConfiguration
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 (*VolumeStatusApplyConfiguration) WithName ¶
func (b *VolumeStatusApplyConfiguration) WithName(value string) *VolumeStatusApplyConfiguration
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 (*VolumeStatusApplyConfiguration) WithState ¶
func (b *VolumeStatusApplyConfiguration) WithState(value v1alpha1.VolumeState) *VolumeStatusApplyConfiguration
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.
func (*VolumeStatusApplyConfiguration) WithVolumeRef ¶ added in v0.2.0
func (b *VolumeStatusApplyConfiguration) WithVolumeRef(value corev1.LocalObjectReference) *VolumeStatusApplyConfiguration
WithVolumeRef sets the VolumeRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeRef field is set to the value of the last call.
Source Files ¶
- daemonendpoint.go
- efivar.go
- emptydiskvolumesource.go
- ephemeralnetworkinterfacesource.go
- ephemeralvolumesource.go
- machine.go
- machineclass.go
- machinepool.go
- machinepooladdress.go
- machinepoolcondition.go
- machinepooldaemonendpoints.go
- machinepoolspec.go
- machinepoolstatus.go
- machinespec.go
- machinestatus.go
- networkinterface.go
- networkinterfacesource.go
- networkinterfacestatus.go
- volume.go
- volumesource.go
- volumestatus.go