Documentation ¶
Index ¶
- type EnsController
- func (u *EnsController) CreateNode(instanceType, imageID, vswitchID, userData string) (string, error)
- func (u *EnsController) DeleteNode(instanceID string) error
- func (u *EnsController) GetNodeInfo(instanceID string) (*types.NodeAttribute, error)
- func (u *EnsController) RebootNode(nodeName string) error
- func (u *EnsController) StartNode(instanceID string) error
- func (u *EnsController) StopNode(instanceID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnsController ¶
func NewEnsController ¶
func NewEnsController(regionID, accessKeyID, accessKeySecret string) (*EnsController, error)
func (*EnsController) CreateNode ¶
func (u *EnsController) CreateNode(instanceType, imageID, vswitchID, userData string) (string, error)
func (*EnsController) DeleteNode ¶
func (u *EnsController) DeleteNode(instanceID string) error
func (*EnsController) GetNodeInfo ¶
func (u *EnsController) GetNodeInfo(instanceID string) (*types.NodeAttribute, error)
func (*EnsController) RebootNode ¶
func (u *EnsController) RebootNode(nodeName string) error
func (*EnsController) StartNode ¶
func (u *EnsController) StartNode(instanceID string) error
func (*EnsController) StopNode ¶
func (u *EnsController) StopNode(instanceID string) error
Click to show internal directories.
Click to hide internal directories.