Documentation ¶
Index ¶
- type NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) GetName() *string
- func (b *NodeRecoveryApplyConfiguration) WithAPIVersion(value string) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithAnnotations(entries map[string]string) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithFinalizers(values ...string) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithGenerateName(value string) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithGeneration(value int64) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithKind(value string) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithLabels(entries map[string]string) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithName(value string) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithNamespace(value string) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithResourceVersion(value string) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithStatus(value *NodeRecoveryStatusApplyConfiguration) *NodeRecoveryApplyConfiguration
- func (b *NodeRecoveryApplyConfiguration) WithUID(value types.UID) *NodeRecoveryApplyConfiguration
- type NodeRecoveryStatusApplyConfiguration
- func (b *NodeRecoveryStatusApplyConfiguration) WithCompletionTime(value v1.Time) *NodeRecoveryStatusApplyConfiguration
- func (b *NodeRecoveryStatusApplyConfiguration) WithConditions(values ...*RecoveryConditionApplyConfiguration) *NodeRecoveryStatusApplyConfiguration
- func (b *NodeRecoveryStatusApplyConfiguration) WithCrashLoopBackOffPods(value bool) *NodeRecoveryStatusApplyConfiguration
- func (b *NodeRecoveryStatusApplyConfiguration) WithPendingPods(value bool) *NodeRecoveryStatusApplyConfiguration
- func (b *NodeRecoveryStatusApplyConfiguration) WithPhase(value v1alpha1.RecoveryPhase) *NodeRecoveryStatusApplyConfiguration
- func (b *NodeRecoveryStatusApplyConfiguration) WithStartTime(value v1.Time) *NodeRecoveryStatusApplyConfiguration
- type RecoveryConditionApplyConfiguration
- func (b *RecoveryConditionApplyConfiguration) WithLastProbeTime(value metav1.Time) *RecoveryConditionApplyConfiguration
- func (b *RecoveryConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *RecoveryConditionApplyConfiguration
- func (b *RecoveryConditionApplyConfiguration) WithMessage(value string) *RecoveryConditionApplyConfiguration
- func (b *RecoveryConditionApplyConfiguration) WithReason(value v1alpha1.RecoveryConditionReason) *RecoveryConditionApplyConfiguration
- func (b *RecoveryConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *RecoveryConditionApplyConfiguration
- func (b *RecoveryConditionApplyConfiguration) WithType(value v1alpha1.RecoveryConditionType) *RecoveryConditionApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithAPIVersion(value string) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithAnnotations(entries map[string]string) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithFinalizers(values ...string) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithGenerateName(value string) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithGeneration(value int64) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithKind(value string) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithLabels(entries map[string]string) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithName(value string) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithNamespace(value string) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithResourceVersion(value string) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithStatus(value *NodeRecoveryStatusApplyConfiguration) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryApplyConfiguration) WithUID(value types.UID) *NodeRecoveryApplyConfiguration
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 ¶
func (b *NodeRecoveryStatusApplyConfiguration) WithCompletionTime(value v1.Time) *NodeRecoveryStatusApplyConfiguration
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 ¶
func (b *NodeRecoveryStatusApplyConfiguration) WithConditions(values ...*RecoveryConditionApplyConfiguration) *NodeRecoveryStatusApplyConfiguration
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 ¶
func (b *NodeRecoveryStatusApplyConfiguration) WithCrashLoopBackOffPods(value bool) *NodeRecoveryStatusApplyConfiguration
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 ¶
func (b *NodeRecoveryStatusApplyConfiguration) WithPendingPods(value bool) *NodeRecoveryStatusApplyConfiguration
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 ¶
func (b *NodeRecoveryStatusApplyConfiguration) WithPhase(value v1alpha1.RecoveryPhase) *NodeRecoveryStatusApplyConfiguration
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 ¶
func (b *NodeRecoveryStatusApplyConfiguration) WithStartTime(value v1.Time) *NodeRecoveryStatusApplyConfiguration
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 ¶
func (b *RecoveryConditionApplyConfiguration) WithLastProbeTime(value metav1.Time) *RecoveryConditionApplyConfiguration
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 ¶
func (b *RecoveryConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *RecoveryConditionApplyConfiguration
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 ¶
func (b *RecoveryConditionApplyConfiguration) WithMessage(value string) *RecoveryConditionApplyConfiguration
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 ¶
func (b *RecoveryConditionApplyConfiguration) WithReason(value v1alpha1.RecoveryConditionReason) *RecoveryConditionApplyConfiguration
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 ¶
func (b *RecoveryConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *RecoveryConditionApplyConfiguration
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 ¶
func (b *RecoveryConditionApplyConfiguration) WithType(value v1alpha1.RecoveryConditionType) *RecoveryConditionApplyConfiguration
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.