certmanager

package
v0.0.7 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: 0

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