replicaset

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2017 License: Apache-2.0 Imports: 4 Imported by: 118

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromCells added in v1.5.0

func FromCells(cells []dataselect.DataCell) []extensions.ReplicaSet

func ToCells added in v1.5.0

func ToCells(std []extensions.ReplicaSet) []dataselect.DataCell

Types

type ReplicaSet

type ReplicaSet struct {
	ObjectMeta common.ObjectMeta `json:"objectMeta"`
	TypeMeta   common.TypeMeta   `json:"typeMeta"`

	// Aggregate information about pods belonging to this Replica Set.
	Pods common.PodInfo `json:"pods"`

	// Container images of the Replica Set.
	ContainerImages []string `json:"containerImages"`
}

ReplicaSet is a presentation layer view of Kubernetes Replica Set resource. This means it is Replica Set plus additional augmented data we can get from other sources (like services that target the same pods).

func ToReplicaSet

func ToReplicaSet(replicaSet *extensions.ReplicaSet, podInfo *common.PodInfo) ReplicaSet

ToReplicaSet converts replica set api object to replica set model object.

type ReplicaSetCell added in v1.4.0

type ReplicaSetCell extensions.ReplicaSet

func (ReplicaSetCell) GetProperty added in v1.4.0

func (ReplicaSetCell) GetResourceSelector added in v1.4.0

func (self ReplicaSetCell) GetResourceSelector() *metric.ResourceSelector

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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