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)
Click to show internal directories.
Click to hide internal directories.