Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Codec = runtime.CodecFor(api.Scheme, "v1")
Functions ¶
This section is empty.
Types ¶
type ReplicationControllerDummy ¶
Dummy definition
func (*ReplicationControllerDummy) IsAnAPIObject ¶
func (*ReplicationControllerDummy) IsAnAPIObject()
type Scale ¶
type Scale struct { v1.TypeMeta `json:",inline"` v1.ObjectMeta `` /* 136-byte string literal not displayed */ // Spec defines the behavior of the scaler. Spec ScaleSpec `` /* 162-byte string literal not displayed */ // Status represents the current status of the scaler. Status ScaleStatus `` /* 193-byte string literal not displayed */ }
Scale subresource, applicable to ReplicationControllers and (in future) Deployment.
func (*Scale) IsAnAPIObject ¶
func (*Scale) IsAnAPIObject()
type ScaleSpec ¶
type ScaleSpec struct { // Replicas is the number of desired replicas. Replicas int `` /* 174-byte string literal not displayed */ }
ScaleSpec describes the attributes a Scale subresource
type ScaleStatus ¶
type ScaleStatus struct { // Replicas is the number of actual replicas. Replicas int `` /* 178-byte string literal not displayed */ // Selector is a label query over pods that should match the replicas count. Selector map[string]string `` /* 255-byte string literal not displayed */ }
ScaleStatus represents the current status of a Scale subresource.
Click to show internal directories.
Click to hide internal directories.