Insert the current state of a replica controller.

This commit is contained in:
Brendan Burns
2014-09-09 15:23:34 -07:00
parent 1fd12778eb
commit 4ba4762827
3 changed files with 13 additions and 1 deletions

View File

@@ -324,6 +324,7 @@ func (*ReplicationControllerList) IsAnAPIObject() {}
type ReplicationController struct {
JSONBase `json:",inline" yaml:",inline"`
DesiredState ReplicationControllerState `json:"desiredState,omitempty" yaml:"desiredState,omitempty"`
CurrentState ReplicationControllerState `json:"currentState,omitempty" yaml:"currentState,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
}