v1

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APICallApplyConfiguration

type APICallApplyConfiguration struct {
	URLPath *string                         `json:"urlPath,omitempty"`
	Method  *v1.Method                      `json:"method,omitempty"`
	Data    []RequestDataApplyConfiguration `json:"data,omitempty"`
	Service *ServiceCallApplyConfiguration  `json:"service,omitempty"`
}

APICallApplyConfiguration represents an declarative configuration of the APICall type for use with apply.

func APICall

func APICall() *APICallApplyConfiguration

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

func (*APICallApplyConfiguration) WithData

WithData adds the given value to the Data 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 Data field.

func (*APICallApplyConfiguration) WithMethod

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

func (*APICallApplyConfiguration) 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 (*APICallApplyConfiguration) WithURLPath

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

type AnyAllConditionsApplyConfiguration

type AnyAllConditionsApplyConfiguration struct {
	AnyConditions []ConditionApplyConfiguration `json:"any,omitempty"`
	AllConditions []ConditionApplyConfiguration `json:"all,omitempty"`
}

AnyAllConditionsApplyConfiguration represents an declarative configuration of the AnyAllConditions type for use with apply.

func AnyAllConditions

func AnyAllConditions() *AnyAllConditionsApplyConfiguration

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

func (*AnyAllConditionsApplyConfiguration) WithAllConditions

WithAllConditions adds the given value to the AllConditions 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 AllConditions field.

func (*AnyAllConditionsApplyConfiguration) WithAnyConditions

WithAnyConditions adds the given value to the AnyConditions 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 AnyConditions field.

type AttestationApplyConfiguration

type AttestationApplyConfiguration struct {
	PredicateType *string                              `json:"predicateType,omitempty"`
	Type          *string                              `json:"type,omitempty"`
	Attestors     []AttestorSetApplyConfiguration      `json:"attestors,omitempty"`
	Conditions    []AnyAllConditionsApplyConfiguration `json:"conditions,omitempty"`
}

AttestationApplyConfiguration represents an declarative configuration of the Attestation type for use with apply.

func Attestation

func Attestation() *AttestationApplyConfiguration

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

func (*AttestationApplyConfiguration) WithAttestors

WithAttestors adds the given value to the Attestors 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 Attestors field.

func (*AttestationApplyConfiguration) WithConditions

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

func (*AttestationApplyConfiguration) WithPredicateType

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

func (*AttestationApplyConfiguration) WithType

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.

type AttestorApplyConfiguration

type AttestorApplyConfiguration struct {
	Keys         *StaticKeyAttestorApplyConfiguration   `json:"keys,omitempty"`
	Certificates *CertificateAttestorApplyConfiguration `json:"certificates,omitempty"`
	Keyless      *KeylessAttestorApplyConfiguration     `json:"keyless,omitempty"`
	Attestor     *apiextensionsv1.JSON                  `json:"attestor,omitempty"`
	Annotations  map[string]string                      `json:"annotations,omitempty"`
	Repository   *string                                `json:"repository,omitempty"`
}

AttestorApplyConfiguration represents an declarative configuration of the Attestor type for use with apply.

func Attestor

func Attestor() *AttestorApplyConfiguration

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

func (*AttestorApplyConfiguration) WithAnnotations

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

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 (*AttestorApplyConfiguration) WithAttestor

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

func (*AttestorApplyConfiguration) WithCertificates

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

func (*AttestorApplyConfiguration) WithKeyless

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

func (*AttestorApplyConfiguration) WithKeys

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

func (*AttestorApplyConfiguration) WithRepository

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

type AttestorSetApplyConfiguration

type AttestorSetApplyConfiguration struct {
	Count   *int                         `json:"count,omitempty"`
	Entries []AttestorApplyConfiguration `json:"entries,omitempty"`
}

AttestorSetApplyConfiguration represents an declarative configuration of the AttestorSet type for use with apply.

func AttestorSet

func AttestorSet() *AttestorSetApplyConfiguration

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

func (*AttestorSetApplyConfiguration) WithCount

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

func (*AttestorSetApplyConfiguration) WithEntries

WithEntries adds the given value to the Entries 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 Entries field.

type AutogenStatusApplyConfiguration

type AutogenStatusApplyConfiguration struct {
	Rules []RuleApplyConfiguration `json:"rules,omitempty"`
}

AutogenStatusApplyConfiguration represents an declarative configuration of the AutogenStatus type for use with apply.

func AutogenStatus

func AutogenStatus() *AutogenStatusApplyConfiguration

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

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

type CELApplyConfiguration

type CELApplyConfiguration struct {
	Expressions      []v1alpha1.Validation      `json:"expressions,omitempty"`
	ParamKind        *v1alpha1.ParamKind        `json:"paramKind,omitempty"`
	ParamRef         *v1alpha1.ParamRef         `json:"paramRef,omitempty"`
	AuditAnnotations []v1alpha1.AuditAnnotation `json:"auditAnnotations,omitempty"`
	Variables        []v1alpha1.Variable        `json:"variables,omitempty"`
}

CELApplyConfiguration represents an declarative configuration of the CEL type for use with apply.

func CEL

func CEL() *CELApplyConfiguration

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

func (*CELApplyConfiguration) WithAuditAnnotations

func (b *CELApplyConfiguration) WithAuditAnnotations(values ...v1alpha1.AuditAnnotation) *CELApplyConfiguration

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 (*CELApplyConfiguration) WithExpressions

func (b *CELApplyConfiguration) WithExpressions(values ...v1alpha1.Validation) *CELApplyConfiguration

WithExpressions adds the given value to the Expressions 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 Expressions field.

func (*CELApplyConfiguration) WithParamKind

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 (*CELApplyConfiguration) WithParamRef

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 (*CELApplyConfiguration) WithVariables

func (b *CELApplyConfiguration) WithVariables(values ...v1alpha1.Variable) *CELApplyConfiguration

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 CTLogApplyConfiguration

type CTLogApplyConfiguration struct {
	IgnoreSCT   *bool   `json:"ignoreSCT,omitempty"`
	CTLogPubKey *string `json:"pubkey,omitempty"`
}

CTLogApplyConfiguration represents an declarative configuration of the CTLog type for use with apply.

func CTLog

func CTLog() *CTLogApplyConfiguration

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

func (*CTLogApplyConfiguration) WithCTLogPubKey

func (b *CTLogApplyConfiguration) WithCTLogPubKey(value string) *CTLogApplyConfiguration

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

func (*CTLogApplyConfiguration) WithIgnoreSCT

func (b *CTLogApplyConfiguration) WithIgnoreSCT(value bool) *CTLogApplyConfiguration

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

type CertificateAttestorApplyConfiguration

type CertificateAttestorApplyConfiguration struct {
	Certificate      *string                  `json:"cert,omitempty"`
	CertificateChain *string                  `json:"certChain,omitempty"`
	Rekor            *RekorApplyConfiguration `json:"rekor,omitempty"`
	CTLog            *CTLogApplyConfiguration `json:"ctlog,omitempty"`
}

