v1alpha1

package
v0.0.0-...-efd91e9 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package,register +groupName=certificates.hypershift.openshift.io +k8s:openapi-gen=true

Index

Constants

View Source
const (
	SignerClassValidType     string = "SignerClassValid"
	SignerClassUnknownReason string = "SignerClassUnknown"

	RootCertificatesRegeneratedType string = "RootCertificatesRegenerated"
	RootCertificatesStaleReason     string = "RootCertificatesStale"

	LeafCertificatesRegeneratedType string = "LeafCertificatesRegenerated"
	LeafCertificatesStaleReason     string = "LeafCertificatesStale"

	NewCertificatesTrustedType      = "NewCertificatesTrusted"
	PreviousCertificatesRevokedType = "PreviousCertificatesRevoked"
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: certificates.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects.

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource.

Types

type CertificateRevocationRequest

type CertificateRevocationRequest struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CertificateRevocationRequestSpec   `json:"spec,omitempty"`
	Status CertificateRevocationRequestStatus `json:"status,omitempty"`
}

CertificateRevocationRequest defines the desired state of CertificateRevocationRequest. A request denotes the user's desire to revoke a signer certificate of the class indicated in spec.

func (*CertificateRevocationRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRevocationRequest.

func (*CertificateRevocationRequest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CertificateRevocationRequest) DeepCopyObject

func (in *CertificateRevocationRequest) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CertificateRevocationRequestList

type CertificateRevocationRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CertificateRevocationRequest `json:"items"`
}

CertificateRevocationRequestList contains a list of CertificateRevocationRequest.

func (*CertificateRevocationRequestList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRevocationRequestList.

func (*CertificateRevocationRequestList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CertificateRevocationRequestList) DeepCopyObject

func (in *CertificateRevocationRequestList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CertificateRevocationRequestSpec

type CertificateRevocationRequestSpec struct {

	// SignerClass identifies the class of signer to revoke. All the active signing CAs for the
	// signer class will be revoked.
	SignerClass string `json:"signerClass"`
}

CertificateRevocationRequestSpec defines the desired state of CertificateRevocationRequest

func (*CertificateRevocationRequestSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRevocationRequestSpec.

func (*CertificateRevocationRequestSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CertificateRevocationRequestStatus

type CertificateRevocationRequestStatus struct {

	// RevocationTimestamp is the cut-off time for signing CAs to be revoked. All certificates that
	// are valid before this time will be revoked; all re-generated certificates will not be valid
	// at or before this time.
	RevocationTimestamp *metav1.Time `json:"revocationTimestamp,omitempty"`

	// PreviousSigner stores a reference to the previous signer certificate. We require
	// storing this data to ensure that we can validate that the old signer is no longer
	// valid before considering revocation complete.
	PreviousSigner *corev1.LocalObjectReference `json:"previousSigner,omitempty"`

	// Conditions contain details about the various aspects of certificate revocation.
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

CertificateRevocationRequestStatus defines the observed state of CertificateRevocationRequest

func (*CertificateRevocationRequestStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRevocationRequestStatus.

func (*CertificateRevocationRequestStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CertificateSigningRequestApproval

type CertificateSigningRequestApproval struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CertificateSigningRequestApprovalSpec   `json:"spec,omitempty"`
	Status CertificateSigningRequestApprovalStatus `json:"status,omitempty"`
}

CertificateSigningRequestApproval defines the desired state of CertificateSigningRequestApproval

func (*CertificateSigningRequestApproval) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestApproval.

func (*CertificateSigningRequestApproval) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CertificateSigningRequestApproval) DeepCopyObject

func (in *CertificateSigningRequestApproval) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CertificateSigningRequestApprovalList

type CertificateSigningRequestApprovalList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CertificateSigningRequestApproval `json:"items"`
}

CertificateSigningRequestApprovalList contains a list of CertificateSigningRequestApprovals.

func (*CertificateSigningRequestApprovalList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestApprovalList.

func (*CertificateSigningRequestApprovalList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CertificateSigningRequestApprovalList) DeepCopyObject

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CertificateSigningRequestApprovalSpec

type CertificateSigningRequestApprovalSpec struct{}

CertificateSigningRequestApprovalSpec defines the desired state of CertificateSigningRequestApproval

func (*CertificateSigningRequestApprovalSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestApprovalSpec.

func (*CertificateSigningRequestApprovalSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CertificateSigningRequestApprovalStatus

type CertificateSigningRequestApprovalStatus struct{}

CertificateSigningRequestApprovalStatus defines the observed state of CertificateSigningRequestApproval

func (*CertificateSigningRequestApprovalStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestApprovalStatus.

func (*CertificateSigningRequestApprovalStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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