v1beta1

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: Apache-2.0 Imports: 7 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateSigningRequestApplyConfiguration

type CertificateSigningRequestApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *CertificateSigningRequestSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *CertificateSigningRequestStatusApplyConfiguration `json:"status,omitempty"`
}

CertificateSigningRequestApplyConfiguration represents a declarative configuration of the CertificateSigningRequest type for use with apply.

func CertificateSigningRequest

func CertificateSigningRequest(name string) *CertificateSigningRequestApplyConfiguration

CertificateSigningRequest constructs a declarative configuration of the CertificateSigningRequest type for use with apply.

func ExtractCertificateSigningRequest

func ExtractCertificateSigningRequest(certificateSigningRequest *certificatesv1beta1.CertificateSigningRequest, fieldManager string) (*CertificateSigningRequestApplyConfiguration, error)

ExtractCertificateSigningRequest extracts the applied configuration owned by fieldManager from certificateSigningRequest. If no managedFields are found in certificateSigningRequest for fieldManager, a CertificateSigningRequestApplyConfiguration 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. certificateSigningRequest must be a unmodified CertificateSigningRequest API object that was retrieved from the Kubernetes API. ExtractCertificateSigningRequest 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 ExtractCertificateSigningRequestStatus added in v0.22.0

func ExtractCertificateSigningRequestStatus(certificateSigningRequest *certificatesv1beta1.CertificateSigningRequest, fieldManager string) (*CertificateSigningRequestApplyConfiguration, error)

ExtractCertificateSigningRequestStatus is the same as ExtractCertificateSigningRequest except that it extracts the status subresource applied configuration. Experimental!

func (*CertificateSigningRequestApplyConfiguration) GetAPIVersion added in v0.34.0

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*CertificateSigningRequestApplyConfiguration) GetKind added in v0.34.0

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*CertificateSigningRequestApplyConfiguration) GetName added in v0.31.0

GetName retrieves the value of the Name field in the declarative configuration.

func (*CertificateSigningRequestApplyConfiguration) GetNamespace added in v0.34.0

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (CertificateSigningRequestApplyConfiguration) IsApplyConfiguration added in v0.34.0

func (b CertificateSigningRequestApplyConfiguration) IsApplyConfiguration()

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

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

func (*CertificateSigningRequestApplyConfiguration) 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 (*CertificateSigningRequestApplyConfiguration) 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 (*CertificateSigningRequestApplyConfiguration) 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 (*CertificateSigningRequestApplyConfiguration) 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 (*CertificateSigningRequestApplyConfiguration) 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 (*CertificateSigningRequestApplyConfiguration) 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 (*CertificateSigningRequestApplyConfiguration) 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 (*CertificateSigningRequestApplyConfiguration) 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 (*CertificateSigningRequestApplyConfiguration) 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 (*CertificateSigningRequestApplyConfiguration) 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 (*CertificateSigningRequestApplyConfiguration) 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 (*CertificateSigningRequestApplyConfiguration) 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 (*CertificateSigningRequestApplyConfiguration) 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 CertificateSigningRequestConditionApplyConfiguration

type CertificateSigningRequestConditionApplyConfiguration struct {
	Type               *certificatesv1beta1.RequestConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus                       `json:"status,omitempty"`
	Reason             *string                                   `json:"reason,omitempty"`
	Message            *string                                   `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time                              `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time                              `json:"lastTransitionTime,omitempty"`
}

CertificateSigningRequestConditionApplyConfiguration represents a declarative configuration of the CertificateSigningRequestCondition type for use with apply.

func CertificateSigningRequestCondition

func CertificateSigningRequestCondition() *CertificateSigningRequestConditionApplyConfiguration

CertificateSigningRequestConditionApplyConfiguration constructs a declarative configuration of the CertificateSigningRequestCondition type for use with apply.

func (*CertificateSigningRequestConditionApplyConfiguration) WithLastTransitionTime

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

