package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewCadvisorStatsProvider returns a containerStatsProvider that provides both the node and the container stats from cAdvisor.
NewCRIStatsProvider returns a StatsProvider that provides the node stats from cAdvisor and the container stats from CRI.
NewLogMetricsService returns a new LogMetricsService type struct.

# Structs

StatsProvider provides the stats of the node and the pod-managed containers.

# Interfaces

LogMetricsService defines an interface for providing LogMetrics functionality.

# Type aliases

ByCreationTime implements sort.Interface for []containerInfoWithCgroup based on the cinfo.Spec.CreationTime field.