...

Package v1alpha1

import "github.com/cert-manager/issuer-lib/api/v1alpha1"
Overview
Index

Overview ▾

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=issuer.cert-manager.io

Constants

const (
    // IssuerConditionReasonInitializing is the value assigned to
    // the Reason field of the Ready condition when issuer-lib first
    // reconciles an Issuer which does not already have a Ready
    // condition.
    IssuerConditionReasonInitializing = "Initializing"

    IssuerConditionReasonPending = "Pending"

    IssuerConditionReasonChecked = "Checked"

    IssuerConditionReasonFailed = "Failed"
)
const (
    // CertificateRequestConditionReasonInitializing is the value assigned to
    // the Reason field of the Ready condition when issuer-lib first
    // reconciles a CertificateRequest which does not already have a Ready
    // condition.
    CertificateRequestConditionReasonInitializing = "Initializing"
)

type Issuer

type Issuer interface {
    runtime.Object
    metav1.Object
    GetStatus() *IssuerStatus

    // GetIssuerTypeIdentifier returns a string that uniquely identifies the
    // issuer type. This should be a constant across all instances of this
    // issuer type. This string is used as a prefix when determining the
    // issuer type for a Kubernetes CertificateSigningRequest resource based
    // on the issuerName field. The value should be formatted as follows:
    // "<issuer resource (plural)>.<issuer group>". For example, the value
    // "simpleclusterissuers.issuer.cert-manager.io" will match all CSRs
    // with an issuerName set to eg. "simpleclusterissuers.issuer.cert-manager.io/issuer1".
    GetIssuerTypeIdentifier() string
}

type IssuerStatus

type IssuerStatus struct {
    // List of status conditions to indicate the status of an Issuer.
    // Known condition types are `Ready`.
    // +listType=map
    // +listMapKey=type
    // +optional
    Conditions []cmapi.IssuerCondition `json:"conditions,omitempty"`
}

func (*IssuerStatus) DeepCopy

func (in *IssuerStatus) DeepCopy() *IssuerStatus

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

func (*IssuerStatus) DeepCopyInto

func (in *IssuerStatus) DeepCopyInto(out *IssuerStatus)

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