api

package
v0.0.63-rc18 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: MPL-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Registration *registration.Resource
	// contains filtered or unexported fields
}

func (Account) GetEmail

func (u Account) GetEmail() string

func (Account) GetPrivateKey

func (u Account) GetPrivateKey() crypto.PrivateKey

func (Account) GetRegistration

func (u Account) GetRegistration() *registration.Resource

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(consulAPI *consul.Client, vaultAPI *vault.Client, o ...Opt) (*Client, error)

func (*Client) GetCertificate

func (c *Client) GetCertificate(ctx context.Context, cn string) ([]tls.Certificate, error)

type Opt

type Opt func(o *clientCreateOpts)

func WithEmail

func WithEmail(addr string) Opt

func WithStagingAPI

func WithStagingAPI() Opt

Jump to

Keyboard shortcuts

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