func (*CertificateSigningRequestConditionApplyConfiguration) WithLastUpdateTime

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

func (*CertificateSigningRequestConditionApplyConfiguration) WithMessage

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

func (*CertificateSigningRequestConditionApplyConfiguration) WithReason

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

func (*CertificateSigningRequestConditionApplyConfiguration) 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 (*CertificateSigningRequestConditionApplyConfiguration) WithType

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

type CertificateSigningRequestSpecApplyConfiguration

type CertificateSigningRequestSpecApplyConfiguration struct {
	Request           []byte                                    `json:"request,omitempty"`
	SignerName        *string                                   `json:"signerName,omitempty"`
	ExpirationSeconds *int32                                    `json:"expirationSeconds,omitempty"`
	Usages            []certificatesv1beta1.KeyUsage            `json:"usages,omitempty"`
	Username          *string                                   `json:"username,omitempty"`
	UID               *string                                   `json:"uid,omitempty"`
	Groups            []string                                  `json:"groups,omitempty"`
	Extra             map[string]certificatesv1beta1.ExtraValue `json:"extra,omitempty"`
}

CertificateSigningRequestSpecApplyConfiguration represents a declarative configuration of the CertificateSigningRequestSpec type for use with apply.

func CertificateSigningRequestSpec

func CertificateSigningRequestSpec() *CertificateSigningRequestSpecApplyConfiguration

CertificateSigningRequestSpecApplyConfiguration constructs a declarative configuration of the CertificateSigningRequestSpec type for use with apply.

func (*CertificateSigningRequestSpecApplyConfiguration) WithExpirationSeconds added in v0.22.0

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

func (*CertificateSigningRequestSpecApplyConfiguration) WithExtra

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

func (*CertificateSigningRequestSpecApplyConfiguration) WithGroups

WithGroups adds the given value to the Groups 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 Groups field.

func (*CertificateSigningRequestSpecApplyConfiguration) WithRequest

WithRequest adds the given value to the Request 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 Request field.

func (*CertificateSigningRequestSpecApplyConfiguration) WithSignerName

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

func (*CertificateSigningRequestSpecApplyConfiguration) WithUID

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

func (*CertificateSigningRequestSpecApplyConfiguration) WithUsages

WithUsages adds the given value to the Usages 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 Usages field.

func (*CertificateSigningRequestSpecApplyConfiguration) WithUsername

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

type CertificateSigningRequestStatusApplyConfiguration

type CertificateSigningRequestStatusApplyConfiguration struct {
	Conditions  []CertificateSigningRequestConditionApplyConfiguration `json:"conditions,omitempty"`
	Certificate []byte                                                 `json:"certificate,omitempty"`
}

CertificateSigningRequestStatusApplyConfiguration represents a declarative configuration of the CertificateSigningRequestStatus type for use with apply.

func CertificateSigningRequestStatus

func CertificateSigningRequestStatus() *CertificateSigningRequestStatusApplyConfiguration

CertificateSigningRequestStatusApplyConfiguration constructs a declarative configuration of the CertificateSigningRequestStatus type for use with apply.

func (*CertificateSigningRequestStatusApplyConfiguration) WithCertificate

WithCertificate adds the given value to the Certificate 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 Certificate field.

func (*CertificateSigningRequestStatusApplyConfiguration) 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 ClusterTrustBundleApplyConfiguration added in v0.33.0

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

ClusterTrustBundleApplyConfiguration represents a declarative configuration of the ClusterTrustBundle type for use with apply.

func ClusterTrustBundle added in v0.33.0

func ClusterTrustBundle(name string) *ClusterTrustBundleApplyConfiguration

ClusterTrustBundle constructs a declarative configuration of the ClusterTrustBundle type for use with apply.

func ExtractClusterTrustBundle added in v0.33.0

func ExtractClusterTrustBundle(clusterTrustBundle *certificatesv1beta1.ClusterTrustBundle, fieldManager string) (*ClusterTrustBundleApplyConfiguration, error)

