scale

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2018 License: MPL-2.0 Imports: 9 Imported by: 2

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) 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

Jump to

Keyboard shortcuts

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