certmanager

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2026 License: Apache-2.0 Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*auth.Client
}

Client is a certificate manager HTTP client that wraps the base HTTP client.

func New

func New(url string, opts ...client.ClientOpt) (*Client, error)

New creates a new certificate manager HTTP client with the given base URL and options.

func (*Client) CreateCA

func (c *Client) CreateCA(ctx context.Context, req schema.CreateCertRequest) (*schema.Cert, error)

func (*Client) CreateCert

func (c *Client) CreateCert(ctx context.Context, req schema.CreateCertRequest, ca schema.CertKey) (*schema.Cert, error)

func (*Client) GetCert

func (c *Client) GetCert(ctx context.Context, cert schema.CertKey, chain, private bool) (*schema.CertBundle, error)

func (*Client) ListCerts

func (c *Client) ListCerts(ctx context.Context, req schema.CertListRequest) (*schema.CertList, error)

func (*Client) RenewCA

func (c *Client) RenewCA(ctx context.Context, ca schema.CertKey, req schema.RenewCertRequest) (*schema.Cert, error)

func (*Client) RenewCert

func (c *Client) RenewCert(ctx context.Context, cert schema.CertKey, req schema.RenewCertRequest) (*schema.Cert, error)

func (*Client) UpdateCert

func (c *Client) UpdateCert(ctx context.Context, cert schema.CertKey, meta schema.CertMeta) (*schema.Cert, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL