v1alpha1

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerOverrideApplyConfiguration

type ContainerOverrideApplyConfiguration struct {
	// Image overrides the image used by the client.
	Image           *string             `json:"image,omitempty"`
	Env             []v1.EnvVar         `json:"env,omitempty"`
	SecurityContext *v1.SecurityContext `json:"securityContext,omitempty"`
}

ContainerOverrideApplyConfiguration represents a declarative configuration of the ContainerOverride type for use with apply.

func ContainerOverride

func ContainerOverride() *ContainerOverrideApplyConfiguration

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

func (*ContainerOverrideApplyConfiguration) WithEnv

WithEnv adds the given value to the Env 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 Env field.

func (*ContainerOverrideApplyConfiguration) WithImage

WithImage sets the Image 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 Image field is set to the value of the last call.

func (*ContainerOverrideApplyConfiguration) WithSecurityContext

WithSecurityContext sets the SecurityContext 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 SecurityContext field is set to the value of the last call.

type CrossNamespaceReferenceApplyConfiguration

type CrossNamespaceReferenceApplyConfiguration struct {
	// Name of the referent.
	Name *string `json:"name,omitempty"`
	// Namespace of the referent.
	Namespace *string `json:"namespace,omitempty"`
}

CrossNamespaceReferenceApplyConfiguration represents a declarative configuration of the CrossNamespaceReference type for use with apply.

func CrossNamespaceReference

func CrossNamespaceReference() *CrossNamespaceReferenceApplyConfiguration

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

func (*CrossNamespaceReferenceApplyConfiguration) 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 (*CrossNamespaceReferenceApplyConfiguration) 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.

type DNSZoneReferenceApplyConfiguration

type DNSZoneReferenceApplyConfiguration struct {
	// Name is the domain name of an existing Netbird DNS zone, e.g. "example.com".
	Name *string `json:"name,omitempty"`
}

DNSZoneReferenceApplyConfiguration represents a declarative configuration of the DNSZoneReference type for use with apply.

DNSZoneReference references a Netbird DNS zone by domain name.

func DNSZoneReference

func DNSZoneReference() *DNSZoneReferenceApplyConfiguration

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

func (*DNSZoneReferenceApplyConfiguration) 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.

type DeploymentOverrideApplyConfiguration

type DeploymentOverrideApplyConfiguration struct {
	// Labels that will be added to the deployment.
	Labels map[string]string `json:"labels,omitempty"`
	// Annotations that will be added to the deployment.
	Annotations map[string]string `json:"annotations,omitempty"`
	// Replicas set for the deployment.
	Replicas *int32 `json:"replicas,omitempty"`
	// PodTemplate overrides the deployment pod template.
	PodTemplate *v1.PodTemplateSpec `json:"podTemplate,omitempty"`
}

DeploymentOverrideApplyConfiguration represents a declarative configuration of the DeploymentOverride type for use with apply.

func DeploymentOverride

func DeploymentOverride() *DeploymentOverrideApplyConfiguration

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

func (*DeploymentOverrideApplyConfiguration) 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 (*DeploymentOverrideApplyConfiguration) 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 (*DeploymentOverrideApplyConfiguration) WithPodTemplate

WithPodTemplate sets the PodTemplate 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 PodTemplate field is set to the value of the last call.

func (*DeploymentOverrideApplyConfiguration) WithReplicas

WithReplicas sets the Replicas 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 Replicas field is set to the value of the last call.

type GroupApplyConfiguration

type GroupApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *GroupSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *GroupStatusApplyConfiguration `json:"status,omitempty"`
}

GroupApplyConfiguration represents a declarative configuration of the Group type for use with apply.

Group is the Schema for the groups API.

func Group

func Group(name, namespace string) *GroupApplyConfiguration

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

func (*GroupApplyConfiguration) GetAPIVersion

func (b *GroupApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*GroupApplyConfiguration) GetKind

func (b *GroupApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*GroupApplyConfiguration) GetName

func (b *GroupApplyConfiguration) GetName() *string

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

