install

package
v2.0.0-alpha.4+incompa... Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	User   string
	Passwd string
)

username

Functions

func Cmd

func Cmd(host string, cmd string) []byte

Cmd is

func Connect

func Connect(user, passwd, host string) (*ssh.Session, error)

Connect is

Types

type Installer

type Installer interface {
	InstallMaster0()
	JoinMasters()
	JoinNodes()
}

Installer is

func BuildInstaller

func BuildInstaller(user string, passwd string, masters []string, nodes []string) Installer

BuildInstaller is

type SealosInstaller

type SealosInstaller struct {
	User   string
	Passwd string

	Masters []string
	Nodes   []string

	JoinToken       string
	TokenCaCertHash string
	CertificateKey  string
}

SealosInstaller is

func (*SealosInstaller) InstallMaster0

func (s *SealosInstaller) InstallMaster0()

InstallMaster0 is

func (*SealosInstaller) JoinMasters

func (s *SealosInstaller) JoinMasters()

JoinMasters is

func (*SealosInstaller) JoinNodes

func (s *SealosInstaller) JoinNodes()

JoinNodes is

Jump to

Keyboard shortcuts

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