Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster interface { // The Update operation populates the Cluster from a cache. Update(cache.Cache) error // The Get operations extract internal types from the Cluster. // The returned time.Time values signify the latest metric timestamp in the cluster. // TODO(alex): Returning pointers is NOT safe, will be addressed in a later PR GetAllClusterData() (*ClusterInfo, time.Time, error) GetAllNodeData(string) (*NodeInfo, time.Time, error) GetAllPodData(string, string) (*PodInfo, time.Time, error) }
func NewCluster ¶
NewCluster returns a new Cluster, given a TimeStore constructor function.
type ClusterInfo ¶
type ClusterInfo struct { InfoType Namespaces map[string]*NamespaceInfo // key: Namespace Name Nodes map[string]*NodeInfo // key: Hostname }
type ContainerInfo ¶
type ContainerInfo struct {
InfoType
}
type NamespaceInfo ¶
Click to show internal directories.
Click to hide internal directories.