civo

package
v0.0.0-...-e4012a6 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCluster

func CreateCluster(name string) error

func DeleteCluster

func DeleteCluster(name string) error

func GetClusterId

func GetClusterId(name string) (id string, err error)

func GetClusterNames

func GetClusterNames() []string

Types

type Clusters

type Clusters struct {
	Items []struct {
		ID                string        `json:"id"`
		Name              string        `json:"name"`
		Version           string        `json:"version"`
		Status            string        `json:"status"`
		Ready             bool          `json:"ready"`
		NumTargetNodes    int           `json:"num_target_nodes"`
		TargetNodesSize   string        `json:"target_nodes_size"`
		Kubeconfig        string        `json:"kubeconfig"`
		KubernetesVersion string        `json:"kubernetes_version"`
		DNSEntry          string        `json:"dns_entry"`
		Tags              []interface{} `json:"tags"`
	} `json:"items"`
}

Jump to

Keyboard shortcuts

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