Files
netbird-kubernetes-operator/pkg/applyconfigurations/api/v1alpha1/groupspec.go
T
Philip LaineandGitHub af11e31b28 Add ready conditon and cleanup finalizer and status patching (#186)
This change adds a ready condition. It also sets a standard for status
fields and documentation. It makes use of helper functions from FluxCD
to better manage patching of finalizers and status.

Signed-off-by: Philip Laine <philip.laine@gmail.com>
2026-04-21 15:42:11 +02:00

27 lines
933 B
Go

// Code generated by controller-gen. DO NOT EDIT.
package v1alpha1
// GroupSpecApplyConfiguration represents a declarative configuration of the GroupSpec type for use
// with apply.
//
// GroupSpec defines the desired state of Group.
type GroupSpecApplyConfiguration struct {
// Name of the group.
Name *string `json:"name,omitempty"`
}
// GroupSpecApplyConfiguration constructs a declarative configuration of the GroupSpec type for use with
// apply.
func GroupSpec() *GroupSpecApplyConfiguration {
return &GroupSpecApplyConfiguration{}
}
// 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 (b *GroupSpecApplyConfiguration) WithName(value string) *GroupSpecApplyConfiguration {
b.Name = &value
return b
}