func (*GroupApplyConfiguration) GetNamespace

func (b *GroupApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (GroupApplyConfiguration) IsApplyConfiguration

func (b GroupApplyConfiguration) IsApplyConfiguration()

func (*GroupApplyConfiguration) WithAPIVersion

func (b *GroupApplyConfiguration) WithAPIVersion(value string) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithAnnotations

func (b *GroupApplyConfiguration) WithAnnotations(entries map[string]string) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithCreationTimestamp

func (b *GroupApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GroupApplyConfiguration

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

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

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 (*GroupApplyConfiguration) WithDeletionTimestamp

func (b *GroupApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithFinalizers

func (b *GroupApplyConfiguration) WithFinalizers(values ...string) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithGenerateName

func (b *GroupApplyConfiguration) WithGenerateName(value string) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithGeneration

func (b *GroupApplyConfiguration) WithGeneration(value int64) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) 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 (*GroupApplyConfiguration) WithLabels

func (b *GroupApplyConfiguration) WithLabels(entries map[string]string) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) 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 (*GroupApplyConfiguration) WithNamespace

func (b *GroupApplyConfiguration) WithNamespace(value string) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) 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 (*GroupApplyConfiguration) WithResourceVersion

func (b *GroupApplyConfiguration) WithResourceVersion(value string) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithSpec

WithSpec sets the Spec 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 Spec field is set to the value of the last call.

func (*GroupApplyConfiguration) 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 (*GroupApplyConfiguration) 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 GroupReferenceApplyConfiguration

type GroupReferenceApplyConfiguration struct {
	// Name is the name of the group.
	Name *string `json:"name,omitempty"`
	// ID is the id of the group.
	ID *string `json:"id,omitempty"`
	// LocalReference is a reference to a group in the same namespace.
	LocalRef *v1.LocalObjectReference `json:"localRef,omitempty"`
}

GroupReferenceApplyConfiguration represents a declarative configuration of the GroupReference type for use with apply.

func GroupReference

func GroupReference() *GroupReferenceApplyConfiguration

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

func (*GroupReferenceApplyConfiguration) WithID

WithID sets the ID 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 ID field is set to the value of the last call.

func (*GroupReferenceApplyConfiguration) WithLocalRef

WithLocalRef sets the LocalRef 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 LocalRef field is set to the value of the last call.

func (*GroupReferenceApplyConfiguration) 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.

type GroupSpecApplyConfiguration

type GroupSpecApplyConfiguration struct {
	// Name of the group.
	Name *string `json:"name,omitempty"`
}

GroupSpecApplyConfiguration represents a declarative configuration of the GroupSpec type for use with apply.

GroupSpec defines the desired state of Group.

func GroupSpec

func GroupSpec() *GroupSpecApplyConfiguration

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

func (*GroupSpecApplyConfiguration) 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.

type GroupStatusApplyConfiguration

type GroupStatusApplyConfiguration struct {
	// ObservedGeneration is the last reconciled generation.
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
	// Conditions holds the conditions for the Group.
	Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
	// GroupID is the id of the created group.
	GroupID *string `json:"groupID,omitempty"`
}

GroupStatusApplyConfiguration represents a declarative configuration of the GroupStatus type for use with apply.

GroupStatus defines the observed state of Group.

func GroupStatus

func GroupStatus() *GroupStatusApplyConfiguration

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

func (*GroupStatusApplyConfiguration) 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 (*GroupStatusApplyConfiguration) WithGroupID

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 (*GroupStatusApplyConfiguration) WithObservedGeneration

func (b *GroupStatusApplyConfiguration) WithObservedGeneration(value int64) *GroupStatusApplyConfiguration

WithObservedGeneration sets the ObservedGeneration 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 ObservedGeneration field is set to the value of the last call.

type NetworkResourceApplyConfiguration

type NetworkResourceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NetworkResourceSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *NetworkResourceStatusApplyConfiguration `json:"status,omitempty"`
}

NetworkResourceApplyConfiguration represents a declarative configuration of the NetworkResource type for use with apply.

