token

package
v0.0.0-...-f5bbbf4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RenewTokenWatcher

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

RenewTokenWatcher handle the token tokenWatcher of the application

func NewRenewTokenWatcher

func NewRenewTokenWatcher(client hashicorp.Client, tokenPath string, logger log.Logger) (*RenewTokenWatcher, error)

func (*RenewTokenWatcher) IsTokenLoaded

func (rtl *RenewTokenWatcher) IsTokenLoaded() bool

func (*RenewTokenWatcher) Start

func (rtl *RenewTokenWatcher) Start(ctx context.Context) error

Start contains the token regeneration routine

Jump to

Keyboard shortcuts

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