mirror of
https://github.com/rancher/types.git
synced 2025-09-01 21:32:10 +00:00
Update generated code
This commit is contained in:
@@ -12,6 +12,7 @@ const (
|
||||
ClusterFieldAzureKubernetesServiceConfig = "azureKubernetesServiceConfig"
|
||||
ClusterFieldCACert = "caCert"
|
||||
ClusterFieldCapacity = "capacity"
|
||||
ClusterFieldClusterName = "clusterName"
|
||||
ClusterFieldComponentStatuses = "componentStatuses"
|
||||
ClusterFieldConditions = "conditions"
|
||||
ClusterFieldCreated = "created"
|
||||
@@ -21,7 +22,6 @@ const (
|
||||
ClusterFieldDescription = "description"
|
||||
ClusterFieldDriver = "driver"
|
||||
ClusterFieldGoogleKubernetesEngineConfig = "googleKubernetesEngineConfig"
|
||||
ClusterFieldId = "id"
|
||||
ClusterFieldInternal = "internal"
|
||||
ClusterFieldLabels = "labels"
|
||||
ClusterFieldLimits = "limits"
|
||||
@@ -46,6 +46,7 @@ type Cluster struct {
|
||||
AzureKubernetesServiceConfig *AzureKubernetesServiceConfig `json:"azureKubernetesServiceConfig,omitempty"`
|
||||
CACert string `json:"caCert,omitempty"`
|
||||
Capacity map[string]string `json:"capacity,omitempty"`
|
||||
ClusterName string `json:"clusterName,omitempty"`
|
||||
ComponentStatuses []ClusterComponentStatus `json:"componentStatuses,omitempty"`
|
||||
Conditions []ClusterCondition `json:"conditions,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
@@ -55,7 +56,6 @@ type Cluster struct {
|
||||
Description string `json:"description,omitempty"`
|
||||
Driver string `json:"driver,omitempty"`
|
||||
GoogleKubernetesEngineConfig *GoogleKubernetesEngineConfig `json:"googleKubernetesEngineConfig,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Internal *bool `json:"internal,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Limits map[string]string `json:"limits,omitempty"`
|
||||
|
@@ -7,10 +7,12 @@ import (
|
||||
const (
|
||||
ClusterRegistrationTokenType = "clusterRegistrationToken"
|
||||
ClusterRegistrationTokenFieldAnnotations = "annotations"
|
||||
ClusterRegistrationTokenFieldClusterId = "clusterId"
|
||||
ClusterRegistrationTokenFieldCreated = "created"
|
||||
ClusterRegistrationTokenFieldCreatorID = "creatorId"
|
||||
ClusterRegistrationTokenFieldLabels = "labels"
|
||||
ClusterRegistrationTokenFieldName = "name"
|
||||
ClusterRegistrationTokenFieldNamespaceId = "namespaceId"
|
||||
ClusterRegistrationTokenFieldOwnerReferences = "ownerReferences"
|
||||
ClusterRegistrationTokenFieldRemoved = "removed"
|
||||
ClusterRegistrationTokenFieldState = "state"
|
||||
@@ -23,10 +25,12 @@ const (
|
||||
type ClusterRegistrationToken struct {
|
||||
types.Resource
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
ClusterId string `json:"clusterId,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
NamespaceId string `json:"namespaceId,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
Removed string `json:"removed,omitempty"`
|
||||
State string `json:"state,omitempty"`
|
||||
|
@@ -1,8 +1,10 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
ClusterRegistrationTokenSpecType = "clusterRegistrationTokenSpec"
|
||||
ClusterRegistrationTokenSpecType = "clusterRegistrationTokenSpec"
|
||||
ClusterRegistrationTokenSpecFieldClusterId = "clusterId"
|
||||
)
|
||||
|
||||
type ClusterRegistrationTokenSpec struct {
|
||||
ClusterId string `json:"clusterId,omitempty"`
|
||||
}
|
||||
|
@@ -6,6 +6,7 @@ const (
|
||||
ClusterStatusFieldAllocatable = "allocatable"
|
||||
ClusterStatusFieldCACert = "caCert"
|
||||
ClusterStatusFieldCapacity = "capacity"
|
||||
ClusterStatusFieldClusterName = "clusterName"
|
||||
ClusterStatusFieldComponentStatuses = "componentStatuses"
|
||||
ClusterStatusFieldConditions = "conditions"
|
||||
ClusterStatusFieldDriver = "driver"
|
||||
@@ -19,6 +20,7 @@ type ClusterStatus struct {
|
||||
Allocatable map[string]string `json:"allocatable,omitempty"`
|
||||
CACert string `json:"caCert,omitempty"`
|
||||
Capacity map[string]string `json:"capacity,omitempty"`
|
||||
ClusterName string `json:"clusterName,omitempty"`
|
||||
ComponentStatuses []ClusterComponentStatus `json:"componentStatuses,omitempty"`
|
||||
Conditions []ClusterCondition `json:"conditions,omitempty"`
|
||||
Driver string `json:"driver,omitempty"`
|
||||
|
@@ -11,7 +11,6 @@ const (
|
||||
GlobalRoleFieldCreated = "created"
|
||||
GlobalRoleFieldCreatorID = "creatorId"
|
||||
GlobalRoleFieldDescription = "description"
|
||||
GlobalRoleFieldId = "id"
|
||||
GlobalRoleFieldLabels = "labels"
|
||||
GlobalRoleFieldName = "name"
|
||||
GlobalRoleFieldOwnerReferences = "ownerReferences"
|
||||
@@ -27,7 +26,6 @@ type GlobalRole struct {
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
|
@@ -9,7 +9,6 @@ const (
|
||||
GroupFieldAnnotations = "annotations"
|
||||
GroupFieldCreated = "created"
|
||||
GroupFieldCreatorID = "creatorId"
|
||||
GroupFieldId = "id"
|
||||
GroupFieldLabels = "labels"
|
||||
GroupFieldName = "name"
|
||||
GroupFieldOwnerReferences = "ownerReferences"
|
||||
@@ -22,7 +21,6 @@ type Group struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
|
@@ -16,7 +16,6 @@ const (
|
||||
MachineFieldDescription = "description"
|
||||
MachineFieldHostname = "hostname"
|
||||
MachineFieldIPAddress = "ipAddress"
|
||||
MachineFieldId = "id"
|
||||
MachineFieldInfo = "info"
|
||||
MachineFieldLabels = "labels"
|
||||
MachineFieldLimits = "limits"
|
||||
@@ -36,6 +35,7 @@ const (
|
||||
MachineFieldSSHUser = "sshUser"
|
||||
MachineFieldState = "state"
|
||||
MachineFieldTaints = "taints"
|
||||
MachineFieldToken = "token"
|
||||
MachineFieldTransitioning = "transitioning"
|
||||
MachineFieldTransitioningMessage = "transitioningMessage"
|
||||
MachineFieldUnschedulable = "unschedulable"
|
||||
@@ -56,7 +56,6 @@ type Machine struct {
|
||||
Description string `json:"description,omitempty"`
|
||||
Hostname string `json:"hostname,omitempty"`
|
||||
IPAddress string `json:"ipAddress,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Info *NodeInfo `json:"info,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Limits map[string]string `json:"limits,omitempty"`
|
||||
@@ -76,6 +75,7 @@ type Machine struct {
|
||||
SSHUser string `json:"sshUser,omitempty"`
|
||||
State string `json:"state,omitempty"`
|
||||
Taints []Taint `json:"taints,omitempty"`
|
||||
Token string `json:"token,omitempty"`
|
||||
Transitioning string `json:"transitioning,omitempty"`
|
||||
TransitioningMessage string `json:"transitioningMessage,omitempty"`
|
||||
Unschedulable *bool `json:"unschedulable,omitempty"`
|
||||
|
@@ -14,6 +14,7 @@ const (
|
||||
MachineStatusFieldNodeName = "nodeName"
|
||||
MachineStatusFieldRequested = "requested"
|
||||
MachineStatusFieldSSHUser = "sshUser"
|
||||
MachineStatusFieldToken = "token"
|
||||
MachineStatusFieldVolumesAttached = "volumesAttached"
|
||||
MachineStatusFieldVolumesInUse = "volumesInUse"
|
||||
)
|
||||
@@ -31,6 +32,7 @@ type MachineStatus struct {
|
||||
NodeName string `json:"nodeName,omitempty"`
|
||||
Requested map[string]string `json:"requested,omitempty"`
|
||||
SSHUser string `json:"sshUser,omitempty"`
|
||||
Token string `json:"token,omitempty"`
|
||||
VolumesAttached map[string]AttachedVolume `json:"volumesAttached,omitempty"`
|
||||
VolumesInUse []string `json:"volumesInUse,omitempty"`
|
||||
}
|
||||
|
@@ -21,7 +21,6 @@ const (
|
||||
MachineTemplateFieldEngineOpt = "engineOpt"
|
||||
MachineTemplateFieldEngineRegistryMirror = "engineRegistryMirror"
|
||||
MachineTemplateFieldEngineStorageDriver = "engineStorageDriver"
|
||||
MachineTemplateFieldId = "id"
|
||||
MachineTemplateFieldLabels = "labels"
|
||||
MachineTemplateFieldName = "name"
|
||||
MachineTemplateFieldOwnerReferences = "ownerReferences"
|
||||
@@ -50,7 +49,6 @@ type MachineTemplate struct {
|
||||
EngineOpt map[string]string `json:"engineOpt,omitempty"`
|
||||
EngineRegistryMirror []string `json:"engineRegistryMirror,omitempty"`
|
||||
EngineStorageDriver string `json:"engineStorageDriver,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
|
@@ -12,7 +12,6 @@ const (
|
||||
ProjectFieldCreated = "created"
|
||||
ProjectFieldCreatorID = "creatorId"
|
||||
ProjectFieldDescription = "description"
|
||||
ProjectFieldId = "id"
|
||||
ProjectFieldLabels = "labels"
|
||||
ProjectFieldName = "name"
|
||||
ProjectFieldNamespaceId = "namespaceId"
|
||||
@@ -33,7 +32,6 @@ type Project struct {
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
NamespaceId string `json:"namespaceId,omitempty"`
|
||||
|
@@ -13,7 +13,6 @@ const (
|
||||
RoleTemplateFieldDescription = "description"
|
||||
RoleTemplateFieldExternal = "external"
|
||||
RoleTemplateFieldHidden = "hidden"
|
||||
RoleTemplateFieldId = "id"
|
||||
RoleTemplateFieldLabels = "labels"
|
||||
RoleTemplateFieldName = "name"
|
||||
RoleTemplateFieldOwnerReferences = "ownerReferences"
|
||||
@@ -32,7 +31,6 @@ type RoleTemplate struct {
|
||||
Description string `json:"description,omitempty"`
|
||||
External *bool `json:"external,omitempty"`
|
||||
Hidden *bool `json:"hidden,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
|
@@ -9,7 +9,6 @@ const (
|
||||
UserFieldAnnotations = "annotations"
|
||||
UserFieldCreated = "created"
|
||||
UserFieldCreatorID = "creatorId"
|
||||
UserFieldId = "id"
|
||||
UserFieldLabels = "labels"
|
||||
UserFieldMe = "me"
|
||||
UserFieldMustChangePassword = "mustChangePassword"
|
||||
@@ -27,7 +26,6 @@ type User struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Me *bool `json:"me,omitempty"`
|
||||
MustChangePassword *bool `json:"mustChangePassword,omitempty"`
|
||||
|
Reference in New Issue
Block a user