Documentation ¶
Index ¶
Constants ¶
View Source
const ( JSONCt = "application/json" YAMLCt = "text/yaml" NONECt = "" )
Content types for requests
Variables ¶
View Source
var DirektivURL string
DirektivURL stroes the endpoint for direktiv
Functions ¶
func GenerateCmd ¶ added in v0.2.1
func GenerateCmd(use, short, long string, fn func(cmd *cobra.Command, args []string), c cobra.PositionalArgs) *cobra.Command
GenerateCmd is a basic cobra function
Types ¶
type CLILogWriter ¶ added in v0.2.1
type CLILogWriter struct { }
CLILogWriter for using fatalf without date
Click to show internal directories.
Click to hide internal directories.