package v1alpha1

import "k8s.io/client-go/applyconfigurations/certificates/v1alpha1"

Index

Types

type ClusterTrustBundleApplyConfiguration

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

func ClusterTrustBundle(name string) *ClusterTrustBundleApplyConfiguration

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

func ExtractClusterTrustBundle

func ExtractClusterTrustBundle(clusterTrustBundle *certificatesv1alpha1.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

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

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

func (*ClusterTrustBundleApplyConfiguration) GetAPIVersion

func (b *ClusterTrustBundleApplyConfiguration) GetAPIVersion() *string

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

func (*ClusterTrustBundleApplyConfiguration) GetKind

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

func (*ClusterTrustBundleApplyConfiguration) GetName

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

func (*ClusterTrustBundleApplyConfiguration) GetNamespace

func (b *ClusterTrustBundleApplyConfiguration) GetNamespace() *string

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

func (ClusterTrustBundleApplyConfiguration) IsApplyConfiguration

func (b ClusterTrustBundleApplyConfiguration) IsApplyConfiguration()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func ClusterTrustBundleSpec() *ClusterTrustBundleSpecApplyConfiguration

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

func (*ClusterTrustBundleSpecApplyConfiguration) 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 (*ClusterTrustBundleSpecApplyConfiguration) WithTrustBundle

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.

type PodCertificateRequestApplyConfiguration

type PodCertificateRequestApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PodCertificateRequestSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PodCertificateRequestStatusApplyConfiguration `json:"status,omitempty"`
}

PodCertificateRequestApplyConfiguration represents a declarative configuration of the PodCertificateRequest type for use with apply.

func ExtractPodCertificateRequest

func ExtractPodCertificateRequest(podCertificateRequest *certificatesv1alpha1.PodCertificateRequest, fieldManager string) (*PodCertificateRequestApplyConfiguration, error)

ExtractPodCertificateRequest extracts the applied configuration owned by fieldManager from podCertificateRequest. If no managedFields are found in podCertificateRequest for fieldManager, a PodCertificateRequestApplyConfiguration 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. podCertificateRequest must be a unmodified PodCertificateRequest API object that was retrieved from the Kubernetes API. ExtractPodCertificateRequest 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 ExtractPodCertificateRequestStatus

func ExtractPodCertificateRequestStatus(podCertificateRequest *certificatesv1alpha1.PodCertificateRequest, fieldManager string) (*PodCertificateRequestApplyConfiguration, error)

ExtractPodCertificateRequestStatus is the same as ExtractPodCertificateRequest except that it extracts the status subresource applied configuration. Experimental!

func PodCertificateRequest

func PodCertificateRequest(name, namespace string) *PodCertificateRequestApplyConfiguration

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

func (*PodCertificateRequestApplyConfiguration) GetAPIVersion

func (b *PodCertificateRequestApplyConfiguration) GetAPIVersion() *string

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

func (*PodCertificateRequestApplyConfiguration) GetKind

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

func (*PodCertificateRequestApplyConfiguration) GetName

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

func (*PodCertificateRequestApplyConfiguration) GetNamespace

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

func (PodCertificateRequestApplyConfiguration) IsApplyConfiguration

func (b PodCertificateRequestApplyConfiguration) IsApplyConfiguration()

func (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 (*PodCertificateRequestApplyConfiguration) 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 PodCertificateRequestSpecApplyConfiguration

type PodCertificateRequestSpecApplyConfiguration struct {
	SignerName           *string         `json:"signerName,omitempty"`
	PodName              *string         `json:"podName,omitempty"`
	PodUID               *types.UID      `json:"podUID,omitempty"`
	ServiceAccountName   *string         `json:"serviceAccountName,omitempty"`
	ServiceAccountUID    *types.UID      `json:"serviceAccountUID,omitempty"`
	NodeName             *types.NodeName `json:"nodeName,omitempty"`
	NodeUID              *types.UID      `json:"nodeUID,omitempty"`
	MaxExpirationSeconds *int32          `json:"maxExpirationSeconds,omitempty"`
	PKIXPublicKey        []byte          `json:"pkixPublicKey,omitempty"`
	ProofOfPossession    []byte          `json:"proofOfPossession,omitempty"`
}

PodCertificateRequestSpecApplyConfiguration represents a declarative configuration of the PodCertificateRequestSpec type for use with apply.

func PodCertificateRequestSpec

func PodCertificateRequestSpec() *PodCertificateRequestSpecApplyConfiguration

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

func (*PodCertificateRequestSpecApplyConfiguration) WithMaxExpirationSeconds

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

func (*PodCertificateRequestSpecApplyConfiguration) WithNodeName

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

func (*PodCertificateRequestSpecApplyConfiguration) WithNodeUID

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

func (*PodCertificateRequestSpecApplyConfiguration) WithPKIXPublicKey

WithPKIXPublicKey adds the given value to the PKIXPublicKey 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 PKIXPublicKey field.

func (*PodCertificateRequestSpecApplyConfiguration) WithPodName

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

func (*PodCertificateRequestSpecApplyConfiguration) WithPodUID

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

func (*PodCertificateRequestSpecApplyConfiguration) WithProofOfPossession

WithProofOfPossession adds the given value to the ProofOfPossession 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 ProofOfPossession field.

func (*PodCertificateRequestSpecApplyConfiguration) WithServiceAccountName

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

func (*PodCertificateRequestSpecApplyConfiguration) WithServiceAccountUID

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

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

type PodCertificateRequestStatusApplyConfiguration

type PodCertificateRequestStatusApplyConfiguration struct {
	Conditions       []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
	CertificateChain *string                          `json:"certificateChain,omitempty"`
	NotBefore        *metav1.Time                     `json:"notBefore,omitempty"`
	BeginRefreshAt   *metav1.Time                     `json:"beginRefreshAt,omitempty"`
	NotAfter         *metav1.Time                     `json:"notAfter,omitempty"`
}

PodCertificateRequestStatusApplyConfiguration represents a declarative configuration of the PodCertificateRequestStatus type for use with apply.

func PodCertificateRequestStatus

func PodCertificateRequestStatus() *PodCertificateRequestStatusApplyConfiguration

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

func (*PodCertificateRequestStatusApplyConfiguration) WithBeginRefreshAt

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

func (*PodCertificateRequestStatusApplyConfiguration) WithCertificateChain

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

func (*PodCertificateRequestStatusApplyConfiguration) WithConditions

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

func (*PodCertificateRequestStatusApplyConfiguration) WithNotAfter

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

func (*PodCertificateRequestStatusApplyConfiguration) WithNotBefore

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

Source Files

clustertrustbundle.go clustertrustbundlespec.go podcertificaterequest.go podcertificaterequestspec.go podcertificaterequeststatus.go

Version
v0.34.0-rc.0
Published
Aug 8, 2025
Platform
darwin/amd64
Imports
6 packages
Last checked
9 minutes ago

Tools for package owners.