Documentation
¶
Index ¶
- type ContainerOverrideApplyConfiguration
- func (b *ContainerOverrideApplyConfiguration) WithEnv(values ...v1.EnvVar) *ContainerOverrideApplyConfiguration
- func (b *ContainerOverrideApplyConfiguration) WithImage(value string) *ContainerOverrideApplyConfiguration
- func (b *ContainerOverrideApplyConfiguration) WithSecurityContext(value v1.SecurityContext) *ContainerOverrideApplyConfiguration
- type CrossNamespaceReferenceApplyConfiguration
- type DNSZoneReferenceApplyConfiguration
- type DeploymentOverrideApplyConfiguration
- func (b *DeploymentOverrideApplyConfiguration) WithAnnotations(entries map[string]string) *DeploymentOverrideApplyConfiguration
- func (b *DeploymentOverrideApplyConfiguration) WithLabels(entries map[string]string) *DeploymentOverrideApplyConfiguration
- func (b *DeploymentOverrideApplyConfiguration) WithPodTemplate(value v1.PodTemplateSpec) *DeploymentOverrideApplyConfiguration
- func (b *DeploymentOverrideApplyConfiguration) WithReplicas(value int32) *DeploymentOverrideApplyConfiguration
- type GroupApplyConfiguration
- func (b *GroupApplyConfiguration) GetAPIVersion() *string
- func (b *GroupApplyConfiguration) GetKind() *string
- func (b *GroupApplyConfiguration) GetName() *string
- func (b *GroupApplyConfiguration) GetNamespace() *string
- func (b GroupApplyConfiguration) IsApplyConfiguration()
- func (b *GroupApplyConfiguration) WithAPIVersion(value string) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithAnnotations(entries map[string]string) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithFinalizers(values ...string) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithGenerateName(value string) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithGeneration(value int64) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithKind(value string) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithLabels(entries map[string]string) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithName(value string) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithNamespace(value string) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithResourceVersion(value string) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithSpec(value *GroupSpecApplyConfiguration) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithStatus(value *GroupStatusApplyConfiguration) *GroupApplyConfiguration
- func (b *GroupApplyConfiguration) WithUID(value types.UID) *GroupApplyConfiguration
- type GroupReferenceApplyConfiguration
- func (b *GroupReferenceApplyConfiguration) WithID(value string) *GroupReferenceApplyConfiguration
- func (b *GroupReferenceApplyConfiguration) WithLocalRef(value v1.LocalObjectReference) *GroupReferenceApplyConfiguration
- func (b *GroupReferenceApplyConfiguration) WithName(value string) *GroupReferenceApplyConfiguration
- type GroupSpecApplyConfiguration
- type GroupStatusApplyConfiguration
- func (b *GroupStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *GroupStatusApplyConfiguration
- func (b *GroupStatusApplyConfiguration) WithGroupID(value string) *GroupStatusApplyConfiguration
- func (b *GroupStatusApplyConfiguration) WithObservedGeneration(value int64) *GroupStatusApplyConfiguration
- type NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) GetAPIVersion() *string
- func (b *NetworkResourceApplyConfiguration) GetKind() *string
- func (b *NetworkResourceApplyConfiguration) GetName() *string
- func (b *NetworkResourceApplyConfiguration) GetNamespace() *string
- func (b NetworkResourceApplyConfiguration) IsApplyConfiguration()
- func (b *NetworkResourceApplyConfiguration) WithAPIVersion(value string) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithFinalizers(values ...string) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithGenerateName(value string) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithGeneration(value int64) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithKind(value string) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithLabels(entries map[string]string) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithName(value string) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithNamespace(value string) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithResourceVersion(value string) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithSpec(value *NetworkResourceSpecApplyConfiguration) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithStatus(value *NetworkResourceStatusApplyConfiguration) *NetworkResourceApplyConfiguration
- func (b *NetworkResourceApplyConfiguration) WithUID(value types.UID) *NetworkResourceApplyConfiguration
- type NetworkResourceSpecApplyConfiguration
- func (b *NetworkResourceSpecApplyConfiguration) WithGroups(values ...*GroupReferenceApplyConfiguration) *NetworkResourceSpecApplyConfiguration
- func (b *NetworkResourceSpecApplyConfiguration) WithNetworkRouterRef(value *CrossNamespaceReferenceApplyConfiguration) *NetworkResourceSpecApplyConfiguration
- func (b *NetworkResourceSpecApplyConfiguration) WithServiceRef(value v1.LocalObjectReference) *NetworkResourceSpecApplyConfiguration
- type NetworkResourceStatusApplyConfiguration
- func (b *NetworkResourceStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *NetworkResourceStatusApplyConfiguration
- func (b *NetworkResourceStatusApplyConfiguration) WithDNSRecordID(value string) *NetworkResourceStatusApplyConfiguration
- func (b *NetworkResourceStatusApplyConfiguration) WithDNSZoneID(value string) *NetworkResourceStatusApplyConfiguration
- func (b *NetworkResourceStatusApplyConfiguration) WithNetworkID(value string) *NetworkResourceStatusApplyConfiguration
- func (b *NetworkResourceStatusApplyConfiguration) WithObservedGeneration(value int64) *NetworkResourceStatusApplyConfiguration
- func (b *NetworkResourceStatusApplyConfiguration) WithResourceID(value string) *NetworkResourceStatusApplyConfiguration
- type NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) GetAPIVersion() *string
- func (b *NetworkRouterApplyConfiguration) GetKind() *string
- func (b *NetworkRouterApplyConfiguration) GetName() *string
- func (b *NetworkRouterApplyConfiguration) GetNamespace() *string
- func (b NetworkRouterApplyConfiguration) IsApplyConfiguration()
- func (b *NetworkRouterApplyConfiguration) WithAPIVersion(value string) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithFinalizers(values ...string) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithGenerateName(value string) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithGeneration(value int64) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithKind(value string) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithLabels(entries map[string]string) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithName(value string) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithNamespace(value string) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithResourceVersion(value string) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithSpec(value *NetworkRouterSpecApplyConfiguration) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithStatus(value *NetworkRouterStatusApplyConfiguration) *NetworkRouterApplyConfiguration
- func (b *NetworkRouterApplyConfiguration) WithUID(value types.UID) *NetworkRouterApplyConfiguration
- type NetworkRouterSpecApplyConfiguration
- type NetworkRouterStatusApplyConfiguration
- func (b *NetworkRouterStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *NetworkRouterStatusApplyConfiguration
- func (b *NetworkRouterStatusApplyConfiguration) WithNetworkID(value string) *NetworkRouterStatusApplyConfiguration
- func (b *NetworkRouterStatusApplyConfiguration) WithObservedGeneration(value int64) *NetworkRouterStatusApplyConfiguration
- func (b *NetworkRouterStatusApplyConfiguration) WithRoutingPeerID(value string) *NetworkRouterStatusApplyConfiguration
- type ResourceReferenceApplyConfiguration
- type SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) GetAPIVersion() *string
- func (b *SetupKeyApplyConfiguration) GetKind() *string
- func (b *SetupKeyApplyConfiguration) GetName() *string
- func (b *SetupKeyApplyConfiguration) GetNamespace() *string
- func (b SetupKeyApplyConfiguration) IsApplyConfiguration()
- func (b *SetupKeyApplyConfiguration) WithAPIVersion(value string) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithAnnotations(entries map[string]string) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithFinalizers(values ...string) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithGenerateName(value string) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithGeneration(value int64) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithKind(value string) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithLabels(entries map[string]string) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithName(value string) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithNamespace(value string) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithResourceVersion(value string) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithSpec(value *SetupKeySpecApplyConfiguration) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithStatus(value *SetupKeyStatusApplyConfiguration) *SetupKeyApplyConfiguration
- func (b *SetupKeyApplyConfiguration) WithUID(value types.UID) *SetupKeyApplyConfiguration
- type SetupKeySpecApplyConfiguration
- func (b *SetupKeySpecApplyConfiguration) WithAutoGroups(values ...*GroupReferenceApplyConfiguration) *SetupKeySpecApplyConfiguration
- func (b *SetupKeySpecApplyConfiguration) WithDuration(value v1.Duration) *SetupKeySpecApplyConfiguration
- func (b *SetupKeySpecApplyConfiguration) WithEphemeral(value bool) *SetupKeySpecApplyConfiguration
- func (b *SetupKeySpecApplyConfiguration) WithName(value string) *SetupKeySpecApplyConfiguration
- type SetupKeyStatusApplyConfiguration
- func (b *SetupKeyStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *SetupKeyStatusApplyConfiguration
- func (b *SetupKeyStatusApplyConfiguration) WithObservedGeneration(value int64) *SetupKeyStatusApplyConfiguration
- func (b *SetupKeyStatusApplyConfiguration) WithSetupKeyID(value string) *SetupKeyStatusApplyConfiguration
- type SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) GetAPIVersion() *string
- func (b *SidecarProfileApplyConfiguration) GetKind() *string
- func (b *SidecarProfileApplyConfiguration) GetName() *string
- func (b *SidecarProfileApplyConfiguration) GetNamespace() *string
- func (b SidecarProfileApplyConfiguration) IsApplyConfiguration()
- func (b *SidecarProfileApplyConfiguration) WithAPIVersion(value string) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithAnnotations(entries map[string]string) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithFinalizers(values ...string) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithGenerateName(value string) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithGeneration(value int64) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithKind(value string) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithLabels(entries map[string]string) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithName(value string) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithNamespace(value string) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithResourceVersion(value string) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithSpec(value *SidecarProfileSpecApplyConfiguration) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithStatus(value *SidecarProfileStatusApplyConfiguration) *SidecarProfileApplyConfiguration
- func (b *SidecarProfileApplyConfiguration) WithUID(value types.UID) *SidecarProfileApplyConfiguration
- type SidecarProfileSpecApplyConfiguration
- func (b *SidecarProfileSpecApplyConfiguration) WithContainerOverride(value *ContainerOverrideApplyConfiguration) *SidecarProfileSpecApplyConfiguration
- func (b *SidecarProfileSpecApplyConfiguration) WithExtraDNSLabels(values ...string) *SidecarProfileSpecApplyConfiguration
- func (b *SidecarProfileSpecApplyConfiguration) WithInjectionMode(value apiv1alpha1.InjectionMode) *SidecarProfileSpecApplyConfiguration
- func (b *SidecarProfileSpecApplyConfiguration) WithPodSelector(value *metav1.LabelSelectorApplyConfiguration) *SidecarProfileSpecApplyConfiguration
- func (b *SidecarProfileSpecApplyConfiguration) WithSetupKeyRef(value v1.LocalObjectReference) *SidecarProfileSpecApplyConfiguration
- type SidecarProfileStatusApplyConfiguration
- type WorkloadOverrideApplyConfiguration
- func (b *WorkloadOverrideApplyConfiguration) WithAnnotations(entries map[string]string) *WorkloadOverrideApplyConfiguration
- func (b *WorkloadOverrideApplyConfiguration) WithLabels(entries map[string]string) *WorkloadOverrideApplyConfiguration
- func (b *WorkloadOverrideApplyConfiguration) WithPodTemplate(value v1.PodTemplateSpec) *WorkloadOverrideApplyConfiguration
- func (b *WorkloadOverrideApplyConfiguration) WithReplicas(value int32) *WorkloadOverrideApplyConfiguration
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 ¶
func (b *ContainerOverrideApplyConfiguration) WithEnv(values ...v1.EnvVar) *ContainerOverrideApplyConfiguration
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 ¶
func (b *ContainerOverrideApplyConfiguration) WithImage(value string) *ContainerOverrideApplyConfiguration
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 ¶
func (b *ContainerOverrideApplyConfiguration) WithSecurityContext(value v1.SecurityContext) *ContainerOverrideApplyConfiguration
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 ¶
func (b *CrossNamespaceReferenceApplyConfiguration) WithName(value string) *CrossNamespaceReferenceApplyConfiguration
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 ¶
func (b *CrossNamespaceReferenceApplyConfiguration) WithNamespace(value string) *CrossNamespaceReferenceApplyConfiguration
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 ¶
func (b *DNSZoneReferenceApplyConfiguration) WithName(value string) *DNSZoneReferenceApplyConfiguration
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 ¶
func (b *DeploymentOverrideApplyConfiguration) WithAnnotations(entries map[string]string) *DeploymentOverrideApplyConfiguration
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 ¶
func (b *DeploymentOverrideApplyConfiguration) WithLabels(entries map[string]string) *DeploymentOverrideApplyConfiguration
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 ¶
func (b *DeploymentOverrideApplyConfiguration) WithPodTemplate(value v1.PodTemplateSpec) *DeploymentOverrideApplyConfiguration
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 ¶
func (b *DeploymentOverrideApplyConfiguration) WithReplicas(value int32) *DeploymentOverrideApplyConfiguration
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 ¶
func (b *GroupApplyConfiguration) WithKind(value string) *GroupApplyConfiguration
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 ¶
func (b *GroupApplyConfiguration) WithName(value string) *GroupApplyConfiguration
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 ¶
func (b *GroupApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GroupApplyConfiguration
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 ¶
func (b *GroupApplyConfiguration) WithSpec(value *GroupSpecApplyConfiguration) *GroupApplyConfiguration
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 ¶
func (b *GroupApplyConfiguration) WithStatus(value *GroupStatusApplyConfiguration) *GroupApplyConfiguration
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 ¶
func (b *GroupApplyConfiguration) WithUID(value types.UID) *GroupApplyConfiguration
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 ¶
func (b *GroupReferenceApplyConfiguration) WithID(value string) *GroupReferenceApplyConfiguration
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 ¶
func (b *GroupReferenceApplyConfiguration) WithLocalRef(value v1.LocalObjectReference) *GroupReferenceApplyConfiguration
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 ¶
func (b *GroupReferenceApplyConfiguration) WithName(value string) *GroupReferenceApplyConfiguration
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 ¶
func (b *GroupSpecApplyConfiguration) WithName(value string) *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.
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 ¶
func (b *GroupStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *GroupStatusApplyConfiguration
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 ¶
func (b *GroupStatusApplyConfiguration) WithGroupID(value string) *GroupStatusApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*NetworkResourceApplyConfiguration) GetName ¶
func (b *NetworkResourceApplyConfiguration) GetName() *string
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 ¶
func (b *NetworkResourceApplyConfiguration) WithAPIVersion(value string) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithFinalizers(values ...string) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithGenerateName(value string) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithGeneration(value int64) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithKind(value string) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithLabels(entries map[string]string) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithName(value string) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithNamespace(value string) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithResourceVersion(value string) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithSpec(value *NetworkResourceSpecApplyConfiguration) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithStatus(value *NetworkResourceStatusApplyConfiguration) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceApplyConfiguration) WithUID(value types.UID) *NetworkResourceApplyConfiguration
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 ¶
func (b *NetworkResourceSpecApplyConfiguration) WithGroups(values ...*GroupReferenceApplyConfiguration) *NetworkResourceSpecApplyConfiguration
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 ¶
func (b *NetworkResourceSpecApplyConfiguration) WithNetworkRouterRef(value *CrossNamespaceReferenceApplyConfiguration) *NetworkResourceSpecApplyConfiguration
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 ¶
func (b *NetworkResourceSpecApplyConfiguration) WithServiceRef(value v1.LocalObjectReference) *NetworkResourceSpecApplyConfiguration
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 ¶
func (b *NetworkResourceStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *NetworkResourceStatusApplyConfiguration
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 ¶
func (b *NetworkResourceStatusApplyConfiguration) WithDNSRecordID(value string) *NetworkResourceStatusApplyConfiguration
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 ¶
func (b *NetworkResourceStatusApplyConfiguration) WithDNSZoneID(value string) *NetworkResourceStatusApplyConfiguration
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 ¶
func (b *NetworkResourceStatusApplyConfiguration) WithNetworkID(value string) *NetworkResourceStatusApplyConfiguration
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 ¶
func (b *NetworkResourceStatusApplyConfiguration) WithObservedGeneration(value int64) *NetworkResourceStatusApplyConfiguration
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 ¶
func (b *NetworkResourceStatusApplyConfiguration) WithResourceID(value string) *NetworkResourceStatusApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*NetworkRouterApplyConfiguration) GetName ¶
func (b *NetworkRouterApplyConfiguration) GetName() *string
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 ¶
func (b *NetworkRouterApplyConfiguration) WithAPIVersion(value string) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithFinalizers(values ...string) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithGenerateName(value string) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithGeneration(value int64) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithKind(value string) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithLabels(entries map[string]string) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithName(value string) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithNamespace(value string) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithResourceVersion(value string) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithSpec(value *NetworkRouterSpecApplyConfiguration) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithStatus(value *NetworkRouterStatusApplyConfiguration) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterApplyConfiguration) WithUID(value types.UID) *NetworkRouterApplyConfiguration
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 ¶
func (b *NetworkRouterSpecApplyConfiguration) WithDNSZoneRef(value *DNSZoneReferenceApplyConfiguration) *NetworkRouterSpecApplyConfiguration
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 ¶
func (b *NetworkRouterSpecApplyConfiguration) WithWorkloadOverride(value *WorkloadOverrideApplyConfiguration) *NetworkRouterSpecApplyConfiguration
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 ¶
func (b *NetworkRouterStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *NetworkRouterStatusApplyConfiguration
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 ¶
func (b *NetworkRouterStatusApplyConfiguration) WithNetworkID(value string) *NetworkRouterStatusApplyConfiguration
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 ¶
func (b *NetworkRouterStatusApplyConfiguration) WithObservedGeneration(value int64) *NetworkRouterStatusApplyConfiguration
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 ¶
func (b *NetworkRouterStatusApplyConfiguration) WithRoutingPeerID(value string) *NetworkRouterStatusApplyConfiguration
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 ¶
func (b *ResourceReferenceApplyConfiguration) WithID(value string) *ResourceReferenceApplyConfiguration
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 ¶
func (b *ResourceReferenceApplyConfiguration) WithLocalRef(value v1.LocalObjectReference) *ResourceReferenceApplyConfiguration
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 ¶
func (b *SetupKeyApplyConfiguration) WithAPIVersion(value string) *SetupKeyApplyConfiguration
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 ¶
func (b *SetupKeyApplyConfiguration) WithGeneration(value int64) *SetupKeyApplyConfiguration
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 ¶
func (b *SetupKeyApplyConfiguration) WithKind(value string) *SetupKeyApplyConfiguration
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 ¶
func (b *SetupKeyApplyConfiguration) WithLabels(entries map[string]string) *SetupKeyApplyConfiguration
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 ¶
func (b *SetupKeyApplyConfiguration) WithName(value string) *SetupKeyApplyConfiguration
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 ¶
func (b *SetupKeyApplyConfiguration) WithNamespace(value string) *SetupKeyApplyConfiguration
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 ¶
func (b *SetupKeyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SetupKeyApplyConfiguration
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 ¶
func (b *SetupKeyApplyConfiguration) WithSpec(value *SetupKeySpecApplyConfiguration) *SetupKeyApplyConfiguration
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 ¶
func (b *SetupKeyApplyConfiguration) WithStatus(value *SetupKeyStatusApplyConfiguration) *SetupKeyApplyConfiguration
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 ¶
func (b *SetupKeyApplyConfiguration) WithUID(value types.UID) *SetupKeyApplyConfiguration
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 ¶
func (b *SetupKeySpecApplyConfiguration) WithAutoGroups(values ...*GroupReferenceApplyConfiguration) *SetupKeySpecApplyConfiguration
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 ¶
func (b *SetupKeySpecApplyConfiguration) WithDuration(value v1.Duration) *SetupKeySpecApplyConfiguration
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 ¶
func (b *SetupKeySpecApplyConfiguration) WithEphemeral(value bool) *SetupKeySpecApplyConfiguration
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 ¶
func (b *SetupKeySpecApplyConfiguration) WithName(value string) *SetupKeySpecApplyConfiguration
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 ¶
func (b *SetupKeyStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *SetupKeyStatusApplyConfiguration
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 ¶
func (b *SetupKeyStatusApplyConfiguration) WithObservedGeneration(value int64) *SetupKeyStatusApplyConfiguration
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 ¶
func (b *SetupKeyStatusApplyConfiguration) WithSetupKeyID(value string) *SetupKeyStatusApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*SidecarProfileApplyConfiguration) GetName ¶
func (b *SidecarProfileApplyConfiguration) GetName() *string
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 ¶
func (b *SidecarProfileApplyConfiguration) WithAPIVersion(value string) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithAnnotations(entries map[string]string) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithFinalizers(values ...string) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithGenerateName(value string) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithGeneration(value int64) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithKind(value string) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithLabels(entries map[string]string) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithName(value string) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithNamespace(value string) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithResourceVersion(value string) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithSpec(value *SidecarProfileSpecApplyConfiguration) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithStatus(value *SidecarProfileStatusApplyConfiguration) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileApplyConfiguration) WithUID(value types.UID) *SidecarProfileApplyConfiguration
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 ¶
func (b *SidecarProfileSpecApplyConfiguration) WithContainerOverride(value *ContainerOverrideApplyConfiguration) *SidecarProfileSpecApplyConfiguration
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 ¶
func (b *SidecarProfileSpecApplyConfiguration) WithExtraDNSLabels(values ...string) *SidecarProfileSpecApplyConfiguration
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 ¶
func (b *SidecarProfileSpecApplyConfiguration) WithInjectionMode(value apiv1alpha1.InjectionMode) *SidecarProfileSpecApplyConfiguration
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 ¶
func (b *SidecarProfileSpecApplyConfiguration) WithPodSelector(value *metav1.LabelSelectorApplyConfiguration) *SidecarProfileSpecApplyConfiguration
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 ¶
func (b *SidecarProfileSpecApplyConfiguration) WithSetupKeyRef(value v1.LocalObjectReference) *SidecarProfileSpecApplyConfiguration
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 ¶
func (b *SidecarProfileStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *SidecarProfileStatusApplyConfiguration
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 ¶
func (b *WorkloadOverrideApplyConfiguration) WithAnnotations(entries map[string]string) *WorkloadOverrideApplyConfiguration
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 ¶
func (b *WorkloadOverrideApplyConfiguration) WithLabels(entries map[string]string) *WorkloadOverrideApplyConfiguration
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 ¶
func (b *WorkloadOverrideApplyConfiguration) WithPodTemplate(value v1.PodTemplateSpec) *WorkloadOverrideApplyConfiguration
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 ¶
func (b *WorkloadOverrideApplyConfiguration) WithReplicas(value int32) *WorkloadOverrideApplyConfiguration
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.
Source Files
¶
- containeroverride.go
- crossnamespacereference.go
- deploymentoverride.go
- dnszonereference.go
- group.go
- groupreference.go
- groupspec.go
- groupstatus.go
- networkresource.go
- networkresourcespec.go
- networkresourcestatus.go
- networkrouter.go
- networkrouterspec.go
- networkrouterstatus.go
- resourcereference.go
- setupkey.go
- setupkeyspec.go
- setupkeystatus.go
- sidecarprofile.go
- sidecarprofilespec.go
- sidecarprofilestatus.go
- workloadoverride.go