Documentation ¶
Index ¶
- Constants
- Variables
- func DeepCopy_metrics_ContainerMetrics(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_metrics_NodeMetrics(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_metrics_NodeMetricsList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_metrics_PodMetrics(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_metrics_PodMetricsList(in interface{}, out interface{}, c *conversion.Cloner) error
- func Kind(kind string) schema.GroupKind
- func RegisterDeepCopies(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type ContainerMetrics
- type NodeMetrics
- type NodeMetricsList
- type PodMetrics
- type PodMetricsList
Constants ¶
View Source
const GroupName = "metrics"
GroupName is the group name use in this package
Variables ¶
View Source
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func DeepCopy_metrics_ContainerMetrics ¶
func DeepCopy_metrics_ContainerMetrics(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_metrics_NodeMetrics ¶
func DeepCopy_metrics_NodeMetrics(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_metrics_NodeMetricsList ¶
func DeepCopy_metrics_NodeMetricsList(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_metrics_PodMetrics ¶
func DeepCopy_metrics_PodMetrics(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_metrics_PodMetricsList ¶
func DeepCopy_metrics_PodMetricsList(in interface{}, out interface{}, c *conversion.Cloner) error
func RegisterDeepCopies ¶
RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
Types ¶
type ContainerMetrics ¶
type ContainerMetrics struct { // Container name corresponding to the one from pod.spec.containers. Name string // The memory usage is the memory working set. Usage api.ResourceList }
resource usage metrics of a container.
type NodeMetrics ¶
type NodeMetrics struct { metav1.TypeMeta metav1.ObjectMeta // The following fields define time interval from which metrics were // collected from the interval [Timestamp-Window, Timestamp]. Timestamp metav1.Time Window metav1.Duration // The memory usage is the memory working set. Usage api.ResourceList }
resource usage metrics of a node.
type NodeMetricsList ¶
type NodeMetricsList struct { metav1.TypeMeta // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds metav1.ListMeta // List of node metrics. Items []NodeMetrics }
NodeMetricsList is a list of NodeMetrics.
type PodMetrics ¶
type PodMetrics struct { metav1.TypeMeta metav1.ObjectMeta // The following fields define time interval from which metrics were // collected from the interval [Timestamp-Window, Timestamp]. Timestamp metav1.Time Window metav1.Duration // Metrics for all containers are collected within the same time window. Containers []ContainerMetrics }
resource usage metrics of a pod.
type PodMetricsList ¶
type PodMetricsList struct { metav1.TypeMeta // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds metav1.ListMeta // List of pod metrics. Items []PodMetrics }
PodMetricsList is a list of PodMetrics.
Directories ¶
Path | Synopsis |
---|---|
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
|
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery. |
Package v1alpha1 is a generated protocol buffer package.
|
Package v1alpha1 is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.