vault

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: MPL-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 {
	ApiClient  *api.Client
	AuthSecret *api.Secret
	// contains filtered or unexported fields
}

func NewClient

func NewClient(logger hclog.Logger, role string, config *api.Config) (*Client, error)

func NewClientFromSecret

func NewClientFromSecret(logger hclog.Logger, authSecret *api.Secret, config *api.Config) (*Client, error)

func (*Client) DoneCh

func (v *Client) DoneCh() chan error

func (*Client) RenewLeases

func (v *Client) RenewLeases(ctx context.Context, secretMap map[string]api.Secret)

func (*Client) StartAuthRenewal

func (v *Client) StartAuthRenewal(ctx context.Context)

func (*Client) Wait

func (v *Client) Wait(ctx context.Context) error

Jump to

Keyboard shortcuts

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