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

go generate

This commit is contained in:
orangedeng 2019-06-05 13:03:07 +08:00 committed by Craig Jellick
parent 7d28387dbe
commit 5bad437635
2 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,7 @@ const (
ClusterFieldFailedSpec = "failedSpec"
ClusterFieldImportedConfig = "importedConfig"
ClusterFieldInternal = "internal"
ClusterFieldIstioEnabled = "istioEnabled"
ClusterFieldLabels = "labels"
ClusterFieldLimits = "limits"
ClusterFieldLocalClusterAuthEndpoint = "localClusterAuthEndpoint"
@ -80,6 +81,7 @@ type Cluster struct {
FailedSpec *ClusterSpec `json:"failedSpec,omitempty" yaml:"failedSpec,omitempty"`
ImportedConfig *ImportedConfig `json:"importedConfig,omitempty" yaml:"importedConfig,omitempty"`
Internal bool `json:"internal,omitempty" yaml:"internal,omitempty"`
IstioEnabled bool `json:"istioEnabled,omitempty" yaml:"istioEnabled,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Limits map[string]string `json:"limits,omitempty" yaml:"limits,omitempty"`
LocalClusterAuthEndpoint *LocalClusterAuthEndpoint `json:"localClusterAuthEndpoint,omitempty" yaml:"localClusterAuthEndpoint,omitempty"`

View File

@ -16,6 +16,7 @@ const (
ClusterStatusFieldConditions = "conditions"
ClusterStatusFieldDriver = "driver"
ClusterStatusFieldFailedSpec = "failedSpec"
ClusterStatusFieldIstioEnabled = "istioEnabled"
ClusterStatusFieldLimits = "limits"
ClusterStatusFieldMonitoringStatus = "monitoringStatus"
ClusterStatusFieldRequested = "requested"
@ -37,6 +38,7 @@ type ClusterStatus struct {
Conditions []ClusterCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
Driver string `json:"driver,omitempty" yaml:"driver,omitempty"`
FailedSpec *ClusterSpec `json:"failedSpec,omitempty" yaml:"failedSpec,omitempty"`
IstioEnabled bool `json:"istioEnabled,omitempty" yaml:"istioEnabled,omitempty"`
Limits map[string]string `json:"limits,omitempty" yaml:"limits,omitempty"`
MonitoringStatus *MonitoringStatus `json:"monitoringStatus,omitempty" yaml:"monitoringStatus,omitempty"`
Requested map[string]string `json:"requested,omitempty" yaml:"requested,omitempty"`