v1beta1

package
v0.30.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 8 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditAnnotationApplyConfiguration added in v0.28.0

type AuditAnnotationApplyConfiguration struct {
	Key             *string `json:"key,omitempty"`
	ValueExpression *string `json:"valueExpression,omitempty"`
}

AuditAnnotationApplyConfiguration represents an declarative configuration of the AuditAnnotation type for use with apply.

func AuditAnnotation added in v0.28.0

func AuditAnnotation() *AuditAnnotationApplyConfiguration

AuditAnnotationApplyConfiguration constructs an declarative configuration of the AuditAnnotation type for use with apply.

func (*AuditAnnotationApplyConfiguration) WithKey added in v0.28.0

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

func (*AuditAnnotationApplyConfiguration) WithValueExpression added in v0.28.0

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

type ExpressionWarningApplyConfiguration added in v0.28.0

type ExpressionWarningApplyConfiguration struct {
	FieldRef *string `json:"fieldRef,omitempty"`
	Warning  *string `json:"warning,omitempty"`
}

ExpressionWarningApplyConfiguration represents an declarative configuration of the ExpressionWarning type for use with apply.

func ExpressionWarning added in v0.28.0

func ExpressionWarning() *ExpressionWarningApplyConfiguration

ExpressionWarningApplyConfiguration constructs an declarative configuration of the ExpressionWarning type for use with apply.

func (*ExpressionWarningApplyConfiguration) WithFieldRef added in v0.28.0

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

func (*ExpressionWarningApplyConfiguration) WithWarning added in v0.28.0

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

type MatchConditionApplyConfiguration added in v0.27.0

type MatchConditionApplyConfiguration struct {
	Name       *string `json:"name,omitempty"`
	Expression *string `json:"expression,omitempty"`
}

MatchConditionApplyConfiguration represents an declarative configuration of the MatchCondition type for use with apply.

func MatchCondition added in v0.27.0

func MatchCondition() *MatchConditionApplyConfiguration

MatchConditionApplyConfiguration constructs an declarative configuration of the MatchCondition type for use with apply.

func (*MatchConditionApplyConfiguration) WithExpression added in v0.27.0

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

func (*MatchConditionApplyConfiguration) WithName added in v0.27.0

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 MatchResourcesApplyConfiguration added in v0.28.0

type MatchResourcesApplyConfiguration struct {
	NamespaceSelector    *v1.LabelSelectorApplyConfiguration           `json:"namespaceSelector,omitempty"`
	ObjectSelector       *v1.LabelSelectorApplyConfiguration           `json:"objectSelector,omitempty"`
	ResourceRules        []NamedRuleWithOperationsApplyConfiguration   `json:"resourceRules,omitempty"`
	ExcludeResourceRules []NamedRuleWithOperationsApplyConfiguration   `json:"excludeResourceRules,omitempty"`
	MatchPolicy          *admissionregistrationv1beta1.MatchPolicyType `json:"matchPolicy,omitempty"`
}

MatchResourcesApplyConfiguration represents an declarative configuration of the MatchResources type for use with apply.

func MatchResources added in v0.28.0

func MatchResources() *MatchResourcesApplyConfiguration

MatchResourcesApplyConfiguration constructs an declarative configuration of the MatchResources type for use with apply.

func (*MatchResourcesApplyConfiguration) WithExcludeResourceRules added in v0.28.0

WithExcludeResourceRules adds the given value to the ExcludeResourceRules 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 ExcludeResourceRules field.

func (*MatchResourcesApplyConfiguration) WithMatchPolicy added in v0.28.0

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

func (*MatchResourcesApplyConfiguration) WithNamespaceSelector added in v0.28.0

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

func (*MatchResourcesApplyConfiguration) WithObjectSelector added in v0.28.0

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

func (*MatchResourcesApplyConfiguration) WithResourceRules added in v0.28.0

WithResourceRules adds the given value to the ResourceRules 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 ResourceRules field.

type MutatingWebhookApplyConfiguration

