Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Civo ¶
type Civo struct { Civoer // contains filtered or unexported fields }
Civo holds the Civoer interface and http client
func (*Civo) CreateCluster ¶
CreateCluster calls create from the Civo API
func (*Civo) DeleteCluster ¶
DeleteCluster calls delete from the Civo API
func (*Civo) GetClusterId ¶
GetClusterId gets an ID for a given cluster name
func (*Civo) GetClusterNames ¶
GetClusterNames gets a list of clusters from the Civo API
type CivoCtl ¶
CivoCtl holds the config and interface for a Civo Controller
func NewCivoCtl ¶
NewCivoCtl configures a Civo interface
type Civoer ¶
type Civoer interface { GetClusterId(name string) (id string, err error) GetClusterNames() []string CreateCluster(name string) error DeleteCluster(name string) error // contains filtered or unexported methods }
Civoer interfaces with the Civo API
Click to show internal directories.
Click to hide internal directories.