Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultDurationInterval The default validity duration, if not provided. DefaultDurationInterval = time.Hour * 24 * 7 // OCICertManagerTagKey The default tag key on a certificate OCICertManagerTagKey = "cert-manager" // OCICertManagerTagValue The default tag value on a certificate OCICertManagerTagValue = "true" OCICertificatePrivateBundleType = "CERTIFICATE_CONTENT_WITH_PRIVATE_KEY" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection struct {
// contains filtered or unexported fields
}
Collection stores cached Provisioners, stored by namespaced names of the issuer.
func (*Collection) Store ¶
func (c *Collection) Store(namespacedName types.NamespacedName, provisioner *Provisioner)
Store adds a provisioner to the collection.
type GenericProvisioner ¶
type GenericProvisioner interface {
Sign(ctx context.Context, cr *cmapi.CertificateRequest, log logr.Logger) ([]byte, []byte, error)
}
GenericProvisioner abstracts over the Provisioner type for mocking purposes
type Provisioner ¶
type Provisioner struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger logr.Logger, iss ocicav1alpha1.OCICAClusterIssuer) (*Provisioner, error)
Click to show internal directories.
Click to hide internal directories.