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 (self ReplicaSetCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
func (ReplicaSetCell) GetResourceSelector ¶ added in v1.4.0
func (self ReplicaSetCell) GetResourceSelector() *metric.ResourceSelector
Click to show internal directories.
Click to hide internal directories.