Documentation
¶
Index ¶
- func CheckConfigAndCommandFlags(c *cli.Context) error
- func CheckConfigAndCommandFlagsDP(c *cli.Context) error
- func CheckConfigAndCommandFlagsWithoutWorkspace(c *cli.Context) error
- func CheckResourceAddressingFlags(c *cli.Context) error
- func GetHomeDirectory() string
- func PrintConfig(cfg Config)
- func WriteConfigToFile(baseDir, server, output, profile, workspace, apiKeyID, privateKey string) error
- type Config
- type ConfigList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHomeDirectory ¶
func GetHomeDirectory() string
func PrintConfig ¶
func PrintConfig(cfg Config)
func WriteConfigToFile ¶
Types ¶
type Config ¶
type Config struct { Server string `json:"server" yaml:"server"` Workspace string `json:"workspace,omitempty" yaml:"workspace,omitempty"` Output string `json:"output,omitempty" yaml:"output,omitempty"` RefreshToken string `json:"refreshtoken,omitempty" yaml:"refreshtoken,omitempty"` ApiKeyID string `json:"apikeyid" yaml:"apikeyid"` PrivateKey string `json:"privatekey" yaml:"privatekey"` Timeout string `json:"timeout,omitempty" yaml:"timeout,omitempty"` }
type ConfigList ¶
func (ConfigList) Json ¶
func (c ConfigList) Json() string
func (ConfigList) Yaml ¶
func (c ConfigList) Yaml() string
Click to show internal directories.
Click to hide internal directories.