config

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const CfgFileName = ".scloud.toml"
View Source
const LegacyCfgFileName = ".scloud"

Variables

View Source
var GlobalFlags = map[string]interface{}{
	"env":            "",
	"tenant":         "",
	"username":       "",
	"auth-url":       "",
	"host-url":       "",
	"ca-cert":        "",
	"insecure":       false,
	"testhookdryrun": false,
	"testhook":       false,
	"timeout":        0,
}

Functions

func Cmd

func Cmd() *cobra.Command

Cmd -- used to connection to rootCmd

func FileExists

func FileExists(filename string) bool

func Initialize

func Initialize()

try to use .scloud (without) .toml

func Load

func Load(home string, confFile string)

func Migrate

func Migrate(source string, target string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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