NetworkResource is the Schema for the networkresources API.

func NetworkResource

func NetworkResource(name, namespace string) *NetworkResourceApplyConfiguration

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

func (*NetworkResourceApplyConfiguration) GetAPIVersion

func (b *NetworkResourceApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*NetworkResourceApplyConfiguration) GetKind

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*NetworkResourceApplyConfiguration) GetName

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

func (*NetworkResourceApplyConfiguration) GetNamespace

func (b *NetworkResourceApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (NetworkResourceApplyConfiguration) IsApplyConfiguration

func (b NetworkResourceApplyConfiguration) IsApplyConfiguration()

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

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

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 (*NetworkResourceApplyConfiguration) 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 (*NetworkResourceApplyConfiguration) 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 (*NetworkResourceApplyConfiguration) 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 (*NetworkResourceApplyConfiguration) 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 (*NetworkResourceApplyConfiguration) 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 (*NetworkResourceApplyConfiguration) 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 (*NetworkResourceApplyConfiguration) 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 (*NetworkResourceApplyConfiguration) 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 (*NetworkResourceApplyConfiguration) 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 (*NetworkResourceApplyConfiguration) 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 (*NetworkResourceApplyConfiguration) WithSpec

WithSpec sets the Spec 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 Spec field is set to the value of the last call.

func (*NetworkResourceApplyConfiguration) 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 (*NetworkResourceApplyConfiguration) 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 NetworkResourceSpecApplyConfiguration

type NetworkResourceSpecApplyConfiguration struct {
	// NetworkRouterRef is a reference to the network and router where the resource will be created.
	NetworkRouterRef *CrossNamespaceReferenceApplyConfiguration `json:"networkRouterRef,omitempty"`
	// ServiceRef is a reference to the service to expose in the Network.
	ServiceRef *v1.LocalObjectReference `json:"serviceRef,omitempty"`
	// Groups are references to groups that the resource will be a part of.
	Groups []GroupReferenceApplyConfiguration `json:"groups,omitempty"`
}

NetworkResourceSpecApplyConfiguration represents a declarative configuration of the NetworkResourceSpec type for use with apply.

NetworkResourceSpec defines the desired state of NetworkResource.

func NetworkResourceSpec

func NetworkResourceSpec() *NetworkResourceSpecApplyConfiguration

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

func (*NetworkResourceSpecApplyConfiguration) WithGroups

WithGroups adds the given value to the Groups 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 Groups field.

func (*NetworkResourceSpecApplyConfiguration) WithNetworkRouterRef

WithNetworkRouterRef sets the NetworkRouterRef 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 NetworkRouterRef field is set to the value of the last call.

func (*NetworkResourceSpecApplyConfiguration) WithServiceRef

WithServiceRef sets the ServiceRef 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 ServiceRef field is set to the value of the last call.

type NetworkResourceStatusApplyConfiguration

type NetworkResourceStatusApplyConfiguration struct {
	// ObservedGeneration is the last reconciled generation.
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
	// Conditions holds the conditions for the NetworkResource.
	Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
	// NetworkID is the id of the network the resource is created in.
	NetworkID *string `json:"networkID,omitempty"`
	// ResourceID is the id of the created resource.
	ResourceID *string `json:"resourceID,omitempty"`
	// DNSZoneID is the id of the zone the DNS record is created in.
	DNSZoneID *string `json:"dnsZoneID,omitempty"`
	// DNSRecordID is the id of the created DNS record.
	DNSRecordID *string `json:"dnsRecordID,omitempty"`
}

NetworkResourceStatusApplyConfiguration represents a declarative configuration of the NetworkResourceStatus type for use with apply.

NetworkResourceStatus defines the observed state of NetworkResource.

func NetworkResourceStatus

func NetworkResourceStatus() *NetworkResourceStatusApplyConfiguration

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

func (*NetworkResourceStatusApplyConfiguration) 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 (*NetworkResourceStatusApplyConfiguration) WithDNSRecordID

WithDNSRecordID sets the DNSRecordID 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 DNSRecordID field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithDNSZoneID

WithDNSZoneID sets the DNSZoneID 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 DNSZoneID field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithNetworkID

WithNetworkID sets the NetworkID 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 NetworkID field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithObservedGeneration

WithObservedGeneration sets the ObservedGeneration 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 ObservedGeneration field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithResourceID

WithResourceID sets the ResourceID 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 ResourceID field is set to the value of the last call.

type NetworkRouterApplyConfiguration

type NetworkRouterApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NetworkRouterSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *NetworkRouterStatusApplyConfiguration `json:"status,omitempty"`
}