type MutatingWebhookApplyConfiguration struct {
	Name                    *string                                              `json:"name,omitempty"`
	ClientConfig            *WebhookClientConfigApplyConfiguration               `json:"clientConfig,omitempty"`
	Rules                   []v1.RuleWithOperationsApplyConfiguration            `json:"rules,omitempty"`
	FailurePolicy           *admissionregistrationv1beta1.FailurePolicyType      `json:"failurePolicy,omitempty"`
	MatchPolicy             *admissionregistrationv1beta1.MatchPolicyType        `json:"matchPolicy,omitempty"`
	NamespaceSelector       *metav1.LabelSelectorApplyConfiguration              `json:"namespaceSelector,omitempty"`
	ObjectSelector          *metav1.LabelSelectorApplyConfiguration              `json:"objectSelector,omitempty"`
	SideEffects             *admissionregistrationv1beta1.SideEffectClass        `json:"sideEffects,omitempty"`
	TimeoutSeconds          *int32                                               `json:"timeoutSeconds,omitempty"`
	AdmissionReviewVersions []string                                             `json:"admissionReviewVersions,omitempty"`
	ReinvocationPolicy      *admissionregistrationv1beta1.ReinvocationPolicyType `json:"reinvocationPolicy,omitempty"`
	MatchConditions         []MatchConditionApplyConfiguration                   `json:"matchConditions,omitempty"`
}

MutatingWebhookApplyConfiguration represents an declarative configuration of the MutatingWebhook type for use with apply.

func MutatingWebhook

func MutatingWebhook() *MutatingWebhookApplyConfiguration

MutatingWebhookApplyConfiguration constructs an declarative configuration of the MutatingWebhook type for use with apply.

func (*MutatingWebhookApplyConfiguration) WithAdmissionReviewVersions

func (b *MutatingWebhookApplyConfiguration) WithAdmissionReviewVersions(values ...string) *MutatingWebhookApplyConfiguration

WithAdmissionReviewVersions adds the given value to the AdmissionReviewVersions 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 AdmissionReviewVersions field.

func (*MutatingWebhookApplyConfiguration) WithClientConfig

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

func (*MutatingWebhookApplyConfiguration) WithFailurePolicy

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

func (*MutatingWebhookApplyConfiguration) WithMatchConditions added in v0.27.0

WithMatchConditions adds the given value to the MatchConditions 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 MatchConditions field.

func (*MutatingWebhookApplyConfiguration) WithMatchPolicy

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

func (*MutatingWebhookApplyConfiguration) 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 (*MutatingWebhookApplyConfiguration) WithNamespaceSelector

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

func (*MutatingWebhookApplyConfiguration) WithObjectSelector

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

func (*MutatingWebhookApplyConfiguration) WithReinvocationPolicy

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

func (*MutatingWebhookApplyConfiguration) WithRules

WithRules adds the given value to the Rules 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 Rules field.

func (*MutatingWebhookApplyConfiguration) WithSideEffects

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

func (*MutatingWebhookApplyConfiguration) WithTimeoutSeconds

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

type MutatingWebhookConfigurationApplyConfiguration

type MutatingWebhookConfigurationApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Webhooks                         []MutatingWebhookApplyConfiguration `json:"webhooks,omitempty"`
}

MutatingWebhookConfigurationApplyConfiguration represents an declarative configuration of the MutatingWebhookConfiguration type for use with apply.

func ExtractMutatingWebhookConfiguration

func ExtractMutatingWebhookConfiguration(mutatingWebhookConfiguration *admissionregistrationv1beta1.MutatingWebhookConfiguration, fieldManager string) (*MutatingWebhookConfigurationApplyConfiguration, error)

ExtractMutatingWebhookConfiguration extracts the applied configuration owned by fieldManager from mutatingWebhookConfiguration. If no managedFields are found in mutatingWebhookConfiguration for fieldManager, a MutatingWebhookConfigurationApplyConfiguration 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. mutatingWebhookConfiguration must be a unmodified MutatingWebhookConfiguration API object that was retrieved from the Kubernetes API. ExtractMutatingWebhookConfiguration 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 ExtractMutatingWebhookConfigurationStatus added in v0.22.0

