v1alpha1

package
v0.0.0-...-f646d5f Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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