Documentation ¶
Index ¶
- type MetricFunc
- type RodanClient
- func (c *RodanClient) GetCoreCPUStats() (map[int][]types.Cell, error)
- func (c *RodanClient) GetNUMAMemoryStats() (map[int][]types.Cell, error)
- func (c *RodanClient) GetNodeCgroupMemoryStats() ([]types.Cell, error)
- func (c *RodanClient) GetNodeMemoryStats() ([]types.Cell, error)
- func (c *RodanClient) GetNodeSysctl() ([]types.Cell, error)
- func (c *RodanClient) GetPodContainerCPUStats(ctx context.Context, podUID string) (map[string][]types.Cell, error)
- func (c *RodanClient) GetPodContainerCgNumaStats(ctx context.Context, podUId string) (map[string]map[int][]types.Cell, error)
- func (c *RodanClient) GetPodContainerCghardwareStats(ctx context.Context, podUID string) (map[string][]types.Cell, error)
- func (c *RodanClient) GetPodContainerCgroupMemStats(ctx context.Context, podUID string) (map[string][]types.Cell, error)
- func (c *RodanClient) GetPodContainerLoadStats(ctx context.Context, podUID string) (map[string][]types.Cell, error)
- func (c *RodanClient) GetPodContainerStats(ctx context.Context, podUID string, url string) (map[string][]types.Cell, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RodanClient ¶
type RodanClient struct {
// contains filtered or unexported fields
}
func NewRodanClient ¶
func NewRodanClient(fetcher pod.PodFetcher, metricFunc MetricFunc, port int) *RodanClient
func (*RodanClient) GetCoreCPUStats ¶
func (c *RodanClient) GetCoreCPUStats() (map[int][]types.Cell, error)
func (*RodanClient) GetNUMAMemoryStats ¶
func (c *RodanClient) GetNUMAMemoryStats() (map[int][]types.Cell, error)
func (*RodanClient) GetNodeCgroupMemoryStats ¶
func (c *RodanClient) GetNodeCgroupMemoryStats() ([]types.Cell, error)
func (*RodanClient) GetNodeMemoryStats ¶
func (c *RodanClient) GetNodeMemoryStats() ([]types.Cell, error)
func (*RodanClient) GetNodeSysctl ¶
func (c *RodanClient) GetNodeSysctl() ([]types.Cell, error)
func (*RodanClient) GetPodContainerCPUStats ¶
func (*RodanClient) GetPodContainerCgNumaStats ¶
func (*RodanClient) GetPodContainerCghardwareStats ¶
func (*RodanClient) GetPodContainerCgroupMemStats ¶
func (*RodanClient) GetPodContainerLoadStats ¶
Click to show internal directories.
Click to hide internal directories.