NetworkRouterApplyConfiguration represents a declarative configuration of the NetworkRouter type for use with apply.

NetworkRouter is the Schema for the networkrouters API.

func NetworkRouter

func NetworkRouter(name, namespace string) *NetworkRouterApplyConfiguration

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

func (*NetworkRouterApplyConfiguration) GetAPIVersion

func (b *NetworkRouterApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*NetworkRouterApplyConfiguration) GetKind

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*NetworkRouterApplyConfiguration) GetName

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

func (*NetworkRouterApplyConfiguration) GetNamespace

func (b *NetworkRouterApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (NetworkRouterApplyConfiguration) IsApplyConfiguration

func (b NetworkRouterApplyConfiguration) IsApplyConfiguration()

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

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

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 (*NetworkRouterApplyConfiguration) 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 (*NetworkRouterApplyConfiguration) 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 (*NetworkRouterApplyConfiguration) 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 (*NetworkRouterApplyConfiguration) 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 (*NetworkRouterApplyConfiguration) 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 (*NetworkRouterApplyConfiguration) 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 (*NetworkRouterApplyConfiguration) 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 (*NetworkRouterApplyConfiguration) 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 (*NetworkRouterApplyConfiguration) 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 (*NetworkRouterApplyConfiguration) 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 (*NetworkRouterApplyConfiguration) WithSpec

WithSpec sets the Spec 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 Spec field is set to the value of the last call.

func (*NetworkRouterApplyConfiguration) 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 (*NetworkRouterApplyConfiguration) 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 NetworkRouterSpecApplyConfiguration

type NetworkRouterSpecApplyConfiguration struct {
	// DNSZoneRef is a reference to the DNS zone used to create records for resources.
	DNSZoneRef *DNSZoneReferenceApplyConfiguration `json:"dnsZoneRef,omitempty"`
	// WorkloadOverride contains configuration that will override the default workload.
	WorkloadOverride *WorkloadOverrideApplyConfiguration `json:"workloadOverride,omitempty"`
}

NetworkRouterSpecApplyConfiguration represents a declarative configuration of the NetworkRouterSpec type for use with apply.

NetworkRouterSpec defines the desired state of NetworkRouter.

func NetworkRouterSpec

func NetworkRouterSpec() *NetworkRouterSpecApplyConfiguration

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

func (*NetworkRouterSpecApplyConfiguration) WithDNSZoneRef

WithDNSZoneRef sets the DNSZoneRef 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 DNSZoneRef field is set to the value of the last call.

func (*NetworkRouterSpecApplyConfiguration) WithWorkloadOverride

WithWorkloadOverride sets the WorkloadOverride 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 WorkloadOverride field is set to the value of the last call.

type NetworkRouterStatusApplyConfiguration

type NetworkRouterStatusApplyConfiguration struct {
	// ObservedGeneration is the last reconciled generation.
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
	// Conditions holds the conditions for the NetworkRouter.
	Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
	// RoutingPeerID is the id of the created routing peer.
	RoutingPeerID *string `json:"routingPeerID,omitempty"`
	// NetworkID is the id of the network the routing peer was created in.
	NetworkID *string `json:"networkID,omitempty"`
}

NetworkRouterStatusApplyConfiguration represents a declarative configuration of the NetworkRouterStatus type for use with apply.

NetworkRouterStatus defines the observed state of NetworkRouter.

func NetworkRouterStatus

func NetworkRouterStatus() *NetworkRouterStatusApplyConfiguration

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

func (*NetworkRouterStatusApplyConfiguration) 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 (*NetworkRouterStatusApplyConfiguration) WithNetworkID

WithNetworkID sets the NetworkID 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 NetworkID field is set to the value of the last call.

func (*NetworkRouterStatusApplyConfiguration) WithObservedGeneration

WithObservedGeneration sets the ObservedGeneration 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 ObservedGeneration field is set to the value of the last call.

func (*NetworkRouterStatusApplyConfiguration) WithRoutingPeerID

WithRoutingPeerID sets the RoutingPeerID 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 RoutingPeerID field is set to the value of the last call.

type ResourceReferenceApplyConfiguration

type ResourceReferenceApplyConfiguration struct {
	// ID is the id of a resource in the Netbird API.
	ID *string `json:"id,omitempty"`
	// LocalReference is a reference to a object in the same namespace.
	LocalRef *v1.LocalObjectReference `json:"localRef,omitempty"`
}

ResourceReferenceApplyConfiguration represents a declarative configuration of the ResourceReference type for use with apply.

func ResourceReference

func ResourceReference() *ResourceReferenceApplyConfiguration

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

func (*ResourceReferenceApplyConfiguration) WithID

WithID sets the ID 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 ID field is set to the value of the last call.

func (*ResourceReferenceApplyConfiguration) WithLocalRef

WithLocalRef sets the LocalRef 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 LocalRef field is set to the value of the last call.

type SetupKeyApplyConfiguration

type SetupKeyApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *SetupKeySpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *SetupKeyStatusApplyConfiguration `json:"status,omitempty"`
}

