v1alpha3

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendTLSPolicyApplyConfiguration

type BackendTLSPolicyApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *BackendTLSPolicySpecApplyConfiguration  `json:"spec,omitempty"`
	Status                           *v1alpha2.PolicyStatusApplyConfiguration `json:"status,omitempty"`
}

BackendTLSPolicyApplyConfiguration represents a declarative configuration of the BackendTLSPolicy type for use with apply.

func BackendTLSPolicy

func BackendTLSPolicy(name, namespace string) *BackendTLSPolicyApplyConfiguration

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

func ExtractBackendTLSPolicy

func ExtractBackendTLSPolicy(backendTLSPolicy *apisv1alpha3.BackendTLSPolicy, fieldManager string) (*BackendTLSPolicyApplyConfiguration, error)

ExtractBackendTLSPolicy extracts the applied configuration owned by fieldManager from backendTLSPolicy. If no managedFields are found in backendTLSPolicy for fieldManager, a BackendTLSPolicyApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. backendTLSPolicy must be a unmodified BackendTLSPolicy API object that was retrieved from the Kubernetes API. ExtractBackendTLSPolicy provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractBackendTLSPolicyStatus

func ExtractBackendTLSPolicyStatus(backendTLSPolicy *apisv1alpha3.BackendTLSPolicy, fieldManager string) (*BackendTLSPolicyApplyConfiguration, error)

ExtractBackendTLSPolicyStatus is the same as ExtractBackendTLSPolicy except that it extracts the status subresource applied configuration. Experimental!

func (*BackendTLSPolicyApplyConfiguration) GetName added in v1.2.0

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

func (*BackendTLSPolicyApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*BackendTLSPolicyApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*BackendTLSPolicyApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*BackendTLSPolicyApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*BackendTLSPolicyApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*BackendTLSPolicyApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*BackendTLSPolicyApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*BackendTLSPolicyApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*BackendTLSPolicyApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*BackendTLSPolicyApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*BackendTLSPolicyApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*BackendTLSPolicyApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*BackendTLSPolicyApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*BackendTLSPolicyApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*BackendTLSPolicyApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*BackendTLSPolicyApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type BackendTLSPolicySpecApplyConfiguration

type BackendTLSPolicySpecApplyConfiguration struct {
	TargetRefs []v1alpha2.LocalPolicyTargetReferenceWithSectionNameApplyConfiguration `json:"targetRefs,omitempty"`
	Validation *BackendTLSPolicyValidationApplyConfiguration                          `json:"validation,omitempty"`
	Options    map[v1.AnnotationKey]v1.AnnotationValue                                `json:"options,omitempty"`
}

BackendTLSPolicySpecApplyConfiguration represents a declarative configuration of the BackendTLSPolicySpec type for use with apply.

func BackendTLSPolicySpec

func BackendTLSPolicySpec() *BackendTLSPolicySpecApplyConfiguration

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

func (*BackendTLSPolicySpecApplyConfiguration) WithOptions added in v1.2.0

WithOptions puts the entries into the Options 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 Options field, overwriting an existing map entries in Options field with the same key.

func (*BackendTLSPolicySpecApplyConfiguration) WithTargetRefs

WithTargetRefs adds the given value to the TargetRefs 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 TargetRefs field.

func (*BackendTLSPolicySpecApplyConfiguration) WithValidation

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

type BackendTLSPolicyValidationApplyConfiguration

type BackendTLSPolicyValidationApplyConfiguration struct {
	CACertificateRefs       []v1.LocalObjectReferenceApplyConfiguration `json:"caCertificateRefs,omitempty"`
	WellKnownCACertificates *v1alpha3.WellKnownCACertificatesType       `json:"wellKnownCACertificates,omitempty"`
	Hostname                *apisv1.PreciseHostname                     `json:"hostname,omitempty"`
	SubjectAltNames         []SubjectAltNameApplyConfiguration          `json:"subjectAltNames,omitempty"`
}

BackendTLSPolicyValidationApplyConfiguration represents a declarative configuration of the BackendTLSPolicyValidation type for use with apply.

func BackendTLSPolicyValidation

func BackendTLSPolicyValidation() *BackendTLSPolicyValidationApplyConfiguration

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

func (*BackendTLSPolicyValidationApplyConfiguration) WithCACertificateRefs

WithCACertificateRefs adds the given value to the CACertificateRefs 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 CACertificateRefs field.

func (*BackendTLSPolicyValidationApplyConfiguration) WithHostname

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

func (*BackendTLSPolicyValidationApplyConfiguration) WithSubjectAltNames added in v1.2.0

WithSubjectAltNames adds the given value to the SubjectAltNames 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 SubjectAltNames field.

func (*BackendTLSPolicyValidationApplyConfiguration) WithWellKnownCACertificates

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

type SubjectAltNameApplyConfiguration added in v1.2.0

type SubjectAltNameApplyConfiguration struct {
	Type     *v1alpha3.SubjectAltNameType `json:"type,omitempty"`
	Hostname *v1.Hostname                 `json:"hostname,omitempty"`
	URI      *v1.AbsoluteURI              `json:"uri,omitempty"`
}

SubjectAltNameApplyConfiguration represents a declarative configuration of the SubjectAltName type for use with apply.

func SubjectAltName added in v1.2.0

func SubjectAltName() *SubjectAltNameApplyConfiguration

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

func (*SubjectAltNameApplyConfiguration) WithHostname added in v1.2.0

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

func (*SubjectAltNameApplyConfiguration) WithType added in v1.2.0

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

func (*SubjectAltNameApplyConfiguration) WithURI added in v1.2.0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL