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 v1alpha1.ConditionSeverity) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithType(value v1alpha1.ConditionType) *ConditionApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionApplyConfiguration ¶
type ConditionApplyConfiguration struct { Type *v1alpha1.ConditionType `json:"type,omitempty"` Status *v1.ConditionStatus `json:"status,omitempty"` Severity *v1alpha1.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 v1alpha1.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 v1alpha1.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.