caclient

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: Apache-2.0, Apache-2.0 Imports: 8 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 {
	// contains filtered or unexported fields
}

Client is a CA Client

func New

func New(url string, options ...Option) *Client

New creates a new CA Client

func (*Client) GetCert

GetCert converts a token to a cert

type Option

type Option interface {
	// contains filtered or unexported methods
}

Option configures the agent

func WithHTTPClient

func WithHTTPClient(httpClient *http.Client) Option

WithHTTPClient specifies the http client to use

Jump to

Keyboard shortcuts

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