Help us shape the future of Go! Take the 2026 Go Developer Survey

cluster

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	NamespaceList        namespace.NamespaceList               `json:"namespaceList"`
	NodeList             node.NodeList                         `json:"nodeList"`
	PersistentVolumeList persistentvolume.PersistentVolumeList `json:"persistentVolumeList"`
	RoleList             rbacroles.RbacRoleList                `json:"roleList"`
	StorageClassList     storageclass.StorageClassList         `json:"storageClassList"`
}

Cluster structure contains all resource lists grouped into the cluster category.

func GetCluster

func GetCluster(client *kubernetes.Clientset, dsQuery *dataselect.DataSelectQuery,
	heapsterClient *client.HeapsterClient) (*Cluster, error)

GetCluster returns a list of all cluster resources in the cluster.

func GetClusterFromChannels

func GetClusterFromChannels(channels *common.ResourceChannels,
	dsQuery *dataselect.DataSelectQuery, heapsterClient *client.HeapsterClient) (*Cluster, error)

GetClusterFromChannels returns a list of all cluster in the cluster, from the channel sources.

Jump to

Keyboard shortcuts

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