func ExtractMutatingWebhookConfigurationStatus(mutatingWebhookConfiguration *admissionregistrationv1beta1.MutatingWebhookConfiguration, fieldManager string) (*MutatingWebhookConfigurationApplyConfiguration, error)

ExtractMutatingWebhookConfigurationStatus is the same as ExtractMutatingWebhookConfiguration except that it extracts the status subresource applied configuration. Experimental!

func MutatingWebhookConfiguration

func MutatingWebhookConfiguration(name string) *MutatingWebhookConfigurationApplyConfiguration

MutatingWebhookConfiguration constructs an declarative configuration of the MutatingWebhookConfiguration type for use with apply.

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

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

func (*MutatingWebhookConfigurationApplyConfiguration) WithWebhooks

WithWebhooks adds the given value to the Webhooks 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 Webhooks field.

type NamedRuleWithOperationsApplyConfiguration added in v0.28.0

type NamedRuleWithOperationsApplyConfiguration struct {
	ResourceNames                           []string `json:"resourceNames,omitempty"`
	v1.RuleWithOperationsApplyConfiguration `json:",inline"`
}

NamedRuleWithOperationsApplyConfiguration represents an declarative configuration of the NamedRuleWithOperations type for use with apply.

func NamedRuleWithOperations added in v0.28.0

func NamedRuleWithOperations() *NamedRuleWithOperationsApplyConfiguration

NamedRuleWithOperationsApplyConfiguration constructs an declarative configuration of the NamedRuleWithOperations type for use with apply.

func (*NamedRuleWithOperationsApplyConfiguration) WithAPIGroups added in v0.28.0

WithAPIGroups adds the given value to the APIGroups 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 APIGroups field.

func (*NamedRuleWithOperationsApplyConfiguration) WithAPIVersions added in v0.28.0

WithAPIVersions adds the given value to the APIVersions 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 APIVersions field.

func (*NamedRuleWithOperationsApplyConfiguration) WithOperations added in v0.28.0

WithOperations adds the given value to the Operations 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 Operations field.

func (*NamedRuleWithOperationsApplyConfiguration) WithResourceNames added in v0.28.0

WithResourceNames adds the given value to the ResourceNames 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 ResourceNames field.

func (*NamedRuleWithOperationsApplyConfiguration) WithResources added in v0.28.0

WithResources adds the given value to the Resources 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 Resources field.

func (*NamedRuleWithOperationsApplyConfiguration) WithScope added in v0.28.0

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

type ParamKindApplyConfiguration added in v0.28.0

type ParamKindApplyConfiguration struct {
	APIVersion *string `json:"apiVersion,omitempty"`
	Kind       *string `json:"kind,omitempty"`
}

ParamKindApplyConfiguration represents an declarative configuration of the ParamKind type for use with apply.

func ParamKind added in v0.28.0

func ParamKind() *ParamKindApplyConfiguration

ParamKindApplyConfiguration constructs an declarative configuration of the ParamKind type for use with apply.

func (*ParamKindApplyConfiguration) WithAPIVersion added in v0.28.0

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 (*ParamKindApplyConfiguration) WithKind added in v0.28.0

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.

type ParamRefApplyConfiguration added in v0.28.0

type ParamRefApplyConfiguration struct {
	Name                    *string                              `json:"name,omitempty"`
	Namespace               *string                              `json:"namespace,omitempty"`
	Selector                *v1.LabelSelectorApplyConfiguration  `json:"selector,omitempty"`
	ParameterNotFoundAction *v1beta1.ParameterNotFoundActionType `json:"parameterNotFoundAction,omitempty"`
}

ParamRefApplyConfiguration represents an declarative configuration of the ParamRef type for use with apply.

func ParamRef added in v0.28.0

func ParamRef() *ParamRefApplyConfiguration

