user

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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