Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CadvisorHosts ¶
type Container ¶
type Container struct { Name string `json:"name,omitempty"` Spec cadvisor.ContainerSpec `json:"spec,omitempty"` Stats []*cadvisor.ContainerStats `json:"stats,omitempty"` }
type ContainerData ¶
type ContainerData struct { Containers []RawContainer Machine []RawContainer }
type ExternalSource ¶
type ExternalSource struct {
// contains filtered or unexported fields
}
func (*ExternalSource) GetInfo ¶
func (self *ExternalSource) GetInfo() (ContainerData, error)
type RawContainer ¶
type Source ¶
type Source interface { // Fetches containers information from all the nodes in the cluster. // Returns: // 1. podsOrContainers: A slice of Pod or a slice of RawContainer // 2. nodes: A slice of RawContainer, one for each node in the cluster, that contains // root cgroup information. GetInfo() (ContainerData, error) }
Click to show internal directories.
Click to hide internal directories.