ParamRefApplyConfiguration constructs an declarative configuration of the ParamRef type for use with apply.

func (*ParamRefApplyConfiguration) WithName added in v0.28.0

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 (*ParamRefApplyConfiguration) WithNamespace added in v0.28.0

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 (*ParamRefApplyConfiguration) WithParameterNotFoundAction added in v0.28.0

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

func (*ParamRefApplyConfiguration) WithSelector added in v0.28.0

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

type ServiceReferenceApplyConfiguration

type ServiceReferenceApplyConfiguration struct {
	Namespace *string `json:"namespace,omitempty"`
	Name      *string `json:"name,omitempty"`
	Path      *string `json:"path,omitempty"`
	Port      *int32  `json:"port,omitempty"`
}

ServiceReferenceApplyConfiguration represents an declarative configuration of the ServiceReference type for use with apply.

func ServiceReference

func ServiceReference() *ServiceReferenceApplyConfiguration

ServiceReferenceApplyConfiguration constructs an declarative configuration of the ServiceReference type for use with apply.

func (*ServiceReferenceApplyConfiguration) 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 (*ServiceReferenceApplyConfiguration) 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 (*ServiceReferenceApplyConfiguration) WithPath

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

func (*ServiceReferenceApplyConfiguration) WithPort

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

type TypeCheckingApplyConfiguration added in v0.28.0

type TypeCheckingApplyConfiguration struct {
	ExpressionWarnings []ExpressionWarningApplyConfiguration `json:"expressionWarnings,omitempty"`
}

TypeCheckingApplyConfiguration represents an declarative configuration of the TypeChecking type for use with apply.

func TypeChecking added in v0.28.0

func TypeChecking() *TypeCheckingApplyConfiguration

TypeCheckingApplyConfiguration constructs an declarative configuration of the TypeChecking type for use with apply.

func (*TypeCheckingApplyConfiguration) WithExpressionWarnings added in v0.28.0

WithExpressionWarnings adds the given value to the ExpressionWarnings 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 ExpressionWarnings field.

type ValidatingAdmissionPolicyApplyConfiguration added in v0.28.0

type ValidatingAdmissionPolicyApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ValidatingAdmissionPolicySpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ValidatingAdmissionPolicyStatusApplyConfiguration `json:"status,omitempty"`
}

ValidatingAdmissionPolicyApplyConfiguration represents an declarative configuration of the ValidatingAdmissionPolicy type for use with apply.

func ExtractValidatingAdmissionPolicy added in v0.28.0

func ExtractValidatingAdmissionPolicy(validatingAdmissionPolicy *admissionregistrationv1beta1.ValidatingAdmissionPolicy, fieldManager string) (*ValidatingAdmissionPolicyApplyConfiguration, error)

ExtractValidatingAdmissionPolicy extracts the applied configuration owned by fieldManager from validatingAdmissionPolicy. If no managedFields are found in validatingAdmissionPolicy for fieldManager, a ValidatingAdmissionPolicyApplyConfiguration 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. validatingAdmissionPolicy must be a unmodified ValidatingAdmissionPolicy API object that was retrieved from the Kubernetes API. ExtractValidatingAdmissionPolicy 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 ExtractValidatingAdmissionPolicyStatus added in v0.28.0

func ExtractValidatingAdmissionPolicyStatus(validatingAdmissionPolicy *admissionregistrationv1beta1.ValidatingAdmissionPolicy, fieldManager string) (*ValidatingAdmissionPolicyApplyConfiguration, error)

ExtractValidatingAdmissionPolicyStatus is the same as ExtractValidatingAdmissionPolicy except that it extracts the status subresource applied configuration. Experimental!

func ValidatingAdmissionPolicy added in v0.28.0

func ValidatingAdmissionPolicy(name string) *ValidatingAdmissionPolicyApplyConfiguration

ValidatingAdmissionPolicy constructs an declarative configuration of the ValidatingAdmissionPolicy type for use with apply.

