Documentation ¶
Index ¶
- Constants
- func GetManager(client dynamic.Interface, cdName string) (*class.Manager, error)
- func GetResourceConstraints(dynamic dynamic.Interface) (map[string]*v1alpha1.ComponentResourceConstraint, error)
- func NewClassCommand(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command
- func NewCreateCommand(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command
- func NewListCommand(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command
- func NewTemplateCmd(streams genericiooptions.IOStreams) *cobra.Command
- type CreateOptions
- type ListOptions
- type TemplateOptions
Constants ¶
View Source
const ComponentClassTemplate = `` /* 658-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func GetManager ¶
GetManager gets a class manager which manages default classes and user custom classes
func GetResourceConstraints ¶
func GetResourceConstraints(dynamic dynamic.Interface) (map[string]*v1alpha1.ComponentResourceConstraint, error)
GetResourceConstraints gets all resource constraints
func NewClassCommand ¶
func NewCreateCommand ¶
func NewListCommand ¶
func NewTemplateCmd ¶
func NewTemplateCmd(streams genericiooptions.IOStreams) *cobra.Command
Types ¶
type CreateOptions ¶
type ListOptions ¶
type ListOptions struct { ClusterDefRef string Factory cmdutil.Factory genericiooptions.IOStreams // contains filtered or unexported fields }
type TemplateOptions ¶
type TemplateOptions struct { genericiooptions.IOStreams // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.