Documentation ¶
Index ¶
Constants ¶
View Source
const ( ENV_PREFIX = "MYC" CONFIG_FILE_NAME = ".mycontroller" CONFIG_FILE_EXT = "yaml" )
Variables ¶
View Source
var ( CONFIG *clientTY.Config // keep MyController server details IOStreams clientTY.IOStreams // read and write to this stream HideHeader bool Pretty bool OutputFormat string )
View Source
var Cmd = &cobra.Command{ Use: "myc", Short: "myc", Long: rootCliLong, PreRun: func(cmd *cobra.Command, args []string) { UpdateStreams(cmd) }, }
Functions ¶
func UpdateStreams ¶
func WriteConfigFile ¶
func WriteConfigFile()
Types ¶
type VersionMap ¶
type VersionMap struct {
Spec map[string]interface{} `json:"spec"`
}
Click to show internal directories.
Click to hide internal directories.