func (*ValidatingAdmissionPolicyApplyConfiguration) WithAPIVersion added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithAnnotations added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithCreationTimestamp added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithDeletionGracePeriodSeconds added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithDeletionTimestamp added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithFinalizers added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithGenerateName added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithGeneration added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithKind added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithLabels added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithName added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithNamespace added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithOwnerReferences added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithResourceVersion added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithSpec added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithStatus added in v0.28.0

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 (*ValidatingAdmissionPolicyApplyConfiguration) WithUID added in v0.28.0

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 ValidatingAdmissionPolicyBindingApplyConfiguration added in v0.28.0

type ValidatingAdmissionPolicyBindingApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ValidatingAdmissionPolicyBindingSpecApplyConfiguration `json:"spec,omitempty"`
}

ValidatingAdmissionPolicyBindingApplyConfiguration represents an declarative configuration of the ValidatingAdmissionPolicyBinding type for use with apply.

func ExtractValidatingAdmissionPolicyBinding added in v0.28.0

func ExtractValidatingAdmissionPolicyBinding(validatingAdmissionPolicyBinding *admissionregistrationv1beta1.ValidatingAdmissionPolicyBinding, fieldManager string) (*ValidatingAdmissionPolicyBindingApplyConfiguration, error)

ExtractValidatingAdmissionPolicyBinding extracts the applied configuration owned by fieldManager from validatingAdmissionPolicyBinding. If no managedFields are found in validatingAdmissionPolicyBinding for fieldManager, a ValidatingAdmissionPolicyBindingApplyConfiguration 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. validatingAdmissionPolicyBinding must be a unmodified ValidatingAdmissionPolicyBinding API object that was retrieved from the Kubernetes API. ExtractValidatingAdmissionPolicyBinding 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 ExtractValidatingAdmissionPolicyBindingStatus added in v0.28.0

func ExtractValidatingAdmissionPolicyBindingStatus(validatingAdmissionPolicyBinding *admissionregistrationv1beta1.ValidatingAdmissionPolicyBinding, fieldManager string) (*ValidatingAdmissionPolicyBindingApplyConfiguration, error)

ExtractValidatingAdmissionPolicyBindingStatus is the same as ExtractValidatingAdmissionPolicyBinding except that it extracts the status subresource applied configuration. Experimental!

func ValidatingAdmissionPolicyBinding added in v0.28.0

func ValidatingAdmissionPolicyBinding(name string) *ValidatingAdmissionPolicyBindingApplyConfiguration

ValidatingAdmissionPolicyBinding constructs an declarative configuration of the ValidatingAdmissionPolicyBinding type for use with apply.

