Documentation ¶
Index ¶
- type Native
- func (p *Native) BindCredential() error
- func (p *Native) CommandNotSupport(commandName string) error
- func (p *Native) CreateCheck() error
- func (p *Native) CreateK3sCluster() (err error)
- func (p *Native) DeleteK3sCluster(f bool) error
- func (p *Native) DescribeCluster(kubecfg string) *types.ClusterInfo
- func (p *Native) GenerateClusterName() string
- func (p *Native) GenerateManifest() []string
- 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) GetCluster(kubecfg string) *types.ClusterInfo
- func (p *Native) GetCreateFlags() []types.Flag
- func (p *Native) GetCredentialFlags() []types.Flag
- func (p *Native) GetDeleteFlags() []types.Flag
- func (p *Native) GetJoinFlags() []types.Flag
- func (p *Native) GetOptionFlags() []types.Flag
- func (p *Native) GetProviderName() string
- func (p *Native) GetProviderOptions(opt []byte) (interface{}, error)
- func (p *Native) GetSSHConfig() *types.SSH
- func (p *Native) GetSSHFlags() []types.Flag
- func (p *Native) GetUsageExample(action string) string
- func (p *Native) IsClusterExist() (bool, []string, error)
- func (p *Native) JoinCheck() error
- func (p *Native) JoinK3sNode() (err error)
- func (p *Native) MergeClusterOptions() error
- func (p *Native) Rollback() error
- func (p *Native) SSHK3sNode(ip string) error
- func (p *Native) SetConfig(config []byte) error
- func (p *Native) SetOptions(opt []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Native ¶
type Native struct { *cluster.ProviderBase `json:",inline"` native.Options `json:",inline"` }
func (*Native) BindCredential ¶ added in v0.4.0
func (*Native) CommandNotSupport ¶
func (*Native) CreateCheck ¶ added in v0.4.0
func (*Native) CreateK3sCluster ¶
func (*Native) DeleteK3sCluster ¶
func (*Native) DescribeCluster ¶ added in v0.3.0
func (p *Native) DescribeCluster(kubecfg string) *types.ClusterInfo
func (*Native) GenerateClusterName ¶
func (*Native) GenerateManifest ¶ added in v0.4.0
func (*Native) GenerateMasterExtraArgs ¶
func (*Native) GenerateWorkerExtraArgs ¶
func (*Native) GetCluster ¶ added in v0.3.0
func (p *Native) GetCluster(kubecfg string) *types.ClusterInfo
func (*Native) GetCreateFlags ¶
func (*Native) GetCredentialFlags ¶
func (*Native) GetDeleteFlags ¶
func (*Native) GetJoinFlags ¶
func (*Native) GetOptionFlags ¶ added in v0.4.0
func (*Native) GetProviderName ¶
func (*Native) GetProviderOptions ¶ added in v0.4.0
func (*Native) GetSSHConfig ¶ added in v0.4.0
func (*Native) GetSSHFlags ¶
func (*Native) GetUsageExample ¶ added in v0.3.0
func (*Native) JoinK3sNode ¶
func (*Native) MergeClusterOptions ¶ added in v0.3.0
func (*Native) SSHK3sNode ¶
func (*Native) SetOptions ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.