node

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 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