v1alpha1

package
v0.0.0-...-83c5257 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeRecoveryApplyConfiguration

type NodeRecoveryApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Status                           *NodeRecoveryStatusApplyConfiguration `json:"status,omitempty"`
}

NodeRecoveryApplyConfiguration represents a declarative configuration of the NodeRecovery type for use with apply.

func NodeRecovery

func NodeRecovery(name string) *NodeRecoveryApplyConfiguration

NodeRecovery constructs a declarative configuration of the NodeRecovery type for use with apply.

func (*NodeRecoveryApplyConfiguration) GetName

func (b *NodeRecoveryApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*NodeRecoveryApplyConfiguration) 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 (*NodeRecoveryApplyConfiguration) 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 (*NodeRecoveryApplyConfiguration) 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 (*NodeRecoveryApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *NodeRecoveryApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NodeRecoveryApplyConfiguration

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 (*NodeRecoveryApplyConfiguration) 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 (*NodeRecoveryApplyConfiguration) 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 (*NodeRecoveryApplyConfiguration) 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 (*NodeRecoveryApplyConfiguration) 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 (*NodeRecoveryApplyConfiguration) 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 (*NodeRecoveryApplyConfiguration) 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 (*NodeRecoveryApplyConfiguration) 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 (*NodeRecoveryApplyConfiguration) 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 (*NodeRecoveryApplyConfiguration) 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 (*NodeRecoveryApplyConfiguration) 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 (*NodeRecoveryApplyConfiguration) 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 (*NodeRecoveryApplyConfiguration) 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 NodeRecoveryStatusApplyConfiguration

type NodeRecoveryStatusApplyConfiguration struct {
	Phase                *v1alpha1.RecoveryPhase               `json:"phase,omitempty"`
	Conditions           []RecoveryConditionApplyConfiguration `json:"conditions,omitempty"`
	StartTime            *v1.Time                              `json:"startTime,omitempty"`
	CompletionTime       *v1.Time                              `json:"completionTime,omitempty"`
	PendingPods          *bool                                 `json:"pendingPods,omitempty"`
	CrashLoopBackOffPods *bool                                 `json:"crashLoopBackOffPods,omitempty"`
}

NodeRecoveryStatusApplyConfiguration represents a declarative configuration of the NodeRecoveryStatus type for use with apply.

func NodeRecoveryStatus

func NodeRecoveryStatus() *NodeRecoveryStatusApplyConfiguration

NodeRecoveryStatusApplyConfiguration constructs a declarative configuration of the NodeRecoveryStatus type for use with apply.

func (*NodeRecoveryStatusApplyConfiguration) WithCompletionTime

WithCompletionTime sets the CompletionTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CompletionTime field is set to the value of the last call.

func (*NodeRecoveryStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*NodeRecoveryStatusApplyConfiguration) WithCrashLoopBackOffPods

WithCrashLoopBackOffPods sets the CrashLoopBackOffPods field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CrashLoopBackOffPods field is set to the value of the last call.

func (*NodeRecoveryStatusApplyConfiguration) WithPendingPods

WithPendingPods sets the PendingPods field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PendingPods field is set to the value of the last call.

func (*NodeRecoveryStatusApplyConfiguration) 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 (*NodeRecoveryStatusApplyConfiguration) WithStartTime

WithStartTime sets the StartTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartTime field is set to the value of the last call.

type RecoveryConditionApplyConfiguration

type RecoveryConditionApplyConfiguration struct {
	Type               *v1alpha1.RecoveryConditionType   `json:"type,omitempty"`
	Status             *v1.ConditionStatus               `json:"status,omitempty"`
	LastProbeTime      *metav1.Time                      `json:"lastProbeTime,omitempty"`
	LastTransitionTime *metav1.Time                      `json:"lastTransitionTime,omitempty"`
	Reason             *v1alpha1.RecoveryConditionReason `json:"reason,omitempty"`
	Message            *string                           `json:"message,omitempty"`
}

RecoveryConditionApplyConfiguration represents a declarative configuration of the RecoveryCondition type for use with apply.

func RecoveryCondition

func RecoveryCondition() *RecoveryConditionApplyConfiguration

RecoveryConditionApplyConfiguration constructs a declarative configuration of the RecoveryCondition type for use with apply.

func (*RecoveryConditionApplyConfiguration) WithLastProbeTime

WithLastProbeTime sets the LastProbeTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastProbeTime field is set to the value of the last call.

func (*RecoveryConditionApplyConfiguration) WithLastTransitionTime

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 (*RecoveryConditionApplyConfiguration) 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 (*RecoveryConditionApplyConfiguration) 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 (*RecoveryConditionApplyConfiguration) 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 (*RecoveryConditionApplyConfiguration) 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