CertificateAttestorApplyConfiguration represents an declarative configuration of the CertificateAttestor type for use with apply.

func CertificateAttestor

func CertificateAttestor() *CertificateAttestorApplyConfiguration

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

func (*CertificateAttestorApplyConfiguration) WithCTLog

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

func (*CertificateAttestorApplyConfiguration) WithCertificate

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

func (*CertificateAttestorApplyConfiguration) WithCertificateChain

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

func (*CertificateAttestorApplyConfiguration) WithRekor

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

type CloneFromApplyConfiguration

type CloneFromApplyConfiguration struct {
	Namespace *string `json:"namespace,omitempty"`
	Name      *string `json:"name,omitempty"`
}

CloneFromApplyConfiguration represents an declarative configuration of the CloneFrom type for use with apply.

func CloneFrom

func CloneFrom() *CloneFromApplyConfiguration

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

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

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

type CloneListApplyConfiguration

type CloneListApplyConfiguration struct {
	Namespace *string           `json:"namespace,omitempty"`
	Kinds     []string          `json:"kinds,omitempty"`
	Selector  *v1.LabelSelector `json:"selector,omitempty"`
}

CloneListApplyConfiguration represents an declarative configuration of the CloneList type for use with apply.

func CloneList

func CloneList() *CloneListApplyConfiguration

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

func (*CloneListApplyConfiguration) WithKinds

WithKinds adds the given value to the Kinds 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 Kinds field.

func (*CloneListApplyConfiguration) 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 (*CloneListApplyConfiguration) WithSelector

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 ClusterPolicyApplyConfiguration

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

ClusterPolicyApplyConfiguration represents an declarative configuration of the ClusterPolicy type for use with apply.

func ClusterPolicy

func ClusterPolicy(name string) *ClusterPolicyApplyConfiguration

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

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

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

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 (*ClusterPolicyApplyConfiguration) 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 (*ClusterPolicyApplyConfiguration) 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 (*ClusterPolicyApplyConfiguration) 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 (*ClusterPolicyApplyConfiguration) 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 (*ClusterPolicyApplyConfiguration) 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 (*ClusterPolicyApplyConfiguration) 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 (*ClusterPolicyApplyConfiguration) 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 (*ClusterPolicyApplyConfiguration) 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 (*ClusterPolicyApplyConfiguration) 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 (*ClusterPolicyApplyConfiguration) 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 (*ClusterPolicyApplyConfiguration) 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 (*ClusterPolicyApplyConfiguration) 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 (*ClusterPolicyApplyConfiguration) 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 ConditionApplyConfiguration

type ConditionApplyConfiguration struct {
	RawKey   *v1.JSON                     `json:"key,omitempty"`
	Operator *kyvernov1.ConditionOperator `json:"operator,omitempty"`
	RawValue *v1.JSON                     `json:"value,omitempty"`
	Message  *string                      `json:"message,omitempty"`
}

ConditionApplyConfiguration represents an declarative configuration of the Condition type for use with apply.

func Condition

func Condition() *ConditionApplyConfiguration

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

func (*ConditionApplyConfiguration) WithMessage

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 (*ConditionApplyConfiguration) WithOperator

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

func (*ConditionApplyConfiguration) WithRawKey

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

func (*ConditionApplyConfiguration) WithRawValue

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

type ConfigMapReferenceApplyConfiguration

type ConfigMapReferenceApplyConfiguration struct {
	Name      *string `json:"name,omitempty"`
	Namespace *string `json:"namespace,omitempty"`
}

ConfigMapReferenceApplyConfiguration represents an declarative configuration of the ConfigMapReference type for use with apply.

func ConfigMapReference

func ConfigMapReference() *ConfigMapReferenceApplyConfiguration

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

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

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

type ContextAPICallApplyConfiguration added in v1.12.0

type ContextAPICallApplyConfiguration struct {
	APICallApplyConfiguration `json:",inline"`
	JMESPath                  *string `json:"jmesPath,omitempty"`
}

ContextAPICallApplyConfiguration represents an declarative configuration of the ContextAPICall type for use with apply.

func ContextAPICall added in v1.12.0

func ContextAPICall() *ContextAPICallApplyConfiguration

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

func (*ContextAPICallApplyConfiguration) WithData added in v1.12.0

WithData adds the given value to the Data 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 Data field.

func (*ContextAPICallApplyConfiguration) WithJMESPath added in v1.12.0

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

func (*ContextAPICallApplyConfiguration) WithMethod added in v1.12.0

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

func (*ContextAPICallApplyConfiguration) WithService added in v1.12.0

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 (*ContextAPICallApplyConfiguration) WithURLPath added in v1.12.0

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

type ContextEntryApplyConfiguration

type ContextEntryApplyConfiguration struct {
	Name            *string                                        `json:"name,omitempty"`
	ConfigMap       *ConfigMapReferenceApplyConfiguration          `json:"configMap,omitempty"`
	APICall         *ContextAPICallApplyConfiguration              `json:"apiCall,omitempty"`
	ImageRegistry   *ImageRegistryApplyConfiguration               `json:"imageRegistry,omitempty"`
	Variable        *VariableApplyConfiguration                    `json:"variable,omitempty"`
	GlobalReference *GlobalContextEntryReferenceApplyConfiguration `json:"globalReference,omitempty"`
}

ContextEntryApplyConfiguration represents an declarative configuration of the ContextEntry type for use with apply.

func ContextEntry

func ContextEntry() *ContextEntryApplyConfiguration

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

func (*ContextEntryApplyConfiguration) WithAPICall

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

func (*ContextEntryApplyConfiguration) WithConfigMap

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

func (*ContextEntryApplyConfiguration) WithGlobalReference added in v1.12.0

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

func (*ContextEntryApplyConfiguration) WithImageRegistry

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

func (*ContextEntryApplyConfiguration) 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 (*ContextEntryApplyConfiguration) WithVariable

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

type DenyApplyConfiguration

type DenyApplyConfiguration struct {
	RawAnyAllConditions *v1.JSON `json:"conditions,omitempty"`
}

DenyApplyConfiguration represents an declarative configuration of the Deny type for use with apply.

func Deny

func Deny() *DenyApplyConfiguration

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

func (*DenyApplyConfiguration) WithRawAnyAllConditions

func (b *DenyApplyConfiguration) WithRawAnyAllConditions(value v1.JSON) *DenyApplyConfiguration

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

type DryRunOptionApplyConfiguration

type DryRunOptionApplyConfiguration struct {
	Enable    *bool   `json:"enable,omitempty"`
	Namespace *string `json:"namespace,omitempty"`
}

DryRunOptionApplyConfiguration represents an declarative configuration of the DryRunOption type for use with apply.

func DryRunOption

func DryRunOption() *DryRunOptionApplyConfiguration

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

func (*DryRunOptionApplyConfiguration) WithEnable

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

func (*DryRunOptionApplyConfiguration) WithNamespace

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

