leases

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(logger hclog.Logger, options *Options) error

Types

type Options

type Options struct {
	options.CommonOptions

	// Secrets file location, where the secret leases are stored
	SecretsFileName string

	// Address to use to expose metrics (path configured with MetricsPath).
	// The /healthz and /readyz endpoints will also be exposed on this address.
	ListenAddress string
	// Path to use to expose metrics
	MetricsPath string
}

Options customizes the parameters of templating.

func (*Options) IsValid

func (o *Options) IsValid() bool

IsValid returns true if some values are filled into the options.

Jump to

Keyboard shortcuts

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