Documentation ¶
Index ¶
- type AgentComputeClient
- func (c *AgentComputeClient) CountInstanceList() (int, error)
- func (c *AgentComputeClient) CreateInstance() (*tcc.Instance, error)
- func (c *AgentComputeClient) DeleteInstance() (*tcc.Instance, error)
- func (c *AgentComputeClient) FormatImageName(images []*tcc.Image, imgID string) string
- func (c *AgentComputeClient) GetDataCenterList() ([]*tcc.DataCenter, error)
- func (c *AgentComputeClient) GetImagesList() ([]*tcc.Image, error)
- func (c *AgentComputeClient) GetInstance() (*tcc.Instance, error)
- func (c *AgentComputeClient) GetInstanceList() ([]*tcc.Instance, error)
- func (c *AgentComputeClient) GetPackage() (*tcc.Package, error)
- func (c *AgentComputeClient) GetPackagesList() ([]*tcc.Package, error)
- func (c *AgentComputeClient) GetServiceList() ([]*tcc.Service, error)
- func (c *AgentComputeClient) RebootInstance() (*tcc.Instance, error)
- func (c *AgentComputeClient) StartInstance() (*tcc.Instance, error)
- func (c *AgentComputeClient) StopInstance() (*tcc.Instance, error)
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)
Click to show internal directories.
Click to hide internal directories.