Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Issuer ¶
type Issuer struct { FakeSetup func(context.Context) error FakeIssue func(context.Context, *cmapi.Certificate) (*issuer.IssueResponse, error) FakeSign func(context.Context, *cmapi.CertificateRequest) (*issuer.IssueResponse, error) }
func (*Issuer) Issue ¶
func (i *Issuer) Issue(ctx context.Context, crt *cmapi.Certificate) (*issuer.IssueResponse, error)
Issue attempts to issue a certificate as described by the certificate resource given
func (*Issuer) Setup ¶
Setup initialises the issuer. This may include registering accounts with a service, creating a CA and storing it somewhere, or verifying credentials and authorization with a remote server.
func (*Issuer) Sign ¶ added in v0.9.0
func (i *Issuer) Sign(ctx context.Context, cr *cmapi.CertificateRequest) (*issuer.IssueResponse, error)
Sign attempts to issue a certificate as described by the CertificateRequest resource given
Click to show internal directories.
Click to hide internal directories.