func (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithAPIVersion added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithAnnotations added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithCreationTimestamp added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithDeletionGracePeriodSeconds added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithDeletionTimestamp added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithFinalizers added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithGenerateName added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithGeneration added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithKind added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithLabels added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithName added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithNamespace added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithOwnerReferences added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithResourceVersion added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithSpec added in v0.28.0

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 (*ValidatingAdmissionPolicyBindingApplyConfiguration) WithUID added in v0.28.0

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 ValidatingAdmissionPolicyBindingSpecApplyConfiguration added in v0.28.0

type ValidatingAdmissionPolicyBindingSpecApplyConfiguration struct {
	PolicyName        *string                                         `json:"policyName,omitempty"`
	ParamRef          *ParamRefApplyConfiguration                     `json:"paramRef,omitempty"`
	MatchResources    *MatchResourcesApplyConfiguration               `json:"matchResources,omitempty"`
	ValidationActions []admissionregistrationv1beta1.ValidationAction `json:"validationActions,omitempty"`
}

ValidatingAdmissionPolicyBindingSpecApplyConfiguration represents an declarative configuration of the ValidatingAdmissionPolicyBindingSpec type for use with apply.

func ValidatingAdmissionPolicyBindingSpec added in v0.28.0

func ValidatingAdmissionPolicyBindingSpec() *ValidatingAdmissionPolicyBindingSpecApplyConfiguration

ValidatingAdmissionPolicyBindingSpecApplyConfiguration constructs an declarative configuration of the ValidatingAdmissionPolicyBindingSpec type for use with apply.

func (*ValidatingAdmissionPolicyBindingSpecApplyConfiguration) WithMatchResources added in v0.28.0

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

func (*ValidatingAdmissionPolicyBindingSpecApplyConfiguration) WithParamRef added in v0.28.0

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

func (*ValidatingAdmissionPolicyBindingSpecApplyConfiguration) WithPolicyName added in v0.28.0

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

func (*ValidatingAdmissionPolicyBindingSpecApplyConfiguration) WithValidationActions added in v0.28.0

WithValidationActions adds the given value to the ValidationActions 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 ValidationActions field.

type ValidatingAdmissionPolicySpecApplyConfiguration added in v0.28.0

type ValidatingAdmissionPolicySpecApplyConfiguration struct {
	ParamKind        *ParamKindApplyConfiguration                    `json:"paramKind,omitempty"`
	MatchConstraints *MatchResourcesApplyConfiguration               `json:"matchConstraints,omitempty"`
	Validations      []ValidationApplyConfiguration                  `json:"validations,omitempty"`
	FailurePolicy    *admissionregistrationv1beta1.FailurePolicyType `json:"failurePolicy,omitempty"`
	AuditAnnotations []AuditAnnotationApplyConfiguration             `json:"auditAnnotations,omitempty"`
	MatchConditions  []MatchConditionApplyConfiguration              `json:"matchConditions,omitempty"`
	Variables        []VariableApplyConfiguration                    `json:"variables,omitempty"`
}

ValidatingAdmissionPolicySpecApplyConfiguration represents an declarative configuration of the ValidatingAdmissionPolicySpec type for use with apply.

func ValidatingAdmissionPolicySpec added in v0.28.0

func ValidatingAdmissionPolicySpec() *ValidatingAdmissionPolicySpecApplyConfiguration

ValidatingAdmissionPolicySpecApplyConfiguration constructs an declarative configuration of the ValidatingAdmissionPolicySpec type for use with apply.

func (*ValidatingAdmissionPolicySpecApplyConfiguration) WithAuditAnnotations added in v0.28.0

WithAuditAnnotations adds the given value to the AuditAnnotations 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 AuditAnnotations field.

func (*ValidatingAdmissionPolicySpecApplyConfiguration) WithFailurePolicy added in v0.28.0

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

func (*ValidatingAdmissionPolicySpecApplyConfiguration) WithMatchConditions added in v0.28.0

WithMatchConditions adds the given value to the MatchConditions 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 MatchConditions field.

func (*ValidatingAdmissionPolicySpecApplyConfiguration) WithMatchConstraints added in v0.28.0

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

func (*ValidatingAdmissionPolicySpecApplyConfiguration) WithParamKind added in v0.28.0

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

func (*ValidatingAdmissionPolicySpecApplyConfiguration) WithValidations added in v0.28.0

WithValidations adds the given value to the Validations 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 Validations field.

func (*ValidatingAdmissionPolicySpecApplyConfiguration) WithVariables added in v0.28.0

WithVariables adds the given value to the Variables 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 Variables field.

type ValidatingAdmissionPolicyStatusApplyConfiguration added in v0.28.0

type ValidatingAdmissionPolicyStatusApplyConfiguration struct {
	ObservedGeneration *int64                           `json:"observedGeneration,omitempty"`
	TypeChecking       *TypeCheckingApplyConfiguration  `json:"typeChecking,omitempty"`
	Conditions         []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
}

ValidatingAdmissionPolicyStatusApplyConfiguration represents an declarative configuration of the ValidatingAdmissionPolicyStatus type for use with apply.

func ValidatingAdmissionPolicyStatus added in v0.28.0

func ValidatingAdmissionPolicyStatus() *ValidatingAdmissionPolicyStatusApplyConfiguration

ValidatingAdmissionPolicyStatusApplyConfiguration constructs an declarative configuration of the ValidatingAdmissionPolicyStatus type for use with apply.

func (*ValidatingAdmissionPolicyStatusApplyConfiguration) WithConditions added in v0.28.0

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 (*ValidatingAdmissionPolicyStatusApplyConfiguration) WithObservedGeneration added in v0.28.0

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 (*ValidatingAdmissionPolicyStatusApplyConfiguration) WithTypeChecking added in v0.28.0

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

type ValidatingWebhookApplyConfiguration

type ValidatingWebhookApplyConfiguration struct {
	Name                    *string                                         `json:"name,omitempty"`
	ClientConfig            *WebhookClientConfigApplyConfiguration          `json:"clientConfig,omitempty"`
	Rules                   []v1.RuleWithOperationsApplyConfiguration       `json:"rules,omitempty"`
	FailurePolicy           *admissionregistrationv1beta1.FailurePolicyType `json:"failurePolicy,omitempty"`
	MatchPolicy             *admissionregistrationv1beta1.MatchPolicyType   `json:"matchPolicy,omitempty"`
	NamespaceSelector       *metav1.LabelSelectorApplyConfiguration         `json:"namespaceSelector,omitempty"`
	ObjectSelector          *metav1.LabelSelectorApplyConfiguration         `json:"objectSelector,omitempty"`
	SideEffects             *admissionregistrationv1beta1.SideEffectClass   `json:"sideEffects,omitempty"`
	TimeoutSeconds          *int32                                          `json:"timeoutSeconds,omitempty"`
	AdmissionReviewVersions []string                                        `json:"admissionReviewVersions,omitempty"`
	MatchConditions         []MatchConditionApplyConfiguration              `json:"matchConditions,omitempty"`
}

ValidatingWebhookApplyConfiguration represents an declarative configuration of the ValidatingWebhook type for use with apply.

func ValidatingWebhook

func ValidatingWebhook() *ValidatingWebhookApplyConfiguration

ValidatingWebhookApplyConfiguration constructs an declarative configuration of the ValidatingWebhook type for use with apply.

func (*ValidatingWebhookApplyConfiguration) WithAdmissionReviewVersions

func (b *ValidatingWebhookApplyConfiguration) WithAdmissionReviewVersions(values ...string) *ValidatingWebhookApplyConfiguration

WithAdmissionReviewVersions adds the given value to the AdmissionReviewVersions 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 AdmissionReviewVersions field.

func (*ValidatingWebhookApplyConfiguration) WithClientConfig

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

func (*ValidatingWebhookApplyConfiguration) WithFailurePolicy

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

func (*ValidatingWebhookApplyConfiguration) WithMatchConditions added in v0.27.0

WithMatchConditions adds the given value to the MatchConditions 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 MatchConditions field.

func (*ValidatingWebhookApplyConfiguration) WithMatchPolicy

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

func (*ValidatingWebhookApplyConfiguration) 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 (*ValidatingWebhookApplyConfiguration) WithNamespaceSelector

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

func (*ValidatingWebhookApplyConfiguration) WithObjectSelector

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

func (*ValidatingWebhookApplyConfiguration) WithRules

WithRules adds the given value to the Rules 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 Rules field.

func (*ValidatingWebhookApplyConfiguration) WithSideEffects

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

func (*ValidatingWebhookApplyConfiguration) WithTimeoutSeconds

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

type ValidatingWebhookConfigurationApplyConfiguration

type ValidatingWebhookConfigurationApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Webhooks                         []ValidatingWebhookApplyConfiguration `json:"webhooks,omitempty"`
}

