config

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 added in v0.9.3

func InitConfig()

InitConfig set global config values.

Types

type CdevUsage added in v0.9.3

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
	// ShowTerraformPlan  bool
	StateCacheDir     string
	TemplatesCacheDir string
	CacheDir          string
	NoColor           bool
	Force             bool
	Interactive       bool
	OutputJSON        bool
	Targets           []string
}

ConfSpec type for global config.

var Global ConfSpec

Global config for executor.

type SubCmd added in v0.9.3

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

type TargetUnits added in v0.9.3

type TargetUnits []string

func NewTargetsChecker added in v0.9.3

func NewTargetsChecker(tg []string) *TargetUnits

func (*TargetUnits) Check added in v0.9.3

func (t *TargetUnits) Check(unitKey string) bool

Jump to

Keyboard shortcuts

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