type ForEachMutationApplyConfiguration

type ForEachMutationApplyConfiguration struct {
	List                   *string                             `json:"list,omitempty"`
	Order                  *v1.ForeachOrder                    `json:"order,omitempty"`
	Context                []ContextEntryApplyConfiguration    `json:"context,omitempty"`
	AnyAllConditions       *AnyAllConditionsApplyConfiguration `json:"preconditions,omitempty"`
	RawPatchStrategicMerge *apiextensionsv1.JSON               `json:"patchStrategicMerge,omitempty"`
	PatchesJSON6902        *string                             `json:"patchesJson6902,omitempty"`
	ForEachMutation        *apiextensionsv1.JSON               `json:"foreach,omitempty"`
}

ForEachMutationApplyConfiguration represents an declarative configuration of the ForEachMutation type for use with apply.

func ForEachMutation

func ForEachMutation() *ForEachMutationApplyConfiguration

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

func (*ForEachMutationApplyConfiguration) WithAnyAllConditions

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

func (*ForEachMutationApplyConfiguration) WithContext

WithContext adds the given value to the Context 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 Context field.

func (*ForEachMutationApplyConfiguration) WithForEachMutation

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

func (*ForEachMutationApplyConfiguration) WithList

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

func (*ForEachMutationApplyConfiguration) WithOrder

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

func (*ForEachMutationApplyConfiguration) WithPatchesJSON6902

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

func (*ForEachMutationApplyConfiguration) WithRawPatchStrategicMerge

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

type ForEachValidationApplyConfiguration

type ForEachValidationApplyConfiguration struct {
	List              *string                             `json:"list,omitempty"`
	ElementScope      *bool                               `json:"elementScope,omitempty"`
	Context           []ContextEntryApplyConfiguration    `json:"context,omitempty"`
	AnyAllConditions  *AnyAllConditionsApplyConfiguration `json:"preconditions,omitempty"`
	RawPattern        *apiextensionsv1.JSON               `json:"pattern,omitempty"`
	RawAnyPattern     *apiextensionsv1.JSON               `json:"anyPattern,omitempty"`
	Deny              *DenyApplyConfiguration             `json:"deny,omitempty"`
	ForEachValidation *apiextensionsv1.JSON               `json:"foreach,omitempty"`
}

ForEachValidationApplyConfiguration represents an declarative configuration of the ForEachValidation type for use with apply.

func ForEachValidation

func ForEachValidation() *ForEachValidationApplyConfiguration

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

func (*ForEachValidationApplyConfiguration) WithAnyAllConditions

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

func (*ForEachValidationApplyConfiguration) WithContext

WithContext adds the given value to the Context 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 Context field.

func (*ForEachValidationApplyConfiguration) WithDeny

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

func (*ForEachValidationApplyConfiguration) WithElementScope

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

func (*ForEachValidationApplyConfiguration) WithForEachValidation

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

func (*ForEachValidationApplyConfiguration) WithList

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

func (*ForEachValidationApplyConfiguration) WithRawAnyPattern

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

func (*ForEachValidationApplyConfiguration) WithRawPattern

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

type GenerationApplyConfiguration

type GenerationApplyConfiguration struct {
	*ResourceSpecApplyConfiguration `json:"ResourceSpec,omitempty"`
	Synchronize                     *bool                        `json:"synchronize,omitempty"`
	OrphanDownstreamOnPolicyDelete  *bool                        `json:"orphanDownstreamOnPolicyDelete,omitempty"`
	RawData                         *apiextensionsv1.JSON        `json:"data,omitempty"`
	Clone                           *CloneFromApplyConfiguration `json:"clone,omitempty"`
	CloneList                       *CloneListApplyConfiguration `json:"cloneList,omitempty"`
}

GenerationApplyConfiguration represents an declarative configuration of the Generation type for use with apply.

func Generation

func Generation() *GenerationApplyConfiguration

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

func (*GenerationApplyConfiguration) 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 (*GenerationApplyConfiguration) WithClone

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

func (*GenerationApplyConfiguration) WithCloneList

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

func (*GenerationApplyConfiguration) 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 (*GenerationApplyConfiguration) 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 (*GenerationApplyConfiguration) 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 (*GenerationApplyConfiguration) WithOrphanDownstreamOnPolicyDelete added in v1.12.0

func (b *GenerationApplyConfiguration) WithOrphanDownstreamOnPolicyDelete(value bool) *GenerationApplyConfiguration

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

func (*GenerationApplyConfiguration) WithRawData

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

func (*GenerationApplyConfiguration) WithSynchronize

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

func (*GenerationApplyConfiguration) WithUID added in v1.11.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 GlobalContextEntryReferenceApplyConfiguration added in v1.12.0

type GlobalContextEntryReferenceApplyConfiguration struct {
	Name     *string `json:"name,omitempty"`
	JMESPath *string `json:"jmesPath,omitempty"`
}

GlobalContextEntryReferenceApplyConfiguration represents an declarative configuration of the GlobalContextEntryReference type for use with apply.

func GlobalContextEntryReference added in v1.12.0

func GlobalContextEntryReference() *GlobalContextEntryReferenceApplyConfiguration

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

func (*GlobalContextEntryReferenceApplyConfiguration) WithJMESPath added in v1.12.0

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

func (*GlobalContextEntryReferenceApplyConfiguration) WithName added in v1.12.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 ImageExtractorConfigApplyConfiguration

type ImageExtractorConfigApplyConfiguration struct {
	Path     *string `json:"path,omitempty"`
	Value    *string `json:"value,omitempty"`
	Name     *string `json:"name,omitempty"`
	Key      *string `json:"key,omitempty"`
	JMESPath *string `json:"jmesPath,omitempty"`
}

ImageExtractorConfigApplyConfiguration represents an declarative configuration of the ImageExtractorConfig type for use with apply.

func ImageExtractorConfig

func ImageExtractorConfig() *ImageExtractorConfigApplyConfiguration

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

func (*ImageExtractorConfigApplyConfiguration) WithJMESPath

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

func (*ImageExtractorConfigApplyConfiguration) WithKey

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 (*ImageExtractorConfigApplyConfiguration) 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 (*ImageExtractorConfigApplyConfiguration) 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 (*ImageExtractorConfigApplyConfiguration) WithValue

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

type ImageRegistryApplyConfiguration

type ImageRegistryApplyConfiguration struct {
	Reference                *string                                     `json:"reference,omitempty"`
	JMESPath                 *string                                     `json:"jmesPath,omitempty"`
	ImageRegistryCredentials *ImageRegistryCredentialsApplyConfiguration `json:"imageRegistryCredentials,omitempty"`
}

ImageRegistryApplyConfiguration represents an declarative configuration of the ImageRegistry type for use with apply.

func ImageRegistry

func ImageRegistry() *ImageRegistryApplyConfiguration

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

func (*ImageRegistryApplyConfiguration) WithImageRegistryCredentials

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