ValidatingWebhookConfigurationApplyConfiguration represents an declarative configuration of the ValidatingWebhookConfiguration type for use with apply.

func ExtractValidatingWebhookConfiguration

func ExtractValidatingWebhookConfiguration(validatingWebhookConfiguration *admissionregistrationv1beta1.ValidatingWebhookConfiguration, fieldManager string) (*ValidatingWebhookConfigurationApplyConfiguration, error)

ExtractValidatingWebhookConfiguration extracts the applied configuration owned by fieldManager from validatingWebhookConfiguration. If no managedFields are found in validatingWebhookConfiguration for fieldManager, a ValidatingWebhookConfigurationApplyConfiguration 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. validatingWebhookConfiguration must be a unmodified ValidatingWebhookConfiguration API object that was retrieved from the Kubernetes API. ExtractValidatingWebhookConfiguration 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 ExtractValidatingWebhookConfigurationStatus added in v0.22.0

func ExtractValidatingWebhookConfigurationStatus(validatingWebhookConfiguration *admissionregistrationv1beta1.ValidatingWebhookConfiguration, fieldManager string) (*ValidatingWebhookConfigurationApplyConfiguration, error)

ExtractValidatingWebhookConfigurationStatus is the same as ExtractValidatingWebhookConfiguration except that it extracts the status subresource applied configuration. Experimental!

