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.
Click to show internal directories.
Click to hide internal directories.