Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package,register +groupName=certificates.hypershift.openshift.io +k8s:openapi-gen=true
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type CertificateRevocationRequest
- type CertificateRevocationRequestList
- type CertificateRevocationRequestSpec
- type CertificateRevocationRequestStatus
- type CertificateSigningRequestApproval
- type CertificateSigningRequestApprovalList
- type CertificateSigningRequestApprovalSpec
- type CertificateSigningRequestApprovalStatus
Constants ¶
const ( SignerClassValidType string = "SignerClassValid" SignerClassUnknownReason string = "SignerClassUnknown" RootCertificatesRegeneratedType string = "RootCertificatesRegenerated" RootCertificatesStaleReason string = "RootCertificatesStale" LeafCertificatesRegeneratedType string = "LeafCertificatesRegenerated" LeafCertificatesStaleReason string = "LeafCertificatesStale" NewCertificatesTrustedType = "NewCertificatesTrusted" PreviousCertificatesRevokedType = "PreviousCertificatesRevoked" )
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: certificates.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
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 ¶
func (in *CertificateRevocationRequest) DeepCopy() *CertificateRevocationRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRevocationRequest.
func (*CertificateRevocationRequest) DeepCopyInto ¶
func (in *CertificateRevocationRequest) DeepCopyInto(out *CertificateRevocationRequest)
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 ¶
func (in *CertificateRevocationRequestList) DeepCopy() *CertificateRevocationRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRevocationRequestList.
func (*CertificateRevocationRequestList) DeepCopyInto ¶
func (in *CertificateRevocationRequestList) DeepCopyInto(out *CertificateRevocationRequestList)
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 ¶
func (in *CertificateRevocationRequestSpec) DeepCopy() *CertificateRevocationRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRevocationRequestSpec.
func (*CertificateRevocationRequestSpec) DeepCopyInto ¶
func (in *CertificateRevocationRequestSpec) DeepCopyInto(out *CertificateRevocationRequestSpec)
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 ¶
func (in *CertificateRevocationRequestStatus) DeepCopy() *CertificateRevocationRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRevocationRequestStatus.
func (*CertificateRevocationRequestStatus) DeepCopyInto ¶
func (in *CertificateRevocationRequestStatus) DeepCopyInto(out *CertificateRevocationRequestStatus)
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 ¶
func (in *CertificateSigningRequestApproval) DeepCopy() *CertificateSigningRequestApproval
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestApproval.
func (*CertificateSigningRequestApproval) DeepCopyInto ¶
func (in *CertificateSigningRequestApproval) DeepCopyInto(out *CertificateSigningRequestApproval)
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 ¶
func (in *CertificateSigningRequestApprovalList) DeepCopy() *CertificateSigningRequestApprovalList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestApprovalList.
func (*CertificateSigningRequestApprovalList) DeepCopyInto ¶
func (in *CertificateSigningRequestApprovalList) DeepCopyInto(out *CertificateSigningRequestApprovalList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CertificateSigningRequestApprovalList) DeepCopyObject ¶
func (in *CertificateSigningRequestApprovalList) DeepCopyObject() runtime.Object
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 ¶
func (in *CertificateSigningRequestApprovalSpec) DeepCopy() *CertificateSigningRequestApprovalSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestApprovalSpec.
func (*CertificateSigningRequestApprovalSpec) DeepCopyInto ¶
func (in *CertificateSigningRequestApprovalSpec) DeepCopyInto(out *CertificateSigningRequestApprovalSpec)
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 ¶
func (in *CertificateSigningRequestApprovalStatus) DeepCopy() *CertificateSigningRequestApprovalStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestApprovalStatus.
func (*CertificateSigningRequestApprovalStatus) DeepCopyInto ¶
func (in *CertificateSigningRequestApprovalStatus) DeepCopyInto(out *CertificateSigningRequestApprovalStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.