native

package
v0.4.1-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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 (p *Native) BindCredential() error

func (*Native) CommandNotSupport

func (p *Native) CommandNotSupport(commandName string) error

func (*Native) CreateCheck added in v0.4.0

func (p *Native) CreateCheck() error

func (*Native) CreateK3sCluster

func (p *Native) CreateK3sCluster() (err error)

func (*Native) DeleteK3sCluster

func (p *Native) DeleteK3sCluster(f bool) error

func (*Native) DescribeCluster added in v0.3.0

func (p *Native) DescribeCluster(kubecfg string) *types.ClusterInfo

func (*Native) GenerateClusterName

func (p *Native) GenerateClusterName() string

func (*Native) GenerateManifest added in v0.4.0

func (p *Native) GenerateManifest() []string

func (*Native) GenerateMasterExtraArgs

func (p *Native) GenerateMasterExtraArgs(cluster *types.Cluster, master types.Node) string

func (*Native) GenerateWorkerExtraArgs

func (p *Native) GenerateWorkerExtraArgs(cluster *types.Cluster, worker types.Node) string

func (*Native) GetCluster added in v0.3.0

func (p *Native) GetCluster(kubecfg string) *types.ClusterInfo

func (*Native) GetCreateFlags

func (p *Native) GetCreateFlags() []types.Flag

func (*Native) GetCredentialFlags

func (p *Native) GetCredentialFlags() []types.Flag

func (*Native) GetDeleteFlags

func (p *Native) GetDeleteFlags() []types.Flag

func (*Native) GetJoinFlags

func (p *Native) GetJoinFlags() []types.Flag

func (*Native) GetOptionFlags added in v0.4.0

func (p *Native) GetOptionFlags() []types.Flag

func (*Native) GetProviderName

func (p *Native) GetProviderName() string

func (*Native) GetProviderOptions added in v0.4.0

func (p *Native) GetProviderOptions(opt []byte) (interface{}, error)

func (*Native) GetSSHConfig added in v0.4.0

func (p *Native) GetSSHConfig() *types.SSH

func (*Native) GetSSHFlags

func (p *Native) GetSSHFlags() []types.Flag

func (*Native) GetUsageExample added in v0.3.0

func (p *Native) GetUsageExample(action string) string

func (*Native) IsClusterExist

func (p *Native) IsClusterExist() (bool, []string, error)

func (*Native) JoinCheck added in v0.4.0

func (p *Native) JoinCheck() error

func (*Native) JoinK3sNode

func (p *Native) JoinK3sNode() (err error)

func (*Native) MergeClusterOptions added in v0.3.0

func (p *Native) MergeClusterOptions() error

func (*Native) Rollback

func (p *Native) Rollback() error

func (*Native) SSHK3sNode

func (p *Native) SSHK3sNode(ip string) error

func (*Native) SetConfig added in v0.4.0

func (p *Native) SetConfig(config []byte) error

func (*Native) SetOptions added in v0.4.0

func (p *Native) SetOptions(opt []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL