installer

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 82 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetsResource added in v1.3.1

type AssetsResource struct {
	RootDir string
}

func NewAssertsResource

func NewAssertsResource() *AssetsResource

func (*AssetsResource) WebService added in v1.3.1

func (c *AssetsResource) WebService() *restful.WebService

type SSH

type SSH struct {
	Status string `json:"status,omitempty"`
}

SSH for test ssh result

type SSHResource

type SSHResource struct {
}

SSHResource is the REST layer to the Cluster domain

func NewSSHResource

func NewSSHResource() *SSHResource

NewSSHResource create a SSHResource

func (*SSHResource) WebService

func (c *SSHResource) WebService() *restful.WebService

WebService creates a new service that can handle REST requests for SSHResource.

type TKE

type TKE struct {
	Config  *config.Config           `json:"config"`
	Para    *types.CreateClusterPara `json:"para"`
	Cluster *v1.Cluster              `json:"cluster"`
	Step    int                      `json:"step"`
	// IncludeSelf means installer is using one of cluster's machines
	IncludeSelf bool `json:"includeSelf"`
	// contains filtered or unexported fields
}

func New added in v1.2.5

func New(config *config.Config) *TKE

func (*TKE) Run

func (t *TKE) Run()

func (*TKE) WebService

func (t *TKE) WebService() *restful.WebService

WebService creates a new service that can handle REST requests for ClusterResource.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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