func (*ImageRegistryApplyConfiguration) WithJMESPath

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

func (*ImageRegistryApplyConfiguration) WithReference

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

type ImageRegistryCredentialsApplyConfiguration

type ImageRegistryCredentialsApplyConfiguration struct {
	AllowInsecureRegistry *bool                                      `json:"allowInsecureRegistry,omitempty"`
	Providers             []v1.ImageRegistryCredentialsProvidersType `json:"providers,omitempty"`
	Secrets               []string                                   `json:"secrets,omitempty"`
}

ImageRegistryCredentialsApplyConfiguration represents an declarative configuration of the ImageRegistryCredentials type for use with apply.

func ImageRegistryCredentials

func ImageRegistryCredentials() *ImageRegistryCredentialsApplyConfiguration

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

func (*ImageRegistryCredentialsApplyConfiguration) WithAllowInsecureRegistry

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

func (*ImageRegistryCredentialsApplyConfiguration) WithProviders

WithProviders adds the given value to the Providers 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 Providers field.

func (*ImageRegistryCredentialsApplyConfiguration) WithSecrets

WithSecrets adds the given value to the Secrets 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 Secrets field.

type ImageVerificationApplyConfiguration

type ImageVerificationApplyConfiguration struct {
	Type                     *v1.ImageVerificationType                   `json:"type,omitempty"`
	Image                    *string                                     `json:"image,omitempty"`
	ImageReferences          []string                                    `json:"imageReferences,omitempty"`
	SkipImageReferences      []string                                    `json:"skipImageReferences,omitempty"`
	Key                      *string                                     `json:"key,omitempty"`
	Roots                    *string                                     `json:"roots,omitempty"`
	Subject                  *string                                     `json:"subject,omitempty"`
	Issuer                   *string                                     `json:"issuer,omitempty"`
	AdditionalExtensions     map[string]string                           `json:"additionalExtensions,omitempty"`
	Attestors                []AttestorSetApplyConfiguration             `json:"attestors,omitempty"`
	Attestations             []AttestationApplyConfiguration             `json:"attestations,omitempty"`
	Annotations              map[string]string                           `json:"annotations,omitempty"`
	Repository               *string                                     `json:"repository,omitempty"`
	MutateDigest             *bool                                       `json:"mutateDigest,omitempty"`
	VerifyDigest             *bool                                       `json:"verifyDigest,omitempty"`
	Required                 *bool                                       `json:"required,omitempty"`
	ImageRegistryCredentials *ImageRegistryCredentialsApplyConfiguration `json:"imageRegistryCredentials,omitempty"`
	UseCache                 *bool                                       `json:"useCache,omitempty"`
}

ImageVerificationApplyConfiguration represents an declarative configuration of the ImageVerification type for use with apply.

func ImageVerification

func ImageVerification() *ImageVerificationApplyConfiguration

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

func (*ImageVerificationApplyConfiguration) WithAdditionalExtensions

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

func (*ImageVerificationApplyConfiguration) 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 (*ImageVerificationApplyConfiguration) WithAttestations

WithAttestations adds the given value to the Attestations 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 Attestations field.

func (*ImageVerificationApplyConfiguration) WithAttestors

WithAttestors adds the given value to the Attestors 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 Attestors field.

func (*ImageVerificationApplyConfiguration) WithImage

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

func (*ImageVerificationApplyConfiguration) WithImageReferences

WithImageReferences adds the given value to the ImageReferences 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 ImageReferences field.

func (*ImageVerificationApplyConfiguration) WithImageRegistryCredentials

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

func (*ImageVerificationApplyConfiguration) WithIssuer

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

func (*ImageVerificationApplyConfiguration) WithKey

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 (*ImageVerificationApplyConfiguration) WithMutateDigest

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

func (*ImageVerificationApplyConfiguration) WithRepository

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

func (*ImageVerificationApplyConfiguration) WithRequired

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

func (*ImageVerificationApplyConfiguration) WithRoots

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

func (*ImageVerificationApplyConfiguration) WithSkipImageReferences added in v1.12.0

WithSkipImageReferences adds the given value to the SkipImageReferences 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 SkipImageReferences field.

func (*ImageVerificationApplyConfiguration) WithSubject

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

func (*ImageVerificationApplyConfiguration) WithType

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 (*ImageVerificationApplyConfiguration) WithUseCache

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

func (*ImageVerificationApplyConfiguration) WithVerifyDigest

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

type KeylessAttestorApplyConfiguration

type KeylessAttestorApplyConfiguration struct {
	Rekor                *RekorApplyConfiguration `json:"rekor,omitempty"`
	CTLog                *CTLogApplyConfiguration `json:"ctlog,omitempty"`
	Issuer               *string                  `json:"issuer,omitempty"`
	Subject              *string                  `json:"subject,omitempty"`
	Roots                *string                  `json:"roots,omitempty"`
	AdditionalExtensions map[string]string        `json:"additionalExtensions,omitempty"`
}

KeylessAttestorApplyConfiguration represents an declarative configuration of the KeylessAttestor type for use with apply.

func KeylessAttestor

func KeylessAttestor() *KeylessAttestorApplyConfiguration

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

func (*KeylessAttestorApplyConfiguration) WithAdditionalExtensions

func (b *KeylessAttestorApplyConfiguration) WithAdditionalExtensions(entries map[string]string) *KeylessAttestorApplyConfiguration

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

func (*KeylessAttestorApplyConfiguration) WithCTLog

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

func (*KeylessAttestorApplyConfiguration) WithIssuer

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

func (*KeylessAttestorApplyConfiguration) WithRekor

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

func (*KeylessAttestorApplyConfiguration) WithRoots

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

func (*KeylessAttestorApplyConfiguration) WithSubject

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

type ManifestsApplyConfiguration

type ManifestsApplyConfiguration struct {
	Attestors        []AttestorSetApplyConfiguration `json:"attestors,omitempty"`
	AnnotationDomain *string                         `json:"annotationDomain,omitempty"`
	IgnoreFields     *kyvernov1.IgnoreFieldList      `json:"ignoreFields,omitempty"`
	DryRunOption     *DryRunOptionApplyConfiguration `json:"dryRun,omitempty"`
	Repository       *string                         `json:"repository,omitempty"`
}

ManifestsApplyConfiguration represents an declarative configuration of the Manifests type for use with apply.

func Manifests

func Manifests() *ManifestsApplyConfiguration

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

func (*ManifestsApplyConfiguration) WithAnnotationDomain

func (b *ManifestsApplyConfiguration) WithAnnotationDomain(value string) *ManifestsApplyConfiguration

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

func (*ManifestsApplyConfiguration) WithAttestors

WithAttestors adds the given value to the Attestors 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 Attestors field.

func (*ManifestsApplyConfiguration) WithDryRunOption

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

func (*ManifestsApplyConfiguration) WithIgnoreFields

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

func (*ManifestsApplyConfiguration) WithRepository

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

type MatchResourcesApplyConfiguration

