Documentation
¶
Index ¶
- type AgentComputeClient
- func (c *AgentComputeClient) CreateInstance(templateID string) (*tcc.Instance, error)
- func (c *AgentComputeClient) DeleteInstance(instanceID string) error
- func (c *AgentComputeClient) GetInstanceList() ([]*tcc.Instance, error)
- func (c *AgentComputeClient) MaintainInstanceCount() error
- func (c *AgentComputeClient) TagInstance(instanceID string, templateID string) 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) CreateInstance ¶
func (c *AgentComputeClient) CreateInstance(templateID string) (*tcc.Instance, error)
func (*AgentComputeClient) DeleteInstance ¶
func (c *AgentComputeClient) DeleteInstance(instanceID string) error
func (*AgentComputeClient) GetInstanceList ¶
func (c *AgentComputeClient) GetInstanceList() ([]*tcc.Instance, error)
func (*AgentComputeClient) MaintainInstanceCount ¶
func (c *AgentComputeClient) MaintainInstanceCount() error
func (*AgentComputeClient) TagInstance ¶
func (c *AgentComputeClient) TagInstance(instanceID string, templateID string) error
Click to show internal directories.
Click to hide internal directories.