func ValidatingWebhookConfiguration

func ValidatingWebhookConfiguration(name string) *ValidatingWebhookConfigurationApplyConfiguration

ValidatingWebhookConfiguration constructs an declarative configuration of the ValidatingWebhookConfiguration type for use with apply.

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

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

func (*ValidatingWebhookConfigurationApplyConfiguration) WithWebhooks

WithWebhooks adds the given value to the Webhooks 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 Webhooks field.

type ValidationApplyConfiguration added in v0.28.0

type ValidationApplyConfiguration struct {
	Expression        *string          `json:"expression,omitempty"`
	Message           *string          `json:"message,omitempty"`
	Reason            *v1.StatusReason `json:"reason,omitempty"`
	MessageExpression *string          `json:"messageExpression,omitempty"`
}

ValidationApplyConfiguration represents an declarative configuration of the Validation type for use with apply.

func Validation added in v0.28.0

func Validation() *ValidationApplyConfiguration

ValidationApplyConfiguration constructs an declarative configuration of the Validation type for use with apply.

func (*ValidationApplyConfiguration) WithExpression added in v0.28.0

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

func (*ValidationApplyConfiguration) WithMessage added in v0.28.0

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

func (*ValidationApplyConfiguration) WithMessageExpression added in v0.28.0

func (b *ValidationApplyConfiguration) WithMessageExpression(value string) *ValidationApplyConfiguration

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

func (*ValidationApplyConfiguration) WithReason added in v0.28.0

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

type VariableApplyConfiguration added in v0.28.0

type VariableApplyConfiguration struct {
	Name       *string `json:"name,omitempty"`
	Expression *string `json:"expression,omitempty"`
}

VariableApplyConfiguration represents an declarative configuration of the Variable type for use with apply.

func Variable added in v0.28.0

func Variable() *VariableApplyConfiguration

VariableApplyConfiguration constructs an declarative configuration of the Variable type for use with apply.

func (*VariableApplyConfiguration) WithExpression added in v0.28.0

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

func (*VariableApplyConfiguration) WithName added in v0.28.0

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 WebhookClientConfigApplyConfiguration

type WebhookClientConfigApplyConfiguration struct {
	URL      *string                             `json:"url,omitempty"`
	Service  *ServiceReferenceApplyConfiguration `json:"service,omitempty"`
	CABundle []byte                              `json:"caBundle,omitempty"`
}

WebhookClientConfigApplyConfiguration represents an declarative configuration of the WebhookClientConfig type for use with apply.

func WebhookClientConfig

func WebhookClientConfig() *WebhookClientConfigApplyConfiguration

WebhookClientConfigApplyConfiguration constructs an declarative configuration of the WebhookClientConfig type for use with apply.

func (*WebhookClientConfigApplyConfiguration) WithCABundle

WithCABundle adds the given value to the CABundle 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 CABundle field.

func (*WebhookClientConfigApplyConfiguration) WithService

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

func (*WebhookClientConfigApplyConfiguration) WithURL

WithURL sets the URL 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 URL 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