Documentation ¶
Index ¶
- type APICallApplyConfiguration
- func (b *APICallApplyConfiguration) WithData(values ...*RequestDataApplyConfiguration) *APICallApplyConfiguration
- func (b *APICallApplyConfiguration) WithMethod(value v1.Method) *APICallApplyConfiguration
- func (b *APICallApplyConfiguration) WithService(value *ServiceCallApplyConfiguration) *APICallApplyConfiguration
- func (b *APICallApplyConfiguration) WithURLPath(value string) *APICallApplyConfiguration
- type AnyAllConditionsApplyConfiguration
- type AttestationApplyConfiguration
- func (b *AttestationApplyConfiguration) WithAttestors(values ...*AttestorSetApplyConfiguration) *AttestationApplyConfiguration
- func (b *AttestationApplyConfiguration) WithConditions(values ...*AnyAllConditionsApplyConfiguration) *AttestationApplyConfiguration
- func (b *AttestationApplyConfiguration) WithPredicateType(value string) *AttestationApplyConfiguration
- func (b *AttestationApplyConfiguration) WithType(value string) *AttestationApplyConfiguration
- type AttestorApplyConfiguration
- func (b *AttestorApplyConfiguration) WithAnnotations(entries map[string]string) *AttestorApplyConfiguration
- func (b *AttestorApplyConfiguration) WithAttestor(value apiextensionsv1.JSON) *AttestorApplyConfiguration
- func (b *AttestorApplyConfiguration) WithCertificates(value *CertificateAttestorApplyConfiguration) *AttestorApplyConfiguration
- func (b *AttestorApplyConfiguration) WithKeyless(value *KeylessAttestorApplyConfiguration) *AttestorApplyConfiguration
- func (b *AttestorApplyConfiguration) WithKeys(value *StaticKeyAttestorApplyConfiguration) *AttestorApplyConfiguration
- func (b *AttestorApplyConfiguration) WithRepository(value string) *AttestorApplyConfiguration
- type AttestorSetApplyConfiguration
- type AutogenStatusApplyConfiguration
- type CELApplyConfiguration
- func (b *CELApplyConfiguration) WithAuditAnnotations(values ...v1alpha1.AuditAnnotation) *CELApplyConfiguration
- func (b *CELApplyConfiguration) WithExpressions(values ...v1alpha1.Validation) *CELApplyConfiguration
- func (b *CELApplyConfiguration) WithParamKind(value v1alpha1.ParamKind) *CELApplyConfiguration
- func (b *CELApplyConfiguration) WithParamRef(value v1alpha1.ParamRef) *CELApplyConfiguration
- func (b *CELApplyConfiguration) WithVariables(values ...v1alpha1.Variable) *CELApplyConfiguration
- type CTLogApplyConfiguration
- type CertificateAttestorApplyConfiguration
- func (b *CertificateAttestorApplyConfiguration) WithCTLog(value *CTLogApplyConfiguration) *CertificateAttestorApplyConfiguration
- func (b *CertificateAttestorApplyConfiguration) WithCertificate(value string) *CertificateAttestorApplyConfiguration
- func (b *CertificateAttestorApplyConfiguration) WithCertificateChain(value string) *CertificateAttestorApplyConfiguration
- func (b *CertificateAttestorApplyConfiguration) WithRekor(value *RekorApplyConfiguration) *CertificateAttestorApplyConfiguration
- type CloneFromApplyConfiguration
- type CloneListApplyConfiguration
- type ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithAPIVersion(value string) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithFinalizers(values ...string) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithGenerateName(value string) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithGeneration(value int64) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithKind(value string) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithLabels(entries map[string]string) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithName(value string) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithNamespace(value string) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithResourceVersion(value string) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithSpec(value *SpecApplyConfiguration) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithStatus(value *PolicyStatusApplyConfiguration) *ClusterPolicyApplyConfiguration
- func (b *ClusterPolicyApplyConfiguration) WithUID(value types.UID) *ClusterPolicyApplyConfiguration
- type ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithMessage(value string) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithOperator(value kyvernov1.ConditionOperator) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithRawKey(value v1.JSON) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithRawValue(value v1.JSON) *ConditionApplyConfiguration
- type ConfigMapReferenceApplyConfiguration
- type ContextAPICallApplyConfiguration
- func (b *ContextAPICallApplyConfiguration) WithData(values ...*RequestDataApplyConfiguration) *ContextAPICallApplyConfiguration
- func (b *ContextAPICallApplyConfiguration) WithJMESPath(value string) *ContextAPICallApplyConfiguration
- func (b *ContextAPICallApplyConfiguration) WithMethod(value kyvernov1.Method) *ContextAPICallApplyConfiguration
- func (b *ContextAPICallApplyConfiguration) WithService(value *ServiceCallApplyConfiguration) *ContextAPICallApplyConfiguration
- func (b *ContextAPICallApplyConfiguration) WithURLPath(value string) *ContextAPICallApplyConfiguration
- type ContextEntryApplyConfiguration
- func (b *ContextEntryApplyConfiguration) WithAPICall(value *ContextAPICallApplyConfiguration) *ContextEntryApplyConfiguration
- func (b *ContextEntryApplyConfiguration) WithConfigMap(value *ConfigMapReferenceApplyConfiguration) *ContextEntryApplyConfiguration
- func (b *ContextEntryApplyConfiguration) WithGlobalReference(value *GlobalContextEntryReferenceApplyConfiguration) *ContextEntryApplyConfiguration
- func (b *ContextEntryApplyConfiguration) WithImageRegistry(value *ImageRegistryApplyConfiguration) *ContextEntryApplyConfiguration
- func (b *ContextEntryApplyConfiguration) WithName(value string) *ContextEntryApplyConfiguration
- func (b *ContextEntryApplyConfiguration) WithVariable(value *VariableApplyConfiguration) *ContextEntryApplyConfiguration
- type DenyApplyConfiguration
- type DryRunOptionApplyConfiguration
- type ForEachMutationApplyConfiguration
- func (b *ForEachMutationApplyConfiguration) WithAnyAllConditions(value *AnyAllConditionsApplyConfiguration) *ForEachMutationApplyConfiguration
- func (b *ForEachMutationApplyConfiguration) WithContext(values ...*ContextEntryApplyConfiguration) *ForEachMutationApplyConfiguration
- func (b *ForEachMutationApplyConfiguration) WithForEachMutation(value apiextensionsv1.JSON) *ForEachMutationApplyConfiguration
- func (b *ForEachMutationApplyConfiguration) WithList(value string) *ForEachMutationApplyConfiguration
- func (b *ForEachMutationApplyConfiguration) WithOrder(value v1.ForeachOrder) *ForEachMutationApplyConfiguration
- func (b *ForEachMutationApplyConfiguration) WithPatchesJSON6902(value string) *ForEachMutationApplyConfiguration
- func (b *ForEachMutationApplyConfiguration) WithRawPatchStrategicMerge(value apiextensionsv1.JSON) *ForEachMutationApplyConfiguration
- type ForEachValidationApplyConfiguration
- func (b *ForEachValidationApplyConfiguration) WithAnyAllConditions(value *AnyAllConditionsApplyConfiguration) *ForEachValidationApplyConfiguration
- func (b *ForEachValidationApplyConfiguration) WithContext(values ...*ContextEntryApplyConfiguration) *ForEachValidationApplyConfiguration
- func (b *ForEachValidationApplyConfiguration) WithDeny(value *DenyApplyConfiguration) *ForEachValidationApplyConfiguration
- func (b *ForEachValidationApplyConfiguration) WithElementScope(value bool) *ForEachValidationApplyConfiguration
- func (b *ForEachValidationApplyConfiguration) WithForEachValidation(value apiextensionsv1.JSON) *ForEachValidationApplyConfiguration
- func (b *ForEachValidationApplyConfiguration) WithList(value string) *ForEachValidationApplyConfiguration
- func (b *ForEachValidationApplyConfiguration) WithRawAnyPattern(value apiextensionsv1.JSON) *ForEachValidationApplyConfiguration
- func (b *ForEachValidationApplyConfiguration) WithRawPattern(value apiextensionsv1.JSON) *ForEachValidationApplyConfiguration
- type GenerationApplyConfiguration
- func (b *GenerationApplyConfiguration) WithAPIVersion(value string) *GenerationApplyConfiguration
- func (b *GenerationApplyConfiguration) WithClone(value *CloneFromApplyConfiguration) *GenerationApplyConfiguration
- func (b *GenerationApplyConfiguration) WithCloneList(value *CloneListApplyConfiguration) *GenerationApplyConfiguration
- func (b *GenerationApplyConfiguration) WithKind(value string) *GenerationApplyConfiguration
- func (b *GenerationApplyConfiguration) WithName(value string) *GenerationApplyConfiguration
- func (b *GenerationApplyConfiguration) WithNamespace(value string) *GenerationApplyConfiguration
- func (b *GenerationApplyConfiguration) WithOrphanDownstreamOnPolicyDelete(value bool) *GenerationApplyConfiguration
- func (b *GenerationApplyConfiguration) WithRawData(value apiextensionsv1.JSON) *GenerationApplyConfiguration
- func (b *GenerationApplyConfiguration) WithSynchronize(value bool) *GenerationApplyConfiguration
- func (b *GenerationApplyConfiguration) WithUID(value types.UID) *GenerationApplyConfiguration
- type GlobalContextEntryReferenceApplyConfiguration
- type ImageExtractorConfigApplyConfiguration
- func (b *ImageExtractorConfigApplyConfiguration) WithJMESPath(value string) *ImageExtractorConfigApplyConfiguration
- func (b *ImageExtractorConfigApplyConfiguration) WithKey(value string) *ImageExtractorConfigApplyConfiguration
- func (b *ImageExtractorConfigApplyConfiguration) WithName(value string) *ImageExtractorConfigApplyConfiguration
- func (b *ImageExtractorConfigApplyConfiguration) WithPath(value string) *ImageExtractorConfigApplyConfiguration
- func (b *ImageExtractorConfigApplyConfiguration) WithValue(value string) *ImageExtractorConfigApplyConfiguration
- type ImageRegistryApplyConfiguration
- func (b *ImageRegistryApplyConfiguration) WithImageRegistryCredentials(value *ImageRegistryCredentialsApplyConfiguration) *ImageRegistryApplyConfiguration
- func (b *ImageRegistryApplyConfiguration) WithJMESPath(value string) *ImageRegistryApplyConfiguration
- func (b *ImageRegistryApplyConfiguration) WithReference(value string) *ImageRegistryApplyConfiguration
- type ImageRegistryCredentialsApplyConfiguration
- func (b *ImageRegistryCredentialsApplyConfiguration) WithAllowInsecureRegistry(value bool) *ImageRegistryCredentialsApplyConfiguration
- func (b *ImageRegistryCredentialsApplyConfiguration) WithProviders(values ...v1.ImageRegistryCredentialsProvidersType) *ImageRegistryCredentialsApplyConfiguration
- func (b *ImageRegistryCredentialsApplyConfiguration) WithSecrets(values ...string) *ImageRegistryCredentialsApplyConfiguration
- type ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithAdditionalExtensions(entries map[string]string) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithAnnotations(entries map[string]string) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithAttestations(values ...*AttestationApplyConfiguration) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithAttestors(values ...*AttestorSetApplyConfiguration) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithImage(value string) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithImageReferences(values ...string) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithImageRegistryCredentials(value *ImageRegistryCredentialsApplyConfiguration) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithIssuer(value string) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithKey(value string) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithMutateDigest(value bool) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithRepository(value string) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithRequired(value bool) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithRoots(value string) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithSkipImageReferences(values ...string) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithSubject(value string) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithType(value v1.ImageVerificationType) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithUseCache(value bool) *ImageVerificationApplyConfiguration
- func (b *ImageVerificationApplyConfiguration) WithVerifyDigest(value bool) *ImageVerificationApplyConfiguration
- type KeylessAttestorApplyConfiguration
- func (b *KeylessAttestorApplyConfiguration) WithAdditionalExtensions(entries map[string]string) *KeylessAttestorApplyConfiguration
- func (b *KeylessAttestorApplyConfiguration) WithCTLog(value *CTLogApplyConfiguration) *KeylessAttestorApplyConfiguration
- func (b *KeylessAttestorApplyConfiguration) WithIssuer(value string) *KeylessAttestorApplyConfiguration
- func (b *KeylessAttestorApplyConfiguration) WithRekor(value *RekorApplyConfiguration) *KeylessAttestorApplyConfiguration
- func (b *KeylessAttestorApplyConfiguration) WithRoots(value string) *KeylessAttestorApplyConfiguration
- func (b *KeylessAttestorApplyConfiguration) WithSubject(value string) *KeylessAttestorApplyConfiguration
- type ManifestsApplyConfiguration
- func (b *ManifestsApplyConfiguration) WithAnnotationDomain(value string) *ManifestsApplyConfiguration
- func (b *ManifestsApplyConfiguration) WithAttestors(values ...*AttestorSetApplyConfiguration) *ManifestsApplyConfiguration
- func (b *ManifestsApplyConfiguration) WithDryRunOption(value *DryRunOptionApplyConfiguration) *ManifestsApplyConfiguration
- func (b *ManifestsApplyConfiguration) WithIgnoreFields(value kyvernov1.IgnoreFieldList) *ManifestsApplyConfiguration
- func (b *ManifestsApplyConfiguration) WithRepository(value string) *ManifestsApplyConfiguration
- type MatchResourcesApplyConfiguration
- func (b *MatchResourcesApplyConfiguration) WithAll(value v1.ResourceFilters) *MatchResourcesApplyConfiguration
- func (b *MatchResourcesApplyConfiguration) WithAnnotations(entries map[string]string) *MatchResourcesApplyConfiguration
- func (b *MatchResourcesApplyConfiguration) WithAny(value v1.ResourceFilters) *MatchResourcesApplyConfiguration
- func (b *MatchResourcesApplyConfiguration) WithClusterRoles(values ...string) *MatchResourcesApplyConfiguration
- func (b *MatchResourcesApplyConfiguration) WithKinds(values ...string) *MatchResourcesApplyConfiguration
- func (b *MatchResourcesApplyConfiguration) WithName(value string) *MatchResourcesApplyConfiguration
- func (b *MatchResourcesApplyConfiguration) WithNames(values ...string) *MatchResourcesApplyConfiguration
- func (b *MatchResourcesApplyConfiguration) WithNamespaceSelector(value metav1.LabelSelector) *MatchResourcesApplyConfiguration
- func (b *MatchResourcesApplyConfiguration) WithNamespaces(values ...string) *MatchResourcesApplyConfiguration
- func (b *MatchResourcesApplyConfiguration) WithOperations(values ...v1.AdmissionOperation) *MatchResourcesApplyConfiguration
- func (b *MatchResourcesApplyConfiguration) WithRoles(values ...string) *MatchResourcesApplyConfiguration
- func (b *MatchResourcesApplyConfiguration) WithSelector(value metav1.LabelSelector) *MatchResourcesApplyConfiguration
- func (b *MatchResourcesApplyConfiguration) WithSubjects(values ...rbacv1.Subject) *MatchResourcesApplyConfiguration
- type MutationApplyConfiguration
- func (b *MutationApplyConfiguration) WithForEachMutation(values ...*ForEachMutationApplyConfiguration) *MutationApplyConfiguration
- func (b *MutationApplyConfiguration) WithPatchesJSON6902(value string) *MutationApplyConfiguration
- func (b *MutationApplyConfiguration) WithRawPatchStrategicMerge(value apiextensionsv1.JSON) *MutationApplyConfiguration
- func (b *MutationApplyConfiguration) WithTargets(values ...*TargetResourceSpecApplyConfiguration) *MutationApplyConfiguration
- type ObjectFieldBindingApplyConfiguration
- type PodSecurityApplyConfiguration
- func (b *PodSecurityApplyConfiguration) WithExclude(values ...*PodSecurityStandardApplyConfiguration) *PodSecurityApplyConfiguration
- func (b *PodSecurityApplyConfiguration) WithLevel(value api.Level) *PodSecurityApplyConfiguration
- func (b *PodSecurityApplyConfiguration) WithVersion(value string) *PodSecurityApplyConfiguration
- type PodSecurityStandardApplyConfiguration
- func (b *PodSecurityStandardApplyConfiguration) WithControlName(value string) *PodSecurityStandardApplyConfiguration
- func (b *PodSecurityStandardApplyConfiguration) WithImages(values ...string) *PodSecurityStandardApplyConfiguration
- func (b *PodSecurityStandardApplyConfiguration) WithRestrictedField(value string) *PodSecurityStandardApplyConfiguration
- func (b *PodSecurityStandardApplyConfiguration) WithValues(values ...string) *PodSecurityStandardApplyConfiguration
- type PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithAPIVersion(value string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithAnnotations(entries map[string]string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithFinalizers(values ...string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithGenerateName(value string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithGeneration(value int64) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithKind(value string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithLabels(entries map[string]string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithName(value string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithNamespace(value string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithResourceVersion(value string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithSpec(value *SpecApplyConfiguration) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithStatus(value *PolicyStatusApplyConfiguration) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithUID(value types.UID) *PolicyApplyConfiguration
- type PolicyStatusApplyConfiguration
- func (b *PolicyStatusApplyConfiguration) WithAutogen(value *AutogenStatusApplyConfiguration) *PolicyStatusApplyConfiguration
- func (b *PolicyStatusApplyConfiguration) WithConditions(values ...v1.Condition) *PolicyStatusApplyConfiguration
- func (b *PolicyStatusApplyConfiguration) WithReady(value bool) *PolicyStatusApplyConfiguration
- func (b *PolicyStatusApplyConfiguration) WithRuleCount(value *RuleCountStatusApplyConfiguration) *PolicyStatusApplyConfiguration
- func (b *PolicyStatusApplyConfiguration) WithValidatingAdmissionPolicy(value *ValidatingAdmissionPolicyStatusApplyConfiguration) *PolicyStatusApplyConfiguration
- type RekorApplyConfiguration
- type RequestDataApplyConfiguration
- type ResourceDescriptionApplyConfiguration
- func (b *ResourceDescriptionApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceDescriptionApplyConfiguration
- func (b *ResourceDescriptionApplyConfiguration) WithKinds(values ...string) *ResourceDescriptionApplyConfiguration
- func (b *ResourceDescriptionApplyConfiguration) WithName(value string) *ResourceDescriptionApplyConfiguration
- func (b *ResourceDescriptionApplyConfiguration) WithNames(values ...string) *ResourceDescriptionApplyConfiguration
- func (b *ResourceDescriptionApplyConfiguration) WithNamespaceSelector(value v1.LabelSelector) *ResourceDescriptionApplyConfiguration
- func (b *ResourceDescriptionApplyConfiguration) WithNamespaces(values ...string) *ResourceDescriptionApplyConfiguration
- func (b *ResourceDescriptionApplyConfiguration) WithOperations(values ...kyvernov1.AdmissionOperation) *ResourceDescriptionApplyConfiguration
- func (b *ResourceDescriptionApplyConfiguration) WithSelector(value v1.LabelSelector) *ResourceDescriptionApplyConfiguration
- type ResourceFilterApplyConfiguration
- func (b *ResourceFilterApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceFilterApplyConfiguration
- func (b *ResourceFilterApplyConfiguration) WithClusterRoles(values ...string) *ResourceFilterApplyConfiguration
- func (b *ResourceFilterApplyConfiguration) WithKinds(values ...string) *ResourceFilterApplyConfiguration
- func (b *ResourceFilterApplyConfiguration) WithName(value string) *ResourceFilterApplyConfiguration
- func (b *ResourceFilterApplyConfiguration) WithNames(values ...string) *ResourceFilterApplyConfiguration
- func (b *ResourceFilterApplyConfiguration) WithNamespaceSelector(value metav1.LabelSelector) *ResourceFilterApplyConfiguration
- func (b *ResourceFilterApplyConfiguration) WithNamespaces(values ...string) *ResourceFilterApplyConfiguration
- func (b *ResourceFilterApplyConfiguration) WithOperations(values ...kyvernov1.AdmissionOperation) *ResourceFilterApplyConfiguration
- func (b *ResourceFilterApplyConfiguration) WithRoles(values ...string) *ResourceFilterApplyConfiguration
- func (b *ResourceFilterApplyConfiguration) WithSelector(value metav1.LabelSelector) *ResourceFilterApplyConfiguration
- func (b *ResourceFilterApplyConfiguration) WithSubjects(values ...rbacv1.Subject) *ResourceFilterApplyConfiguration
- type ResourceSpecApplyConfiguration
- func (b *ResourceSpecApplyConfiguration) WithAPIVersion(value string) *ResourceSpecApplyConfiguration
- func (b *ResourceSpecApplyConfiguration) WithKind(value string) *ResourceSpecApplyConfiguration
- func (b *ResourceSpecApplyConfiguration) WithName(value string) *ResourceSpecApplyConfiguration
- func (b *ResourceSpecApplyConfiguration) WithNamespace(value string) *ResourceSpecApplyConfiguration
- func (b *ResourceSpecApplyConfiguration) WithUID(value types.UID) *ResourceSpecApplyConfiguration
- type RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithCELPreconditions(values ...v1alpha1.MatchCondition) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithContext(values ...*ContextEntryApplyConfiguration) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithExcludeResources(value *MatchResourcesApplyConfiguration) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithGeneration(value *GenerationApplyConfiguration) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithImageExtractors(value kyvernov1.ImageExtractorConfigs) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithMatchResources(value *MatchResourcesApplyConfiguration) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithMutation(value *MutationApplyConfiguration) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithName(value string) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithRawAnyAllConditions(value apiextensionsv1.JSON) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithSkipBackgroundRequests(value bool) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithValidation(value *ValidationApplyConfiguration) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithVerifyImages(values ...*ImageVerificationApplyConfiguration) *RuleApplyConfiguration
- type RuleCountStatusApplyConfiguration
- func (b *RuleCountStatusApplyConfiguration) WithGenerate(value int) *RuleCountStatusApplyConfiguration
- func (b *RuleCountStatusApplyConfiguration) WithMutate(value int) *RuleCountStatusApplyConfiguration
- func (b *RuleCountStatusApplyConfiguration) WithValidate(value int) *RuleCountStatusApplyConfiguration
- func (b *RuleCountStatusApplyConfiguration) WithVerifyImages(value int) *RuleCountStatusApplyConfiguration
- type SecretReferenceApplyConfiguration
- type ServiceCallApplyConfiguration
- type SpecApplyConfiguration
- func (b *SpecApplyConfiguration) WithAdmission(value bool) *SpecApplyConfiguration
- func (b *SpecApplyConfiguration) WithApplyRules(value kyvernov1.ApplyRulesType) *SpecApplyConfiguration
- func (b *SpecApplyConfiguration) WithBackground(value bool) *SpecApplyConfiguration
- func (b *SpecApplyConfiguration) WithFailurePolicy(value kyvernov1.FailurePolicyType) *SpecApplyConfiguration
- func (b *SpecApplyConfiguration) WithGenerateExisting(value bool) *SpecApplyConfiguration
- func (b *SpecApplyConfiguration) WithGenerateExistingOnPolicyUpdate(value bool) *SpecApplyConfiguration
- func (b *SpecApplyConfiguration) WithMutateExistingOnPolicyUpdate(value bool) *SpecApplyConfiguration
- func (b *SpecApplyConfiguration) WithRules(values ...*RuleApplyConfiguration) *SpecApplyConfiguration
- func (b *SpecApplyConfiguration) WithSchemaValidation(value bool) *SpecApplyConfiguration
- func (b *SpecApplyConfiguration) WithUseServerSideApply(value bool) *SpecApplyConfiguration
- func (b *SpecApplyConfiguration) WithValidationFailureAction(value kyvernov1.ValidationFailureAction) *SpecApplyConfiguration
- func (b *SpecApplyConfiguration) WithValidationFailureActionOverrides(values ...*ValidationFailureActionOverrideApplyConfiguration) *SpecApplyConfiguration
- func (b *SpecApplyConfiguration) WithWebhookConfiguration(value *WebhookConfigurationApplyConfiguration) *SpecApplyConfiguration
- func (b *SpecApplyConfiguration) WithWebhookTimeoutSeconds(value int32) *SpecApplyConfiguration
- type StaticKeyAttestorApplyConfiguration
- func (b *StaticKeyAttestorApplyConfiguration) WithCTLog(value *CTLogApplyConfiguration) *StaticKeyAttestorApplyConfiguration
- func (b *StaticKeyAttestorApplyConfiguration) WithKMS(value string) *StaticKeyAttestorApplyConfiguration
- func (b *StaticKeyAttestorApplyConfiguration) WithPublicKeys(value string) *StaticKeyAttestorApplyConfiguration
- func (b *StaticKeyAttestorApplyConfiguration) WithRekor(value *RekorApplyConfiguration) *StaticKeyAttestorApplyConfiguration
- func (b *StaticKeyAttestorApplyConfiguration) WithSecret(value *SecretReferenceApplyConfiguration) *StaticKeyAttestorApplyConfiguration
- func (b *StaticKeyAttestorApplyConfiguration) WithSignatureAlgorithm(value string) *StaticKeyAttestorApplyConfiguration
- type TargetResourceSpecApplyConfiguration
- func (b *TargetResourceSpecApplyConfiguration) WithAPIVersion(value string) *TargetResourceSpecApplyConfiguration
- func (b *TargetResourceSpecApplyConfiguration) WithContext(values ...*ContextEntryApplyConfiguration) *TargetResourceSpecApplyConfiguration
- func (b *TargetResourceSpecApplyConfiguration) WithKind(value string) *TargetResourceSpecApplyConfiguration
- func (b *TargetResourceSpecApplyConfiguration) WithName(value string) *TargetResourceSpecApplyConfiguration
- func (b *TargetResourceSpecApplyConfiguration) WithNamespace(value string) *TargetResourceSpecApplyConfiguration
- func (b *TargetResourceSpecApplyConfiguration) WithRawAnyAllConditions(value apiextensionsv1.JSON) *TargetResourceSpecApplyConfiguration
- func (b *TargetResourceSpecApplyConfiguration) WithUID(value types.UID) *TargetResourceSpecApplyConfiguration
- type UserInfoApplyConfiguration
- type ValidatingAdmissionPolicyStatusApplyConfiguration
- type ValidationApplyConfiguration
- func (b *ValidationApplyConfiguration) WithCEL(value *CELApplyConfiguration) *ValidationApplyConfiguration
- func (b *ValidationApplyConfiguration) WithDeny(value *DenyApplyConfiguration) *ValidationApplyConfiguration
- func (b *ValidationApplyConfiguration) WithForEachValidation(values ...*ForEachValidationApplyConfiguration) *ValidationApplyConfiguration
- func (b *ValidationApplyConfiguration) WithManifests(value *ManifestsApplyConfiguration) *ValidationApplyConfiguration
- func (b *ValidationApplyConfiguration) WithMessage(value string) *ValidationApplyConfiguration
- func (b *ValidationApplyConfiguration) WithPodSecurity(value *PodSecurityApplyConfiguration) *ValidationApplyConfiguration
- func (b *ValidationApplyConfiguration) WithRawAnyPattern(value apiextensionsv1.JSON) *ValidationApplyConfiguration
- func (b *ValidationApplyConfiguration) WithRawPattern(value apiextensionsv1.JSON) *ValidationApplyConfiguration
- type ValidationFailureActionOverrideApplyConfiguration
- func (b *ValidationFailureActionOverrideApplyConfiguration) WithAction(value v1.ValidationFailureAction) *ValidationFailureActionOverrideApplyConfiguration
- func (b *ValidationFailureActionOverrideApplyConfiguration) WithNamespaceSelector(value metav1.LabelSelector) *ValidationFailureActionOverrideApplyConfiguration
- func (b *ValidationFailureActionOverrideApplyConfiguration) WithNamespaces(values ...string) *ValidationFailureActionOverrideApplyConfiguration
- type VariableApplyConfiguration
- type WebhookConfigurationApplyConfiguration
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 ¶
func (b *APICallApplyConfiguration) WithData(values ...*RequestDataApplyConfiguration) *APICallApplyConfiguration
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 ¶
func (b *APICallApplyConfiguration) WithMethod(value v1.Method) *APICallApplyConfiguration
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 ¶
func (b *APICallApplyConfiguration) WithService(value *ServiceCallApplyConfiguration) *APICallApplyConfiguration
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 ¶
func (b *APICallApplyConfiguration) WithURLPath(value string) *APICallApplyConfiguration
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 ¶
func (b *AnyAllConditionsApplyConfiguration) WithAllConditions(values ...*ConditionApplyConfiguration) *AnyAllConditionsApplyConfiguration
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 ¶
func (b *AnyAllConditionsApplyConfiguration) WithAnyConditions(values ...*ConditionApplyConfiguration) *AnyAllConditionsApplyConfiguration
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 ¶
func (b *AttestationApplyConfiguration) WithAttestors(values ...*AttestorSetApplyConfiguration) *AttestationApplyConfiguration
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 ¶
func (b *AttestationApplyConfiguration) WithConditions(values ...*AnyAllConditionsApplyConfiguration) *AttestationApplyConfiguration
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 ¶
func (b *AttestationApplyConfiguration) WithPredicateType(value string) *AttestationApplyConfiguration
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 ¶
func (b *AttestationApplyConfiguration) WithType(value string) *AttestationApplyConfiguration
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 ¶
func (b *AttestorApplyConfiguration) WithAttestor(value apiextensionsv1.JSON) *AttestorApplyConfiguration
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 ¶
func (b *AttestorApplyConfiguration) WithCertificates(value *CertificateAttestorApplyConfiguration) *AttestorApplyConfiguration
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 ¶
func (b *AttestorApplyConfiguration) WithKeyless(value *KeylessAttestorApplyConfiguration) *AttestorApplyConfiguration
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 ¶
func (b *AttestorApplyConfiguration) WithKeys(value *StaticKeyAttestorApplyConfiguration) *AttestorApplyConfiguration
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 ¶
func (b *AttestorApplyConfiguration) WithRepository(value string) *AttestorApplyConfiguration
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 ¶
func (b *AttestorSetApplyConfiguration) WithCount(value int) *AttestorSetApplyConfiguration
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 ¶
func (b *AttestorSetApplyConfiguration) WithEntries(values ...*AttestorApplyConfiguration) *AttestorSetApplyConfiguration
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 ¶
func (b *AutogenStatusApplyConfiguration) WithRules(values ...*RuleApplyConfiguration) *AutogenStatusApplyConfiguration
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 ¶
func (b *CELApplyConfiguration) WithParamKind(value v1alpha1.ParamKind) *CELApplyConfiguration
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 ¶
func (b *CELApplyConfiguration) WithParamRef(value v1alpha1.ParamRef) *CELApplyConfiguration
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 ¶
func (b *CertificateAttestorApplyConfiguration) WithCTLog(value *CTLogApplyConfiguration) *CertificateAttestorApplyConfiguration
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 ¶
func (b *CertificateAttestorApplyConfiguration) WithCertificate(value string) *CertificateAttestorApplyConfiguration
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 ¶
func (b *CertificateAttestorApplyConfiguration) WithCertificateChain(value string) *CertificateAttestorApplyConfiguration
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 ¶
func (b *CertificateAttestorApplyConfiguration) WithRekor(value *RekorApplyConfiguration) *CertificateAttestorApplyConfiguration
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 ¶
func (b *CloneFromApplyConfiguration) WithName(value string) *CloneFromApplyConfiguration
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 ¶
func (b *CloneFromApplyConfiguration) WithNamespace(value string) *CloneFromApplyConfiguration
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 ¶
func (b *CloneListApplyConfiguration) WithKinds(values ...string) *CloneListApplyConfiguration
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 ¶
func (b *CloneListApplyConfiguration) WithNamespace(value string) *CloneListApplyConfiguration
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 ¶
func (b *CloneListApplyConfiguration) WithSelector(value v1.LabelSelector) *CloneListApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithAPIVersion(value string) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithFinalizers(values ...string) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithGenerateName(value string) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithGeneration(value int64) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithKind(value string) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithLabels(entries map[string]string) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithName(value string) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithNamespace(value string) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithResourceVersion(value string) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithSpec(value *SpecApplyConfiguration) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithStatus(value *PolicyStatusApplyConfiguration) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ClusterPolicyApplyConfiguration) WithUID(value types.UID) *ClusterPolicyApplyConfiguration
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 ¶
func (b *ConditionApplyConfiguration) WithMessage(value string) *ConditionApplyConfiguration
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 ¶
func (b *ConditionApplyConfiguration) WithOperator(value kyvernov1.ConditionOperator) *ConditionApplyConfiguration
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 ¶
func (b *ConditionApplyConfiguration) WithRawKey(value v1.JSON) *ConditionApplyConfiguration
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 ¶
func (b *ConditionApplyConfiguration) WithRawValue(value v1.JSON) *ConditionApplyConfiguration
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 ¶
func (b *ConfigMapReferenceApplyConfiguration) WithName(value string) *ConfigMapReferenceApplyConfiguration
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 ¶
func (b *ConfigMapReferenceApplyConfiguration) WithNamespace(value string) *ConfigMapReferenceApplyConfiguration
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
func (b *ContextAPICallApplyConfiguration) WithData(values ...*RequestDataApplyConfiguration) *ContextAPICallApplyConfiguration
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
func (b *ContextAPICallApplyConfiguration) WithJMESPath(value string) *ContextAPICallApplyConfiguration
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
func (b *ContextAPICallApplyConfiguration) WithMethod(value kyvernov1.Method) *ContextAPICallApplyConfiguration
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
func (b *ContextAPICallApplyConfiguration) WithService(value *ServiceCallApplyConfiguration) *ContextAPICallApplyConfiguration
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
func (b *ContextAPICallApplyConfiguration) WithURLPath(value string) *ContextAPICallApplyConfiguration
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 ¶
func (b *ContextEntryApplyConfiguration) WithAPICall(value *ContextAPICallApplyConfiguration) *ContextEntryApplyConfiguration
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 ¶
func (b *ContextEntryApplyConfiguration) WithConfigMap(value *ConfigMapReferenceApplyConfiguration) *ContextEntryApplyConfiguration
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
func (b *ContextEntryApplyConfiguration) WithGlobalReference(value *GlobalContextEntryReferenceApplyConfiguration) *ContextEntryApplyConfiguration
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 ¶
func (b *ContextEntryApplyConfiguration) WithImageRegistry(value *ImageRegistryApplyConfiguration) *ContextEntryApplyConfiguration
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 ¶
func (b *ContextEntryApplyConfiguration) WithName(value string) *ContextEntryApplyConfiguration
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 ¶
func (b *ContextEntryApplyConfiguration) WithVariable(value *VariableApplyConfiguration) *ContextEntryApplyConfiguration
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 ¶
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 ¶
func (b *DryRunOptionApplyConfiguration) WithEnable(value bool) *DryRunOptionApplyConfiguration
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 ¶
func (b *DryRunOptionApplyConfiguration) WithNamespace(value string) *DryRunOptionApplyConfiguration
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 ¶
func (b *ForEachMutationApplyConfiguration) WithAnyAllConditions(value *AnyAllConditionsApplyConfiguration) *ForEachMutationApplyConfiguration
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 ¶
func (b *ForEachMutationApplyConfiguration) WithContext(values ...*ContextEntryApplyConfiguration) *ForEachMutationApplyConfiguration
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 ¶
func (b *ForEachMutationApplyConfiguration) WithForEachMutation(value apiextensionsv1.JSON) *ForEachMutationApplyConfiguration
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 ¶
func (b *ForEachMutationApplyConfiguration) WithList(value string) *ForEachMutationApplyConfiguration
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 ¶
func (b *ForEachMutationApplyConfiguration) WithOrder(value v1.ForeachOrder) *ForEachMutationApplyConfiguration
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 ¶
func (b *ForEachMutationApplyConfiguration) WithPatchesJSON6902(value string) *ForEachMutationApplyConfiguration
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 ¶
func (b *ForEachMutationApplyConfiguration) WithRawPatchStrategicMerge(value apiextensionsv1.JSON) *ForEachMutationApplyConfiguration
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 ¶
func (b *ForEachValidationApplyConfiguration) WithAnyAllConditions(value *AnyAllConditionsApplyConfiguration) *ForEachValidationApplyConfiguration
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 ¶
func (b *ForEachValidationApplyConfiguration) WithContext(values ...*ContextEntryApplyConfiguration) *ForEachValidationApplyConfiguration
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 ¶
func (b *ForEachValidationApplyConfiguration) WithDeny(value *DenyApplyConfiguration) *ForEachValidationApplyConfiguration
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 ¶
func (b *ForEachValidationApplyConfiguration) WithElementScope(value bool) *ForEachValidationApplyConfiguration
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 ¶
func (b *ForEachValidationApplyConfiguration) WithForEachValidation(value apiextensionsv1.JSON) *ForEachValidationApplyConfiguration
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 ¶
func (b *ForEachValidationApplyConfiguration) WithList(value string) *ForEachValidationApplyConfiguration
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 ¶
func (b *ForEachValidationApplyConfiguration) WithRawAnyPattern(value apiextensionsv1.JSON) *ForEachValidationApplyConfiguration
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 ¶
func (b *ForEachValidationApplyConfiguration) WithRawPattern(value apiextensionsv1.JSON) *ForEachValidationApplyConfiguration
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 ¶
func (b *GenerationApplyConfiguration) WithAPIVersion(value string) *GenerationApplyConfiguration
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 ¶
func (b *GenerationApplyConfiguration) WithClone(value *CloneFromApplyConfiguration) *GenerationApplyConfiguration
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 ¶
func (b *GenerationApplyConfiguration) WithCloneList(value *CloneListApplyConfiguration) *GenerationApplyConfiguration
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 ¶
func (b *GenerationApplyConfiguration) WithKind(value string) *GenerationApplyConfiguration
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 ¶
func (b *GenerationApplyConfiguration) WithName(value string) *GenerationApplyConfiguration
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 ¶
func (b *GenerationApplyConfiguration) WithNamespace(value string) *GenerationApplyConfiguration
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 ¶
func (b *GenerationApplyConfiguration) WithRawData(value apiextensionsv1.JSON) *GenerationApplyConfiguration
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 ¶
func (b *GenerationApplyConfiguration) WithSynchronize(value bool) *GenerationApplyConfiguration
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
func (b *GenerationApplyConfiguration) WithUID(value types.UID) *GenerationApplyConfiguration
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
func (b *GlobalContextEntryReferenceApplyConfiguration) WithJMESPath(value string) *GlobalContextEntryReferenceApplyConfiguration
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
func (b *GlobalContextEntryReferenceApplyConfiguration) WithName(value string) *GlobalContextEntryReferenceApplyConfiguration
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 ¶
func (b *ImageExtractorConfigApplyConfiguration) WithJMESPath(value string) *ImageExtractorConfigApplyConfiguration
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 ¶
func (b *ImageExtractorConfigApplyConfiguration) WithKey(value string) *ImageExtractorConfigApplyConfiguration
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 ¶
func (b *ImageExtractorConfigApplyConfiguration) WithName(value string) *ImageExtractorConfigApplyConfiguration
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 ¶
func (b *ImageExtractorConfigApplyConfiguration) WithPath(value string) *ImageExtractorConfigApplyConfiguration
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 ¶
func (b *ImageExtractorConfigApplyConfiguration) WithValue(value string) *ImageExtractorConfigApplyConfiguration
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 ¶
func (b *ImageRegistryApplyConfiguration) WithImageRegistryCredentials(value *ImageRegistryCredentialsApplyConfiguration) *ImageRegistryApplyConfiguration
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 ¶
func (b *ImageRegistryApplyConfiguration) WithJMESPath(value string) *ImageRegistryApplyConfiguration
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 ¶
func (b *ImageRegistryApplyConfiguration) WithReference(value string) *ImageRegistryApplyConfiguration
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 ¶
func (b *ImageRegistryCredentialsApplyConfiguration) WithAllowInsecureRegistry(value bool) *ImageRegistryCredentialsApplyConfiguration
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 ¶
func (b *ImageRegistryCredentialsApplyConfiguration) WithProviders(values ...v1.ImageRegistryCredentialsProvidersType) *ImageRegistryCredentialsApplyConfiguration
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 ¶
func (b *ImageRegistryCredentialsApplyConfiguration) WithSecrets(values ...string) *ImageRegistryCredentialsApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithAdditionalExtensions(entries map[string]string) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithAnnotations(entries map[string]string) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithAttestations(values ...*AttestationApplyConfiguration) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithAttestors(values ...*AttestorSetApplyConfiguration) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithImage(value string) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithImageReferences(values ...string) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithImageRegistryCredentials(value *ImageRegistryCredentialsApplyConfiguration) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithIssuer(value string) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithKey(value string) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithMutateDigest(value bool) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithRepository(value string) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithRequired(value bool) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithRoots(value string) *ImageVerificationApplyConfiguration
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
func (b *ImageVerificationApplyConfiguration) WithSkipImageReferences(values ...string) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithSubject(value string) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithType(value v1.ImageVerificationType) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithUseCache(value bool) *ImageVerificationApplyConfiguration
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 ¶
func (b *ImageVerificationApplyConfiguration) WithVerifyDigest(value bool) *ImageVerificationApplyConfiguration
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 ¶
func (b *KeylessAttestorApplyConfiguration) WithCTLog(value *CTLogApplyConfiguration) *KeylessAttestorApplyConfiguration
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 ¶
func (b *KeylessAttestorApplyConfiguration) WithIssuer(value string) *KeylessAttestorApplyConfiguration
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 ¶
func (b *KeylessAttestorApplyConfiguration) WithRekor(value *RekorApplyConfiguration) *KeylessAttestorApplyConfiguration
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 ¶
func (b *KeylessAttestorApplyConfiguration) WithRoots(value string) *KeylessAttestorApplyConfiguration
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 ¶
func (b *KeylessAttestorApplyConfiguration) WithSubject(value string) *KeylessAttestorApplyConfiguration
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 ¶
func (b *ManifestsApplyConfiguration) WithAttestors(values ...*AttestorSetApplyConfiguration) *ManifestsApplyConfiguration
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 ¶
func (b *ManifestsApplyConfiguration) WithDryRunOption(value *DryRunOptionApplyConfiguration) *ManifestsApplyConfiguration
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 ¶
func (b *ManifestsApplyConfiguration) WithIgnoreFields(value kyvernov1.IgnoreFieldList) *ManifestsApplyConfiguration
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 ¶
func (b *ManifestsApplyConfiguration) WithRepository(value string) *ManifestsApplyConfiguration
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 ¶
func (b *MatchResourcesApplyConfiguration) WithAll(value v1.ResourceFilters) *MatchResourcesApplyConfiguration
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 ¶
func (b *MatchResourcesApplyConfiguration) WithAnnotations(entries map[string]string) *MatchResourcesApplyConfiguration
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 ¶
func (b *MatchResourcesApplyConfiguration) WithAny(value v1.ResourceFilters) *MatchResourcesApplyConfiguration
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 ¶
func (b *MatchResourcesApplyConfiguration) WithClusterRoles(values ...string) *MatchResourcesApplyConfiguration
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 ¶
func (b *MatchResourcesApplyConfiguration) WithKinds(values ...string) *MatchResourcesApplyConfiguration
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 ¶
func (b *MatchResourcesApplyConfiguration) WithName(value string) *MatchResourcesApplyConfiguration
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 ¶
func (b *MatchResourcesApplyConfiguration) WithNames(values ...string) *MatchResourcesApplyConfiguration
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 ¶
func (b *MatchResourcesApplyConfiguration) WithNamespaceSelector(value metav1.LabelSelector) *MatchResourcesApplyConfiguration
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 ¶
func (b *MatchResourcesApplyConfiguration) WithNamespaces(values ...string) *MatchResourcesApplyConfiguration
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 ¶
func (b *MatchResourcesApplyConfiguration) WithOperations(values ...v1.AdmissionOperation) *MatchResourcesApplyConfiguration
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 ¶
func (b *MatchResourcesApplyConfiguration) WithRoles(values ...string) *MatchResourcesApplyConfiguration
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 ¶
func (b *MatchResourcesApplyConfiguration) WithSelector(value metav1.LabelSelector) *MatchResourcesApplyConfiguration
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 ¶
func (b *MatchResourcesApplyConfiguration) WithSubjects(values ...rbacv1.Subject) *MatchResourcesApplyConfiguration
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 ¶
func (b *MutationApplyConfiguration) WithForEachMutation(values ...*ForEachMutationApplyConfiguration) *MutationApplyConfiguration
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 ¶
func (b *MutationApplyConfiguration) WithTargets(values ...*TargetResourceSpecApplyConfiguration) *MutationApplyConfiguration
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 ¶
func (b *ObjectFieldBindingApplyConfiguration) WithFields(values ...string) *ObjectFieldBindingApplyConfiguration
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 ¶
func (b *ObjectFieldBindingApplyConfiguration) WithObjects(value k8smanifest.ObjectReferenceList) *ObjectFieldBindingApplyConfiguration
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 ¶
func (b *PodSecurityApplyConfiguration) WithExclude(values ...*PodSecurityStandardApplyConfiguration) *PodSecurityApplyConfiguration
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 ¶
func (b *PodSecurityApplyConfiguration) WithLevel(value api.Level) *PodSecurityApplyConfiguration
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 ¶
func (b *PodSecurityApplyConfiguration) WithVersion(value string) *PodSecurityApplyConfiguration
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 ¶
func (b *PodSecurityStandardApplyConfiguration) WithControlName(value string) *PodSecurityStandardApplyConfiguration
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 ¶
func (b *PodSecurityStandardApplyConfiguration) WithImages(values ...string) *PodSecurityStandardApplyConfiguration
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
func (b *PodSecurityStandardApplyConfiguration) WithRestrictedField(value string) *PodSecurityStandardApplyConfiguration
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
func (b *PodSecurityStandardApplyConfiguration) WithValues(values ...string) *PodSecurityStandardApplyConfiguration
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 ¶
func (b *PolicyApplyConfiguration) WithKind(value string) *PolicyApplyConfiguration
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 ¶
func (b *PolicyApplyConfiguration) WithName(value string) *PolicyApplyConfiguration
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 ¶
func (b *PolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PolicyApplyConfiguration
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 ¶
func (b *PolicyApplyConfiguration) WithSpec(value *SpecApplyConfiguration) *PolicyApplyConfiguration
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 ¶
func (b *PolicyApplyConfiguration) WithStatus(value *PolicyStatusApplyConfiguration) *PolicyApplyConfiguration
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 ¶
func (b *PolicyApplyConfiguration) WithUID(value types.UID) *PolicyApplyConfiguration
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 ¶
func (b *PolicyStatusApplyConfiguration) WithAutogen(value *AutogenStatusApplyConfiguration) *PolicyStatusApplyConfiguration
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 ¶
func (b *PolicyStatusApplyConfiguration) WithConditions(values ...v1.Condition) *PolicyStatusApplyConfiguration
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 ¶
func (b *PolicyStatusApplyConfiguration) WithReady(value bool) *PolicyStatusApplyConfiguration
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 ¶
func (b *PolicyStatusApplyConfiguration) WithRuleCount(value *RuleCountStatusApplyConfiguration) *PolicyStatusApplyConfiguration
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 ¶
func (b *PolicyStatusApplyConfiguration) WithValidatingAdmissionPolicy(value *ValidatingAdmissionPolicyStatusApplyConfiguration) *PolicyStatusApplyConfiguration
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 ¶
func (b *RekorApplyConfiguration) WithURL(value string) *RekorApplyConfiguration
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 ¶
func (b *RequestDataApplyConfiguration) WithKey(value string) *RequestDataApplyConfiguration
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 ¶
func (b *RequestDataApplyConfiguration) WithValue(value v1.JSON) *RequestDataApplyConfiguration
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 ¶
func (b *ResourceDescriptionApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceDescriptionApplyConfiguration
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 ¶
func (b *ResourceDescriptionApplyConfiguration) WithKinds(values ...string) *ResourceDescriptionApplyConfiguration
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 ¶
func (b *ResourceDescriptionApplyConfiguration) WithName(value string) *ResourceDescriptionApplyConfiguration
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 ¶
func (b *ResourceDescriptionApplyConfiguration) WithNames(values ...string) *ResourceDescriptionApplyConfiguration
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 ¶
func (b *ResourceDescriptionApplyConfiguration) WithNamespaceSelector(value v1.LabelSelector) *ResourceDescriptionApplyConfiguration
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 ¶
func (b *ResourceDescriptionApplyConfiguration) WithNamespaces(values ...string) *ResourceDescriptionApplyConfiguration
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 ¶
func (b *ResourceDescriptionApplyConfiguration) WithOperations(values ...kyvernov1.AdmissionOperation) *ResourceDescriptionApplyConfiguration
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 ¶
func (b *ResourceDescriptionApplyConfiguration) WithSelector(value v1.LabelSelector) *ResourceDescriptionApplyConfiguration
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 ¶
func (b *ResourceFilterApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceFilterApplyConfiguration
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 ¶
func (b *ResourceFilterApplyConfiguration) WithClusterRoles(values ...string) *ResourceFilterApplyConfiguration
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 ¶
func (b *ResourceFilterApplyConfiguration) WithKinds(values ...string) *ResourceFilterApplyConfiguration
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 ¶
func (b *ResourceFilterApplyConfiguration) WithName(value string) *ResourceFilterApplyConfiguration
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 ¶
func (b *ResourceFilterApplyConfiguration) WithNames(values ...string) *ResourceFilterApplyConfiguration
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 ¶
func (b *ResourceFilterApplyConfiguration) WithNamespaceSelector(value metav1.LabelSelector) *ResourceFilterApplyConfiguration
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 ¶
func (b *ResourceFilterApplyConfiguration) WithNamespaces(values ...string) *ResourceFilterApplyConfiguration
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 ¶
func (b *ResourceFilterApplyConfiguration) WithOperations(values ...kyvernov1.AdmissionOperation) *ResourceFilterApplyConfiguration
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 ¶
func (b *ResourceFilterApplyConfiguration) WithRoles(values ...string) *ResourceFilterApplyConfiguration
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 ¶
func (b *ResourceFilterApplyConfiguration) WithSelector(value metav1.LabelSelector) *ResourceFilterApplyConfiguration
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 ¶
func (b *ResourceFilterApplyConfiguration) WithSubjects(values ...rbacv1.Subject) *ResourceFilterApplyConfiguration
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 ¶
func (b *ResourceSpecApplyConfiguration) WithAPIVersion(value string) *ResourceSpecApplyConfiguration
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 ¶
func (b *ResourceSpecApplyConfiguration) WithKind(value string) *ResourceSpecApplyConfiguration
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 ¶
func (b *ResourceSpecApplyConfiguration) WithName(value string) *ResourceSpecApplyConfiguration
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 ¶
func (b *ResourceSpecApplyConfiguration) WithNamespace(value string) *ResourceSpecApplyConfiguration
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
func (b *ResourceSpecApplyConfiguration) WithUID(value types.UID) *ResourceSpecApplyConfiguration
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 ¶
func (b *RuleApplyConfiguration) WithContext(values ...*ContextEntryApplyConfiguration) *RuleApplyConfiguration
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 ¶
func (b *RuleApplyConfiguration) WithExcludeResources(value *MatchResourcesApplyConfiguration) *RuleApplyConfiguration
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 ¶
func (b *RuleApplyConfiguration) WithGeneration(value *GenerationApplyConfiguration) *RuleApplyConfiguration
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 ¶
func (b *RuleApplyConfiguration) WithImageExtractors(value kyvernov1.ImageExtractorConfigs) *RuleApplyConfiguration
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 ¶
func (b *RuleApplyConfiguration) WithMatchResources(value *MatchResourcesApplyConfiguration) *RuleApplyConfiguration
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 ¶
func (b *RuleApplyConfiguration) WithMutation(value *MutationApplyConfiguration) *RuleApplyConfiguration
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 ¶
func (b *RuleApplyConfiguration) WithName(value string) *RuleApplyConfiguration
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 ¶
func (b *RuleApplyConfiguration) WithValidation(value *ValidationApplyConfiguration) *RuleApplyConfiguration
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 ¶
func (b *RuleApplyConfiguration) WithVerifyImages(values ...*ImageVerificationApplyConfiguration) *RuleApplyConfiguration
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 ¶
func (b *RuleCountStatusApplyConfiguration) WithGenerate(value int) *RuleCountStatusApplyConfiguration
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 ¶
func (b *RuleCountStatusApplyConfiguration) WithMutate(value int) *RuleCountStatusApplyConfiguration
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 ¶
func (b *RuleCountStatusApplyConfiguration) WithValidate(value int) *RuleCountStatusApplyConfiguration
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 ¶
func (b *RuleCountStatusApplyConfiguration) WithVerifyImages(value int) *RuleCountStatusApplyConfiguration
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 ¶
func (b *SecretReferenceApplyConfiguration) WithName(value string) *SecretReferenceApplyConfiguration
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 ¶
func (b *SecretReferenceApplyConfiguration) WithNamespace(value string) *SecretReferenceApplyConfiguration
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 ¶
func (b *ServiceCallApplyConfiguration) WithCABundle(value string) *ServiceCallApplyConfiguration
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 ¶
func (b *ServiceCallApplyConfiguration) WithURL(value string) *ServiceCallApplyConfiguration
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 ¶
func (b *SpecApplyConfiguration) WithApplyRules(value kyvernov1.ApplyRulesType) *SpecApplyConfiguration
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 ¶
func (b *SpecApplyConfiguration) WithFailurePolicy(value kyvernov1.FailurePolicyType) *SpecApplyConfiguration
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 ¶
func (b *SpecApplyConfiguration) WithRules(values ...*RuleApplyConfiguration) *SpecApplyConfiguration
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
func (b *SpecApplyConfiguration) WithWebhookConfiguration(value *WebhookConfigurationApplyConfiguration) *SpecApplyConfiguration
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 ¶
func (b *StaticKeyAttestorApplyConfiguration) WithCTLog(value *CTLogApplyConfiguration) *StaticKeyAttestorApplyConfiguration
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 ¶
func (b *StaticKeyAttestorApplyConfiguration) WithKMS(value string) *StaticKeyAttestorApplyConfiguration
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 ¶
func (b *StaticKeyAttestorApplyConfiguration) WithPublicKeys(value string) *StaticKeyAttestorApplyConfiguration
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 ¶
func (b *StaticKeyAttestorApplyConfiguration) WithRekor(value *RekorApplyConfiguration) *StaticKeyAttestorApplyConfiguration
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 ¶
func (b *StaticKeyAttestorApplyConfiguration) WithSecret(value *SecretReferenceApplyConfiguration) *StaticKeyAttestorApplyConfiguration
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 ¶
func (b *StaticKeyAttestorApplyConfiguration) WithSignatureAlgorithm(value string) *StaticKeyAttestorApplyConfiguration
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 ¶
func (b *TargetResourceSpecApplyConfiguration) WithAPIVersion(value string) *TargetResourceSpecApplyConfiguration
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 ¶
func (b *TargetResourceSpecApplyConfiguration) WithContext(values ...*ContextEntryApplyConfiguration) *TargetResourceSpecApplyConfiguration
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 ¶
func (b *TargetResourceSpecApplyConfiguration) WithKind(value string) *TargetResourceSpecApplyConfiguration
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 ¶
func (b *TargetResourceSpecApplyConfiguration) WithName(value string) *TargetResourceSpecApplyConfiguration
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 ¶
func (b *TargetResourceSpecApplyConfiguration) WithNamespace(value string) *TargetResourceSpecApplyConfiguration
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 ¶
func (b *TargetResourceSpecApplyConfiguration) WithRawAnyAllConditions(value apiextensionsv1.JSON) *TargetResourceSpecApplyConfiguration
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
func (b *TargetResourceSpecApplyConfiguration) WithUID(value types.UID) *TargetResourceSpecApplyConfiguration
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 ¶
func (b *UserInfoApplyConfiguration) WithRoles(values ...string) *UserInfoApplyConfiguration
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 ¶
func (b *UserInfoApplyConfiguration) WithSubjects(values ...v1.Subject) *UserInfoApplyConfiguration
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 ¶
func (b *ValidatingAdmissionPolicyStatusApplyConfiguration) WithGenerated(value bool) *ValidatingAdmissionPolicyStatusApplyConfiguration
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 ¶
func (b *ValidatingAdmissionPolicyStatusApplyConfiguration) WithMessage(value string) *ValidatingAdmissionPolicyStatusApplyConfiguration
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 ¶
func (b *ValidationApplyConfiguration) WithCEL(value *CELApplyConfiguration) *ValidationApplyConfiguration
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 ¶
func (b *ValidationApplyConfiguration) WithDeny(value *DenyApplyConfiguration) *ValidationApplyConfiguration
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 ¶
func (b *ValidationApplyConfiguration) WithForEachValidation(values ...*ForEachValidationApplyConfiguration) *ValidationApplyConfiguration
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 ¶
func (b *ValidationApplyConfiguration) WithManifests(value *ManifestsApplyConfiguration) *ValidationApplyConfiguration
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 ¶
func (b *ValidationApplyConfiguration) WithMessage(value string) *ValidationApplyConfiguration
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 ¶
func (b *ValidationApplyConfiguration) WithPodSecurity(value *PodSecurityApplyConfiguration) *ValidationApplyConfiguration
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 ¶
func (b *ValidationApplyConfiguration) WithRawAnyPattern(value apiextensionsv1.JSON) *ValidationApplyConfiguration
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 ¶
func (b *ValidationApplyConfiguration) WithRawPattern(value apiextensionsv1.JSON) *ValidationApplyConfiguration
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 ¶
func (b *ValidationFailureActionOverrideApplyConfiguration) WithAction(value v1.ValidationFailureAction) *ValidationFailureActionOverrideApplyConfiguration
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 ¶
func (b *ValidationFailureActionOverrideApplyConfiguration) WithNamespaceSelector(value metav1.LabelSelector) *ValidationFailureActionOverrideApplyConfiguration
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 ¶
func (b *ValidationFailureActionOverrideApplyConfiguration) WithNamespaces(values ...string) *ValidationFailureActionOverrideApplyConfiguration
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 ¶
func (b *VariableApplyConfiguration) WithDefault(value v1.JSON) *VariableApplyConfiguration
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 ¶
func (b *VariableApplyConfiguration) WithJMESPath(value string) *VariableApplyConfiguration
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 ¶
func (b *VariableApplyConfiguration) WithValue(value v1.JSON) *VariableApplyConfiguration
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
func (b *WebhookConfigurationApplyConfiguration) WithMatchConditions(values ...v1.MatchCondition) *WebhookConfigurationApplyConfiguration
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.
Source Files ¶
- anyallconditions.go
- apicall.go
- attestation.go
- attestor.go
- attestorset.go
- autogenstatus.go
- cel.go
- certificateattestor.go
- clonefrom.go
- clonelist.go
- clusterpolicy.go
- condition.go
- configmapreference.go
- contextapicall.go
- contextentry.go
- ctlog.go
- deny.go
- dryrunoption.go
- foreachmutation.go
- foreachvalidation.go
- generation.go
- globalcontextentryreference.go
- imageextractorconfig.go
- imageregistry.go
- imageregistrycredentials.go
- imageverification.go
- keylessattestor.go
- manifests.go
- matchresources.go
- mutation.go
- objectfieldbinding.go
- podsecurity.go
- podsecuritystandard.go
- policy.go
- policystatus.go
- rekor.go
- requestdata.go
- resourcedescription.go
- resourcefilter.go
- resourcespec.go
- rule.go
- rulecountstatus.go
- secretreference.go
- servicecall.go
- spec.go
- statickeyattestor.go
- targetresourcespec.go
- userinfo.go
- validatingadmissionpolicystatus.go
- validation.go
- validationfailureactionoverride.go
- variable.go
- webhookconfiguration.go