/
model_clusters_cluster.go
29 lines (28 loc) · 1.63 KB
/
model_clusters_cluster.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* Harness NextGen Software Delivery Platform API Reference
*
* This is the Open Api Spec 3 for the NextGen Manager. This is under active development. Beware of the breaking change with respect to the generated code stub
*
* API version: 3.0
* Contact: contact@harness.io
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package nextgen
type ClustersCluster struct {
Server string `json:"server,omitempty"`
Name string `json:"name,omitempty"`
Config *ClustersClusterConfig `json:"config,omitempty"`
ConnectionState *CommonsConnectionState `json:"connectionState,omitempty"`
ServerVersion string `json:"serverVersion,omitempty"`
// Holds list of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty.
Namespaces []string `json:"namespaces,omitempty"`
RefreshRequestedAt *V1Time `json:"refreshRequestedAt,omitempty"`
Info *ClustersClusterInfo `json:"info,omitempty"`
// Shard contains optional shard number. Calculated on the fly by the application controller if not specified.
Shard string `json:"shard,omitempty"`
// Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.
ClusterResources bool `json:"clusterResources,omitempty"`
Project string `json:"project,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Annotations map[string]string `json:"annotations,omitempty"`
}