Documentation ¶
Index ¶
- type ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithMessage(value string) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithReason(value string) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithSeverity(value v1beta1.ConditionSeverity) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithType(value v1beta1.ConditionType) *ConditionApplyConfiguration
- type LastOperationApplyConfiguration
- func (b *LastOperationApplyConfiguration) WithDescription(value string) *LastOperationApplyConfiguration
- func (b *LastOperationApplyConfiguration) WithLastUpdated(value v1.Time) *LastOperationApplyConfiguration
- func (b *LastOperationApplyConfiguration) WithState(value string) *LastOperationApplyConfiguration
- func (b *LastOperationApplyConfiguration) WithType(value string) *LastOperationApplyConfiguration
- type LifecycleHookApplyConfiguration
- type LifecycleHooksApplyConfiguration
- 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 MachineHealthCheckApplyConfiguration
- func ExtractMachineHealthCheck(machineHealthCheck *machinev1beta1.MachineHealthCheck, fieldManager string) (*MachineHealthCheckApplyConfiguration, error)
- func ExtractMachineHealthCheckStatus(machineHealthCheck *machinev1beta1.MachineHealthCheck, fieldManager string) (*MachineHealthCheckApplyConfiguration, error)
- func MachineHealthCheck(name, namespace string) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithAPIVersion(value string) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithAnnotations(entries map[string]string) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithFinalizers(values ...string) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithGenerateName(value string) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithGeneration(value int64) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithKind(value string) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithLabels(entries map[string]string) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithName(value string) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithNamespace(value string) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithResourceVersion(value string) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithSpec(value *MachineHealthCheckSpecApplyConfiguration) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithStatus(value *MachineHealthCheckStatusApplyConfiguration) *MachineHealthCheckApplyConfiguration
- func (b *MachineHealthCheckApplyConfiguration) WithUID(value types.UID) *MachineHealthCheckApplyConfiguration
- type MachineHealthCheckSpecApplyConfiguration
- func (b *MachineHealthCheckSpecApplyConfiguration) WithMaxUnhealthy(value intstr.IntOrString) *MachineHealthCheckSpecApplyConfiguration
- func (b *MachineHealthCheckSpecApplyConfiguration) WithNodeStartupTimeout(value v1.Duration) *MachineHealthCheckSpecApplyConfiguration
- func (b *MachineHealthCheckSpecApplyConfiguration) WithRemediationTemplate(value corev1.ObjectReference) *MachineHealthCheckSpecApplyConfiguration
- func (b *MachineHealthCheckSpecApplyConfiguration) WithSelector(value v1.LabelSelector) *MachineHealthCheckSpecApplyConfiguration
- func (b *MachineHealthCheckSpecApplyConfiguration) WithUnhealthyConditions(values ...*UnhealthyConditionApplyConfiguration) *MachineHealthCheckSpecApplyConfiguration
- type MachineHealthCheckStatusApplyConfiguration
- func (b *MachineHealthCheckStatusApplyConfiguration) WithConditions(value v1beta1.Conditions) *MachineHealthCheckStatusApplyConfiguration
- func (b *MachineHealthCheckStatusApplyConfiguration) WithCurrentHealthy(value int) *MachineHealthCheckStatusApplyConfiguration
- func (b *MachineHealthCheckStatusApplyConfiguration) WithExpectedMachines(value int) *MachineHealthCheckStatusApplyConfiguration
- func (b *MachineHealthCheckStatusApplyConfiguration) WithRemediationsAllowed(value int32) *MachineHealthCheckStatusApplyConfiguration
- type MachineSetApplyConfiguration
- func ExtractMachineSet(machineSet *machinev1beta1.MachineSet, fieldManager string) (*MachineSetApplyConfiguration, error)
- func ExtractMachineSetStatus(machineSet *machinev1beta1.MachineSet, fieldManager string) (*MachineSetApplyConfiguration, error)
- func MachineSet(name, namespace string) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithAPIVersion(value string) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithAnnotations(entries map[string]string) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithFinalizers(values ...string) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithGenerateName(value string) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithGeneration(value int64) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithKind(value string) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithLabels(entries map[string]string) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithName(value string) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithNamespace(value string) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithResourceVersion(value string) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithSpec(value *MachineSetSpecApplyConfiguration) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithStatus(value *MachineSetStatusApplyConfiguration) *MachineSetApplyConfiguration
- func (b *MachineSetApplyConfiguration) WithUID(value types.UID) *MachineSetApplyConfiguration
- type MachineSetSpecApplyConfiguration
- func (b *MachineSetSpecApplyConfiguration) WithDeletePolicy(value string) *MachineSetSpecApplyConfiguration
- func (b *MachineSetSpecApplyConfiguration) WithMinReadySeconds(value int32) *MachineSetSpecApplyConfiguration
- func (b *MachineSetSpecApplyConfiguration) WithReplicas(value int32) *MachineSetSpecApplyConfiguration
- func (b *MachineSetSpecApplyConfiguration) WithSelector(value v1.LabelSelector) *MachineSetSpecApplyConfiguration
- func (b *MachineSetSpecApplyConfiguration) WithTemplate(value *MachineTemplateSpecApplyConfiguration) *MachineSetSpecApplyConfiguration
- type MachineSetStatusApplyConfiguration
- func (b *MachineSetStatusApplyConfiguration) WithAvailableReplicas(value int32) *MachineSetStatusApplyConfiguration
- func (b *MachineSetStatusApplyConfiguration) WithErrorMessage(value string) *MachineSetStatusApplyConfiguration
- func (b *MachineSetStatusApplyConfiguration) WithErrorReason(value v1beta1.MachineSetStatusError) *MachineSetStatusApplyConfiguration
- func (b *MachineSetStatusApplyConfiguration) WithFullyLabeledReplicas(value int32) *MachineSetStatusApplyConfiguration
- func (b *MachineSetStatusApplyConfiguration) WithObservedGeneration(value int64) *MachineSetStatusApplyConfiguration
- func (b *MachineSetStatusApplyConfiguration) WithReadyReplicas(value int32) *MachineSetStatusApplyConfiguration
- func (b *MachineSetStatusApplyConfiguration) WithReplicas(value int32) *MachineSetStatusApplyConfiguration
- type MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithAnnotations(entries map[string]string) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithGenerateName(value string) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithLabels(entries map[string]string) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithLifecycleHooks(value *LifecycleHooksApplyConfiguration) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithName(value string) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithNamespace(value string) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithProviderID(value string) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithProviderSpec(value *ProviderSpecApplyConfiguration) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithTaints(values ...v1.Taint) *MachineSpecApplyConfiguration
- type MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithAddresses(values ...v1.NodeAddress) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithConditions(value v1beta1.Conditions) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithErrorMessage(value string) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithErrorReason(value v1beta1.MachineStatusError) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithLastOperation(value *LastOperationApplyConfiguration) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithLastUpdated(value metav1.Time) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithNodeRef(value v1.ObjectReference) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithPhase(value string) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithProviderStatus(value runtime.RawExtension) *MachineStatusApplyConfiguration
- type MachineTemplateSpecApplyConfiguration
- func (b *MachineTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *MachineTemplateSpecApplyConfiguration
- func (b *MachineTemplateSpecApplyConfiguration) WithGenerateName(value string) *MachineTemplateSpecApplyConfiguration
- func (b *MachineTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *MachineTemplateSpecApplyConfiguration
- func (b *MachineTemplateSpecApplyConfiguration) WithName(value string) *MachineTemplateSpecApplyConfiguration
- func (b *MachineTemplateSpecApplyConfiguration) WithNamespace(value string) *MachineTemplateSpecApplyConfiguration
- func (b *MachineTemplateSpecApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineTemplateSpecApplyConfiguration
- func (b *MachineTemplateSpecApplyConfiguration) WithSpec(value *MachineSpecApplyConfiguration) *MachineTemplateSpecApplyConfiguration
- type ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithAnnotations(entries map[string]string) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithGenerateName(value string) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithLabels(entries map[string]string) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithName(value string) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithNamespace(value string) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ObjectMetaApplyConfiguration
- type ProviderSpecApplyConfiguration
- type UnhealthyConditionApplyConfiguration
- func (b *UnhealthyConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *UnhealthyConditionApplyConfiguration
- func (b *UnhealthyConditionApplyConfiguration) WithTimeout(value metav1.Duration) *UnhealthyConditionApplyConfiguration
- func (b *UnhealthyConditionApplyConfiguration) WithType(value v1.NodeConditionType) *UnhealthyConditionApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionApplyConfiguration ¶
type ConditionApplyConfiguration struct { Type *v1beta1.ConditionType `json:"type,omitempty"` Status *v1.ConditionStatus `json:"status,omitempty"` Severity *v1beta1.ConditionSeverity `json:"severity,omitempty"` LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` }
ConditionApplyConfiguration represents an declarative configuration of the Condition type for use with apply.
func Condition ¶
func Condition() *ConditionApplyConfiguration
ConditionApplyConfiguration constructs an declarative configuration of the Condition type for use with apply.
func (*ConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *ConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ConditionApplyConfiguration
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 (*ConditionApplyConfiguration) WithMessage ¶
func (b *ConditionApplyConfiguration) WithMessage(value string) *ConditionApplyConfiguration
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 (*ConditionApplyConfiguration) WithReason ¶
func (b *ConditionApplyConfiguration) WithReason(value string) *ConditionApplyConfiguration
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 (*ConditionApplyConfiguration) WithSeverity ¶
func (b *ConditionApplyConfiguration) WithSeverity(value v1beta1.ConditionSeverity) *ConditionApplyConfiguration
WithSeverity sets the Severity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Severity field is set to the value of the last call.
func (*ConditionApplyConfiguration) WithStatus ¶
func (b *ConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ConditionApplyConfiguration
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 (*ConditionApplyConfiguration) WithType ¶
func (b *ConditionApplyConfiguration) WithType(value v1beta1.ConditionType) *ConditionApplyConfiguration
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 LastOperationApplyConfiguration ¶
type LastOperationApplyConfiguration struct { Description *string `json:"description,omitempty"` LastUpdated *v1.Time `json:"lastUpdated,omitempty"` State *string `json:"state,omitempty"` Type *string `json:"type,omitempty"` }
LastOperationApplyConfiguration represents an declarative configuration of the LastOperation type for use with apply.
func LastOperation ¶
func LastOperation() *LastOperationApplyConfiguration
LastOperationApplyConfiguration constructs an declarative configuration of the LastOperation type for use with apply.
func (*LastOperationApplyConfiguration) WithDescription ¶
func (b *LastOperationApplyConfiguration) WithDescription(value string) *LastOperationApplyConfiguration
WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.
func (*LastOperationApplyConfiguration) WithLastUpdated ¶
func (b *LastOperationApplyConfiguration) WithLastUpdated(value v1.Time) *LastOperationApplyConfiguration
WithLastUpdated sets the LastUpdated field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastUpdated field is set to the value of the last call.
func (*LastOperationApplyConfiguration) WithState ¶
func (b *LastOperationApplyConfiguration) WithState(value string) *LastOperationApplyConfiguration
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 (*LastOperationApplyConfiguration) WithType ¶
func (b *LastOperationApplyConfiguration) WithType(value string) *LastOperationApplyConfiguration
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 LifecycleHookApplyConfiguration ¶
type LifecycleHookApplyConfiguration struct { Name *string `json:"name,omitempty"` Owner *string `json:"owner,omitempty"` }
LifecycleHookApplyConfiguration represents an declarative configuration of the LifecycleHook type for use with apply.
func LifecycleHook ¶
func LifecycleHook() *LifecycleHookApplyConfiguration
LifecycleHookApplyConfiguration constructs an declarative configuration of the LifecycleHook type for use with apply.
func (*LifecycleHookApplyConfiguration) WithName ¶
func (b *LifecycleHookApplyConfiguration) WithName(value string) *LifecycleHookApplyConfiguration
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 (*LifecycleHookApplyConfiguration) WithOwner ¶
func (b *LifecycleHookApplyConfiguration) WithOwner(value string) *LifecycleHookApplyConfiguration
WithOwner sets the Owner field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Owner field is set to the value of the last call.
type LifecycleHooksApplyConfiguration ¶
type LifecycleHooksApplyConfiguration struct { PreDrain []LifecycleHookApplyConfiguration `json:"preDrain,omitempty"` PreTerminate []LifecycleHookApplyConfiguration `json:"preTerminate,omitempty"` }
LifecycleHooksApplyConfiguration represents an declarative configuration of the LifecycleHooks type for use with apply.
func LifecycleHooks ¶
func LifecycleHooks() *LifecycleHooksApplyConfiguration
LifecycleHooksApplyConfiguration constructs an declarative configuration of the LifecycleHooks type for use with apply.
func (*LifecycleHooksApplyConfiguration) WithPreDrain ¶
func (b *LifecycleHooksApplyConfiguration) WithPreDrain(values ...*LifecycleHookApplyConfiguration) *LifecycleHooksApplyConfiguration
WithPreDrain adds the given value to the PreDrain 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 PreDrain field.
func (*LifecycleHooksApplyConfiguration) WithPreTerminate ¶
func (b *LifecycleHooksApplyConfiguration) WithPreTerminate(values ...*LifecycleHookApplyConfiguration) *LifecycleHooksApplyConfiguration
WithPreTerminate adds the given value to the PreTerminate 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 PreTerminate field.
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 *machinev1beta1.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 *machinev1beta1.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 MachineHealthCheckApplyConfiguration ¶
type MachineHealthCheckApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *MachineHealthCheckSpecApplyConfiguration `json:"spec,omitempty"` Status *MachineHealthCheckStatusApplyConfiguration `json:"status,omitempty"` }
MachineHealthCheckApplyConfiguration represents an declarative configuration of the MachineHealthCheck type for use with apply.
func ExtractMachineHealthCheck ¶
func ExtractMachineHealthCheck(machineHealthCheck *machinev1beta1.MachineHealthCheck, fieldManager string) (*MachineHealthCheckApplyConfiguration, error)
ExtractMachineHealthCheck extracts the applied configuration owned by fieldManager from machineHealthCheck. If no managedFields are found in machineHealthCheck for fieldManager, a MachineHealthCheckApplyConfiguration 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. machineHealthCheck must be a unmodified MachineHealthCheck API object that was retrieved from the Kubernetes API. ExtractMachineHealthCheck 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 ExtractMachineHealthCheckStatus ¶
func ExtractMachineHealthCheckStatus(machineHealthCheck *machinev1beta1.MachineHealthCheck, fieldManager string) (*MachineHealthCheckApplyConfiguration, error)
ExtractMachineHealthCheckStatus is the same as ExtractMachineHealthCheck except that it extracts the status subresource applied configuration. Experimental!
func MachineHealthCheck ¶
func MachineHealthCheck(name, namespace string) *MachineHealthCheckApplyConfiguration
MachineHealthCheck constructs an declarative configuration of the MachineHealthCheck type for use with apply.
func (*MachineHealthCheckApplyConfiguration) WithAPIVersion ¶
func (b *MachineHealthCheckApplyConfiguration) WithAPIVersion(value string) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithAnnotations ¶
func (b *MachineHealthCheckApplyConfiguration) WithAnnotations(entries map[string]string) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithCreationTimestamp ¶
func (b *MachineHealthCheckApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *MachineHealthCheckApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithDeletionTimestamp ¶
func (b *MachineHealthCheckApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithFinalizers ¶
func (b *MachineHealthCheckApplyConfiguration) WithFinalizers(values ...string) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithGenerateName ¶
func (b *MachineHealthCheckApplyConfiguration) WithGenerateName(value string) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithGeneration ¶
func (b *MachineHealthCheckApplyConfiguration) WithGeneration(value int64) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithKind ¶
func (b *MachineHealthCheckApplyConfiguration) WithKind(value string) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithLabels ¶
func (b *MachineHealthCheckApplyConfiguration) WithLabels(entries map[string]string) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithName ¶
func (b *MachineHealthCheckApplyConfiguration) WithName(value string) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithNamespace ¶
func (b *MachineHealthCheckApplyConfiguration) WithNamespace(value string) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithOwnerReferences ¶
func (b *MachineHealthCheckApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithResourceVersion ¶
func (b *MachineHealthCheckApplyConfiguration) WithResourceVersion(value string) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithSpec ¶
func (b *MachineHealthCheckApplyConfiguration) WithSpec(value *MachineHealthCheckSpecApplyConfiguration) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithStatus ¶
func (b *MachineHealthCheckApplyConfiguration) WithStatus(value *MachineHealthCheckStatusApplyConfiguration) *MachineHealthCheckApplyConfiguration
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 (*MachineHealthCheckApplyConfiguration) WithUID ¶
func (b *MachineHealthCheckApplyConfiguration) WithUID(value types.UID) *MachineHealthCheckApplyConfiguration
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 MachineHealthCheckSpecApplyConfiguration ¶
type MachineHealthCheckSpecApplyConfiguration struct { Selector *v1.LabelSelector `json:"selector,omitempty"` UnhealthyConditions []UnhealthyConditionApplyConfiguration `json:"unhealthyConditions,omitempty"` MaxUnhealthy *intstr.IntOrString `json:"maxUnhealthy,omitempty"` NodeStartupTimeout *v1.Duration `json:"nodeStartupTimeout,omitempty"` RemediationTemplate *corev1.ObjectReference `json:"remediationTemplate,omitempty"` }
MachineHealthCheckSpecApplyConfiguration represents an declarative configuration of the MachineHealthCheckSpec type for use with apply.
func MachineHealthCheckSpec ¶
func MachineHealthCheckSpec() *MachineHealthCheckSpecApplyConfiguration
MachineHealthCheckSpecApplyConfiguration constructs an declarative configuration of the MachineHealthCheckSpec type for use with apply.
func (*MachineHealthCheckSpecApplyConfiguration) WithMaxUnhealthy ¶
func (b *MachineHealthCheckSpecApplyConfiguration) WithMaxUnhealthy(value intstr.IntOrString) *MachineHealthCheckSpecApplyConfiguration
WithMaxUnhealthy sets the MaxUnhealthy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxUnhealthy field is set to the value of the last call.
func (*MachineHealthCheckSpecApplyConfiguration) WithNodeStartupTimeout ¶
func (b *MachineHealthCheckSpecApplyConfiguration) WithNodeStartupTimeout(value v1.Duration) *MachineHealthCheckSpecApplyConfiguration
WithNodeStartupTimeout sets the NodeStartupTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeStartupTimeout field is set to the value of the last call.
func (*MachineHealthCheckSpecApplyConfiguration) WithRemediationTemplate ¶
func (b *MachineHealthCheckSpecApplyConfiguration) WithRemediationTemplate(value corev1.ObjectReference) *MachineHealthCheckSpecApplyConfiguration
WithRemediationTemplate sets the RemediationTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RemediationTemplate field is set to the value of the last call.
func (*MachineHealthCheckSpecApplyConfiguration) WithSelector ¶
func (b *MachineHealthCheckSpecApplyConfiguration) WithSelector(value v1.LabelSelector) *MachineHealthCheckSpecApplyConfiguration
WithSelector sets the Selector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Selector field is set to the value of the last call.
func (*MachineHealthCheckSpecApplyConfiguration) WithUnhealthyConditions ¶
func (b *MachineHealthCheckSpecApplyConfiguration) WithUnhealthyConditions(values ...*UnhealthyConditionApplyConfiguration) *MachineHealthCheckSpecApplyConfiguration
WithUnhealthyConditions adds the given value to the UnhealthyConditions 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 UnhealthyConditions field.
type MachineHealthCheckStatusApplyConfiguration ¶
type MachineHealthCheckStatusApplyConfiguration struct { ExpectedMachines *int `json:"expectedMachines,omitempty"` CurrentHealthy *int `json:"currentHealthy,omitempty"` RemediationsAllowed *int32 `json:"remediationsAllowed,omitempty"` Conditions *v1beta1.Conditions `json:"conditions,omitempty"` }
MachineHealthCheckStatusApplyConfiguration represents an declarative configuration of the MachineHealthCheckStatus type for use with apply.
func MachineHealthCheckStatus ¶
func MachineHealthCheckStatus() *MachineHealthCheckStatusApplyConfiguration
MachineHealthCheckStatusApplyConfiguration constructs an declarative configuration of the MachineHealthCheckStatus type for use with apply.
func (*MachineHealthCheckStatusApplyConfiguration) WithConditions ¶
func (b *MachineHealthCheckStatusApplyConfiguration) WithConditions(value v1beta1.Conditions) *MachineHealthCheckStatusApplyConfiguration
WithConditions sets the Conditions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Conditions field is set to the value of the last call.
func (*MachineHealthCheckStatusApplyConfiguration) WithCurrentHealthy ¶
func (b *MachineHealthCheckStatusApplyConfiguration) WithCurrentHealthy(value int) *MachineHealthCheckStatusApplyConfiguration
WithCurrentHealthy sets the CurrentHealthy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CurrentHealthy field is set to the value of the last call.
func (*MachineHealthCheckStatusApplyConfiguration) WithExpectedMachines ¶
func (b *MachineHealthCheckStatusApplyConfiguration) WithExpectedMachines(value int) *MachineHealthCheckStatusApplyConfiguration
WithExpectedMachines sets the ExpectedMachines field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExpectedMachines field is set to the value of the last call.
func (*MachineHealthCheckStatusApplyConfiguration) WithRemediationsAllowed ¶
func (b *MachineHealthCheckStatusApplyConfiguration) WithRemediationsAllowed(value int32) *MachineHealthCheckStatusApplyConfiguration
WithRemediationsAllowed sets the RemediationsAllowed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RemediationsAllowed field is set to the value of the last call.
type MachineSetApplyConfiguration ¶
type MachineSetApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *MachineSetSpecApplyConfiguration `json:"spec,omitempty"` Status *MachineSetStatusApplyConfiguration `json:"status,omitempty"` }
MachineSetApplyConfiguration represents an declarative configuration of the MachineSet type for use with apply.
func ExtractMachineSet ¶
func ExtractMachineSet(machineSet *machinev1beta1.MachineSet, fieldManager string) (*MachineSetApplyConfiguration, error)
ExtractMachineSet extracts the applied configuration owned by fieldManager from machineSet. If no managedFields are found in machineSet for fieldManager, a MachineSetApplyConfiguration 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. machineSet must be a unmodified MachineSet API object that was retrieved from the Kubernetes API. ExtractMachineSet 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 ExtractMachineSetStatus ¶
func ExtractMachineSetStatus(machineSet *machinev1beta1.MachineSet, fieldManager string) (*MachineSetApplyConfiguration, error)
ExtractMachineSetStatus is the same as ExtractMachineSet except that it extracts the status subresource applied configuration. Experimental!
func MachineSet ¶
func MachineSet(name, namespace string) *MachineSetApplyConfiguration
MachineSet constructs an declarative configuration of the MachineSet type for use with apply.
func (*MachineSetApplyConfiguration) WithAPIVersion ¶
func (b *MachineSetApplyConfiguration) WithAPIVersion(value string) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithAnnotations ¶
func (b *MachineSetApplyConfiguration) WithAnnotations(entries map[string]string) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithCreationTimestamp ¶
func (b *MachineSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *MachineSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithDeletionTimestamp ¶
func (b *MachineSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithFinalizers ¶
func (b *MachineSetApplyConfiguration) WithFinalizers(values ...string) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithGenerateName ¶
func (b *MachineSetApplyConfiguration) WithGenerateName(value string) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithGeneration ¶
func (b *MachineSetApplyConfiguration) WithGeneration(value int64) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithKind ¶
func (b *MachineSetApplyConfiguration) WithKind(value string) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithLabels ¶
func (b *MachineSetApplyConfiguration) WithLabels(entries map[string]string) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithName ¶
func (b *MachineSetApplyConfiguration) WithName(value string) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithNamespace ¶
func (b *MachineSetApplyConfiguration) WithNamespace(value string) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithOwnerReferences ¶
func (b *MachineSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithResourceVersion ¶
func (b *MachineSetApplyConfiguration) WithResourceVersion(value string) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithSpec ¶
func (b *MachineSetApplyConfiguration) WithSpec(value *MachineSetSpecApplyConfiguration) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithStatus ¶
func (b *MachineSetApplyConfiguration) WithStatus(value *MachineSetStatusApplyConfiguration) *MachineSetApplyConfiguration
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 (*MachineSetApplyConfiguration) WithUID ¶
func (b *MachineSetApplyConfiguration) WithUID(value types.UID) *MachineSetApplyConfiguration
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 MachineSetSpecApplyConfiguration ¶
type MachineSetSpecApplyConfiguration struct { Replicas *int32 `json:"replicas,omitempty"` MinReadySeconds *int32 `json:"minReadySeconds,omitempty"` DeletePolicy *string `json:"deletePolicy,omitempty"` Selector *v1.LabelSelector `json:"selector,omitempty"` Template *MachineTemplateSpecApplyConfiguration `json:"template,omitempty"` }
MachineSetSpecApplyConfiguration represents an declarative configuration of the MachineSetSpec type for use with apply.
func MachineSetSpec ¶
func MachineSetSpec() *MachineSetSpecApplyConfiguration
MachineSetSpecApplyConfiguration constructs an declarative configuration of the MachineSetSpec type for use with apply.
func (*MachineSetSpecApplyConfiguration) WithDeletePolicy ¶
func (b *MachineSetSpecApplyConfiguration) WithDeletePolicy(value string) *MachineSetSpecApplyConfiguration
WithDeletePolicy sets the DeletePolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletePolicy field is set to the value of the last call.
func (*MachineSetSpecApplyConfiguration) WithMinReadySeconds ¶
func (b *MachineSetSpecApplyConfiguration) WithMinReadySeconds(value int32) *MachineSetSpecApplyConfiguration
WithMinReadySeconds sets the MinReadySeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinReadySeconds field is set to the value of the last call.
func (*MachineSetSpecApplyConfiguration) WithReplicas ¶
func (b *MachineSetSpecApplyConfiguration) WithReplicas(value int32) *MachineSetSpecApplyConfiguration
WithReplicas sets the Replicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Replicas field is set to the value of the last call.
func (*MachineSetSpecApplyConfiguration) WithSelector ¶
func (b *MachineSetSpecApplyConfiguration) WithSelector(value v1.LabelSelector) *MachineSetSpecApplyConfiguration
WithSelector sets the Selector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Selector field is set to the value of the last call.
func (*MachineSetSpecApplyConfiguration) WithTemplate ¶
func (b *MachineSetSpecApplyConfiguration) WithTemplate(value *MachineTemplateSpecApplyConfiguration) *MachineSetSpecApplyConfiguration
WithTemplate sets the Template field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Template field is set to the value of the last call.
type MachineSetStatusApplyConfiguration ¶
type MachineSetStatusApplyConfiguration struct { Replicas *int32 `json:"replicas,omitempty"` FullyLabeledReplicas *int32 `json:"fullyLabeledReplicas,omitempty"` ReadyReplicas *int32 `json:"readyReplicas,omitempty"` AvailableReplicas *int32 `json:"availableReplicas,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` ErrorReason *v1beta1.MachineSetStatusError `json:"errorReason,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` }
MachineSetStatusApplyConfiguration represents an declarative configuration of the MachineSetStatus type for use with apply.
func MachineSetStatus ¶
func MachineSetStatus() *MachineSetStatusApplyConfiguration
MachineSetStatusApplyConfiguration constructs an declarative configuration of the MachineSetStatus type for use with apply.
func (*MachineSetStatusApplyConfiguration) WithAvailableReplicas ¶
func (b *MachineSetStatusApplyConfiguration) WithAvailableReplicas(value int32) *MachineSetStatusApplyConfiguration
WithAvailableReplicas sets the AvailableReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AvailableReplicas field is set to the value of the last call.
func (*MachineSetStatusApplyConfiguration) WithErrorMessage ¶
func (b *MachineSetStatusApplyConfiguration) WithErrorMessage(value string) *MachineSetStatusApplyConfiguration
WithErrorMessage sets the ErrorMessage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ErrorMessage field is set to the value of the last call.
func (*MachineSetStatusApplyConfiguration) WithErrorReason ¶
func (b *MachineSetStatusApplyConfiguration) WithErrorReason(value v1beta1.MachineSetStatusError) *MachineSetStatusApplyConfiguration
WithErrorReason sets the ErrorReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ErrorReason field is set to the value of the last call.
func (*MachineSetStatusApplyConfiguration) WithFullyLabeledReplicas ¶
func (b *MachineSetStatusApplyConfiguration) WithFullyLabeledReplicas(value int32) *MachineSetStatusApplyConfiguration
WithFullyLabeledReplicas sets the FullyLabeledReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FullyLabeledReplicas field is set to the value of the last call.
func (*MachineSetStatusApplyConfiguration) WithObservedGeneration ¶
func (b *MachineSetStatusApplyConfiguration) WithObservedGeneration(value int64) *MachineSetStatusApplyConfiguration
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 (*MachineSetStatusApplyConfiguration) WithReadyReplicas ¶
func (b *MachineSetStatusApplyConfiguration) WithReadyReplicas(value int32) *MachineSetStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*MachineSetStatusApplyConfiguration) WithReplicas ¶
func (b *MachineSetStatusApplyConfiguration) WithReplicas(value int32) *MachineSetStatusApplyConfiguration
WithReplicas sets the Replicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Replicas field is set to the value of the last call.
type MachineSpecApplyConfiguration ¶
type MachineSpecApplyConfiguration struct { *ObjectMetaApplyConfiguration `json:"metadata,omitempty"` LifecycleHooks *LifecycleHooksApplyConfiguration `json:"lifecycleHooks,omitempty"` Taints []v1.Taint `json:"taints,omitempty"` ProviderSpec *ProviderSpecApplyConfiguration `json:"providerSpec,omitempty"` ProviderID *string `json:"providerID,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) WithAnnotations ¶
func (b *MachineSpecApplyConfiguration) WithAnnotations(entries map[string]string) *MachineSpecApplyConfiguration
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 (*MachineSpecApplyConfiguration) WithGenerateName ¶
func (b *MachineSpecApplyConfiguration) WithGenerateName(value string) *MachineSpecApplyConfiguration
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 (*MachineSpecApplyConfiguration) WithLabels ¶
func (b *MachineSpecApplyConfiguration) WithLabels(entries map[string]string) *MachineSpecApplyConfiguration
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 (*MachineSpecApplyConfiguration) WithLifecycleHooks ¶
func (b *MachineSpecApplyConfiguration) WithLifecycleHooks(value *LifecycleHooksApplyConfiguration) *MachineSpecApplyConfiguration
WithLifecycleHooks sets the LifecycleHooks field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LifecycleHooks field is set to the value of the last call.
func (*MachineSpecApplyConfiguration) WithName ¶
func (b *MachineSpecApplyConfiguration) WithName(value string) *MachineSpecApplyConfiguration
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 (*MachineSpecApplyConfiguration) WithNamespace ¶
func (b *MachineSpecApplyConfiguration) WithNamespace(value string) *MachineSpecApplyConfiguration
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 (*MachineSpecApplyConfiguration) WithOwnerReferences ¶
func (b *MachineSpecApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *MachineSpecApplyConfiguration
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 (*MachineSpecApplyConfiguration) WithProviderID ¶
func (b *MachineSpecApplyConfiguration) WithProviderID(value string) *MachineSpecApplyConfiguration
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 (*MachineSpecApplyConfiguration) WithProviderSpec ¶
func (b *MachineSpecApplyConfiguration) WithProviderSpec(value *ProviderSpecApplyConfiguration) *MachineSpecApplyConfiguration
WithProviderSpec sets the ProviderSpec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProviderSpec field is set to the value of the last call.
func (*MachineSpecApplyConfiguration) WithTaints ¶
func (b *MachineSpecApplyConfiguration) WithTaints(values ...v1.Taint) *MachineSpecApplyConfiguration
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 MachineStatusApplyConfiguration ¶
type MachineStatusApplyConfiguration struct { NodeRef *v1.ObjectReference `json:"nodeRef,omitempty"` LastUpdated *metav1.Time `json:"lastUpdated,omitempty"` ErrorReason *v1beta1.MachineStatusError `json:"errorReason,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` ProviderStatus *runtime.RawExtension `json:"providerStatus,omitempty"` Addresses []v1.NodeAddress `json:"addresses,omitempty"` LastOperation *LastOperationApplyConfiguration `json:"lastOperation,omitempty"` Phase *string `json:"phase,omitempty"` Conditions *v1beta1.Conditions `json:"conditions,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) WithAddresses ¶
func (b *MachineStatusApplyConfiguration) WithAddresses(values ...v1.NodeAddress) *MachineStatusApplyConfiguration
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 (*MachineStatusApplyConfiguration) WithConditions ¶
func (b *MachineStatusApplyConfiguration) WithConditions(value v1beta1.Conditions) *MachineStatusApplyConfiguration
WithConditions sets the Conditions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Conditions field is set to the value of the last call.
func (*MachineStatusApplyConfiguration) WithErrorMessage ¶
func (b *MachineStatusApplyConfiguration) WithErrorMessage(value string) *MachineStatusApplyConfiguration
WithErrorMessage sets the ErrorMessage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ErrorMessage field is set to the value of the last call.
func (*MachineStatusApplyConfiguration) WithErrorReason ¶
func (b *MachineStatusApplyConfiguration) WithErrorReason(value v1beta1.MachineStatusError) *MachineStatusApplyConfiguration
WithErrorReason sets the ErrorReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ErrorReason field is set to the value of the last call.
func (*MachineStatusApplyConfiguration) WithLastOperation ¶
func (b *MachineStatusApplyConfiguration) WithLastOperation(value *LastOperationApplyConfiguration) *MachineStatusApplyConfiguration
WithLastOperation sets the LastOperation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastOperation field is set to the value of the last call.
func (*MachineStatusApplyConfiguration) WithLastUpdated ¶
func (b *MachineStatusApplyConfiguration) WithLastUpdated(value metav1.Time) *MachineStatusApplyConfiguration
WithLastUpdated sets the LastUpdated field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastUpdated field is set to the value of the last call.
func (*MachineStatusApplyConfiguration) WithNodeRef ¶
func (b *MachineStatusApplyConfiguration) WithNodeRef(value v1.ObjectReference) *MachineStatusApplyConfiguration
WithNodeRef sets the NodeRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeRef field is set to the value of the last call.
func (*MachineStatusApplyConfiguration) WithPhase ¶
func (b *MachineStatusApplyConfiguration) WithPhase(value string) *MachineStatusApplyConfiguration
WithPhase sets the Phase field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Phase field is set to the value of the last call.
func (*MachineStatusApplyConfiguration) WithProviderStatus ¶
func (b *MachineStatusApplyConfiguration) WithProviderStatus(value runtime.RawExtension) *MachineStatusApplyConfiguration
WithProviderStatus sets the ProviderStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProviderStatus field is set to the value of the last call.
type MachineTemplateSpecApplyConfiguration ¶
type MachineTemplateSpecApplyConfiguration struct { *ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *MachineSpecApplyConfiguration `json:"spec,omitempty"` }
MachineTemplateSpecApplyConfiguration represents an declarative configuration of the MachineTemplateSpec type for use with apply.
func MachineTemplateSpec ¶
func MachineTemplateSpec() *MachineTemplateSpecApplyConfiguration
MachineTemplateSpecApplyConfiguration constructs an declarative configuration of the MachineTemplateSpec type for use with apply.
func (*MachineTemplateSpecApplyConfiguration) WithAnnotations ¶
func (b *MachineTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *MachineTemplateSpecApplyConfiguration
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 (*MachineTemplateSpecApplyConfiguration) WithGenerateName ¶
func (b *MachineTemplateSpecApplyConfiguration) WithGenerateName(value string) *MachineTemplateSpecApplyConfiguration
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 (*MachineTemplateSpecApplyConfiguration) WithLabels ¶
func (b *MachineTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *MachineTemplateSpecApplyConfiguration
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 (*MachineTemplateSpecApplyConfiguration) WithName ¶
func (b *MachineTemplateSpecApplyConfiguration) WithName(value string) *MachineTemplateSpecApplyConfiguration
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 (*MachineTemplateSpecApplyConfiguration) WithNamespace ¶
func (b *MachineTemplateSpecApplyConfiguration) WithNamespace(value string) *MachineTemplateSpecApplyConfiguration
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 (*MachineTemplateSpecApplyConfiguration) WithOwnerReferences ¶
func (b *MachineTemplateSpecApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineTemplateSpecApplyConfiguration
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 (*MachineTemplateSpecApplyConfiguration) WithSpec ¶
func (b *MachineTemplateSpecApplyConfiguration) WithSpec(value *MachineSpecApplyConfiguration) *MachineTemplateSpecApplyConfiguration
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.
type ObjectMetaApplyConfiguration ¶
type ObjectMetaApplyConfiguration struct { Name *string `json:"name,omitempty"` GenerateName *string `json:"generateName,omitempty"` Namespace *string `json:"namespace,omitempty"` Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` OwnerReferences []v1.OwnerReferenceApplyConfiguration `json:"ownerReferences,omitempty"` }
ObjectMetaApplyConfiguration represents an declarative configuration of the ObjectMeta type for use with apply.
func ObjectMeta ¶
func ObjectMeta() *ObjectMetaApplyConfiguration
ObjectMetaApplyConfiguration constructs an declarative configuration of the ObjectMeta type for use with apply.
func (*ObjectMetaApplyConfiguration) WithAnnotations ¶
func (b *ObjectMetaApplyConfiguration) WithAnnotations(entries map[string]string) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithGenerateName ¶
func (b *ObjectMetaApplyConfiguration) WithGenerateName(value string) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithLabels ¶
func (b *ObjectMetaApplyConfiguration) WithLabels(entries map[string]string) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithName ¶
func (b *ObjectMetaApplyConfiguration) WithName(value string) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithNamespace ¶
func (b *ObjectMetaApplyConfiguration) WithNamespace(value string) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithOwnerReferences ¶
func (b *ObjectMetaApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ObjectMetaApplyConfiguration
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.
type ProviderSpecApplyConfiguration ¶
type ProviderSpecApplyConfiguration struct {
Value *runtime.RawExtension `json:"value,omitempty"`
}
ProviderSpecApplyConfiguration represents an declarative configuration of the ProviderSpec type for use with apply.
func ProviderSpec ¶
func ProviderSpec() *ProviderSpecApplyConfiguration
ProviderSpecApplyConfiguration constructs an declarative configuration of the ProviderSpec type for use with apply.
func (*ProviderSpecApplyConfiguration) WithValue ¶
func (b *ProviderSpecApplyConfiguration) WithValue(value runtime.RawExtension) *ProviderSpecApplyConfiguration
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 UnhealthyConditionApplyConfiguration ¶
type UnhealthyConditionApplyConfiguration struct { Type *v1.NodeConditionType `json:"type,omitempty"` Status *v1.ConditionStatus `json:"status,omitempty"` Timeout *metav1.Duration `json:"timeout,omitempty"` }
UnhealthyConditionApplyConfiguration represents an declarative configuration of the UnhealthyCondition type for use with apply.
func UnhealthyCondition ¶
func UnhealthyCondition() *UnhealthyConditionApplyConfiguration
UnhealthyConditionApplyConfiguration constructs an declarative configuration of the UnhealthyCondition type for use with apply.
func (*UnhealthyConditionApplyConfiguration) WithStatus ¶
func (b *UnhealthyConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *UnhealthyConditionApplyConfiguration
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 (*UnhealthyConditionApplyConfiguration) WithTimeout ¶
func (b *UnhealthyConditionApplyConfiguration) WithTimeout(value metav1.Duration) *UnhealthyConditionApplyConfiguration
WithTimeout sets the Timeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Timeout field is set to the value of the last call.
func (*UnhealthyConditionApplyConfiguration) WithType ¶
func (b *UnhealthyConditionApplyConfiguration) WithType(value v1.NodeConditionType) *UnhealthyConditionApplyConfiguration
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.
Source Files ¶
- condition.go
- lastoperation.go
- lifecyclehook.go
- lifecyclehooks.go
- machine.go
- machinehealthcheck.go
- machinehealthcheckspec.go
- machinehealthcheckstatus.go
- machineset.go
- machinesetspec.go
- machinesetstatus.go
- machinespec.go
- machinestatus.go
- machinetemplatespec.go
- objectmeta.go
- providerspec.go
- unhealthycondition.go