Versions in this module Expand all Collapse all v0 v0.22.3 Sep 17, 2021 Changes in this version + func AnnotateFlags(cmd *cobra.Command, generators map[string]Generator) + func EnsureFlagsValid(cmd *cobra.Command, generators map[string]Generator, generatorInUse string) error + func GetBool(params map[string]string, key string, defValue bool) (bool, error) + func IsZero(i interface{}) bool + func MakeParams(cmd *cobra.Command, params []GeneratorParam) map[string]interface + func MakeProtocols(protocols map[string]string) string + func ParseLabels(labelSpec interface{}) (map[string]string, error) + func ParseProtocols(protocols interface{}) (map[string]string, error) + func ValidateParams(paramSpec []GeneratorParam, params map[string]interface{}) error + type Generator interface + Generate func(params map[string]interface{}) (runtime.Object, error) + ParamNames func() []GeneratorParam + type GeneratorFunc func(cmdName string) map[string]Generator + type GeneratorParam struct + Name string + Required bool + type StructuredGenerator interface + StructuredGenerate func() (runtime.Object, error)