ExtractClusterTrustBundle extracts the applied configuration owned by fieldManager from clusterTrustBundle. If no managedFields are found in clusterTrustBundle for fieldManager, a ClusterTrustBundleApplyConfiguration 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. clusterTrustBundle must be a unmodified ClusterTrustBundle API object that was retrieved from the Kubernetes API. ExtractClusterTrustBundle 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 ExtractClusterTrustBundleStatus added in v0.33.0

func ExtractClusterTrustBundleStatus(clusterTrustBundle *certificatesv1beta1.ClusterTrustBundle, fieldManager string) (*ClusterTrustBundleApplyConfiguration, error)

ExtractClusterTrustBundleStatus is the same as ExtractClusterTrustBundle except that it extracts the status subresource applied configuration. Experimental!

func (*ClusterTrustBundleApplyConfiguration) GetAPIVersion added in v0.34.0

func (b *ClusterTrustBundleApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*ClusterTrustBundleApplyConfiguration) GetKind added in v0.34.0

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ClusterTrustBundleApplyConfiguration) GetName added in v0.33.0

GetName retrieves the value of the Name field in the declarative configuration.

func (*ClusterTrustBundleApplyConfiguration) GetNamespace added in v0.34.0

func (b *ClusterTrustBundleApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (ClusterTrustBundleApplyConfiguration) IsApplyConfiguration added in v0.34.0

func (b ClusterTrustBundleApplyConfiguration) IsApplyConfiguration()

func (*ClusterTrustBundleApplyConfiguration) WithAPIVersion added in v0.33.0

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

func (*ClusterTrustBundleApplyConfiguration) WithAnnotations added in v0.33.0

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*ClusterTrustBundleApplyConfiguration) WithCreationTimestamp added in v0.33.0

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

func (*ClusterTrustBundleApplyConfiguration) WithDeletionGracePeriodSeconds added in v0.33.0

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

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

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

func (*ClusterTrustBundleApplyConfiguration) WithFinalizers added in v0.33.0

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

func (*ClusterTrustBundleApplyConfiguration) WithGenerateName added in v0.33.0

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

func (*ClusterTrustBundleApplyConfiguration) WithGeneration added in v0.33.0

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

func (*ClusterTrustBundleApplyConfiguration) WithKind added in v0.33.0

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

func (*ClusterTrustBundleApplyConfiguration) WithLabels added in v0.33.0

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*ClusterTrustBundleApplyConfiguration) WithName added in v0.33.0

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

func (*ClusterTrustBundleApplyConfiguration) WithNamespace added in v0.33.0

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

func (*ClusterTrustBundleApplyConfiguration) WithOwnerReferences added in v0.33.0

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

func (*ClusterTrustBundleApplyConfiguration) WithResourceVersion added in v0.33.0

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

func (*ClusterTrustBundleApplyConfiguration) WithSpec added in v0.33.0

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

func (*ClusterTrustBundleApplyConfiguration) WithUID added in v0.33.0

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

type ClusterTrustBundleSpecApplyConfiguration added in v0.33.0

type ClusterTrustBundleSpecApplyConfiguration struct {
	SignerName  *string `json:"signerName,omitempty"`
	TrustBundle *string `json:"trustBundle,omitempty"`
}

ClusterTrustBundleSpecApplyConfiguration represents a declarative configuration of the ClusterTrustBundleSpec type for use with apply.

func ClusterTrustBundleSpec added in v0.33.0

func ClusterTrustBundleSpec() *ClusterTrustBundleSpecApplyConfiguration

ClusterTrustBundleSpecApplyConfiguration constructs a declarative configuration of the ClusterTrustBundleSpec type for use with apply.

func (*ClusterTrustBundleSpecApplyConfiguration) WithSignerName added in v0.33.0

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

func (*ClusterTrustBundleSpecApplyConfiguration) WithTrustBundle added in v0.33.0

WithTrustBundle sets the TrustBundle field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TrustBundle 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