Documentation ¶
Index ¶
- Constants
- type Native
- func (p *Native) BindCredentialFlags() *pflag.FlagSet
- func (p *Native) CommandNotSupport(commandName string) error
- func (p *Native) CreateK3sCluster(ssh *types.SSH) (err error)
- func (p *Native) DeleteK3sCluster(f bool) error
- func (p *Native) GenerateClusterName()
- func (p *Native) GenerateMasterExtraArgs(cluster *types.Cluster, master types.Node) string
- func (p *Native) GenerateWorkerExtraArgs(cluster *types.Cluster, worker types.Node) string
- func (p *Native) GetCreateFlags(cmd *cobra.Command) *pflag.FlagSet
- func (p *Native) GetCredentialFlags(cmd *cobra.Command) *pflag.FlagSet
- func (p *Native) GetDeleteFlags(cmd *cobra.Command) *pflag.FlagSet
- func (p *Native) GetJoinFlags(cmd *cobra.Command) *pflag.FlagSet
- func (p *Native) GetProviderName() string
- func (p *Native) GetSSHFlags(cmd *cobra.Command) *pflag.FlagSet
- func (p *Native) GetStartFlags(cmd *cobra.Command) *pflag.FlagSet
- func (p *Native) GetStopFlags(cmd *cobra.Command) *pflag.FlagSet
- func (p *Native) IsClusterExist() (bool, []string, error)
- func (p *Native) JoinK3sNode(ssh *types.SSH) (err error)
- func (p *Native) Rollback() error
- func (p *Native) SSHK3sNode(ssh *types.SSH) error
- func (p *Native) StartK3sCluster() error
- func (p *Native) StopK3sCluster(f bool) error
Constants ¶
View Source
const ProviderName = "native"
ProviderName is the name of this provider.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Native ¶
type Native struct { types.Metadata `json:",inline"` native.Options `json:",inline"` types.Status `json:"status"` // contains filtered or unexported fields }
func NewProvider ¶
func NewProvider() *Native
func (*Native) BindCredentialFlags ¶
func (*Native) CommandNotSupport ¶
func (*Native) DeleteK3sCluster ¶
func (*Native) GenerateClusterName ¶
func (p *Native) GenerateClusterName()
func (*Native) GenerateMasterExtraArgs ¶
func (*Native) GenerateWorkerExtraArgs ¶
func (*Native) GetCredentialFlags ¶
func (*Native) GetProviderName ¶
func (*Native) StartK3sCluster ¶
func (*Native) StopK3sCluster ¶
Click to show internal directories.
Click to hide internal directories.