secret

package
v0.0.0-...-a61cce2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupLease

func LookupLease(client *v.Client, id string) (metadata *sv.LeaseMetadata, err error)

func NewLifecycle

func NewLifecycle(client *v.Client, paths []string, tolerance float64) (lifecycles map[string]sv.SecretLifecycle)

Factory function of many lifecycle

Types

type Source

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

Client will only holds lifecycles for this time and let the underlying secret lifecycle handle each lease renewal or credential renewal.

func (*Source) Close

func (s *Source) Close()

func (*Source) SLookup

func (s *Source) SLookup(path string) (string, error)

Jump to

Keyboard shortcuts

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