config

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildTimestamp string

BuildTimestamp - build date from compiller

View Source
var Interrupted bool
View Source
var Version string

Version - git tag from compiller

Functions

func InitConfig

func InitConfig()

InitConfig set global config values.

Types

type CdevUsage added in v0.8.1

type CdevUsage struct {
	Operation           string `json:"operation"`
	OperationResult     string `json:"operationResult"`
	AbsoluteTime        string `json:"absoluteTime"`
	RealTime            string `json:"reaLTime"`
	ProjectID           string `json:"projectID"`
	BackendType         string `json:"backendType"`
	CdevVersion         string `json:"cdevVersion"`
	OsVersion           string `json:"osVersion"`
	ProcessedUnitsCount uint   `json:"processedUnitsCount"`
}

type ConfSpec

type ConfSpec struct {
	ProjectConfigsPath string
	LogLevel           string
	ProjectConfig      string
	Version            string
	Build              string
	WorkDir            string
	WorkingDir         string
	TraceLog           bool
	MaxParallel        int
	PluginsCacheDir    string
	UseCache           bool
	OptFooTest         bool
	IgnoreState        bool
	NotLoadState       bool
	ShowTerraformPlan  bool
	StateCacheDir      string
	TemplatesCacheDir  string
	CacheDir           string
	NoColor            bool
	Force              bool
	Interactive        bool
	OutputJSON         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