metrics

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2016 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "metrics"

GroupName is the group name use in this package

Variables

View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func AddToScheme

func AddToScheme(scheme *runtime.Scheme)

func Kind

func Kind(kind string) unversioned.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) unversioned.GroupResource

Resource takes an unqualified resource and returns back a Group qualified GroupResource

Types

type RawNode

type RawNode struct {
	unversioned.TypeMeta `json:",inline"`
}

Placeholder top-level node resource metrics.

func (*RawNode) CodecDecodeSelf

func (x *RawNode) CodecDecodeSelf(d *codec1978.Decoder)

func (*RawNode) CodecEncodeSelf

func (x *RawNode) CodecEncodeSelf(e *codec1978.Encoder)

func (*RawNode) GetObjectKind

func (obj *RawNode) GetObjectKind() unversioned.ObjectKind

type RawPod

type RawPod struct {
	unversioned.TypeMeta `json:",inline"`
}

Placeholder top-level pod resource metrics.

func (*RawPod) CodecDecodeSelf

func (x *RawPod) CodecDecodeSelf(d *codec1978.Decoder)

func (*RawPod) CodecEncodeSelf

func (x *RawPod) CodecEncodeSelf(e *codec1978.Encoder)

func (*RawPod) GetObjectKind

func (obj *RawPod) GetObjectKind() unversioned.ObjectKind

Directories

Path Synopsis
Package install installs the metrics API group, making it available as an option to all of the API encoding/decoding machinery.
Package install installs the metrics API group, making it available as an option to all of the API encoding/decoding machinery.

Jump to

Keyboard shortcuts

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