type MatchResourcesApplyConfiguration struct {
	Any                                    *v1.ResourceFilters `json:"any,omitempty"`
	All                                    *v1.ResourceFilters `json:"all,omitempty"`
	*UserInfoApplyConfiguration            `json:"UserInfo,omitempty"`
	*ResourceDescriptionApplyConfiguration `json:"resources,omitempty"`
}

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

func MatchResources

func MatchResources() *MatchResourcesApplyConfiguration

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

func (*MatchResourcesApplyConfiguration) WithAll

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

func (*MatchResourcesApplyConfiguration) 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 (*MatchResourcesApplyConfiguration) WithAny

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

func (*MatchResourcesApplyConfiguration) WithClusterRoles

WithClusterRoles adds the given value to the ClusterRoles 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 ClusterRoles field.

func (*MatchResourcesApplyConfiguration) WithKinds

WithKinds adds the given value to the Kinds 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 Kinds field.

func (*MatchResourcesApplyConfiguration) 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 (*MatchResourcesApplyConfiguration) WithNames

WithNames adds the given value to the Names 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 Names field.

func (*MatchResourcesApplyConfiguration) 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 (*MatchResourcesApplyConfiguration) WithNamespaces

WithNamespaces adds the given value to the Namespaces 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 Namespaces field.

func (*MatchResourcesApplyConfiguration) WithOperations

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 (*MatchResourcesApplyConfiguration) WithRoles

WithRoles adds the given value to the Roles 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 Roles field.

func (*MatchResourcesApplyConfiguration) WithSelector

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.

func (*MatchResourcesApplyConfiguration) WithSubjects

WithSubjects adds the given value to the Subjects 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 Subjects field.

type MutationApplyConfiguration

type MutationApplyConfiguration struct {
	Targets                []TargetResourceSpecApplyConfiguration `json:"targets,omitempty"`
	RawPatchStrategicMerge *apiextensionsv1.JSON                  `json:"patchStrategicMerge,omitempty"`
	PatchesJSON6902        *string                                `json:"patchesJson6902,omitempty"`
	ForEachMutation        []ForEachMutationApplyConfiguration    `json:"foreach,omitempty"`
}

MutationApplyConfiguration represents an declarative configuration of the Mutation type for use with apply.

func Mutation

func Mutation() *MutationApplyConfiguration

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

func (*MutationApplyConfiguration) WithForEachMutation

WithForEachMutation adds the given value to the ForEachMutation 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 ForEachMutation field.

func (*MutationApplyConfiguration) WithPatchesJSON6902

func (b *MutationApplyConfiguration) WithPatchesJSON6902(value string) *MutationApplyConfiguration

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

func (*MutationApplyConfiguration) WithRawPatchStrategicMerge

func (b *MutationApplyConfiguration) WithRawPatchStrategicMerge(value apiextensionsv1.JSON) *MutationApplyConfiguration

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

func (*MutationApplyConfiguration) WithTargets

WithTargets adds the given value to the Targets 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 Targets field.

type ObjectFieldBindingApplyConfiguration

type ObjectFieldBindingApplyConfiguration struct {
	Fields  []string                         `json:"fields,omitempty"`
	Objects *k8smanifest.ObjectReferenceList `json:"objects,omitempty"`
}

ObjectFieldBindingApplyConfiguration represents an declarative configuration of the ObjectFieldBinding type for use with apply.

func ObjectFieldBinding

func ObjectFieldBinding() *ObjectFieldBindingApplyConfiguration

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

func (*ObjectFieldBindingApplyConfiguration) WithFields

WithFields adds the given value to the Fields 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 Fields field.

func (*ObjectFieldBindingApplyConfiguration) WithObjects

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

type PodSecurityApplyConfiguration

type PodSecurityApplyConfiguration struct {
	Level   *api.Level                              `json:"level,omitempty"`
	Version *string                                 `json:"version,omitempty"`
	Exclude []PodSecurityStandardApplyConfiguration `json:"exclude,omitempty"`
}

PodSecurityApplyConfiguration represents an declarative configuration of the PodSecurity type for use with apply.

func PodSecurity

func PodSecurity() *PodSecurityApplyConfiguration

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

func (*PodSecurityApplyConfiguration) WithExclude

WithExclude adds the given value to the Exclude 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 Exclude field.

func (*PodSecurityApplyConfiguration) WithLevel

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

func (*PodSecurityApplyConfiguration) WithVersion

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

type PodSecurityStandardApplyConfiguration

type PodSecurityStandardApplyConfiguration struct {
	ControlName     *string  `json:"controlName,omitempty"`
	Images          []string `json:"images,omitempty"`
	RestrictedField *string  `json:"restrictedField,omitempty"`
	Values          []string `json:"values,omitempty"`
}

PodSecurityStandardApplyConfiguration represents an declarative configuration of the PodSecurityStandard type for use with apply.

func PodSecurityStandard

func PodSecurityStandard() *PodSecurityStandardApplyConfiguration

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

func (*PodSecurityStandardApplyConfiguration) WithControlName

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

func (*PodSecurityStandardApplyConfiguration) WithImages

WithImages adds the given value to the Images 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 Images field.

func (*PodSecurityStandardApplyConfiguration) WithRestrictedField added in v1.12.0

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

func (*PodSecurityStandardApplyConfiguration) WithValues added in v1.12.0

WithValues adds the given value to the Values 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 Values field.

type PolicyApplyConfiguration

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

PolicyApplyConfiguration represents an declarative configuration of the Policy type for use with apply.

func Policy

func Policy(name, namespace string) *PolicyApplyConfiguration

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

func (*PolicyApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*PolicyApplyConfiguration) 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 (*PolicyApplyConfiguration) 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 (*PolicyApplyConfiguration) 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 PolicyStatusApplyConfiguration

type PolicyStatusApplyConfiguration struct {
	Ready                     *bool                                              `json:"ready,omitempty"`
	Conditions                []v1.Condition                                     `json:"conditions,omitempty"`
	Autogen                   *AutogenStatusApplyConfiguration                   `json:"autogen,omitempty"`
	RuleCount                 *RuleCountStatusApplyConfiguration                 `json:"rulecount,omitempty"`
	ValidatingAdmissionPolicy *ValidatingAdmissionPolicyStatusApplyConfiguration `json:"validatingadmissionpolicy,omitempty"`
}

PolicyStatusApplyConfiguration represents an declarative configuration of the PolicyStatus type for use with apply.

func PolicyStatus

func PolicyStatus() *PolicyStatusApplyConfiguration

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

func (*PolicyStatusApplyConfiguration) WithAutogen

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

func (*PolicyStatusApplyConfiguration) WithConditions

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

func (*PolicyStatusApplyConfiguration) WithReady

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

func (*PolicyStatusApplyConfiguration) WithRuleCount

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

func (*PolicyStatusApplyConfiguration) WithValidatingAdmissionPolicy

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

type RekorApplyConfiguration

