node

package
v0.1.0-beta.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NodeTypeAliyunECS = "aliyun_ecs"
	NodeTypeUserSelf  = "user_self"
	NodeTypeAliyunENS = "aliyun_ens"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeController

type NodeController interface {
	CreateNode(string, string, string, string) (string, error)
	StartNode(string) error
	DeleteNode(string) error
	GetNodeInfo(string) (*types.NodeAttribute, error)
	RebootNode(string) error
	StopNode(string) error
}

func NewNodeController

func NewNodeController(nodeType, regionID, accessKeyID, accessKeySecret string) (NodeController, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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