Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdStatusCert ¶
func NewCmdStatusCert(ioStreams genericclioptions.IOStreams, factory cmdutil.Factory) *cobra.Command
NewCmdStatusCert returns a cobra command for status certificate
Types ¶
type CRStatus ¶ added in v1.0.0
type CRStatus struct {
// If Error is not nil, there was a problem getting the status of the CertificateRequest resource,
// so the rest of the fields is unusable
Error error
// Name of the CertificateRequest resource
Name string
// Namespace of the CertificateRequest resource
Namespace string
// Conditions of CertificateRequest resource
Conditions []cmapiv1alpha2.CertificateRequestCondition
// Events of CertificateRequest resource
Events *v1.EventList
}
type CertificateStatus ¶ added in v1.0.0
type CertificateStatus struct {
// Name of the Certificate resource
Name string
// Namespace of the Certificate resource
Namespace string
// Creation Time of Certificate resource
CreationTime metav1.Time
// Conditions of Certificate resource
Conditions []cmapiv1alpha2.CertificateCondition
// DNS Names of Certificate resource
DNSNames []string
// Events of Certificate resource
Events *v1.EventList
// Not Before of Certificate resource
NotBefore *metav1.Time
// Not After of Certificate resource
NotAfter *metav1.Time
// Renewal Time of Certificate resource
RenewalTime *metav1.Time
IssuerStatus *IssuerStatus
SecretStatus *SecretStatus
CRStatus *CRStatus
OrderStatus *OrderStatus
}
func (*CertificateStatus) String ¶ added in v1.0.0
func (status *CertificateStatus) String() string
type IssuerStatus ¶ added in v1.0.0
type IssuerStatus struct {
// If Error is not nil, there was a problem getting the status of the Issuer/ClusterIssuer resource,
// so the rest of the fields is unusable
Error error
// Name of the Issuer/ClusterIssuer resource
Name string
// Kind of the resource, can be Issuer or ClusterIssuer
Kind string
// Conditions of Issuer/ClusterIssuer resource
Conditions []cmapiv1alpha2.IssuerCondition
// boolean indicating if Issuer/ClusterIssuer is a ACME Issuer/ClusterIssuer
// Defaults to false even when Error is not nil
IsACME bool
}
func (*IssuerStatus) String ¶ added in v1.0.0
func (issuerStatus *IssuerStatus) String() string
String returns the information about the status of a Issuer/ClusterIssuer as a string to be printed as output
type Options ¶
type Options struct {
CMClient cmclient.Interface
RESTConfig *restclient.Config
// The Namespace that the Certificate to be queried about resides in.
// This flag registration is handled by cmdutil.Factory
Namespace string
genericclioptions.IOStreams
}
Options is a struct to support status certificate command
func NewOptions ¶
func NewOptions(ioStreams genericclioptions.IOStreams) *Options
NewOptions returns initialized Options
type OrderStatus ¶ added in v1.0.0
type OrderStatus struct {
// If Error is not nil, there was a problem getting the status of the Order resource,
// so the rest of the fields is unusable
Error error
// Name of the Order resource
Name string
// State of Order resource
State cmacme.State
// Reason why the Order resource is in its State
Reason string
// What authorizations must be completed to validate the DNS names specified on the Order
Authorizations []cmacme.ACMEAuthorization
// Time the Order failed
FailureTime *metav1.Time
}
func (*OrderStatus) String ¶ added in v1.0.0
func (orderStatus *OrderStatus) String() string
String returns the information about the status of a CR as a string to be printed as output
type SecretStatus ¶ added in v1.0.0
type SecretStatus struct {
// If Error is not nil, there was a problem getting the status of the Secret resource,
// so the rest of the fields is unusable
Error error
// Name of the Secret resource
Name string
// Issuer Countries of the x509 certificate in the Secret
IssuerCountry []string
// Issuer Organisations of the x509 certificate in the Secret
IssuerOrganisation []string
// Issuer Common Name of the x509 certificate in the Secret
IssuerCommonName string
// Key Usage of the x509 certificate in the Secret
KeyUsage x509.KeyUsage
// Extended Key Usage of the x509 certificate in the Secret
ExtKeyUsage []x509.ExtKeyUsage
// Public Key Algorithm of the x509 certificate in the Secret
PublicKeyAlgorithm x509.PublicKeyAlgorithm
// Signature Algorithm of the x509 certificate in the Secret
SignatureAlgorithm x509.SignatureAlgorithm
// Subject Key Id of the x509 certificate in the Secret
SubjectKeyId []byte
// Authority Key Id of the x509 certificate in the Secret
AuthorityKeyId []byte
// Serial Number of the x509 certificate in the Secret
SerialNumber *big.Int
}
func (*SecretStatus) String ¶ added in v1.0.0
func (secretStatus *SecretStatus) String() string
String returns the information about the status of a Secret as a string to be printed as output
Click to show internal directories.
Click to hide internal directories.