type RekorApplyConfiguration struct {
	URL         *string `json:"url,omitempty"`
	RekorPubKey *string `json:"pubkey,omitempty"`
	IgnoreTlog  *bool   `json:"ignoreTlog,omitempty"`
}

RekorApplyConfiguration represents an declarative configuration of the Rekor type for use with apply.

func Rekor

func Rekor() *RekorApplyConfiguration

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

func (*RekorApplyConfiguration) WithIgnoreTlog

func (b *RekorApplyConfiguration) WithIgnoreTlog(value bool) *RekorApplyConfiguration

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

func (*RekorApplyConfiguration) WithRekorPubKey

func (b *RekorApplyConfiguration) WithRekorPubKey(value string) *RekorApplyConfiguration

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

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

type RequestDataApplyConfiguration

type RequestDataApplyConfiguration struct {
	Key   *string  `json:"key,omitempty"`
	Value *v1.JSON `json:"value,omitempty"`
}

RequestDataApplyConfiguration represents an declarative configuration of the RequestData type for use with apply.

func RequestData

func RequestData() *RequestDataApplyConfiguration

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

func (*RequestDataApplyConfiguration) WithKey

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 (*RequestDataApplyConfiguration) WithValue

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

type ResourceDescriptionApplyConfiguration

type ResourceDescriptionApplyConfiguration struct {
	Kinds             []string                       `json:"kinds,omitempty"`
	Name              *string                        `json:"name,omitempty"`
	Names             []string                       `json:"names,omitempty"`
	Namespaces        []string                       `json:"namespaces,omitempty"`
	Annotations       map[string]string              `json:"annotations,omitempty"`
	Selector          *v1.LabelSelector              `json:"selector,omitempty"`
	NamespaceSelector *v1.LabelSelector              `json:"namespaceSelector,omitempty"`
	Operations        []kyvernov1.AdmissionOperation `json:"operations,omitempty"`
}

ResourceDescriptionApplyConfiguration represents an declarative configuration of the ResourceDescription type for use with apply.

func ResourceDescription

func ResourceDescription() *ResourceDescriptionApplyConfiguration

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

func (*ResourceDescriptionApplyConfiguration) 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 (*ResourceDescriptionApplyConfiguration) WithKinds

WithKinds adds the given value to the Kinds 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 Kinds field.

func (*ResourceDescriptionApplyConfiguration) 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 (*ResourceDescriptionApplyConfiguration) WithNames

WithNames adds the given value to the Names 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 Names field.

func (*ResourceDescriptionApplyConfiguration) 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 (*ResourceDescriptionApplyConfiguration) WithNamespaces

WithNamespaces adds the given value to the Namespaces 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 Namespaces field.

func (*ResourceDescriptionApplyConfiguration) WithOperations

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 (*ResourceDescriptionApplyConfiguration) WithSelector

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 ResourceFilterApplyConfiguration

type ResourceFilterApplyConfiguration struct {
	*UserInfoApplyConfiguration            `json:"UserInfo,omitempty"`
	*ResourceDescriptionApplyConfiguration `json:"resources,omitempty"`
}

ResourceFilterApplyConfiguration represents an declarative configuration of the ResourceFilter type for use with apply.

func ResourceFilter

func ResourceFilter() *ResourceFilterApplyConfiguration

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

func (*ResourceFilterApplyConfiguration) 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 (*ResourceFilterApplyConfiguration) WithClusterRoles

WithClusterRoles adds the given value to the ClusterRoles 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 ClusterRoles field.

func (*ResourceFilterApplyConfiguration) WithKinds

WithKinds adds the given value to the Kinds 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 Kinds field.

func (*ResourceFilterApplyConfiguration) 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 (*ResourceFilterApplyConfiguration) WithNames

WithNames adds the given value to the Names 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 Names field.

func (*ResourceFilterApplyConfiguration) 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 (*ResourceFilterApplyConfiguration) WithNamespaces

WithNamespaces adds the given value to the Namespaces 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 Namespaces field.

func (*ResourceFilterApplyConfiguration) WithOperations

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 (*ResourceFilterApplyConfiguration) WithRoles

WithRoles adds the given value to the Roles 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 Roles field.

func (*ResourceFilterApplyConfiguration) WithSelector

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.

func (*ResourceFilterApplyConfiguration) WithSubjects

WithSubjects adds the given value to the Subjects 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 Subjects field.

type ResourceSpecApplyConfiguration

type ResourceSpecApplyConfiguration struct {
	APIVersion *string    `json:"apiVersion,omitempty"`
	Kind       *string    `json:"kind,omitempty"`
	Namespace  *string    `json:"namespace,omitempty"`
	Name       *string    `json:"name,omitempty"`
	UID        *types.UID `json:"uid,omitempty"`
}

ResourceSpecApplyConfiguration represents an declarative configuration of the ResourceSpec type for use with apply.

func ResourceSpec

func ResourceSpec() *ResourceSpecApplyConfiguration

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

func (*ResourceSpecApplyConfiguration) 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 (*ResourceSpecApplyConfiguration) 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 (*ResourceSpecApplyConfiguration) 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 (*ResourceSpecApplyConfiguration) 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 (*ResourceSpecApplyConfiguration) WithUID added in v1.11.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 RuleApplyConfiguration

type RuleApplyConfiguration struct {
	Name                   *string                               `json:"name,omitempty"`
	Context                []ContextEntryApplyConfiguration      `json:"context,omitempty"`
	MatchResources         *MatchResourcesApplyConfiguration     `json:"match,omitempty"`
	ExcludeResources       *MatchResourcesApplyConfiguration     `json:"exclude,omitempty"`
	ImageExtractors        *kyvernov1.ImageExtractorConfigs      `json:"imageExtractors,omitempty"`
	RawAnyAllConditions    *apiextensionsv1.JSON                 `json:"preconditions,omitempty"`
	CELPreconditions       []v1alpha1.MatchCondition             `json:"celPreconditions,omitempty"`
	Mutation               *MutationApplyConfiguration           `json:"mutate,omitempty"`
	Validation             *ValidationApplyConfiguration         `json:"validate,omitempty"`
	Generation             *GenerationApplyConfiguration         `json:"generate,omitempty"`
	VerifyImages           []ImageVerificationApplyConfiguration `json:"verifyImages,omitempty"`
	SkipBackgroundRequests *bool                                 `json:"skipBackgroundRequests,omitempty"`
}

RuleApplyConfiguration represents an declarative configuration of the Rule type for use with apply.

func Rule

func Rule() *RuleApplyConfiguration

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

func (*RuleApplyConfiguration) WithCELPreconditions

func (b *RuleApplyConfiguration) WithCELPreconditions(values ...v1alpha1.MatchCondition) *RuleApplyConfiguration

WithCELPreconditions adds the given value to the CELPreconditions 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 CELPreconditions field.

func (*RuleApplyConfiguration) WithContext

WithContext adds the given value to the Context 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 Context field.

func (*RuleApplyConfiguration) WithExcludeResources

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

