config

package
v0.4.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildTimestamp string

BuildTimestamp - build date from compiller

View Source
var Version string

Version - git tag from compiller

Functions

func InitConfig

func InitConfig()

InitConfig set global config values.

func ReadYAMLObjects

func ReadYAMLObjects(objData []byte) ([]map[string]interface{}, error)

Types

type ConfSpec

type ConfSpec struct {
	ClusterConfigsPath string
	LogLevel           string
	ClusterConfig      string
	Version            string
	Build              string
	TmpDir             string
	WorkingDir         string
	TraceLog           bool
	MaxParallel        int
	PluginsCacheDir    string
	UseCache           bool
	OptFooTest         bool
}

ConfSpec type for global config.

var Global ConfSpec

Global config for executor.

type SubCmd

type SubCmd int
const (
	Plan SubCmd = iota
	Apply
	Destroy
	Build
	Clear
)

Jump to

Keyboard shortcuts

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