options

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvDefault

func EnvDefault(key, def string) string

Types

type Options

type Options struct {
	MysqlImage    string
	MysqlImageTag string

	HelperImage string

	MetricsExporterImage string

	ImagePullSecretName string
	ImagePullPolicy     v1.PullPolicy

	OrchestratorUri              string
	OrchestratorTopologyPassword string
	OrchestratorTopologyUser     string

	JobCompleteSuccessGraceTime time.Duration

	HttpServeAddr string
	// contains filtered or unexported fields
}

func GetOptions

func GetOptions() *Options

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

func (*Options) Validate

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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