k3d

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K3d

type K3d struct {
	*cluster.ProviderBase `json:",inline"`
	typesk3d.Options      `json:",inline"`
}

func (*K3d) BindCredential

func (p *K3d) BindCredential() error

func (*K3d) CreateCheck

func (p *K3d) CreateCheck() error

func (*K3d) CreateK3sCluster

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

func (*K3d) DeleteK3sCluster

func (p *K3d) DeleteK3sCluster(f bool) (err error)

func (*K3d) DescribeCluster

func (p *K3d) DescribeCluster(kubeConfig string) *types.ClusterInfo

func (*K3d) GenerateClusterName

func (p *K3d) GenerateClusterName() string

func (*K3d) GenerateMasterExtraArgs

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

func (*K3d) GenerateWorkerExtraArgs

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

func (*K3d) GetCluster

func (p *K3d) GetCluster(kubeConfig string) *types.ClusterInfo

func (*K3d) GetCreateFlags

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

func (*K3d) GetCredentialFlags

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

func (*K3d) GetDeleteFlags

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

func (*K3d) GetJoinFlags

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

func (*K3d) GetOptionFlags

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

func (*K3d) GetProviderName

func (p *K3d) GetProviderName() string

func (*K3d) GetProviderOptions

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

func (*K3d) GetSSHConfig

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

func (*K3d) GetSSHFlags

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

func (*K3d) GetUsageExample

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

func (*K3d) IsClusterExist

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

func (*K3d) JoinCheck

func (p *K3d) JoinCheck() error

func (*K3d) JoinK3sNode

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

func (*K3d) MergeClusterOptions

func (p *K3d) MergeClusterOptions() error

func (*K3d) SSHK3sNode

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

func (*K3d) SetConfig

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

func (*K3d) SetOptions

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

Jump to

Keyboard shortcuts

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