exchange

package
v0.0.0-...-a1466e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package contains code from Kubernetes Heapster (https://github.com/kubernetes/heapster).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InnerState

type InnerState struct {
	sync.RWMutex
	DockerPaths    map[string]string
	DockerStorage  map[string]interface{}
	PendingMetrics map[string]map[string][]cadv.MetricVal
}

type StatsRequest

type StatsRequest struct {
	// The name of the container for which to request stats.
	// Default: /
	ContainerName string `json:"containerName,omitempty"`

	// Max number of stats to return.
	// If start and end time are specified this limit is ignored.
	// Default: 60
	NumStats int `json:"num_stats,omitempty"`

	// Start time for which to query information.
	// If omitted, the beginning of time is assumed.
	Start time.Time `json:"start,omitempty"`

	// End time for which to query information.
	// If omitted, current time is assumed.
	End time.Time `json:"end,omitempty"`

	// Whether to also include information from subcontainers.
	// Default: false.
	Subcontainers bool `json:"subcontainers,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL