1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 05:09:10 +00:00

Merge pull request #13 from alena1108/appliedconfig

Applied spec to cluster status
This commit is contained in:
Alena Prokharchyk
2017-11-13 20:57:42 -08:00
committed by GitHub
3 changed files with 4 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ type ClusterStatus struct {
CACert string `json:"caCert,omitempty"`
Capacity v1.ResourceList `json:"capacity,omitempty"`
Allocatable v1.ResourceList `json:"allocatable,omitempty"`
AppliedSpec ClusterSpec `json:"clusterSpec,omitempty"`
}
type ClusterComponentStatus struct {

View File

@@ -282,6 +282,7 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
(*out)[key] = val.DeepCopy()
}
}
in.AppliedSpec.DeepCopyInto(&out.AppliedSpec)
return
}