compute

package
v2.0.0-pre3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentComputeClient

type AgentComputeClient struct {
	// contains filtered or unexported fields
}

func NewComputeClient

func NewComputeClient(cfg *config.TritonClientConfig) (*AgentComputeClient, error)

func (*AgentComputeClient) CountInstanceList

func (c *AgentComputeClient) CountInstanceList() (int, error)

func (*AgentComputeClient) CreateInstance

func (c *AgentComputeClient) CreateInstance() (*tcc.Instance, error)

func (*AgentComputeClient) DeleteInstance

func (c *AgentComputeClient) DeleteInstance() (*tcc.Instance, error)

func (*AgentComputeClient) FormatImageName

func (c *AgentComputeClient) FormatImageName(images []*tcc.Image, imgID string) string

func (*AgentComputeClient) GetDataCenterList

func (c *AgentComputeClient) GetDataCenterList() ([]*tcc.DataCenter, error)

func (*AgentComputeClient) GetImagesList

func (c *AgentComputeClient) GetImagesList() ([]*tcc.Image, error)

func (*AgentComputeClient) GetInstance

func (c *AgentComputeClient) GetInstance() (*tcc.Instance, error)

func (*AgentComputeClient) GetInstanceList

func (c *AgentComputeClient) GetInstanceList() ([]*tcc.Instance, error)

func (*AgentComputeClient) GetPackage

func (c *AgentComputeClient) GetPackage() (*tcc.Package, error)

func (*AgentComputeClient) GetPackagesList

func (c *AgentComputeClient) GetPackagesList() ([]*tcc.Package, error)

func (*AgentComputeClient) GetServiceList

func (c *AgentComputeClient) GetServiceList() ([]*tcc.Service, error)

func (*AgentComputeClient) RebootInstance

func (c *AgentComputeClient) RebootInstance() (*tcc.Instance, error)

func (*AgentComputeClient) StartInstance

func (c *AgentComputeClient) StartInstance() (*tcc.Instance, error)

func (*AgentComputeClient) StopInstance

func (c *AgentComputeClient) StopInstance() (*tcc.Instance, error)

Jump to

Keyboard shortcuts

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