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