run

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2019 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
	// Kubernetes auth role to use
	Role string

	// Template file to be rendered
	TemplateFileName string
	// Location of the output file
	OutputFileName string

	// Address to use to expose metrics
	MetricsAddress 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