clusters

package
v0.0.42 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: UPL-1.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Clusters []Cluster
)

Functions

func Init

func Init(listers controller.Listers)

func ReturnAllClusters

func ReturnAllClusters(w http.ResponseWriter, r *http.Request)

func ReturnSingleCluster

func ReturnSingleCluster(w http.ResponseWriter, r *http.Request)

Types

type Cluster

type Cluster struct {
	Id            string `json:"id"`
	Name          string `json:"name"`
	Type          string `json:"type"`
	ServerAddress string `json:"serverAddress"`
	Description   string `json:"description"`
	Status        string `json:"status"`
}

func GetClusters

func GetClusters() ([]Cluster, error)

Jump to

Keyboard shortcuts

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