Documentation ¶
Index ¶
- func Add2CloudToolsList(toolList map[string]types.ToolsInstaller, flagData map[string]types.FlagData, ...) error
- func Add2EdgeToolsList(toolList map[string]types.ToolsInstaller, flagData map[string]types.FlagData, ...) error
- func NewDeprecated() *cobra.Command
- func NewDeprecatedCloudInit() *cobra.Command
- func NewDeprecatedEdgeJoin() *cobra.Command
- func NewDeprecatedKubeEdgeReset() *cobra.Command
- func RemoveContainers(isEdgeNode bool, execer utilsexec.Interface) error
- func TearDownKubeEdge(isEdgeNode bool, kubeConfig string) error
- type InitBaseOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add2CloudToolsList ¶
func Add2CloudToolsList(toolList map[string]types.ToolsInstaller, flagData map[string]types.FlagData, initOptions *InitBaseOptions) error
Add2CloudToolsList Reads the flagData (containing val and default val) and join options to fill the list of tools.
func Add2EdgeToolsList ¶
func Add2EdgeToolsList(toolList map[string]types.ToolsInstaller, flagData map[string]types.FlagData, joinOptions *types.JoinOptions) error
Add2EdgeToolsList Reads the flagData (containing val and default val) and join options to fill the list of tools.
func NewDeprecated ¶
NewDeprecated represents the deprecated command
func NewDeprecatedCloudInit ¶
NewDeprecatedCloudInit represents the keadm init command for cloud component
func NewDeprecatedEdgeJoin ¶
NewDeprecatedEdgeJoin returns KubeEdge edge join command.
func NewDeprecatedKubeEdgeReset ¶
NewDeprecatedKubeEdgeReset represents the reset command
func RemoveContainers ¶
RemoveContainers removes all Kubernetes-managed containers
func TearDownKubeEdge ¶
TearDownKubeEdge will bring down either cloud or edge components, depending upon in which type of node it is executed
Types ¶
Click to show internal directories.
Click to hide internal directories.