SetupKeyApplyConfiguration represents a declarative configuration of the SetupKey type for use with apply.

SetupKey is the Schema for the setupkeys API.

func SetupKey

func SetupKey(name, namespace string) *SetupKeyApplyConfiguration

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

func (*SetupKeyApplyConfiguration) GetAPIVersion

func (b *SetupKeyApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*SetupKeyApplyConfiguration) GetKind

func (b *SetupKeyApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*SetupKeyApplyConfiguration) GetName

func (b *SetupKeyApplyConfiguration) GetName() *string

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

func (*SetupKeyApplyConfiguration) GetNamespace

func (b *SetupKeyApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (SetupKeyApplyConfiguration) IsApplyConfiguration

func (b SetupKeyApplyConfiguration) IsApplyConfiguration()

func (*SetupKeyApplyConfiguration) 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 (*SetupKeyApplyConfiguration) WithAnnotations

func (b *SetupKeyApplyConfiguration) WithAnnotations(entries map[string]string) *SetupKeyApplyConfiguration

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 (*SetupKeyApplyConfiguration) WithCreationTimestamp

func (b *SetupKeyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SetupKeyApplyConfiguration

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

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

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 (*SetupKeyApplyConfiguration) WithDeletionTimestamp

func (b *SetupKeyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SetupKeyApplyConfiguration

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 (*SetupKeyApplyConfiguration) WithFinalizers

func (b *SetupKeyApplyConfiguration) WithFinalizers(values ...string) *SetupKeyApplyConfiguration

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 (*SetupKeyApplyConfiguration) WithGenerateName

func (b *SetupKeyApplyConfiguration) WithGenerateName(value string) *SetupKeyApplyConfiguration

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 (*SetupKeyApplyConfiguration) 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 (*SetupKeyApplyConfiguration) 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 (*SetupKeyApplyConfiguration) 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 (*SetupKeyApplyConfiguration) 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 (*SetupKeyApplyConfiguration) 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 (*SetupKeyApplyConfiguration) 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 (*SetupKeyApplyConfiguration) WithResourceVersion

func (b *SetupKeyApplyConfiguration) WithResourceVersion(value string) *SetupKeyApplyConfiguration

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 (*SetupKeyApplyConfiguration) WithSpec

WithSpec sets the Spec 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 Spec field is set to the value of the last call.

func (*SetupKeyApplyConfiguration) 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 (*SetupKeyApplyConfiguration) 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 SetupKeySpecApplyConfiguration

type SetupKeySpecApplyConfiguration struct {
	// Name of the setup key.
	Name *string `json:"name,omitempty"`
	// Ephemeral decides if peers added with the key are ephemeral or not.
	Ephemeral *bool `json:"ephemeral,omitempty"`
	// Duration sets how long the setup key is valid for.
	Duration *v1.Duration `json:"duration,omitempty"`
	// AutoGroups are groups that will be automatically assigned to peers using setup key.
	AutoGroups []GroupReferenceApplyConfiguration `json:"autoGroups,omitempty"`
}

SetupKeySpecApplyConfiguration represents a declarative configuration of the SetupKeySpec type for use with apply.

SetupKeySpec defines the desired state of SetupKey.

func SetupKeySpec

func SetupKeySpec() *SetupKeySpecApplyConfiguration

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

func (*SetupKeySpecApplyConfiguration) WithAutoGroups

WithAutoGroups adds the given value to the AutoGroups 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 AutoGroups field.

func (*SetupKeySpecApplyConfiguration) WithDuration

WithDuration sets the Duration 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 Duration field is set to the value of the last call.

func (*SetupKeySpecApplyConfiguration) WithEphemeral

WithEphemeral sets the Ephemeral 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 Ephemeral field is set to the value of the last call.

func (*SetupKeySpecApplyConfiguration) 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.

type SetupKeyStatusApplyConfiguration

type SetupKeyStatusApplyConfiguration struct {
	// ObservedGeneration is the last reconciled generation.
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
	// Conditions holds the conditions for the SetupKey.
	Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
	// SetupKeyID is the id of the created setup key.
	SetupKeyID *string `json:"setupKeyID,omitempty"`
}

SetupKeyStatusApplyConfiguration represents a declarative configuration of the SetupKeyStatus type for use with apply.

SetupKeyStatus defines the observed state of SetupKey.

func SetupKeyStatus

func SetupKeyStatus() *SetupKeyStatusApplyConfiguration

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

func (*SetupKeyStatusApplyConfiguration) 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 (*SetupKeyStatusApplyConfiguration) WithObservedGeneration

WithObservedGeneration sets the ObservedGeneration 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 ObservedGeneration field is set to the value of the last call.

func (*SetupKeyStatusApplyConfiguration) WithSetupKeyID

WithSetupKeyID sets the SetupKeyID 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 SetupKeyID field is set to the value of the last call.

type SidecarProfileApplyConfiguration

type SidecarProfileApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *SidecarProfileSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *SidecarProfileStatusApplyConfiguration `json:"status,omitempty"`
}

SidecarProfileApplyConfiguration represents a declarative configuration of the SidecarProfile type for use with apply.

SidecarProfile is the Schema for the sidecarprofiles API.

func SidecarProfile

func SidecarProfile(name, namespace string) *SidecarProfileApplyConfiguration

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

func (*SidecarProfileApplyConfiguration) GetAPIVersion

func (b *SidecarProfileApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*SidecarProfileApplyConfiguration) GetKind

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*SidecarProfileApplyConfiguration) GetName

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

func (*SidecarProfileApplyConfiguration) GetNamespace

func (b *SidecarProfileApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (SidecarProfileApplyConfiguration) IsApplyConfiguration

func (b SidecarProfileApplyConfiguration) IsApplyConfiguration()

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

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

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 (*SidecarProfileApplyConfiguration) 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 (*SidecarProfileApplyConfiguration) 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 (*SidecarProfileApplyConfiguration) 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 (*SidecarProfileApplyConfiguration) 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 (*SidecarProfileApplyConfiguration) 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 (*SidecarProfileApplyConfiguration) 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 (*SidecarProfileApplyConfiguration) 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 (*SidecarProfileApplyConfiguration) 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 (*SidecarProfileApplyConfiguration) 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 (*SidecarProfileApplyConfiguration) 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 (*SidecarProfileApplyConfiguration) WithSpec

WithSpec sets the Spec 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 Spec field is set to the value of the last call.

func (*SidecarProfileApplyConfiguration) 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 (*SidecarProfileApplyConfiguration) 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 SidecarProfileSpecApplyConfiguration

type SidecarProfileSpecApplyConfiguration struct {
	// SetupKeyRef is the reference to the setup key used in the client.
	SetupKeyRef *v1.LocalObjectReference `json:"setupKeyRef,omitempty"`
	// PodSelector determines which pods the profile should apply to.
	// An empty slector means the profile will apply to all pods in the namespace.
	PodSelector *metav1.LabelSelectorApplyConfiguration `json:"podSelector,omitempty"`
	// InjectionMode defines whether the sidecar is injected as a native Kubernetes sidecar container or as a regular container.
	InjectionMode *apiv1alpha1.InjectionMode `json:"injectionMode,omitempty"`
	// ExtraDNSLabels assigns additional DNS names to peers beyond their default hostname.
	ExtraDNSLabels    []string                             `json:"extraDNSLabels,omitempty"`
	ContainerOverride *ContainerOverrideApplyConfiguration `json:"containerOverride,omitempty"`
}

SidecarProfileSpecApplyConfiguration represents a declarative configuration of the SidecarProfileSpec type for use with apply.

SidecarProfileSpec defines the desired state of SidecarProfile.

func SidecarProfileSpec

func SidecarProfileSpec() *SidecarProfileSpecApplyConfiguration

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

func (*SidecarProfileSpecApplyConfiguration) WithContainerOverride

WithContainerOverride sets the ContainerOverride 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 ContainerOverride field is set to the value of the last call.

func (*SidecarProfileSpecApplyConfiguration) WithExtraDNSLabels

WithExtraDNSLabels adds the given value to the ExtraDNSLabels 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 ExtraDNSLabels field.

func (*SidecarProfileSpecApplyConfiguration) WithInjectionMode

WithInjectionMode sets the InjectionMode 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 InjectionMode field is set to the value of the last call.

func (*SidecarProfileSpecApplyConfiguration) WithPodSelector

WithPodSelector sets the PodSelector 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 PodSelector field is set to the value of the last call.

func (*SidecarProfileSpecApplyConfiguration) WithSetupKeyRef

WithSetupKeyRef sets the SetupKeyRef 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 SetupKeyRef field is set to the value of the last call.

type SidecarProfileStatusApplyConfiguration

type SidecarProfileStatusApplyConfiguration struct {
	// Conditions holds the conditions for the SidecarProfile.
	Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
}

SidecarProfileStatusApplyConfiguration represents a declarative configuration of the SidecarProfileStatus type for use with apply.

SidecarProfileStatus defines the observed state of SidecarProfile.

func SidecarProfileStatus

func SidecarProfileStatus() *SidecarProfileStatusApplyConfiguration

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

func (*SidecarProfileStatusApplyConfiguration) 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.

type WorkloadOverrideApplyConfiguration

type WorkloadOverrideApplyConfiguration struct {
	// Labels that will be added.
	Labels map[string]string `json:"labels,omitempty"`
	// Annotations that will be added.
	Annotations map[string]string `json:"annotations,omitempty"`
	// Replicas sets the amount of client replicas.
	Replicas *int32 `json:"replicas,omitempty"`
	// PodTemplate overrides the pod template.
	PodTemplate *v1.PodTemplateSpec `json:"podTemplate,omitempty"`
}

WorkloadOverrideApplyConfiguration represents a declarative configuration of the WorkloadOverride type for use with apply.

func WorkloadOverride

func WorkloadOverride() *WorkloadOverrideApplyConfiguration

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

func (*WorkloadOverrideApplyConfiguration) 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 (*WorkloadOverrideApplyConfiguration) 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 (*WorkloadOverrideApplyConfiguration) WithPodTemplate

WithPodTemplate sets the PodTemplate 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 PodTemplate field is set to the value of the last call.

func (*WorkloadOverrideApplyConfiguration) WithReplicas

WithReplicas sets the Replicas 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 Replicas 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