Move API handlers to separate package
This makes the package split a little cleaner and easier to import the HTTP handlers for other consumers.
This commit is contained in:
@@ -57,7 +57,7 @@ type Provider interface {
|
||||
OperatingSystem() string
|
||||
}
|
||||
|
||||
// MetricsProvider is an optional interface that providers can implement to expose pod stats
|
||||
type MetricsProvider interface {
|
||||
// PodMetricsProvider is an optional interface that providers can implement to expose pod stats
|
||||
type PodMetricsProvider interface {
|
||||
GetStatsSummary(context.Context) (*stats.Summary, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user