Documentation ¶
Index ¶
- type BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithAPIVersion(value string) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithAnnotations(entries map[string]string) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithFinalizers(values ...string) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithGenerateName(value string) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithGeneration(value int64) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithKind(value string) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithLabels(entries map[string]string) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithName(value string) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithNamespace(value string) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithResourceVersion(value string) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithSpec(value *BackupSpecApplyConfiguration) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithStatus(value configv1alpha1.BackupStatus) *BackupApplyConfiguration
- func (b *BackupApplyConfiguration) WithUID(value types.UID) *BackupApplyConfiguration
- type BackupSpecApplyConfiguration
- type ClusterImagePolicyApplyConfiguration
- func ClusterImagePolicy(name string) *ClusterImagePolicyApplyConfiguration
- func ExtractClusterImagePolicy(clusterImagePolicy *configv1alpha1.ClusterImagePolicy, fieldManager string) (*ClusterImagePolicyApplyConfiguration, error)
- func ExtractClusterImagePolicyStatus(clusterImagePolicy *configv1alpha1.ClusterImagePolicy, fieldManager string) (*ClusterImagePolicyApplyConfiguration, error)
- func (b *ClusterImagePolicyApplyConfiguration) WithAPIVersion(value string) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithFinalizers(values ...string) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithGenerateName(value string) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithGeneration(value int64) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithKind(value string) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithLabels(entries map[string]string) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithName(value string) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithNamespace(value string) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithResourceVersion(value string) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithSpec(value *ClusterImagePolicySpecApplyConfiguration) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithStatus(value *ClusterImagePolicyStatusApplyConfiguration) *ClusterImagePolicyApplyConfiguration
- func (b *ClusterImagePolicyApplyConfiguration) WithUID(value types.UID) *ClusterImagePolicyApplyConfiguration
- type ClusterImagePolicySpecApplyConfiguration
- type ClusterImagePolicyStatusApplyConfiguration
- type EtcdBackupSpecApplyConfiguration
- func (b *EtcdBackupSpecApplyConfiguration) WithPVCName(value string) *EtcdBackupSpecApplyConfiguration
- func (b *EtcdBackupSpecApplyConfiguration) WithRetentionPolicy(value *RetentionPolicyApplyConfiguration) *EtcdBackupSpecApplyConfiguration
- func (b *EtcdBackupSpecApplyConfiguration) WithSchedule(value string) *EtcdBackupSpecApplyConfiguration
- func (b *EtcdBackupSpecApplyConfiguration) WithTimeZone(value string) *EtcdBackupSpecApplyConfiguration
- type FulcioCAWithRekorApplyConfiguration
- func (b *FulcioCAWithRekorApplyConfiguration) WithFulcioCAData(values ...byte) *FulcioCAWithRekorApplyConfiguration
- func (b *FulcioCAWithRekorApplyConfiguration) WithFulcioSubject(value *PolicyFulcioSubjectApplyConfiguration) *FulcioCAWithRekorApplyConfiguration
- func (b *FulcioCAWithRekorApplyConfiguration) WithRekorKeyData(values ...byte) *FulcioCAWithRekorApplyConfiguration
- type GatherConfigApplyConfiguration
- type ImagePolicyApplyConfiguration
- func ExtractImagePolicy(imagePolicy *configv1alpha1.ImagePolicy, fieldManager string) (*ImagePolicyApplyConfiguration, error)
- func ExtractImagePolicyStatus(imagePolicy *configv1alpha1.ImagePolicy, fieldManager string) (*ImagePolicyApplyConfiguration, error)
- func ImagePolicy(name, namespace string) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithAPIVersion(value string) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithAnnotations(entries map[string]string) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithFinalizers(values ...string) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithGenerateName(value string) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithGeneration(value int64) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithKind(value string) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithLabels(entries map[string]string) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithName(value string) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithNamespace(value string) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithResourceVersion(value string) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithSpec(value *ImagePolicySpecApplyConfiguration) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithStatus(value *ImagePolicyStatusApplyConfiguration) *ImagePolicyApplyConfiguration
- func (b *ImagePolicyApplyConfiguration) WithUID(value types.UID) *ImagePolicyApplyConfiguration
- type ImagePolicySpecApplyConfiguration
- type ImagePolicyStatusApplyConfiguration
- type InsightsDataGatherApplyConfiguration
- func ExtractInsightsDataGather(insightsDataGather *configv1alpha1.InsightsDataGather, fieldManager string) (*InsightsDataGatherApplyConfiguration, error)
- func ExtractInsightsDataGatherStatus(insightsDataGather *configv1alpha1.InsightsDataGather, fieldManager string) (*InsightsDataGatherApplyConfiguration, error)
- func InsightsDataGather(name string) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithAPIVersion(value string) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithAnnotations(entries map[string]string) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithFinalizers(values ...string) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithGenerateName(value string) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithGeneration(value int64) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithKind(value string) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithLabels(entries map[string]string) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithName(value string) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithNamespace(value string) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithResourceVersion(value string) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithSpec(value *InsightsDataGatherSpecApplyConfiguration) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithStatus(value configv1alpha1.InsightsDataGatherStatus) *InsightsDataGatherApplyConfiguration
- func (b *InsightsDataGatherApplyConfiguration) WithUID(value types.UID) *InsightsDataGatherApplyConfiguration
- type InsightsDataGatherSpecApplyConfiguration
- type PolicyApplyConfiguration
- type PolicyFulcioSubjectApplyConfiguration
- type PolicyIdentityApplyConfiguration
- func (b *PolicyIdentityApplyConfiguration) WithMatchPolicy(value v1alpha1.IdentityMatchPolicy) *PolicyIdentityApplyConfiguration
- func (b *PolicyIdentityApplyConfiguration) WithPolicyMatchExactRepository(value *PolicyMatchExactRepositoryApplyConfiguration) *PolicyIdentityApplyConfiguration
- func (b *PolicyIdentityApplyConfiguration) WithPolicyMatchRemapIdentity(value *PolicyMatchRemapIdentityApplyConfiguration) *PolicyIdentityApplyConfiguration
- type PolicyMatchExactRepositoryApplyConfiguration
- type PolicyMatchRemapIdentityApplyConfiguration
- func (b *PolicyMatchRemapIdentityApplyConfiguration) WithPrefix(value v1alpha1.IdentityRepositoryPrefix) *PolicyMatchRemapIdentityApplyConfiguration
- func (b *PolicyMatchRemapIdentityApplyConfiguration) WithSignedPrefix(value v1alpha1.IdentityRepositoryPrefix) *PolicyMatchRemapIdentityApplyConfiguration
- type PolicyRootOfTrustApplyConfiguration
- func (b *PolicyRootOfTrustApplyConfiguration) WithFulcioCAWithRekor(value *FulcioCAWithRekorApplyConfiguration) *PolicyRootOfTrustApplyConfiguration
- func (b *PolicyRootOfTrustApplyConfiguration) WithPolicyType(value v1alpha1.PolicyType) *PolicyRootOfTrustApplyConfiguration
- func (b *PolicyRootOfTrustApplyConfiguration) WithPublicKey(value *PublicKeyApplyConfiguration) *PolicyRootOfTrustApplyConfiguration
- type PublicKeyApplyConfiguration
- type RetentionNumberConfigApplyConfiguration
- type RetentionPolicyApplyConfiguration
- func (b *RetentionPolicyApplyConfiguration) WithRetentionNumber(value *RetentionNumberConfigApplyConfiguration) *RetentionPolicyApplyConfiguration
- func (b *RetentionPolicyApplyConfiguration) WithRetentionSize(value *RetentionSizeConfigApplyConfiguration) *RetentionPolicyApplyConfiguration
- func (b *RetentionPolicyApplyConfiguration) WithRetentionType(value v1alpha1.RetentionType) *RetentionPolicyApplyConfiguration
- type RetentionSizeConfigApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupApplyConfiguration ¶
type BackupApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *BackupSpecApplyConfiguration `json:"spec,omitempty"` Status *configv1alpha1.BackupStatus `json:"status,omitempty"` }
BackupApplyConfiguration represents an declarative configuration of the Backup type for use with apply.
func Backup ¶
func Backup(name string) *BackupApplyConfiguration
Backup constructs an declarative configuration of the Backup type for use with apply.
func ExtractBackup ¶
func ExtractBackup(backup *configv1alpha1.Backup, fieldManager string) (*BackupApplyConfiguration, error)
ExtractBackup extracts the applied configuration owned by fieldManager from backup. If no managedFields are found in backup for fieldManager, a BackupApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. backup must be a unmodified Backup API object that was retrieved from the Kubernetes API. ExtractBackup provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractBackupStatus ¶
func ExtractBackupStatus(backup *configv1alpha1.Backup, fieldManager string) (*BackupApplyConfiguration, error)
ExtractBackupStatus is the same as ExtractBackup except that it extracts the status subresource applied configuration. Experimental!
func (*BackupApplyConfiguration) WithAPIVersion ¶
func (b *BackupApplyConfiguration) WithAPIVersion(value string) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithAnnotations ¶
func (b *BackupApplyConfiguration) WithAnnotations(entries map[string]string) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithCreationTimestamp ¶
func (b *BackupApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *BackupApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithDeletionTimestamp ¶
func (b *BackupApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithFinalizers ¶
func (b *BackupApplyConfiguration) WithFinalizers(values ...string) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithGenerateName ¶
func (b *BackupApplyConfiguration) WithGenerateName(value string) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithGeneration ¶
func (b *BackupApplyConfiguration) WithGeneration(value int64) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithKind ¶
func (b *BackupApplyConfiguration) WithKind(value string) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithLabels ¶
func (b *BackupApplyConfiguration) WithLabels(entries map[string]string) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithName ¶
func (b *BackupApplyConfiguration) WithName(value string) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithNamespace ¶
func (b *BackupApplyConfiguration) WithNamespace(value string) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithOwnerReferences ¶
func (b *BackupApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithResourceVersion ¶
func (b *BackupApplyConfiguration) WithResourceVersion(value string) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithSpec ¶
func (b *BackupApplyConfiguration) WithSpec(value *BackupSpecApplyConfiguration) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithStatus ¶
func (b *BackupApplyConfiguration) WithStatus(value configv1alpha1.BackupStatus) *BackupApplyConfiguration
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 (*BackupApplyConfiguration) WithUID ¶
func (b *BackupApplyConfiguration) WithUID(value types.UID) *BackupApplyConfiguration
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 BackupSpecApplyConfiguration ¶
type BackupSpecApplyConfiguration struct {
EtcdBackupSpec *EtcdBackupSpecApplyConfiguration `json:"etcd,omitempty"`
}
BackupSpecApplyConfiguration represents an declarative configuration of the BackupSpec type for use with apply.
func BackupSpec ¶
func BackupSpec() *BackupSpecApplyConfiguration
BackupSpecApplyConfiguration constructs an declarative configuration of the BackupSpec type for use with apply.
func (*BackupSpecApplyConfiguration) WithEtcdBackupSpec ¶
func (b *BackupSpecApplyConfiguration) WithEtcdBackupSpec(value *EtcdBackupSpecApplyConfiguration) *BackupSpecApplyConfiguration
WithEtcdBackupSpec sets the EtcdBackupSpec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EtcdBackupSpec field is set to the value of the last call.
type ClusterImagePolicyApplyConfiguration ¶
type ClusterImagePolicyApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ClusterImagePolicySpecApplyConfiguration `json:"spec,omitempty"` Status *ClusterImagePolicyStatusApplyConfiguration `json:"status,omitempty"` }
ClusterImagePolicyApplyConfiguration represents an declarative configuration of the ClusterImagePolicy type for use with apply.
func ClusterImagePolicy ¶
func ClusterImagePolicy(name string) *ClusterImagePolicyApplyConfiguration
ClusterImagePolicy constructs an declarative configuration of the ClusterImagePolicy type for use with apply.
func ExtractClusterImagePolicy ¶
func ExtractClusterImagePolicy(clusterImagePolicy *configv1alpha1.ClusterImagePolicy, fieldManager string) (*ClusterImagePolicyApplyConfiguration, error)
ExtractClusterImagePolicy extracts the applied configuration owned by fieldManager from clusterImagePolicy. If no managedFields are found in clusterImagePolicy for fieldManager, a ClusterImagePolicyApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. clusterImagePolicy must be a unmodified ClusterImagePolicy API object that was retrieved from the Kubernetes API. ExtractClusterImagePolicy provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractClusterImagePolicyStatus ¶
func ExtractClusterImagePolicyStatus(clusterImagePolicy *configv1alpha1.ClusterImagePolicy, fieldManager string) (*ClusterImagePolicyApplyConfiguration, error)
ExtractClusterImagePolicyStatus is the same as ExtractClusterImagePolicy except that it extracts the status subresource applied configuration. Experimental!
func (*ClusterImagePolicyApplyConfiguration) WithAPIVersion ¶
func (b *ClusterImagePolicyApplyConfiguration) WithAPIVersion(value string) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithAnnotations ¶
func (b *ClusterImagePolicyApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithCreationTimestamp ¶
func (b *ClusterImagePolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ClusterImagePolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithDeletionTimestamp ¶
func (b *ClusterImagePolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithFinalizers ¶
func (b *ClusterImagePolicyApplyConfiguration) WithFinalizers(values ...string) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithGenerateName ¶
func (b *ClusterImagePolicyApplyConfiguration) WithGenerateName(value string) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithGeneration ¶
func (b *ClusterImagePolicyApplyConfiguration) WithGeneration(value int64) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithKind ¶
func (b *ClusterImagePolicyApplyConfiguration) WithKind(value string) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithLabels ¶
func (b *ClusterImagePolicyApplyConfiguration) WithLabels(entries map[string]string) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithName ¶
func (b *ClusterImagePolicyApplyConfiguration) WithName(value string) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithNamespace ¶
func (b *ClusterImagePolicyApplyConfiguration) WithNamespace(value string) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithOwnerReferences ¶
func (b *ClusterImagePolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithResourceVersion ¶
func (b *ClusterImagePolicyApplyConfiguration) WithResourceVersion(value string) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithSpec ¶
func (b *ClusterImagePolicyApplyConfiguration) WithSpec(value *ClusterImagePolicySpecApplyConfiguration) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithStatus ¶
func (b *ClusterImagePolicyApplyConfiguration) WithStatus(value *ClusterImagePolicyStatusApplyConfiguration) *ClusterImagePolicyApplyConfiguration
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 (*ClusterImagePolicyApplyConfiguration) WithUID ¶
func (b *ClusterImagePolicyApplyConfiguration) WithUID(value types.UID) *ClusterImagePolicyApplyConfiguration
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 ClusterImagePolicySpecApplyConfiguration ¶
type ClusterImagePolicySpecApplyConfiguration struct { Scopes []v1alpha1.ImageScope `json:"scopes,omitempty"` Policy *PolicyApplyConfiguration `json:"policy,omitempty"` }
ClusterImagePolicySpecApplyConfiguration represents an declarative configuration of the ClusterImagePolicySpec type for use with apply.
func ClusterImagePolicySpec ¶
func ClusterImagePolicySpec() *ClusterImagePolicySpecApplyConfiguration
ClusterImagePolicySpecApplyConfiguration constructs an declarative configuration of the ClusterImagePolicySpec type for use with apply.
func (*ClusterImagePolicySpecApplyConfiguration) WithPolicy ¶
func (b *ClusterImagePolicySpecApplyConfiguration) WithPolicy(value *PolicyApplyConfiguration) *ClusterImagePolicySpecApplyConfiguration
WithPolicy sets the Policy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Policy field is set to the value of the last call.
func (*ClusterImagePolicySpecApplyConfiguration) WithScopes ¶
func (b *ClusterImagePolicySpecApplyConfiguration) WithScopes(values ...v1alpha1.ImageScope) *ClusterImagePolicySpecApplyConfiguration
WithScopes adds the given value to the Scopes 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 Scopes field.
type ClusterImagePolicyStatusApplyConfiguration ¶
type ClusterImagePolicyStatusApplyConfiguration struct {
Conditions []v1.Condition `json:"conditions,omitempty"`
}
ClusterImagePolicyStatusApplyConfiguration represents an declarative configuration of the ClusterImagePolicyStatus type for use with apply.
func ClusterImagePolicyStatus ¶
func ClusterImagePolicyStatus() *ClusterImagePolicyStatusApplyConfiguration
ClusterImagePolicyStatusApplyConfiguration constructs an declarative configuration of the ClusterImagePolicyStatus type for use with apply.
func (*ClusterImagePolicyStatusApplyConfiguration) WithConditions ¶
func (b *ClusterImagePolicyStatusApplyConfiguration) WithConditions(values ...v1.Condition) *ClusterImagePolicyStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
type EtcdBackupSpecApplyConfiguration ¶
type EtcdBackupSpecApplyConfiguration struct { Schedule *string `json:"schedule,omitempty"` TimeZone *string `json:"timeZone,omitempty"` RetentionPolicy *RetentionPolicyApplyConfiguration `json:"retentionPolicy,omitempty"` PVCName *string `json:"pvcName,omitempty"` }
EtcdBackupSpecApplyConfiguration represents an declarative configuration of the EtcdBackupSpec type for use with apply.
func EtcdBackupSpec ¶
func EtcdBackupSpec() *EtcdBackupSpecApplyConfiguration
EtcdBackupSpecApplyConfiguration constructs an declarative configuration of the EtcdBackupSpec type for use with apply.
func (*EtcdBackupSpecApplyConfiguration) WithPVCName ¶
func (b *EtcdBackupSpecApplyConfiguration) WithPVCName(value string) *EtcdBackupSpecApplyConfiguration
WithPVCName sets the PVCName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PVCName field is set to the value of the last call.
func (*EtcdBackupSpecApplyConfiguration) WithRetentionPolicy ¶
func (b *EtcdBackupSpecApplyConfiguration) WithRetentionPolicy(value *RetentionPolicyApplyConfiguration) *EtcdBackupSpecApplyConfiguration
WithRetentionPolicy sets the RetentionPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RetentionPolicy field is set to the value of the last call.
func (*EtcdBackupSpecApplyConfiguration) WithSchedule ¶
func (b *EtcdBackupSpecApplyConfiguration) WithSchedule(value string) *EtcdBackupSpecApplyConfiguration
WithSchedule sets the Schedule field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Schedule field is set to the value of the last call.
func (*EtcdBackupSpecApplyConfiguration) WithTimeZone ¶
func (b *EtcdBackupSpecApplyConfiguration) WithTimeZone(value string) *EtcdBackupSpecApplyConfiguration
WithTimeZone sets the TimeZone field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TimeZone field is set to the value of the last call.
type FulcioCAWithRekorApplyConfiguration ¶
type FulcioCAWithRekorApplyConfiguration struct { FulcioCAData []byte `json:"fulcioCAData,omitempty"` RekorKeyData []byte `json:"rekorKeyData,omitempty"` FulcioSubject *PolicyFulcioSubjectApplyConfiguration `json:"fulcioSubject,omitempty"` }
FulcioCAWithRekorApplyConfiguration represents an declarative configuration of the FulcioCAWithRekor type for use with apply.
func FulcioCAWithRekor ¶
func FulcioCAWithRekor() *FulcioCAWithRekorApplyConfiguration
FulcioCAWithRekorApplyConfiguration constructs an declarative configuration of the FulcioCAWithRekor type for use with apply.
func (*FulcioCAWithRekorApplyConfiguration) WithFulcioCAData ¶
func (b *FulcioCAWithRekorApplyConfiguration) WithFulcioCAData(values ...byte) *FulcioCAWithRekorApplyConfiguration
WithFulcioCAData adds the given value to the FulcioCAData 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 FulcioCAData field.
func (*FulcioCAWithRekorApplyConfiguration) WithFulcioSubject ¶
func (b *FulcioCAWithRekorApplyConfiguration) WithFulcioSubject(value *PolicyFulcioSubjectApplyConfiguration) *FulcioCAWithRekorApplyConfiguration
WithFulcioSubject sets the FulcioSubject field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FulcioSubject field is set to the value of the last call.
func (*FulcioCAWithRekorApplyConfiguration) WithRekorKeyData ¶
func (b *FulcioCAWithRekorApplyConfiguration) WithRekorKeyData(values ...byte) *FulcioCAWithRekorApplyConfiguration
WithRekorKeyData adds the given value to the RekorKeyData 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 RekorKeyData field.
type GatherConfigApplyConfiguration ¶
type GatherConfigApplyConfiguration struct { DataPolicy *v1alpha1.DataPolicy `json:"dataPolicy,omitempty"` DisabledGatherers []string `json:"disabledGatherers,omitempty"` }
GatherConfigApplyConfiguration represents an declarative configuration of the GatherConfig type for use with apply.
func GatherConfig ¶
func GatherConfig() *GatherConfigApplyConfiguration
GatherConfigApplyConfiguration constructs an declarative configuration of the GatherConfig type for use with apply.
func (*GatherConfigApplyConfiguration) WithDataPolicy ¶
func (b *GatherConfigApplyConfiguration) WithDataPolicy(value v1alpha1.DataPolicy) *GatherConfigApplyConfiguration
WithDataPolicy sets the DataPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DataPolicy field is set to the value of the last call.
func (*GatherConfigApplyConfiguration) WithDisabledGatherers ¶
func (b *GatherConfigApplyConfiguration) WithDisabledGatherers(values ...string) *GatherConfigApplyConfiguration
WithDisabledGatherers adds the given value to the DisabledGatherers 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 DisabledGatherers field.
type ImagePolicyApplyConfiguration ¶
type ImagePolicyApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ImagePolicySpecApplyConfiguration `json:"spec,omitempty"` Status *ImagePolicyStatusApplyConfiguration `json:"status,omitempty"` }
ImagePolicyApplyConfiguration represents an declarative configuration of the ImagePolicy type for use with apply.
func ExtractImagePolicy ¶
func ExtractImagePolicy(imagePolicy *configv1alpha1.ImagePolicy, fieldManager string) (*ImagePolicyApplyConfiguration, error)
ExtractImagePolicy extracts the applied configuration owned by fieldManager from imagePolicy. If no managedFields are found in imagePolicy for fieldManager, a ImagePolicyApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. imagePolicy must be a unmodified ImagePolicy API object that was retrieved from the Kubernetes API. ExtractImagePolicy provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractImagePolicyStatus ¶
func ExtractImagePolicyStatus(imagePolicy *configv1alpha1.ImagePolicy, fieldManager string) (*ImagePolicyApplyConfiguration, error)
ExtractImagePolicyStatus is the same as ExtractImagePolicy except that it extracts the status subresource applied configuration. Experimental!
func ImagePolicy ¶
func ImagePolicy(name, namespace string) *ImagePolicyApplyConfiguration
ImagePolicy constructs an declarative configuration of the ImagePolicy type for use with apply.
func (*ImagePolicyApplyConfiguration) WithAPIVersion ¶
func (b *ImagePolicyApplyConfiguration) WithAPIVersion(value string) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithAnnotations ¶
func (b *ImagePolicyApplyConfiguration) WithAnnotations(entries map[string]string) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithCreationTimestamp ¶
func (b *ImagePolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ImagePolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithDeletionTimestamp ¶
func (b *ImagePolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithFinalizers ¶
func (b *ImagePolicyApplyConfiguration) WithFinalizers(values ...string) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithGenerateName ¶
func (b *ImagePolicyApplyConfiguration) WithGenerateName(value string) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithGeneration ¶
func (b *ImagePolicyApplyConfiguration) WithGeneration(value int64) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithKind ¶
func (b *ImagePolicyApplyConfiguration) WithKind(value string) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithLabels ¶
func (b *ImagePolicyApplyConfiguration) WithLabels(entries map[string]string) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithName ¶
func (b *ImagePolicyApplyConfiguration) WithName(value string) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithNamespace ¶
func (b *ImagePolicyApplyConfiguration) WithNamespace(value string) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithOwnerReferences ¶
func (b *ImagePolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithResourceVersion ¶
func (b *ImagePolicyApplyConfiguration) WithResourceVersion(value string) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithSpec ¶
func (b *ImagePolicyApplyConfiguration) WithSpec(value *ImagePolicySpecApplyConfiguration) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithStatus ¶
func (b *ImagePolicyApplyConfiguration) WithStatus(value *ImagePolicyStatusApplyConfiguration) *ImagePolicyApplyConfiguration
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 (*ImagePolicyApplyConfiguration) WithUID ¶
func (b *ImagePolicyApplyConfiguration) WithUID(value types.UID) *ImagePolicyApplyConfiguration
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 ImagePolicySpecApplyConfiguration ¶
type ImagePolicySpecApplyConfiguration struct { Scopes []v1alpha1.ImageScope `json:"scopes,omitempty"` Policy *PolicyApplyConfiguration `json:"policy,omitempty"` }
ImagePolicySpecApplyConfiguration represents an declarative configuration of the ImagePolicySpec type for use with apply.
func ImagePolicySpec ¶
func ImagePolicySpec() *ImagePolicySpecApplyConfiguration
ImagePolicySpecApplyConfiguration constructs an declarative configuration of the ImagePolicySpec type for use with apply.
func (*ImagePolicySpecApplyConfiguration) WithPolicy ¶
func (b *ImagePolicySpecApplyConfiguration) WithPolicy(value *PolicyApplyConfiguration) *ImagePolicySpecApplyConfiguration
WithPolicy sets the Policy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Policy field is set to the value of the last call.
func (*ImagePolicySpecApplyConfiguration) WithScopes ¶
func (b *ImagePolicySpecApplyConfiguration) WithScopes(values ...v1alpha1.ImageScope) *ImagePolicySpecApplyConfiguration
WithScopes adds the given value to the Scopes 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 Scopes field.
type ImagePolicyStatusApplyConfiguration ¶
type ImagePolicyStatusApplyConfiguration struct {
Conditions []v1.Condition `json:"conditions,omitempty"`
}
ImagePolicyStatusApplyConfiguration represents an declarative configuration of the ImagePolicyStatus type for use with apply.
func ImagePolicyStatus ¶
func ImagePolicyStatus() *ImagePolicyStatusApplyConfiguration
ImagePolicyStatusApplyConfiguration constructs an declarative configuration of the ImagePolicyStatus type for use with apply.
func (*ImagePolicyStatusApplyConfiguration) WithConditions ¶
func (b *ImagePolicyStatusApplyConfiguration) WithConditions(values ...v1.Condition) *ImagePolicyStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
type InsightsDataGatherApplyConfiguration ¶
type InsightsDataGatherApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *InsightsDataGatherSpecApplyConfiguration `json:"spec,omitempty"` Status *configv1alpha1.InsightsDataGatherStatus `json:"status,omitempty"` }
InsightsDataGatherApplyConfiguration represents an declarative configuration of the InsightsDataGather type for use with apply.
func ExtractInsightsDataGather ¶
func ExtractInsightsDataGather(insightsDataGather *configv1alpha1.InsightsDataGather, fieldManager string) (*InsightsDataGatherApplyConfiguration, error)
ExtractInsightsDataGather extracts the applied configuration owned by fieldManager from insightsDataGather. If no managedFields are found in insightsDataGather for fieldManager, a InsightsDataGatherApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. insightsDataGather must be a unmodified InsightsDataGather API object that was retrieved from the Kubernetes API. ExtractInsightsDataGather provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractInsightsDataGatherStatus ¶
func ExtractInsightsDataGatherStatus(insightsDataGather *configv1alpha1.InsightsDataGather, fieldManager string) (*InsightsDataGatherApplyConfiguration, error)
ExtractInsightsDataGatherStatus is the same as ExtractInsightsDataGather except that it extracts the status subresource applied configuration. Experimental!
func InsightsDataGather ¶
func InsightsDataGather(name string) *InsightsDataGatherApplyConfiguration
InsightsDataGather constructs an declarative configuration of the InsightsDataGather type for use with apply.
func (*InsightsDataGatherApplyConfiguration) WithAPIVersion ¶
func (b *InsightsDataGatherApplyConfiguration) WithAPIVersion(value string) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithAnnotations ¶
func (b *InsightsDataGatherApplyConfiguration) WithAnnotations(entries map[string]string) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithCreationTimestamp ¶
func (b *InsightsDataGatherApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *InsightsDataGatherApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithDeletionTimestamp ¶
func (b *InsightsDataGatherApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithFinalizers ¶
func (b *InsightsDataGatherApplyConfiguration) WithFinalizers(values ...string) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithGenerateName ¶
func (b *InsightsDataGatherApplyConfiguration) WithGenerateName(value string) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithGeneration ¶
func (b *InsightsDataGatherApplyConfiguration) WithGeneration(value int64) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithKind ¶
func (b *InsightsDataGatherApplyConfiguration) WithKind(value string) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithLabels ¶
func (b *InsightsDataGatherApplyConfiguration) WithLabels(entries map[string]string) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithName ¶
func (b *InsightsDataGatherApplyConfiguration) WithName(value string) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithNamespace ¶
func (b *InsightsDataGatherApplyConfiguration) WithNamespace(value string) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithOwnerReferences ¶
func (b *InsightsDataGatherApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithResourceVersion ¶
func (b *InsightsDataGatherApplyConfiguration) WithResourceVersion(value string) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithSpec ¶
func (b *InsightsDataGatherApplyConfiguration) WithSpec(value *InsightsDataGatherSpecApplyConfiguration) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithStatus ¶
func (b *InsightsDataGatherApplyConfiguration) WithStatus(value configv1alpha1.InsightsDataGatherStatus) *InsightsDataGatherApplyConfiguration
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 (*InsightsDataGatherApplyConfiguration) WithUID ¶
func (b *InsightsDataGatherApplyConfiguration) WithUID(value types.UID) *InsightsDataGatherApplyConfiguration
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 InsightsDataGatherSpecApplyConfiguration ¶
type InsightsDataGatherSpecApplyConfiguration struct {
GatherConfig *GatherConfigApplyConfiguration `json:"gatherConfig,omitempty"`
}
InsightsDataGatherSpecApplyConfiguration represents an declarative configuration of the InsightsDataGatherSpec type for use with apply.
func InsightsDataGatherSpec ¶
func InsightsDataGatherSpec() *InsightsDataGatherSpecApplyConfiguration
InsightsDataGatherSpecApplyConfiguration constructs an declarative configuration of the InsightsDataGatherSpec type for use with apply.
func (*InsightsDataGatherSpecApplyConfiguration) WithGatherConfig ¶
func (b *InsightsDataGatherSpecApplyConfiguration) WithGatherConfig(value *GatherConfigApplyConfiguration) *InsightsDataGatherSpecApplyConfiguration
WithGatherConfig sets the GatherConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GatherConfig field is set to the value of the last call.
type PolicyApplyConfiguration ¶
type PolicyApplyConfiguration struct { RootOfTrust *PolicyRootOfTrustApplyConfiguration `json:"rootOfTrust,omitempty"` SignedIdentity *PolicyIdentityApplyConfiguration `json:"signedIdentity,omitempty"` }
PolicyApplyConfiguration represents an declarative configuration of the Policy type for use with apply.
func Policy ¶
func Policy() *PolicyApplyConfiguration
PolicyApplyConfiguration constructs an declarative configuration of the Policy type for use with apply.
func (*PolicyApplyConfiguration) WithRootOfTrust ¶
func (b *PolicyApplyConfiguration) WithRootOfTrust(value *PolicyRootOfTrustApplyConfiguration) *PolicyApplyConfiguration
WithRootOfTrust sets the RootOfTrust field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RootOfTrust field is set to the value of the last call.
func (*PolicyApplyConfiguration) WithSignedIdentity ¶
func (b *PolicyApplyConfiguration) WithSignedIdentity(value *PolicyIdentityApplyConfiguration) *PolicyApplyConfiguration
WithSignedIdentity sets the SignedIdentity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SignedIdentity field is set to the value of the last call.
type PolicyFulcioSubjectApplyConfiguration ¶
type PolicyFulcioSubjectApplyConfiguration struct { OIDCIssuer *string `json:"oidcIssuer,omitempty"` SignedEmail *string `json:"signedEmail,omitempty"` }
PolicyFulcioSubjectApplyConfiguration represents an declarative configuration of the PolicyFulcioSubject type for use with apply.
func PolicyFulcioSubject ¶
func PolicyFulcioSubject() *PolicyFulcioSubjectApplyConfiguration
PolicyFulcioSubjectApplyConfiguration constructs an declarative configuration of the PolicyFulcioSubject type for use with apply.
func (*PolicyFulcioSubjectApplyConfiguration) WithOIDCIssuer ¶
func (b *PolicyFulcioSubjectApplyConfiguration) WithOIDCIssuer(value string) *PolicyFulcioSubjectApplyConfiguration
WithOIDCIssuer sets the OIDCIssuer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OIDCIssuer field is set to the value of the last call.
func (*PolicyFulcioSubjectApplyConfiguration) WithSignedEmail ¶
func (b *PolicyFulcioSubjectApplyConfiguration) WithSignedEmail(value string) *PolicyFulcioSubjectApplyConfiguration
WithSignedEmail sets the SignedEmail field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SignedEmail field is set to the value of the last call.
type PolicyIdentityApplyConfiguration ¶
type PolicyIdentityApplyConfiguration struct { MatchPolicy *v1alpha1.IdentityMatchPolicy `json:"matchPolicy,omitempty"` PolicyMatchExactRepository *PolicyMatchExactRepositoryApplyConfiguration `json:"exactRepository,omitempty"` PolicyMatchRemapIdentity *PolicyMatchRemapIdentityApplyConfiguration `json:"remapIdentity,omitempty"` }
PolicyIdentityApplyConfiguration represents an declarative configuration of the PolicyIdentity type for use with apply.
func PolicyIdentity ¶
func PolicyIdentity() *PolicyIdentityApplyConfiguration
PolicyIdentityApplyConfiguration constructs an declarative configuration of the PolicyIdentity type for use with apply.
func (*PolicyIdentityApplyConfiguration) WithMatchPolicy ¶
func (b *PolicyIdentityApplyConfiguration) WithMatchPolicy(value v1alpha1.IdentityMatchPolicy) *PolicyIdentityApplyConfiguration
WithMatchPolicy sets the MatchPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MatchPolicy field is set to the value of the last call.
func (*PolicyIdentityApplyConfiguration) WithPolicyMatchExactRepository ¶
func (b *PolicyIdentityApplyConfiguration) WithPolicyMatchExactRepository(value *PolicyMatchExactRepositoryApplyConfiguration) *PolicyIdentityApplyConfiguration
WithPolicyMatchExactRepository sets the PolicyMatchExactRepository field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PolicyMatchExactRepository field is set to the value of the last call.
func (*PolicyIdentityApplyConfiguration) WithPolicyMatchRemapIdentity ¶
func (b *PolicyIdentityApplyConfiguration) WithPolicyMatchRemapIdentity(value *PolicyMatchRemapIdentityApplyConfiguration) *PolicyIdentityApplyConfiguration
WithPolicyMatchRemapIdentity sets the PolicyMatchRemapIdentity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PolicyMatchRemapIdentity field is set to the value of the last call.
type PolicyMatchExactRepositoryApplyConfiguration ¶
type PolicyMatchExactRepositoryApplyConfiguration struct {
Repository *v1alpha1.IdentityRepositoryPrefix `json:"repository,omitempty"`
}
PolicyMatchExactRepositoryApplyConfiguration represents an declarative configuration of the PolicyMatchExactRepository type for use with apply.
func PolicyMatchExactRepository ¶
func PolicyMatchExactRepository() *PolicyMatchExactRepositoryApplyConfiguration
PolicyMatchExactRepositoryApplyConfiguration constructs an declarative configuration of the PolicyMatchExactRepository type for use with apply.
func (*PolicyMatchExactRepositoryApplyConfiguration) WithRepository ¶
func (b *PolicyMatchExactRepositoryApplyConfiguration) WithRepository(value v1alpha1.IdentityRepositoryPrefix) *PolicyMatchExactRepositoryApplyConfiguration
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 PolicyMatchRemapIdentityApplyConfiguration ¶
type PolicyMatchRemapIdentityApplyConfiguration struct { Prefix *v1alpha1.IdentityRepositoryPrefix `json:"prefix,omitempty"` SignedPrefix *v1alpha1.IdentityRepositoryPrefix `json:"signedPrefix,omitempty"` }
PolicyMatchRemapIdentityApplyConfiguration represents an declarative configuration of the PolicyMatchRemapIdentity type for use with apply.
func PolicyMatchRemapIdentity ¶
func PolicyMatchRemapIdentity() *PolicyMatchRemapIdentityApplyConfiguration
PolicyMatchRemapIdentityApplyConfiguration constructs an declarative configuration of the PolicyMatchRemapIdentity type for use with apply.
func (*PolicyMatchRemapIdentityApplyConfiguration) WithPrefix ¶
func (b *PolicyMatchRemapIdentityApplyConfiguration) WithPrefix(value v1alpha1.IdentityRepositoryPrefix) *PolicyMatchRemapIdentityApplyConfiguration
WithPrefix sets the Prefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Prefix field is set to the value of the last call.
func (*PolicyMatchRemapIdentityApplyConfiguration) WithSignedPrefix ¶
func (b *PolicyMatchRemapIdentityApplyConfiguration) WithSignedPrefix(value v1alpha1.IdentityRepositoryPrefix) *PolicyMatchRemapIdentityApplyConfiguration
WithSignedPrefix sets the SignedPrefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SignedPrefix field is set to the value of the last call.
type PolicyRootOfTrustApplyConfiguration ¶
type PolicyRootOfTrustApplyConfiguration struct { PolicyType *v1alpha1.PolicyType `json:"policyType,omitempty"` PublicKey *PublicKeyApplyConfiguration `json:"publicKey,omitempty"` FulcioCAWithRekor *FulcioCAWithRekorApplyConfiguration `json:"fulcioCAWithRekor,omitempty"` }
PolicyRootOfTrustApplyConfiguration represents an declarative configuration of the PolicyRootOfTrust type for use with apply.
func PolicyRootOfTrust ¶
func PolicyRootOfTrust() *PolicyRootOfTrustApplyConfiguration
PolicyRootOfTrustApplyConfiguration constructs an declarative configuration of the PolicyRootOfTrust type for use with apply.
func (*PolicyRootOfTrustApplyConfiguration) WithFulcioCAWithRekor ¶
func (b *PolicyRootOfTrustApplyConfiguration) WithFulcioCAWithRekor(value *FulcioCAWithRekorApplyConfiguration) *PolicyRootOfTrustApplyConfiguration
WithFulcioCAWithRekor sets the FulcioCAWithRekor field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FulcioCAWithRekor field is set to the value of the last call.
func (*PolicyRootOfTrustApplyConfiguration) WithPolicyType ¶
func (b *PolicyRootOfTrustApplyConfiguration) WithPolicyType(value v1alpha1.PolicyType) *PolicyRootOfTrustApplyConfiguration
WithPolicyType sets the PolicyType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PolicyType field is set to the value of the last call.
func (*PolicyRootOfTrustApplyConfiguration) WithPublicKey ¶
func (b *PolicyRootOfTrustApplyConfiguration) WithPublicKey(value *PublicKeyApplyConfiguration) *PolicyRootOfTrustApplyConfiguration
WithPublicKey sets the PublicKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PublicKey field is set to the value of the last call.
type PublicKeyApplyConfiguration ¶
type PublicKeyApplyConfiguration struct { KeyData []byte `json:"keyData,omitempty"` RekorKeyData []byte `json:"rekorKeyData,omitempty"` }
PublicKeyApplyConfiguration represents an declarative configuration of the PublicKey type for use with apply.
func PublicKey ¶
func PublicKey() *PublicKeyApplyConfiguration
PublicKeyApplyConfiguration constructs an declarative configuration of the PublicKey type for use with apply.
func (*PublicKeyApplyConfiguration) WithKeyData ¶
func (b *PublicKeyApplyConfiguration) WithKeyData(values ...byte) *PublicKeyApplyConfiguration
WithKeyData adds the given value to the KeyData 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 KeyData field.
func (*PublicKeyApplyConfiguration) WithRekorKeyData ¶
func (b *PublicKeyApplyConfiguration) WithRekorKeyData(values ...byte) *PublicKeyApplyConfiguration
WithRekorKeyData adds the given value to the RekorKeyData 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 RekorKeyData field.
type RetentionNumberConfigApplyConfiguration ¶
type RetentionNumberConfigApplyConfiguration struct {
MaxNumberOfBackups *int `json:"maxNumberOfBackups,omitempty"`
}
RetentionNumberConfigApplyConfiguration represents an declarative configuration of the RetentionNumberConfig type for use with apply.
func RetentionNumberConfig ¶
func RetentionNumberConfig() *RetentionNumberConfigApplyConfiguration
RetentionNumberConfigApplyConfiguration constructs an declarative configuration of the RetentionNumberConfig type for use with apply.
func (*RetentionNumberConfigApplyConfiguration) WithMaxNumberOfBackups ¶
func (b *RetentionNumberConfigApplyConfiguration) WithMaxNumberOfBackups(value int) *RetentionNumberConfigApplyConfiguration
WithMaxNumberOfBackups sets the MaxNumberOfBackups field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxNumberOfBackups field is set to the value of the last call.
type RetentionPolicyApplyConfiguration ¶
type RetentionPolicyApplyConfiguration struct { RetentionType *v1alpha1.RetentionType `json:"retentionType,omitempty"` RetentionNumber *RetentionNumberConfigApplyConfiguration `json:"retentionNumber,omitempty"` RetentionSize *RetentionSizeConfigApplyConfiguration `json:"retentionSize,omitempty"` }
RetentionPolicyApplyConfiguration represents an declarative configuration of the RetentionPolicy type for use with apply.
func RetentionPolicy ¶
func RetentionPolicy() *RetentionPolicyApplyConfiguration
RetentionPolicyApplyConfiguration constructs an declarative configuration of the RetentionPolicy type for use with apply.
func (*RetentionPolicyApplyConfiguration) WithRetentionNumber ¶
func (b *RetentionPolicyApplyConfiguration) WithRetentionNumber(value *RetentionNumberConfigApplyConfiguration) *RetentionPolicyApplyConfiguration
WithRetentionNumber sets the RetentionNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RetentionNumber field is set to the value of the last call.
func (*RetentionPolicyApplyConfiguration) WithRetentionSize ¶
func (b *RetentionPolicyApplyConfiguration) WithRetentionSize(value *RetentionSizeConfigApplyConfiguration) *RetentionPolicyApplyConfiguration
WithRetentionSize sets the RetentionSize field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RetentionSize field is set to the value of the last call.
func (*RetentionPolicyApplyConfiguration) WithRetentionType ¶
func (b *RetentionPolicyApplyConfiguration) WithRetentionType(value v1alpha1.RetentionType) *RetentionPolicyApplyConfiguration
WithRetentionType sets the RetentionType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RetentionType field is set to the value of the last call.
type RetentionSizeConfigApplyConfiguration ¶
type RetentionSizeConfigApplyConfiguration struct {
MaxSizeOfBackupsGb *int `json:"maxSizeOfBackupsGb,omitempty"`
}
RetentionSizeConfigApplyConfiguration represents an declarative configuration of the RetentionSizeConfig type for use with apply.
func RetentionSizeConfig ¶
func RetentionSizeConfig() *RetentionSizeConfigApplyConfiguration
RetentionSizeConfigApplyConfiguration constructs an declarative configuration of the RetentionSizeConfig type for use with apply.
func (*RetentionSizeConfigApplyConfiguration) WithMaxSizeOfBackupsGb ¶
func (b *RetentionSizeConfigApplyConfiguration) WithMaxSizeOfBackupsGb(value int) *RetentionSizeConfigApplyConfiguration
WithMaxSizeOfBackupsGb sets the MaxSizeOfBackupsGb field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxSizeOfBackupsGb field is set to the value of the last call.
Source Files ¶
- backup.go
- backupspec.go
- clusterimagepolicy.go
- clusterimagepolicyspec.go
- clusterimagepolicystatus.go
- etcdbackupspec.go
- fulciocawithrekor.go
- gatherconfig.go
- imagepolicy.go
- imagepolicyspec.go
- imagepolicystatus.go
- insightsdatagather.go
- insightsdatagatherspec.go
- policy.go
- policyfulciosubject.go
- policyidentity.go
- policymatchexactrepository.go
- policymatchremapidentity.go
- policyrootoftrust.go
- publickey.go
- retentionnumberconfig.go
- retentionpolicy.go
- retentionsizeconfig.go