Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidBundle = errors.New("invalid ca bundle")
)
Functions ¶
func Load ¶
func Load(namespacedName types.NamespacedName) (*cfsslProvisioner, bool)
Load returns a provisioner by NamespacedName.
func New ¶
func New(spec *api.CfsslIssuerSpec) (*cfsslProvisioner, error)
func Remove ¶
func Remove(namespacedName types.NamespacedName)
Remove removes a provisioner from the collection
func Store ¶
func Store(namespacedName types.NamespacedName, provisioner Provisioner)
Store adds a new provisioner to the collection by NamespacedName.
Types ¶
type Provisioner ¶
type Provisioner interface {
Sign(context.Context, *certmanager.CertificateRequest) ([]byte, []byte, error)
}
Click to show internal directories.
Click to hide internal directories.