config

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Global

type Global struct {
	Provider string `toml:"Provider"`
	OS       string `toml:"OS"`

	ProviderCache *ProviderCache `toml:"ProviderCache"`

	LogLevel  string `toml:"LogLevel"`
	LogFile   string `toml:"LogFile"`
	LogFormat string `toml:"LogFormat"`

	VMTag string `toml:"VMTag"`

	GCP  gcp.Provider  `toml:"GCP"`
	Orka orka.Provider `toml:"Orka"`

	WinRM winrm.Executor `toml:"WinRM"`
}

func LoadFromFile

func LoadFromFile(file string) (Global, error)

type ProviderCache

type ProviderCache struct {
	Enabled   bool   `toml:"Enabled"`
	Directory string `toml:"Directory"`
}

Jump to

Keyboard shortcuts

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