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:
@@ -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 {
|
||||
|
@@ -282,6 +282,7 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
|
||||
(*out)[key] = val.DeepCopy()
|
||||
}
|
||||
}
|
||||
in.AppliedSpec.DeepCopyInto(&out.AppliedSpec)
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user