func (*RuleApplyConfiguration) 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 (*RuleApplyConfiguration) WithImageExtractors

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

func (*RuleApplyConfiguration) WithMatchResources

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 (*RuleApplyConfiguration) WithMutation

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

func (*RuleApplyConfiguration) 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 (*RuleApplyConfiguration) WithRawAnyAllConditions

func (b *RuleApplyConfiguration) WithRawAnyAllConditions(value apiextensionsv1.JSON) *RuleApplyConfiguration

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

func (*RuleApplyConfiguration) WithSkipBackgroundRequests added in v1.11.2

func (b *RuleApplyConfiguration) WithSkipBackgroundRequests(value bool) *RuleApplyConfiguration

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

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

func (*RuleApplyConfiguration) WithVerifyImages

WithVerifyImages adds the given value to the VerifyImages 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 VerifyImages field.

type RuleCountStatusApplyConfiguration

type RuleCountStatusApplyConfiguration struct {
	Validate     *int `json:"validate,omitempty"`
	Generate     *int `json:"generate,omitempty"`
	Mutate       *int `json:"mutate,omitempty"`
	VerifyImages *int `json:"verifyimages,omitempty"`
}

RuleCountStatusApplyConfiguration represents an declarative configuration of the RuleCountStatus type for use with apply.

func RuleCountStatus

func RuleCountStatus() *RuleCountStatusApplyConfiguration

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

func (*RuleCountStatusApplyConfiguration) WithGenerate

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

func (*RuleCountStatusApplyConfiguration) WithMutate

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

func (*RuleCountStatusApplyConfiguration) WithValidate

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

func (*RuleCountStatusApplyConfiguration) WithVerifyImages

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

type SecretReferenceApplyConfiguration

type SecretReferenceApplyConfiguration struct {
	Name      *string `json:"name,omitempty"`
	Namespace *string `json:"namespace,omitempty"`
}

SecretReferenceApplyConfiguration represents an declarative configuration of the SecretReference type for use with apply.

func SecretReference

func SecretReference() *SecretReferenceApplyConfiguration

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

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

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

type ServiceCallApplyConfiguration

type ServiceCallApplyConfiguration struct {
	URL      *string `json:"url,omitempty"`
	CABundle *string `json:"caBundle,omitempty"`
}

ServiceCallApplyConfiguration represents an declarative configuration of the ServiceCall type for use with apply.

func ServiceCall

func ServiceCall() *ServiceCallApplyConfiguration

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

func (*ServiceCallApplyConfiguration) WithCABundle

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

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

type SpecApplyConfiguration

type SpecApplyConfiguration struct {
	Rules                            []RuleApplyConfiguration                            `json:"rules,omitempty"`
	ApplyRules                       *kyvernov1.ApplyRulesType                           `json:"applyRules,omitempty"`
	FailurePolicy                    *kyvernov1.FailurePolicyType                        `json:"failurePolicy,omitempty"`
	ValidationFailureAction          *kyvernov1.ValidationFailureAction                  `json:"validationFailureAction,omitempty"`
	ValidationFailureActionOverrides []ValidationFailureActionOverrideApplyConfiguration `json:"validationFailureActionOverrides,omitempty"`
	Admission                        *bool                                               `json:"admission,omitempty"`
	Background                       *bool                                               `json:"background,omitempty"`
	SchemaValidation                 *bool                                               `json:"schemaValidation,omitempty"`
	WebhookTimeoutSeconds            *int32                                              `json:"webhookTimeoutSeconds,omitempty"`
	MutateExistingOnPolicyUpdate     *bool                                               `json:"mutateExistingOnPolicyUpdate,omitempty"`
	GenerateExistingOnPolicyUpdate   *bool                                               `json:"generateExistingOnPolicyUpdate,omitempty"`
	GenerateExisting                 *bool                                               `json:"generateExisting,omitempty"`
	UseServerSideApply               *bool                                               `json:"useServerSideApply,omitempty"`
	WebhookConfiguration             *WebhookConfigurationApplyConfiguration             `json:"webhookConfiguration,omitempty"`
}

SpecApplyConfiguration represents an declarative configuration of the Spec type for use with apply.

func Spec

func Spec() *SpecApplyConfiguration

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

func (*SpecApplyConfiguration) WithAdmission

func (b *SpecApplyConfiguration) WithAdmission(value bool) *SpecApplyConfiguration

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

func (*SpecApplyConfiguration) WithApplyRules

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

func (*SpecApplyConfiguration) WithBackground

func (b *SpecApplyConfiguration) WithBackground(value bool) *SpecApplyConfiguration

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

func (*SpecApplyConfiguration) 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 (*SpecApplyConfiguration) WithGenerateExisting

func (b *SpecApplyConfiguration) WithGenerateExisting(value bool) *SpecApplyConfiguration

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

func (*SpecApplyConfiguration) WithGenerateExistingOnPolicyUpdate

func (b *SpecApplyConfiguration) WithGenerateExistingOnPolicyUpdate(value bool) *SpecApplyConfiguration

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

func (*SpecApplyConfiguration) WithMutateExistingOnPolicyUpdate

func (b *SpecApplyConfiguration) WithMutateExistingOnPolicyUpdate(value bool) *SpecApplyConfiguration

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

func (*SpecApplyConfiguration) 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 (*SpecApplyConfiguration) WithSchemaValidation

func (b *SpecApplyConfiguration) WithSchemaValidation(value bool) *SpecApplyConfiguration

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

func (*SpecApplyConfiguration) WithUseServerSideApply

func (b *SpecApplyConfiguration) WithUseServerSideApply(value bool) *SpecApplyConfiguration

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

func (*SpecApplyConfiguration) WithValidationFailureAction

func (b *SpecApplyConfiguration) WithValidationFailureAction(value kyvernov1.ValidationFailureAction) *SpecApplyConfiguration

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

func (*SpecApplyConfiguration) WithValidationFailureActionOverrides

func (b *SpecApplyConfiguration) WithValidationFailureActionOverrides(values ...*ValidationFailureActionOverrideApplyConfiguration) *SpecApplyConfiguration

WithValidationFailureActionOverrides adds the given value to the ValidationFailureActionOverrides 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 ValidationFailureActionOverrides field.

func (*SpecApplyConfiguration) WithWebhookConfiguration added in v1.12.0

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

func (*SpecApplyConfiguration) WithWebhookTimeoutSeconds

func (b *SpecApplyConfiguration) WithWebhookTimeoutSeconds(value int32) *SpecApplyConfiguration

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

type StaticKeyAttestorApplyConfiguration

type StaticKeyAttestorApplyConfiguration struct {
	PublicKeys         *string                            `json:"publicKeys,omitempty"`
	SignatureAlgorithm *string                            `json:"signatureAlgorithm,omitempty"`
	KMS                *string                            `json:"kms,omitempty"`
	Secret             *SecretReferenceApplyConfiguration `json:"secret,omitempty"`
	Rekor              *RekorApplyConfiguration           `json:"rekor,omitempty"`
	CTLog              *CTLogApplyConfiguration           `json:"ctlog,omitempty"`
}

