client

package
v1.5.15 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2025 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 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 {
	*client.Client
}

func New

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

Create a new client

func (*Client) CreateCert

func (c *Client) CreateCert(ctx context.Context, meta schema.CertCreateMeta) (*schema.CertMeta, error)

func (*Client) CreateName

func (c *Client) CreateName(ctx context.Context, name schema.NameMeta) (*schema.Name, error)

func (*Client) DeleteCert

func (c *Client) DeleteCert(ctx context.Context, name string) error

func (*Client) DeleteName

func (c *Client) DeleteName(ctx context.Context, id uint64) error

func (*Client) GetCert

func (c *Client) GetCert(ctx context.Context, name string) (*schema.Cert, error)

func (*Client) GetName

func (c *Client) GetName(ctx context.Context, id uint64) (*schema.Name, error)

func (*Client) ListNames

func (c *Client) ListNames(ctx context.Context, opts ...Opt) (*schema.NameList, error)

func (*Client) UpdateName

func (c *Client) UpdateName(ctx context.Context, id uint64, meta schema.NameMeta) (*schema.Name, error)

type Opt

type Opt func(*opt) error

An Option to set on the client

func OptSet

func OptSet(k, v string) Opt

func WithOffsetLimit

func WithOffsetLimit(offset uint64, limit *uint64) Opt

Set offset and limit

Jump to

Keyboard shortcuts

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