lease

package
v0.0.0-...-1d4acb1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager handles leases and cares about automatic renewal of them

func NewManager

func NewManager(logger *logrus.Entry, client *api.Client) *Manager

NewManager returns a new Manager instance

func (*Manager) StartRenew

func (m *Manager) StartRenew(ctx context.Context, leaseFile string)

StartRenew kicks of the renew processes - one for the auth token and one per leased secret

Jump to

Keyboard shortcuts

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