ens

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnsController

type EnsController struct {
	RegionID string
	Client   *ens.Client
}

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

Jump to

Keyboard shortcuts

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