Documentation ¶
Index ¶
- func NewComponentCmd(client dynamic.Interface, clientset *kubernetes.Clientset) (cmd *cobra.Command)
- func NewComponentEditCmd(client dynamic.Interface) (cmd *cobra.Command)
- func NewComponentResetCmd(client dynamic.Interface) (cmd *cobra.Command)
- func NewComponentWatchCmd(client dynamic.Interface) (cmd *cobra.Command)
- type EnableOption
- type LogOption
- type Option
- type ResetOption
- type WatchOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewComponentCmd ¶
func NewComponentCmd(client dynamic.Interface, clientset *kubernetes.Clientset) (cmd *cobra.Command)
NewComponentCmd returns a command to manage components of KubeSphere
func NewComponentEditCmd ¶
NewComponentEditCmd returns a command to enable (or disable) a component by name
func NewComponentResetCmd ¶
NewComponentResetCmd returns a command to enable (or disable) a component by name
Types ¶
type EnableOption ¶
EnableOption is the option for component enable command
type Option ¶
type Option struct { Name string Release bool Tag string SonarQube string SonarQubeToken string Client dynamic.Interface Clientset *kubernetes.Clientset }
Option is the common option for component command
type ResetOption ¶
ResetOption is the option for component reset command
Click to show internal directories.
Click to hide internal directories.