Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReplicationControllerDummy ¶
Dummy definition
func (*ReplicationControllerDummy) IsAnAPIObject ¶
func (*ReplicationControllerDummy) IsAnAPIObject()
type Scale ¶
type Scale struct { api.TypeMeta `json:",inline"` api.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 `` /* 171-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.