Documentation
¶
Index ¶
- func Defaults(c *cobra.Command) *cobra.Command
- func NewCRDGenCommand() *cobra.Command
- func NewGenerateCommand() *cobra.Command
- func NewRunCommand() *cobra.Command
- func NewTypeCommand() *cobra.Command
- func NewTypeContainsCommand() *cobra.Command
- func NewTypeListCommand() *cobra.Command
- func NewTypeShowCommand() *cobra.Command
- func NewTypeURLCommand() *cobra.Command
- func StringOrDefault(which bool, val string, def string) string
- type NestedTypeGenerators
- type ResourceTypeInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCRDGenCommand ¶
func NewGenerateCommand ¶
NewGenerateCommand returns a "generate" subcommand.
func NewTypeCommand ¶
NewTypeCommand returns a "type" subcommand.
func NewTypeContainsCommand ¶
NewTypeContainsCommand ...
Types ¶
type NestedTypeGenerators ¶
type NestedTypeGenerators struct {
Map map[protoreflect.FullName]func() error
}
func (*NestedTypeGenerators) Push ¶
func (n *NestedTypeGenerators) Push(k protoreflect.FullName, v func() error)
type ResourceTypeInfo ¶
type ResourceTypeInfo struct {
// Name of the root resource.
Name string
// Name of the CRD package.
Package string
// Package import path for the protobuf type.
ImportPath string
// Import alias name to use for the protobuf type package.
ImportName string
// Root protobuf message.
MessageType protoreflect.MessageType
}
Click to show internal directories.
Click to hide internal directories.