StaticKeyAttestorApplyConfiguration represents an declarative configuration of the StaticKeyAttestor type for use with apply.

func StaticKeyAttestor

func StaticKeyAttestor() *StaticKeyAttestorApplyConfiguration

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

func (*StaticKeyAttestorApplyConfiguration) WithCTLog

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

func (*StaticKeyAttestorApplyConfiguration) WithKMS

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

func (*StaticKeyAttestorApplyConfiguration) WithPublicKeys

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

func (*StaticKeyAttestorApplyConfiguration) WithRekor

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

func (*StaticKeyAttestorApplyConfiguration) WithSecret

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

func (*StaticKeyAttestorApplyConfiguration) WithSignatureAlgorithm

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

type TargetResourceSpecApplyConfiguration

type TargetResourceSpecApplyConfiguration struct {
	*ResourceSpecApplyConfiguration `json:"ResourceSpec,omitempty"`
	Context                         []ContextEntryApplyConfiguration `json:"context,omitempty"`
	RawAnyAllConditions             *apiextensionsv1.JSON            `json:"preconditions,omitempty"`
}

TargetResourceSpecApplyConfiguration represents an declarative configuration of the TargetResourceSpec type for use with apply.

func TargetResourceSpec

func TargetResourceSpec() *TargetResourceSpecApplyConfiguration

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

func (*TargetResourceSpecApplyConfiguration) 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 (*TargetResourceSpecApplyConfiguration) WithContext

WithContext adds the given value to the Context 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 Context field.

func (*TargetResourceSpecApplyConfiguration) 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 (*TargetResourceSpecApplyConfiguration) 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 (*TargetResourceSpecApplyConfiguration) 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 (*TargetResourceSpecApplyConfiguration) WithRawAnyAllConditions

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

func (*TargetResourceSpecApplyConfiguration) WithUID added in v1.11.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 UserInfoApplyConfiguration

type UserInfoApplyConfiguration struct {
	Roles        []string     `json:"roles,omitempty"`
	ClusterRoles []string     `json:"clusterRoles,omitempty"`
	Subjects     []v1.Subject `json:"subjects,omitempty"`
}

UserInfoApplyConfiguration represents an declarative configuration of the UserInfo type for use with apply.

func UserInfo

func UserInfo() *UserInfoApplyConfiguration

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

func (*UserInfoApplyConfiguration) WithClusterRoles

func (b *UserInfoApplyConfiguration) WithClusterRoles(values ...string) *UserInfoApplyConfiguration

WithClusterRoles adds the given value to the ClusterRoles 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 ClusterRoles field.

func (*UserInfoApplyConfiguration) WithRoles

WithRoles adds the given value to the Roles 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 Roles field.

func (*UserInfoApplyConfiguration) WithSubjects

WithSubjects adds the given value to the Subjects 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 Subjects field.

type ValidatingAdmissionPolicyStatusApplyConfiguration

type ValidatingAdmissionPolicyStatusApplyConfiguration struct {
	Generated *bool   `json:"generated,omitempty"`
	Message   *string `json:"message,omitempty"`
}

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

func ValidatingAdmissionPolicyStatus

func ValidatingAdmissionPolicyStatus() *ValidatingAdmissionPolicyStatusApplyConfiguration

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

func (*ValidatingAdmissionPolicyStatusApplyConfiguration) WithGenerated

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

func (*ValidatingAdmissionPolicyStatusApplyConfiguration) WithMessage

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.

type ValidationApplyConfiguration

type ValidationApplyConfiguration struct {
	Message           *string                               `json:"message,omitempty"`
	Manifests         *ManifestsApplyConfiguration          `json:"manifests,omitempty"`
	ForEachValidation []ForEachValidationApplyConfiguration `json:"foreach,omitempty"`
	RawPattern        *apiextensionsv1.JSON                 `json:"pattern,omitempty"`
	RawAnyPattern     *apiextensionsv1.JSON                 `json:"anyPattern,omitempty"`
	Deny              *DenyApplyConfiguration               `json:"deny,omitempty"`
	PodSecurity       *PodSecurityApplyConfiguration        `json:"podSecurity,omitempty"`
	CEL               *CELApplyConfiguration                `json:"cel,omitempty"`
}

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

func Validation

func Validation() *ValidationApplyConfiguration

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

func (*ValidationApplyConfiguration) WithCEL

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

func (*ValidationApplyConfiguration) WithDeny

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

func (*ValidationApplyConfiguration) WithForEachValidation

WithForEachValidation adds the given value to the ForEachValidation 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 ForEachValidation field.

func (*ValidationApplyConfiguration) WithManifests

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

func (*ValidationApplyConfiguration) WithMessage

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) WithPodSecurity

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

func (*ValidationApplyConfiguration) WithRawAnyPattern

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

func (*ValidationApplyConfiguration) WithRawPattern

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

type ValidationFailureActionOverrideApplyConfiguration

type ValidationFailureActionOverrideApplyConfiguration struct {
	Action            *v1.ValidationFailureAction `json:"action,omitempty"`
	Namespaces        []string                    `json:"namespaces,omitempty"`
	NamespaceSelector *metav1.LabelSelector       `json:"namespaceSelector,omitempty"`
}

ValidationFailureActionOverrideApplyConfiguration represents an declarative configuration of the ValidationFailureActionOverride type for use with apply.

func ValidationFailureActionOverride

func ValidationFailureActionOverride() *ValidationFailureActionOverrideApplyConfiguration

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

func (*ValidationFailureActionOverrideApplyConfiguration) WithAction

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

func (*ValidationFailureActionOverrideApplyConfiguration) 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 (*ValidationFailureActionOverrideApplyConfiguration) WithNamespaces

WithNamespaces adds the given value to the Namespaces 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 Namespaces field.

type VariableApplyConfiguration

type VariableApplyConfiguration struct {
	Value    *v1.JSON `json:"value,omitempty"`
	JMESPath *string  `json:"jmesPath,omitempty"`
	Default  *v1.JSON `json:"default,omitempty"`
}

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

func Variable

func Variable() *VariableApplyConfiguration

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

func (*VariableApplyConfiguration) WithDefault

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

func (*VariableApplyConfiguration) WithJMESPath

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

func (*VariableApplyConfiguration) WithValue

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

type WebhookConfigurationApplyConfiguration added in v1.12.0

type WebhookConfigurationApplyConfiguration struct {
	MatchConditions []v1.MatchCondition `json:"matchConditions,omitempty"`
}

WebhookConfigurationApplyConfiguration represents an declarative configuration of the WebhookConfiguration type for use with apply.

func WebhookConfiguration added in v1.12.0

func WebhookConfiguration() *WebhookConfigurationApplyConfiguration

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

func (*WebhookConfigurationApplyConfiguration) WithMatchConditions added in v1.12.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.

Jump to

Keyboard shortcuts

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