v1beta1

package
v0.0.0-...-6c851f4 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 5

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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