2026-04-15 10:16:10 +02:00
|
|
|
// Code generated by controller-gen. DO NOT EDIT.
|
|
|
|
|
|
|
|
|
|
package v1alpha1
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// GroupStatusApplyConfiguration represents a declarative configuration of the GroupStatus type for use
|
|
|
|
|
// with apply.
|
|
|
|
|
//
|
|
|
|
|
// GroupStatus defines the observed state of Group.
|
|
|
|
|
type GroupStatusApplyConfiguration struct {
|
2026-04-21 15:42:11 +02:00
|
|
|
// ObservedGeneration is the last reconciled generation.
|
|
|
|
|
ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
|
|
|
|
|
// Conditions holds the conditions for the Group.
|
2026-04-15 10:16:10 +02:00
|
|
|
Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
|
2026-04-21 15:42:11 +02:00
|
|
|
// GroupID is the id of the created group.
|
|
|
|
|
GroupID *string `json:"groupID,omitempty"`
|
2026-04-15 10:16:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// GroupStatusApplyConfiguration constructs a declarative configuration of the GroupStatus type for use with
|
|
|
|
|
// apply.
|
|
|
|
|
func GroupStatus() *GroupStatusApplyConfiguration {
|
|
|
|
|
return &GroupStatusApplyConfiguration{}
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-21 15:42:11 +02:00
|
|
|
// WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value
|
2026-04-15 10:16:10 +02:00
|
|
|
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
2026-04-21 15:42:11 +02:00
|
|
|
// If called multiple times, the ObservedGeneration field is set to the value of the last call.
|
|
|
|
|
func (b *GroupStatusApplyConfiguration) WithObservedGeneration(value int64) *GroupStatusApplyConfiguration {
|
|
|
|
|
b.ObservedGeneration = &value
|
2026-04-15 10:16:10 +02:00
|
|
|
return b
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 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 (b *GroupStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *GroupStatusApplyConfiguration {
|
|
|
|
|
for i := range values {
|
|
|
|
|
if values[i] == nil {
|
|
|
|
|
panic("nil value passed to WithConditions")
|
|
|
|
|
}
|
|
|
|
|
b.Conditions = append(b.Conditions, *values[i])
|
|
|
|
|
}
|
|
|
|
|
return b
|
|
|
|
|
}
|
2026-04-21 15:42:11 +02:00
|
|
|
|
|
|
|
|
// WithGroupID sets the GroupID 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 GroupID field is set to the value of the last call.
|
|
|
|
|
func (b *GroupStatusApplyConfiguration) WithGroupID(value string) *GroupStatusApplyConfiguration {
|
|
|
|
|
b.GroupID = &value
|
|
|
|
|
return b
|
|
|
|
|
}
|