diff --git a/vendor.conf b/vendor.conf index 3ea85d26..8433bcaf 100644 --- a/vendor.conf +++ b/vendor.conf @@ -28,4 +28,4 @@ github.com/pmezard/go-difflib v1.0.0 github.com/stretchr/testify v1.2.2 github.com/rancher/norman 457c15b94acae52afb5290aa315452c7621d452a -github.com/rancher/types 830a7b6821e671ee072464138af6ef2b44114a48 https://github.com/rmweir/types +github.com/rancher/types 839eead94ce4d64c40e9cc2ba7994eeb8079bb03 diff --git a/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_api_service.go b/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_api_service.go new file mode 100644 index 00000000..ceae702c --- /dev/null +++ b/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_api_service.go @@ -0,0 +1,121 @@ +package client + +import ( + "github.com/rancher/norman/types" +) + +const ( + APIServiceType = "apiService" + APIServiceFieldAnnotations = "annotations" + APIServiceFieldCABundle = "caBundle" + APIServiceFieldConditions = "conditions" + APIServiceFieldCreated = "created" + APIServiceFieldCreatorID = "creatorId" + APIServiceFieldGroup = "group" + APIServiceFieldGroupPriorityMinimum = "groupPriorityMinimum" + APIServiceFieldInsecureSkipTLSVerify = "insecureSkipTLSVerify" + APIServiceFieldLabels = "labels" + APIServiceFieldName = "name" + APIServiceFieldOwnerReferences = "ownerReferences" + APIServiceFieldRemoved = "removed" + APIServiceFieldService = "service" + APIServiceFieldState = "state" + APIServiceFieldTransitioning = "transitioning" + APIServiceFieldTransitioningMessage = "transitioningMessage" + APIServiceFieldUUID = "uuid" + APIServiceFieldVersion = "version" + APIServiceFieldVersionPriority = "versionPriority" +) + +type APIService struct { + types.Resource + Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` + CABundle string `json:"caBundle,omitempty" yaml:"caBundle,omitempty"` + Conditions []APIServiceCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"` + Created string `json:"created,omitempty" yaml:"created,omitempty"` + CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` + Group string `json:"group,omitempty" yaml:"group,omitempty"` + GroupPriorityMinimum int64 `json:"groupPriorityMinimum,omitempty" yaml:"groupPriorityMinimum,omitempty"` + InsecureSkipTLSVerify bool `json:"insecureSkipTLSVerify,omitempty" yaml:"insecureSkipTLSVerify,omitempty"` + Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` + Name string `json:"name,omitempty" yaml:"name,omitempty"` + OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` + Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` + Service *ServiceReference `json:"service,omitempty" yaml:"service,omitempty"` + State string `json:"state,omitempty" yaml:"state,omitempty"` + Transitioning string `json:"transitioning,omitempty" yaml:"transitioning,omitempty"` + TransitioningMessage string `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"` + UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"` + Version string `json:"version,omitempty" yaml:"version,omitempty"` + VersionPriority int64 `json:"versionPriority,omitempty" yaml:"versionPriority,omitempty"` +} + +type APIServiceCollection struct { + types.Collection + Data []APIService `json:"data,omitempty"` + client *APIServiceClient +} + +type APIServiceClient struct { + apiClient *Client +} + +type APIServiceOperations interface { + List(opts *types.ListOpts) (*APIServiceCollection, error) + Create(opts *APIService) (*APIService, error) + Update(existing *APIService, updates interface{}) (*APIService, error) + Replace(existing *APIService) (*APIService, error) + ByID(id string) (*APIService, error) + Delete(container *APIService) error +} + +func newAPIServiceClient(apiClient *Client) *APIServiceClient { + return &APIServiceClient{ + apiClient: apiClient, + } +} + +func (c *APIServiceClient) Create(container *APIService) (*APIService, error) { + resp := &APIService{} + err := c.apiClient.Ops.DoCreate(APIServiceType, container, resp) + return resp, err +} + +func (c *APIServiceClient) Update(existing *APIService, updates interface{}) (*APIService, error) { + resp := &APIService{} + err := c.apiClient.Ops.DoUpdate(APIServiceType, &existing.Resource, updates, resp) + return resp, err +} + +func (c *APIServiceClient) Replace(obj *APIService) (*APIService, error) { + resp := &APIService{} + err := c.apiClient.Ops.DoReplace(APIServiceType, &obj.Resource, obj, resp) + return resp, err +} + +func (c *APIServiceClient) List(opts *types.ListOpts) (*APIServiceCollection, error) { + resp := &APIServiceCollection{} + err := c.apiClient.Ops.DoList(APIServiceType, opts, resp) + resp.client = c + return resp, err +} + +func (cc *APIServiceCollection) Next() (*APIServiceCollection, error) { + if cc != nil && cc.Pagination != nil && cc.Pagination.Next != "" { + resp := &APIServiceCollection{} + err := cc.client.apiClient.Ops.DoNext(cc.Pagination.Next, resp) + resp.client = cc.client + return resp, err + } + return nil, nil +} + +func (c *APIServiceClient) ByID(id string) (*APIService, error) { + resp := &APIService{} + err := c.apiClient.Ops.DoByID(APIServiceType, id, resp) + return resp, err +} + +func (c *APIServiceClient) Delete(container *APIService) error { + return c.apiClient.Ops.DoResourceDelete(APIServiceType, &container.Resource) +} diff --git a/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_api_service_condition.go b/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_api_service_condition.go new file mode 100644 index 00000000..10b7f6cc --- /dev/null +++ b/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_api_service_condition.go @@ -0,0 +1,18 @@ +package client + +const ( + APIServiceConditionType = "apiServiceCondition" + APIServiceConditionFieldLastTransitionTime = "lastTransitionTime" + APIServiceConditionFieldMessage = "message" + APIServiceConditionFieldReason = "reason" + APIServiceConditionFieldStatus = "status" + APIServiceConditionFieldType = "type" +) + +type APIServiceCondition struct { + LastTransitionTime string `json:"lastTransitionTime,omitempty" yaml:"lastTransitionTime,omitempty"` + Message string `json:"message,omitempty" yaml:"message,omitempty"` + Reason string `json:"reason,omitempty" yaml:"reason,omitempty"` + Status string `json:"status,omitempty" yaml:"status,omitempty"` + Type string `json:"type,omitempty" yaml:"type,omitempty"` +} diff --git a/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_api_service_spec.go b/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_api_service_spec.go new file mode 100644 index 00000000..b8509584 --- /dev/null +++ b/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_api_service_spec.go @@ -0,0 +1,22 @@ +package client + +const ( + APIServiceSpecType = "apiServiceSpec" + APIServiceSpecFieldCABundle = "caBundle" + APIServiceSpecFieldGroup = "group" + APIServiceSpecFieldGroupPriorityMinimum = "groupPriorityMinimum" + APIServiceSpecFieldInsecureSkipTLSVerify = "insecureSkipTLSVerify" + APIServiceSpecFieldService = "service" + APIServiceSpecFieldVersion = "version" + APIServiceSpecFieldVersionPriority = "versionPriority" +) + +type APIServiceSpec struct { + CABundle string `json:"caBundle,omitempty" yaml:"caBundle,omitempty"` + Group string `json:"group,omitempty" yaml:"group,omitempty"` + GroupPriorityMinimum int64 `json:"groupPriorityMinimum,omitempty" yaml:"groupPriorityMinimum,omitempty"` + InsecureSkipTLSVerify bool `json:"insecureSkipTLSVerify,omitempty" yaml:"insecureSkipTLSVerify,omitempty"` + Service *ServiceReference `json:"service,omitempty" yaml:"service,omitempty"` + Version string `json:"version,omitempty" yaml:"version,omitempty"` + VersionPriority int64 `json:"versionPriority,omitempty" yaml:"versionPriority,omitempty"` +} diff --git a/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_api_service_status.go b/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_api_service_status.go new file mode 100644 index 00000000..4e9b11fb --- /dev/null +++ b/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_api_service_status.go @@ -0,0 +1,10 @@ +package client + +const ( + APIServiceStatusType = "apiServiceStatus" + APIServiceStatusFieldConditions = "conditions" +) + +type APIServiceStatus struct { + Conditions []APIServiceCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"` +} diff --git a/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_client.go b/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_client.go index 49b525ff..1f18a9b5 100644 --- a/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_client.go +++ b/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_client.go @@ -10,6 +10,7 @@ type Client struct { Namespace NamespaceOperations PersistentVolume PersistentVolumeOperations StorageClass StorageClassOperations + APIService APIServiceOperations } func NewClient(opts *clientbase.ClientOpts) (*Client, error) { @@ -25,6 +26,7 @@ func NewClient(opts *clientbase.ClientOpts) (*Client, error) { client.Namespace = newNamespaceClient(client) client.PersistentVolume = newPersistentVolumeClient(client) client.StorageClass = newStorageClassClient(client) + client.APIService = newAPIServiceClient(client) return client, nil } diff --git a/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_service_reference.go b/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_service_reference.go new file mode 100644 index 00000000..9795642e --- /dev/null +++ b/vendor/github.com/rancher/types/client/cluster/v3/zz_generated_service_reference.go @@ -0,0 +1,12 @@ +package client + +const ( + ServiceReferenceType = "serviceReference" + ServiceReferenceFieldName = "name" + ServiceReferenceFieldNamespace = "namespace" +) + +type ServiceReference struct { + Name string `json:"name,omitempty" yaml:"name,omitempty"` + Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` +} diff --git a/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster.go b/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster.go index c26e1765..0e570320 100644 --- a/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster.go +++ b/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster.go @@ -20,6 +20,7 @@ const ( ClusterFieldCertificatesExpiration = "certificatesExpiration" ClusterFieldClusterTemplateAnswers = "answers" ClusterFieldClusterTemplateID = "clusterTemplateId" + ClusterFieldClusterTemplateQuestions = "questions" ClusterFieldClusterTemplateRevisionID = "clusterTemplateRevisionId" ClusterFieldComponentStatuses = "componentStatuses" ClusterFieldConditions = "conditions" @@ -53,6 +54,7 @@ const ( ClusterFieldTransitioningMessage = "transitioningMessage" ClusterFieldUUID = "uuid" ClusterFieldVersion = "version" + ClusterFieldWindowsPreferedCluster = "windowsPreferedCluster" ) type Cluster struct { @@ -71,6 +73,7 @@ type Cluster struct { CertificatesExpiration map[string]CertExpiration `json:"certificatesExpiration,omitempty" yaml:"certificatesExpiration,omitempty"` ClusterTemplateAnswers *Answer `json:"answers,omitempty" yaml:"answers,omitempty"` ClusterTemplateID string `json:"clusterTemplateId,omitempty" yaml:"clusterTemplateId,omitempty"` + ClusterTemplateQuestions []Question `json:"questions,omitempty" yaml:"questions,omitempty"` ClusterTemplateRevisionID string `json:"clusterTemplateRevisionId,omitempty" yaml:"clusterTemplateRevisionId,omitempty"` ComponentStatuses []ClusterComponentStatus `json:"componentStatuses,omitempty" yaml:"componentStatuses,omitempty"` Conditions []ClusterCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"` @@ -104,6 +107,7 @@ type Cluster struct { TransitioningMessage string `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"` UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"` Version *Info `json:"version,omitempty" yaml:"version,omitempty"` + WindowsPreferedCluster bool `json:"windowsPreferedCluster,omitempty" yaml:"windowsPreferedCluster,omitempty"` } type ClusterCollection struct { diff --git a/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_spec.go b/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_spec.go index 0970e31b..5022ac75 100644 --- a/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_spec.go +++ b/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_spec.go @@ -6,6 +6,7 @@ const ( ClusterSpecFieldAzureKubernetesServiceConfig = "azureKubernetesServiceConfig" ClusterSpecFieldClusterTemplateAnswers = "answers" ClusterSpecFieldClusterTemplateID = "clusterTemplateId" + ClusterSpecFieldClusterTemplateQuestions = "questions" ClusterSpecFieldClusterTemplateRevisionID = "clusterTemplateRevisionId" ClusterSpecFieldDefaultClusterRoleForProjectMembers = "defaultClusterRoleForProjectMembers" ClusterSpecFieldDefaultPodSecurityPolicyTemplateID = "defaultPodSecurityPolicyTemplateId" @@ -23,6 +24,7 @@ const ( ClusterSpecFieldInternal = "internal" ClusterSpecFieldLocalClusterAuthEndpoint = "localClusterAuthEndpoint" ClusterSpecFieldRancherKubernetesEngineConfig = "rancherKubernetesEngineConfig" + ClusterSpecFieldWindowsPreferedCluster = "windowsPreferedCluster" ) type ClusterSpec struct { @@ -30,6 +32,7 @@ type ClusterSpec struct { AzureKubernetesServiceConfig map[string]interface{} `json:"azureKubernetesServiceConfig,omitempty" yaml:"azureKubernetesServiceConfig,omitempty"` ClusterTemplateAnswers *Answer `json:"answers,omitempty" yaml:"answers,omitempty"` ClusterTemplateID string `json:"clusterTemplateId,omitempty" yaml:"clusterTemplateId,omitempty"` + ClusterTemplateQuestions []Question `json:"questions,omitempty" yaml:"questions,omitempty"` ClusterTemplateRevisionID string `json:"clusterTemplateRevisionId,omitempty" yaml:"clusterTemplateRevisionId,omitempty"` DefaultClusterRoleForProjectMembers string `json:"defaultClusterRoleForProjectMembers,omitempty" yaml:"defaultClusterRoleForProjectMembers,omitempty"` DefaultPodSecurityPolicyTemplateID string `json:"defaultPodSecurityPolicyTemplateId,omitempty" yaml:"defaultPodSecurityPolicyTemplateId,omitempty"` @@ -47,4 +50,5 @@ type ClusterSpec struct { Internal bool `json:"internal,omitempty" yaml:"internal,omitempty"` LocalClusterAuthEndpoint *LocalClusterAuthEndpoint `json:"localClusterAuthEndpoint,omitempty" yaml:"localClusterAuthEndpoint,omitempty"` RancherKubernetesEngineConfig *RancherKubernetesEngineConfig `json:"rancherKubernetesEngineConfig,omitempty" yaml:"rancherKubernetesEngineConfig,omitempty"` + WindowsPreferedCluster bool `json:"windowsPreferedCluster,omitempty" yaml:"windowsPreferedCluster,omitempty"` } diff --git a/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_spec_base.go b/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_spec_base.go index cde70489..c6a6b4bd 100644 --- a/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_spec_base.go +++ b/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_spec_base.go @@ -12,6 +12,7 @@ const ( ClusterSpecBaseFieldEnableNetworkPolicy = "enableNetworkPolicy" ClusterSpecBaseFieldLocalClusterAuthEndpoint = "localClusterAuthEndpoint" ClusterSpecBaseFieldRancherKubernetesEngineConfig = "rancherKubernetesEngineConfig" + ClusterSpecBaseFieldWindowsPreferedCluster = "windowsPreferedCluster" ) type ClusterSpecBase struct { @@ -25,4 +26,5 @@ type ClusterSpecBase struct { EnableNetworkPolicy *bool `json:"enableNetworkPolicy,omitempty" yaml:"enableNetworkPolicy,omitempty"` LocalClusterAuthEndpoint *LocalClusterAuthEndpoint `json:"localClusterAuthEndpoint,omitempty" yaml:"localClusterAuthEndpoint,omitempty"` RancherKubernetesEngineConfig *RancherKubernetesEngineConfig `json:"rancherKubernetesEngineConfig,omitempty" yaml:"rancherKubernetesEngineConfig,omitempty"` + WindowsPreferedCluster bool `json:"windowsPreferedCluster,omitempty" yaml:"windowsPreferedCluster,omitempty"` } diff --git a/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_template.go b/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_template.go index 4e0ad10d..8b3177fb 100644 --- a/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_template.go +++ b/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_template.go @@ -11,7 +11,6 @@ const ( ClusterTemplateFieldCreatorID = "creatorId" ClusterTemplateFieldDefaultRevisionID = "defaultRevisionId" ClusterTemplateFieldDescription = "description" - ClusterTemplateFieldEnforced = "enforced" ClusterTemplateFieldLabels = "labels" ClusterTemplateFieldMembers = "members" ClusterTemplateFieldName = "name" @@ -27,7 +26,6 @@ type ClusterTemplate struct { CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` DefaultRevisionID string `json:"defaultRevisionId,omitempty" yaml:"defaultRevisionId,omitempty"` Description string `json:"description,omitempty" yaml:"description,omitempty"` - Enforced bool `json:"enforced,omitempty" yaml:"enforced,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` Members []Member `json:"members,omitempty" yaml:"members,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` diff --git a/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_template_spec.go b/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_template_spec.go index 6dc8ab85..6d0270f5 100644 --- a/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_template_spec.go +++ b/vendor/github.com/rancher/types/client/management/v3/zz_generated_cluster_template_spec.go @@ -5,7 +5,6 @@ const ( ClusterTemplateSpecFieldDefaultRevisionID = "defaultRevisionId" ClusterTemplateSpecFieldDescription = "description" ClusterTemplateSpecFieldDisplayName = "displayName" - ClusterTemplateSpecFieldEnforced = "enforced" ClusterTemplateSpecFieldMembers = "members" ) @@ -13,6 +12,5 @@ type ClusterTemplateSpec struct { DefaultRevisionID string `json:"defaultRevisionId,omitempty" yaml:"defaultRevisionId,omitempty"` Description string `json:"description,omitempty" yaml:"description,omitempty"` DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"` - Enforced bool `json:"enforced,omitempty" yaml:"enforced,omitempty"` Members []Member `json:"members,omitempty" yaml:"members,omitempty"` } diff --git a/vendor/github.com/rancher/types/client/management/v3/zz_generated_custom_config.go b/vendor/github.com/rancher/types/client/management/v3/zz_generated_custom_config.go index a68a2589..677392bb 100644 --- a/vendor/github.com/rancher/types/client/management/v3/zz_generated_custom_config.go +++ b/vendor/github.com/rancher/types/client/management/v3/zz_generated_custom_config.go @@ -8,6 +8,7 @@ const ( CustomConfigFieldLabel = "label" CustomConfigFieldSSHCert = "sshCert" CustomConfigFieldSSHKey = "sshKey" + CustomConfigFieldTaints = "taints" CustomConfigFieldUser = "user" ) @@ -18,5 +19,6 @@ type CustomConfig struct { Label map[string]string `json:"label,omitempty" yaml:"label,omitempty"` SSHCert string `json:"sshCert,omitempty" yaml:"sshCert,omitempty"` SSHKey string `json:"sshKey,omitempty" yaml:"sshKey,omitempty"` + Taints []string `json:"taints,omitempty" yaml:"taints,omitempty"` User string `json:"user,omitempty" yaml:"user,omitempty"` } diff --git a/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_pool.go b/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_pool.go index 75858c56..5f8c0b80 100644 --- a/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_pool.go +++ b/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_pool.go @@ -20,6 +20,7 @@ const ( NodePoolFieldNamespaceId = "namespaceId" NodePoolFieldNodeAnnotations = "nodeAnnotations" NodePoolFieldNodeLabels = "nodeLabels" + NodePoolFieldNodeTaints = "nodeTaints" NodePoolFieldNodeTemplateID = "nodeTemplateId" NodePoolFieldOwnerReferences = "ownerReferences" NodePoolFieldQuantity = "quantity" @@ -48,6 +49,7 @@ type NodePool struct { NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"` NodeAnnotations map[string]string `json:"nodeAnnotations,omitempty" yaml:"nodeAnnotations,omitempty"` NodeLabels map[string]string `json:"nodeLabels,omitempty" yaml:"nodeLabels,omitempty"` + NodeTaints []Taint `json:"nodeTaints,omitempty" yaml:"nodeTaints,omitempty"` NodeTemplateID string `json:"nodeTemplateId,omitempty" yaml:"nodeTemplateId,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` Quantity int64 `json:"quantity,omitempty" yaml:"quantity,omitempty"` diff --git a/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_pool_spec.go b/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_pool_spec.go index 496bd902..2ddbd5f0 100644 --- a/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_pool_spec.go +++ b/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_pool_spec.go @@ -10,6 +10,7 @@ const ( NodePoolSpecFieldHostnamePrefix = "hostnamePrefix" NodePoolSpecFieldNodeAnnotations = "nodeAnnotations" NodePoolSpecFieldNodeLabels = "nodeLabels" + NodePoolSpecFieldNodeTaints = "nodeTaints" NodePoolSpecFieldNodeTemplateID = "nodeTemplateId" NodePoolSpecFieldQuantity = "quantity" NodePoolSpecFieldWorker = "worker" @@ -24,6 +25,7 @@ type NodePoolSpec struct { HostnamePrefix string `json:"hostnamePrefix,omitempty" yaml:"hostnamePrefix,omitempty"` NodeAnnotations map[string]string `json:"nodeAnnotations,omitempty" yaml:"nodeAnnotations,omitempty"` NodeLabels map[string]string `json:"nodeLabels,omitempty" yaml:"nodeLabels,omitempty"` + NodeTaints []Taint `json:"nodeTaints,omitempty" yaml:"nodeTaints,omitempty"` NodeTemplateID string `json:"nodeTemplateId,omitempty" yaml:"nodeTemplateId,omitempty"` Quantity int64 `json:"quantity,omitempty" yaml:"quantity,omitempty"` Worker bool `json:"worker,omitempty" yaml:"worker,omitempty"` diff --git a/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_spec.go b/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_spec.go index 269128cd..76e015e7 100644 --- a/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_spec.go +++ b/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_spec.go @@ -9,6 +9,7 @@ const ( NodeSpecFieldDescription = "description" NodeSpecFieldDesiredNodeAnnotations = "desiredNodeAnnotations" NodeSpecFieldDesiredNodeLabels = "desiredNodeLabels" + NodeSpecFieldDesiredNodeTaints = "desiredNodeTaints" NodeSpecFieldDesiredNodeUnschedulable = "desiredNodeUnschedulable" NodeSpecFieldDisplayName = "displayName" NodeSpecFieldEtcd = "etcd" @@ -21,6 +22,7 @@ const ( NodeSpecFieldRequestedHostname = "requestedHostname" NodeSpecFieldTaints = "taints" NodeSpecFieldUnschedulable = "unschedulable" + NodeSpecFieldUpdateTaintsFromAPI = "updateTaintsFromAPI" NodeSpecFieldWorker = "worker" ) @@ -32,6 +34,7 @@ type NodeSpec struct { Description string `json:"description,omitempty" yaml:"description,omitempty"` DesiredNodeAnnotations map[string]string `json:"desiredNodeAnnotations,omitempty" yaml:"desiredNodeAnnotations,omitempty"` DesiredNodeLabels map[string]string `json:"desiredNodeLabels,omitempty" yaml:"desiredNodeLabels,omitempty"` + DesiredNodeTaints []Taint `json:"desiredNodeTaints,omitempty" yaml:"desiredNodeTaints,omitempty"` DesiredNodeUnschedulable string `json:"desiredNodeUnschedulable,omitempty" yaml:"desiredNodeUnschedulable,omitempty"` DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"` Etcd bool `json:"etcd,omitempty" yaml:"etcd,omitempty"` @@ -44,5 +47,6 @@ type NodeSpec struct { RequestedHostname string `json:"requestedHostname,omitempty" yaml:"requestedHostname,omitempty"` Taints []Taint `json:"taints,omitempty" yaml:"taints,omitempty"` Unschedulable bool `json:"unschedulable,omitempty" yaml:"unschedulable,omitempty"` + UpdateTaintsFromAPI *bool `json:"updateTaintsFromAPI,omitempty" yaml:"updateTaintsFromAPI,omitempty"` Worker bool `json:"worker,omitempty" yaml:"worker,omitempty"` } diff --git a/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_template.go b/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_template.go index 1c38972b..232c3cf2 100644 --- a/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_template.go +++ b/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_template.go @@ -24,6 +24,7 @@ const ( NodeTemplateFieldEngineStorageDriver = "engineStorageDriver" NodeTemplateFieldLabels = "labels" NodeTemplateFieldName = "name" + NodeTemplateFieldNodeTaints = "nodeTaints" NodeTemplateFieldOwnerReferences = "ownerReferences" NodeTemplateFieldRemoved = "removed" NodeTemplateFieldState = "state" @@ -54,6 +55,7 @@ type NodeTemplate struct { EngineStorageDriver string `json:"engineStorageDriver,omitempty" yaml:"engineStorageDriver,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` + NodeTaints []Taint `json:"nodeTaints,omitempty" yaml:"nodeTaints,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` State string `json:"state,omitempty" yaml:"state,omitempty"` diff --git a/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_template_spec.go b/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_template_spec.go index d221693e..db688e05 100644 --- a/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_template_spec.go +++ b/vendor/github.com/rancher/types/client/management/v3/zz_generated_node_template_spec.go @@ -16,6 +16,7 @@ const ( NodeTemplateSpecFieldEngineOpt = "engineOpt" NodeTemplateSpecFieldEngineRegistryMirror = "engineRegistryMirror" NodeTemplateSpecFieldEngineStorageDriver = "engineStorageDriver" + NodeTemplateSpecFieldNodeTaints = "nodeTaints" NodeTemplateSpecFieldUseInternalIPAddress = "useInternalIpAddress" ) @@ -34,5 +35,6 @@ type NodeTemplateSpec struct { EngineOpt map[string]string `json:"engineOpt,omitempty" yaml:"engineOpt,omitempty"` EngineRegistryMirror []string `json:"engineRegistryMirror,omitempty" yaml:"engineRegistryMirror,omitempty"` EngineStorageDriver string `json:"engineStorageDriver,omitempty" yaml:"engineStorageDriver,omitempty"` + NodeTaints []Taint `json:"nodeTaints,omitempty" yaml:"nodeTaints,omitempty"` UseInternalIPAddress bool `json:"useInternalIpAddress,omitempty" yaml:"useInternalIpAddress,omitempty"` } diff --git a/vendor/github.com/rancher/types/client/management/v3/zz_generated_rke_config_node.go b/vendor/github.com/rancher/types/client/management/v3/zz_generated_rke_config_node.go index 375964ad..0f13cb8d 100644 --- a/vendor/github.com/rancher/types/client/management/v3/zz_generated_rke_config_node.go +++ b/vendor/github.com/rancher/types/client/management/v3/zz_generated_rke_config_node.go @@ -15,6 +15,7 @@ const ( RKEConfigNodeFieldSSHCertPath = "sshCertPath" RKEConfigNodeFieldSSHKey = "sshKey" RKEConfigNodeFieldSSHKeyPath = "sshKeyPath" + RKEConfigNodeFieldTaints = "taints" RKEConfigNodeFieldUser = "user" ) @@ -32,5 +33,6 @@ type RKEConfigNode struct { SSHCertPath string `json:"sshCertPath,omitempty" yaml:"sshCertPath,omitempty"` SSHKey string `json:"sshKey,omitempty" yaml:"sshKey,omitempty"` SSHKeyPath string `json:"sshKeyPath,omitempty" yaml:"sshKeyPath,omitempty"` + Taints []Taint `json:"taints,omitempty" yaml:"taints,omitempty"` User string `json:"user,omitempty" yaml:"user,omitempty"` } diff --git a/vendor/github.com/rancher/types/client/management/v3/zz_generated_s3backup_config.go b/vendor/github.com/rancher/types/client/management/v3/zz_generated_s3backup_config.go index 543ab858..14ea5874 100644 --- a/vendor/github.com/rancher/types/client/management/v3/zz_generated_s3backup_config.go +++ b/vendor/github.com/rancher/types/client/management/v3/zz_generated_s3backup_config.go @@ -6,6 +6,7 @@ const ( S3BackupConfigFieldBucketName = "bucketName" S3BackupConfigFieldCustomCA = "customCa" S3BackupConfigFieldEndpoint = "endpoint" + S3BackupConfigFieldFolder = "folder" S3BackupConfigFieldRegion = "region" S3BackupConfigFieldSecretKey = "secretKey" ) @@ -15,6 +16,7 @@ type S3BackupConfig struct { BucketName string `json:"bucketName,omitempty" yaml:"bucketName,omitempty"` CustomCA string `json:"customCa,omitempty" yaml:"customCa,omitempty"` Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"` + Folder string `json:"folder,omitempty" yaml:"folder,omitempty"` Region string `json:"region,omitempty" yaml:"region,omitempty"` SecretKey string `json:"secretKey,omitempty" yaml:"secretKey,omitempty"` } diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_cron_job.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_cron_job.go index 89964e29..f90a06d3 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_cron_job.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_cron_job.go @@ -29,8 +29,6 @@ const ( CronJobFieldNamespaceId = "namespaceId" CronJobFieldNodeID = "nodeId" CronJobFieldOwnerReferences = "ownerReferences" - CronJobFieldPriority = "priority" - CronJobFieldPriorityClassName = "priorityClassName" CronJobFieldProjectID = "projectId" CronJobFieldPublicEndpoints = "publicEndpoints" CronJobFieldReadinessGates = "readinessGates" @@ -39,7 +37,6 @@ const ( CronJobFieldRunAsGroup = "runAsGroup" CronJobFieldRunAsNonRoot = "runAsNonRoot" CronJobFieldRuntimeClassName = "runtimeClassName" - CronJobFieldSchedulerName = "schedulerName" CronJobFieldScheduling = "scheduling" CronJobFieldSelector = "selector" CronJobFieldServiceAccountName = "serviceAccountName" @@ -84,8 +81,6 @@ type CronJob struct { NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"` PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty" yaml:"publicEndpoints,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` @@ -94,7 +89,6 @@ type CronJob struct { RunAsGroup *int64 `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"` RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector *LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_cron_job_spec.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_cron_job_spec.go index 259e4709..7ffcc46e 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_cron_job_spec.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_cron_job_spec.go @@ -18,14 +18,11 @@ const ( CronJobSpecFieldImagePullSecrets = "imagePullSecrets" CronJobSpecFieldNodeID = "nodeId" CronJobSpecFieldObjectMeta = "metadata" - CronJobSpecFieldPriority = "priority" - CronJobSpecFieldPriorityClassName = "priorityClassName" CronJobSpecFieldReadinessGates = "readinessGates" CronJobSpecFieldRestartPolicy = "restartPolicy" CronJobSpecFieldRunAsGroup = "runAsGroup" CronJobSpecFieldRunAsNonRoot = "runAsNonRoot" CronJobSpecFieldRuntimeClassName = "runtimeClassName" - CronJobSpecFieldSchedulerName = "schedulerName" CronJobSpecFieldScheduling = "scheduling" CronJobSpecFieldSelector = "selector" CronJobSpecFieldServiceAccountName = "serviceAccountName" @@ -55,14 +52,11 @@ type CronJobSpec struct { ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty" yaml:"imagePullSecrets,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` ObjectMeta *ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` RestartPolicy string `json:"restartPolicy,omitempty" yaml:"restartPolicy,omitempty"` RunAsGroup *int64 `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"` RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector *LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_daemon_set.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_daemon_set.go index 0e629dca..6a7ab78e 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_daemon_set.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_daemon_set.go @@ -29,8 +29,6 @@ const ( DaemonSetFieldNamespaceId = "namespaceId" DaemonSetFieldNodeID = "nodeId" DaemonSetFieldOwnerReferences = "ownerReferences" - DaemonSetFieldPriority = "priority" - DaemonSetFieldPriorityClassName = "priorityClassName" DaemonSetFieldProjectID = "projectId" DaemonSetFieldPublicEndpoints = "publicEndpoints" DaemonSetFieldReadinessGates = "readinessGates" @@ -39,7 +37,6 @@ const ( DaemonSetFieldRunAsGroup = "runAsGroup" DaemonSetFieldRunAsNonRoot = "runAsNonRoot" DaemonSetFieldRuntimeClassName = "runtimeClassName" - DaemonSetFieldSchedulerName = "schedulerName" DaemonSetFieldScheduling = "scheduling" DaemonSetFieldSelector = "selector" DaemonSetFieldServiceAccountName = "serviceAccountName" @@ -83,8 +80,6 @@ type DaemonSet struct { NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"` PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty" yaml:"publicEndpoints,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` @@ -93,7 +88,6 @@ type DaemonSet struct { RunAsGroup *int64 `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"` RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector *LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_daemon_set_spec.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_daemon_set_spec.go index 5249e415..165a0449 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_daemon_set_spec.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_daemon_set_spec.go @@ -18,14 +18,11 @@ const ( DaemonSetSpecFieldImagePullSecrets = "imagePullSecrets" DaemonSetSpecFieldNodeID = "nodeId" DaemonSetSpecFieldObjectMeta = "metadata" - DaemonSetSpecFieldPriority = "priority" - DaemonSetSpecFieldPriorityClassName = "priorityClassName" DaemonSetSpecFieldReadinessGates = "readinessGates" DaemonSetSpecFieldRestartPolicy = "restartPolicy" DaemonSetSpecFieldRunAsGroup = "runAsGroup" DaemonSetSpecFieldRunAsNonRoot = "runAsNonRoot" DaemonSetSpecFieldRuntimeClassName = "runtimeClassName" - DaemonSetSpecFieldSchedulerName = "schedulerName" DaemonSetSpecFieldScheduling = "scheduling" DaemonSetSpecFieldSelector = "selector" DaemonSetSpecFieldServiceAccountName = "serviceAccountName" @@ -54,14 +51,11 @@ type DaemonSetSpec struct { ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty" yaml:"imagePullSecrets,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` ObjectMeta *ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` RestartPolicy string `json:"restartPolicy,omitempty" yaml:"restartPolicy,omitempty"` RunAsGroup *int64 `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"` RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector *LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_deployment.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_deployment.go index e57ee9fa..43e6bc35 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_deployment.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_deployment.go @@ -30,8 +30,6 @@ const ( DeploymentFieldNodeID = "nodeId" DeploymentFieldOwnerReferences = "ownerReferences" DeploymentFieldPaused = "paused" - DeploymentFieldPriority = "priority" - DeploymentFieldPriorityClassName = "priorityClassName" DeploymentFieldProjectID = "projectId" DeploymentFieldPublicEndpoints = "publicEndpoints" DeploymentFieldReadinessGates = "readinessGates" @@ -41,7 +39,6 @@ const ( DeploymentFieldRunAsNonRoot = "runAsNonRoot" DeploymentFieldRuntimeClassName = "runtimeClassName" DeploymentFieldScale = "scale" - DeploymentFieldSchedulerName = "schedulerName" DeploymentFieldScheduling = "scheduling" DeploymentFieldSelector = "selector" DeploymentFieldServiceAccountName = "serviceAccountName" @@ -86,8 +83,6 @@ type Deployment struct { NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` Paused bool `json:"paused,omitempty" yaml:"paused,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"` PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty" yaml:"publicEndpoints,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` @@ -97,7 +92,6 @@ type Deployment struct { RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` Scale *int64 `json:"scale,omitempty" yaml:"scale,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector *LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_deployment_spec.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_deployment_spec.go index f15d5040..c5bcc595 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_deployment_spec.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_deployment_spec.go @@ -19,15 +19,12 @@ const ( DeploymentSpecFieldNodeID = "nodeId" DeploymentSpecFieldObjectMeta = "metadata" DeploymentSpecFieldPaused = "paused" - DeploymentSpecFieldPriority = "priority" - DeploymentSpecFieldPriorityClassName = "priorityClassName" DeploymentSpecFieldReadinessGates = "readinessGates" DeploymentSpecFieldRestartPolicy = "restartPolicy" DeploymentSpecFieldRunAsGroup = "runAsGroup" DeploymentSpecFieldRunAsNonRoot = "runAsNonRoot" DeploymentSpecFieldRuntimeClassName = "runtimeClassName" DeploymentSpecFieldScale = "scale" - DeploymentSpecFieldSchedulerName = "schedulerName" DeploymentSpecFieldScheduling = "scheduling" DeploymentSpecFieldSelector = "selector" DeploymentSpecFieldServiceAccountName = "serviceAccountName" @@ -57,15 +54,12 @@ type DeploymentSpec struct { NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` ObjectMeta *ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` Paused bool `json:"paused,omitempty" yaml:"paused,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` RestartPolicy string `json:"restartPolicy,omitempty" yaml:"restartPolicy,omitempty"` RunAsGroup *int64 `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"` RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` Scale *int64 `json:"scale,omitempty" yaml:"scale,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector *LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_http_get_action.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_http_get_action.go index 27310104..9f29e942 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_http_get_action.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_http_get_action.go @@ -5,6 +5,7 @@ import "k8s.io/apimachinery/pkg/util/intstr" const ( HTTPGetActionType = "httpGetAction" HTTPGetActionFieldHTTPHeaders = "httpHeaders" + HTTPGetActionFieldHost = "host" HTTPGetActionFieldPath = "path" HTTPGetActionFieldPort = "port" HTTPGetActionFieldScheme = "scheme" @@ -12,6 +13,7 @@ const ( type HTTPGetAction struct { HTTPHeaders []HTTPHeader `json:"httpHeaders,omitempty" yaml:"httpHeaders,omitempty"` + Host string `json:"host,omitempty" yaml:"host,omitempty"` Path string `json:"path,omitempty" yaml:"path,omitempty"` Port intstr.IntOrString `json:"port,omitempty" yaml:"port,omitempty"` Scheme string `json:"scheme,omitempty" yaml:"scheme,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_job.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_job.go index af5ff18e..4220f8be 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_job.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_job.go @@ -29,8 +29,6 @@ const ( JobFieldNamespaceId = "namespaceId" JobFieldNodeID = "nodeId" JobFieldOwnerReferences = "ownerReferences" - JobFieldPriority = "priority" - JobFieldPriorityClassName = "priorityClassName" JobFieldProjectID = "projectId" JobFieldPublicEndpoints = "publicEndpoints" JobFieldReadinessGates = "readinessGates" @@ -39,7 +37,6 @@ const ( JobFieldRunAsGroup = "runAsGroup" JobFieldRunAsNonRoot = "runAsNonRoot" JobFieldRuntimeClassName = "runtimeClassName" - JobFieldSchedulerName = "schedulerName" JobFieldScheduling = "scheduling" JobFieldSelector = "selector" JobFieldServiceAccountName = "serviceAccountName" @@ -84,8 +81,6 @@ type Job struct { NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"` PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty" yaml:"publicEndpoints,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` @@ -94,7 +89,6 @@ type Job struct { RunAsGroup *int64 `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"` RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector *LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_job_spec.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_job_spec.go index a60f6a73..a6a30546 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_job_spec.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_job_spec.go @@ -18,14 +18,11 @@ const ( JobSpecFieldJobConfig = "jobConfig" JobSpecFieldNodeID = "nodeId" JobSpecFieldObjectMeta = "metadata" - JobSpecFieldPriority = "priority" - JobSpecFieldPriorityClassName = "priorityClassName" JobSpecFieldReadinessGates = "readinessGates" JobSpecFieldRestartPolicy = "restartPolicy" JobSpecFieldRunAsGroup = "runAsGroup" JobSpecFieldRunAsNonRoot = "runAsNonRoot" JobSpecFieldRuntimeClassName = "runtimeClassName" - JobSpecFieldSchedulerName = "schedulerName" JobSpecFieldScheduling = "scheduling" JobSpecFieldSelector = "selector" JobSpecFieldServiceAccountName = "serviceAccountName" @@ -55,14 +52,11 @@ type JobSpec struct { JobConfig *JobConfig `json:"jobConfig,omitempty" yaml:"jobConfig,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` ObjectMeta *ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` RestartPolicy string `json:"restartPolicy,omitempty" yaml:"restartPolicy,omitempty"` RunAsGroup *int64 `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"` RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector *LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_job_template_spec.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_job_template_spec.go index ae10d19e..d4701002 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_job_template_spec.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_job_template_spec.go @@ -19,14 +19,11 @@ const ( JobTemplateSpecFieldJobMetadata = "jobMetadata" JobTemplateSpecFieldNodeID = "nodeId" JobTemplateSpecFieldObjectMeta = "metadata" - JobTemplateSpecFieldPriority = "priority" - JobTemplateSpecFieldPriorityClassName = "priorityClassName" JobTemplateSpecFieldReadinessGates = "readinessGates" JobTemplateSpecFieldRestartPolicy = "restartPolicy" JobTemplateSpecFieldRunAsGroup = "runAsGroup" JobTemplateSpecFieldRunAsNonRoot = "runAsNonRoot" JobTemplateSpecFieldRuntimeClassName = "runtimeClassName" - JobTemplateSpecFieldSchedulerName = "schedulerName" JobTemplateSpecFieldScheduling = "scheduling" JobTemplateSpecFieldSelector = "selector" JobTemplateSpecFieldServiceAccountName = "serviceAccountName" @@ -57,14 +54,11 @@ type JobTemplateSpec struct { JobMetadata *ObjectMeta `json:"jobMetadata,omitempty" yaml:"jobMetadata,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` ObjectMeta *ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` RestartPolicy string `json:"restartPolicy,omitempty" yaml:"restartPolicy,omitempty"` RunAsGroup *int64 `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"` RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector *LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_pod.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_pod.go index 1011c7a9..e2c9892b 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_pod.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_pod.go @@ -28,8 +28,6 @@ const ( PodFieldNamespaceId = "namespaceId" PodFieldNodeID = "nodeId" PodFieldOwnerReferences = "ownerReferences" - PodFieldPriority = "priority" - PodFieldPriorityClassName = "priorityClassName" PodFieldProjectID = "projectId" PodFieldPublicEndpoints = "publicEndpoints" PodFieldReadinessGates = "readinessGates" @@ -38,7 +36,6 @@ const ( PodFieldRunAsGroup = "runAsGroup" PodFieldRunAsNonRoot = "runAsNonRoot" PodFieldRuntimeClassName = "runtimeClassName" - PodFieldSchedulerName = "schedulerName" PodFieldScheduling = "scheduling" PodFieldServiceAccountName = "serviceAccountName" PodFieldShareProcessNamespace = "shareProcessNamespace" @@ -80,8 +77,6 @@ type Pod struct { NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"` PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty" yaml:"publicEndpoints,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` @@ -90,7 +85,6 @@ type Pod struct { RunAsGroup *int64 `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"` RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` ShareProcessNamespace *bool `json:"shareProcessNamespace,omitempty" yaml:"shareProcessNamespace,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_pod_spec.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_pod_spec.go index 80c16edf..405df192 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_pod_spec.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_pod_spec.go @@ -16,14 +16,11 @@ const ( PodSpecFieldHostname = "hostname" PodSpecFieldImagePullSecrets = "imagePullSecrets" PodSpecFieldNodeID = "nodeId" - PodSpecFieldPriority = "priority" - PodSpecFieldPriorityClassName = "priorityClassName" PodSpecFieldReadinessGates = "readinessGates" PodSpecFieldRestartPolicy = "restartPolicy" PodSpecFieldRunAsGroup = "runAsGroup" PodSpecFieldRunAsNonRoot = "runAsNonRoot" PodSpecFieldRuntimeClassName = "runtimeClassName" - PodSpecFieldSchedulerName = "schedulerName" PodSpecFieldScheduling = "scheduling" PodSpecFieldServiceAccountName = "serviceAccountName" PodSpecFieldShareProcessNamespace = "shareProcessNamespace" @@ -49,14 +46,11 @@ type PodSpec struct { Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"` ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty" yaml:"imagePullSecrets,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` RestartPolicy string `json:"restartPolicy,omitempty" yaml:"restartPolicy,omitempty"` RunAsGroup *int64 `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"` RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` ShareProcessNamespace *bool `json:"shareProcessNamespace,omitempty" yaml:"shareProcessNamespace,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_pod_template_spec.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_pod_template_spec.go index 6082096f..18534191 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_pod_template_spec.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_pod_template_spec.go @@ -17,14 +17,11 @@ const ( PodTemplateSpecFieldImagePullSecrets = "imagePullSecrets" PodTemplateSpecFieldNodeID = "nodeId" PodTemplateSpecFieldObjectMeta = "metadata" - PodTemplateSpecFieldPriority = "priority" - PodTemplateSpecFieldPriorityClassName = "priorityClassName" PodTemplateSpecFieldReadinessGates = "readinessGates" PodTemplateSpecFieldRestartPolicy = "restartPolicy" PodTemplateSpecFieldRunAsGroup = "runAsGroup" PodTemplateSpecFieldRunAsNonRoot = "runAsNonRoot" PodTemplateSpecFieldRuntimeClassName = "runtimeClassName" - PodTemplateSpecFieldSchedulerName = "schedulerName" PodTemplateSpecFieldScheduling = "scheduling" PodTemplateSpecFieldServiceAccountName = "serviceAccountName" PodTemplateSpecFieldShareProcessNamespace = "shareProcessNamespace" @@ -51,14 +48,11 @@ type PodTemplateSpec struct { ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty" yaml:"imagePullSecrets,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` ObjectMeta *ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` RestartPolicy string `json:"restartPolicy,omitempty" yaml:"restartPolicy,omitempty"` RunAsGroup *int64 `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"` RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` ShareProcessNamespace *bool `json:"shareProcessNamespace,omitempty" yaml:"shareProcessNamespace,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_replica_set.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_replica_set.go index b625d92a..c9c086b2 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_replica_set.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_replica_set.go @@ -27,8 +27,6 @@ const ( ReplicaSetFieldNamespaceId = "namespaceId" ReplicaSetFieldNodeID = "nodeId" ReplicaSetFieldOwnerReferences = "ownerReferences" - ReplicaSetFieldPriority = "priority" - ReplicaSetFieldPriorityClassName = "priorityClassName" ReplicaSetFieldProjectID = "projectId" ReplicaSetFieldPublicEndpoints = "publicEndpoints" ReplicaSetFieldReadinessGates = "readinessGates" @@ -40,7 +38,6 @@ const ( ReplicaSetFieldRunAsNonRoot = "runAsNonRoot" ReplicaSetFieldRuntimeClassName = "runtimeClassName" ReplicaSetFieldScale = "scale" - ReplicaSetFieldSchedulerName = "schedulerName" ReplicaSetFieldScheduling = "scheduling" ReplicaSetFieldSelector = "selector" ReplicaSetFieldServiceAccountName = "serviceAccountName" @@ -82,8 +79,6 @@ type ReplicaSet struct { NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"` PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty" yaml:"publicEndpoints,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` @@ -95,7 +90,6 @@ type ReplicaSet struct { RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` Scale *int64 `json:"scale,omitempty" yaml:"scale,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector *LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_replication_controller.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_replication_controller.go index 48be7124..f5838e8b 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_replication_controller.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_replication_controller.go @@ -27,8 +27,6 @@ const ( ReplicationControllerFieldNamespaceId = "namespaceId" ReplicationControllerFieldNodeID = "nodeId" ReplicationControllerFieldOwnerReferences = "ownerReferences" - ReplicationControllerFieldPriority = "priority" - ReplicationControllerFieldPriorityClassName = "priorityClassName" ReplicationControllerFieldProjectID = "projectId" ReplicationControllerFieldPublicEndpoints = "publicEndpoints" ReplicationControllerFieldReadinessGates = "readinessGates" @@ -40,7 +38,6 @@ const ( ReplicationControllerFieldRunAsNonRoot = "runAsNonRoot" ReplicationControllerFieldRuntimeClassName = "runtimeClassName" ReplicationControllerFieldScale = "scale" - ReplicationControllerFieldSchedulerName = "schedulerName" ReplicationControllerFieldScheduling = "scheduling" ReplicationControllerFieldSelector = "selector" ReplicationControllerFieldServiceAccountName = "serviceAccountName" @@ -82,8 +79,6 @@ type ReplicationController struct { NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"` PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty" yaml:"publicEndpoints,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` @@ -95,7 +90,6 @@ type ReplicationController struct { RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` Scale *int64 `json:"scale,omitempty" yaml:"scale,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector map[string]string `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_replication_controller_spec.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_replication_controller_spec.go index 666590a0..6fa068dd 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_replication_controller_spec.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_replication_controller_spec.go @@ -17,8 +17,6 @@ const ( ReplicationControllerSpecFieldImagePullSecrets = "imagePullSecrets" ReplicationControllerSpecFieldNodeID = "nodeId" ReplicationControllerSpecFieldObjectMeta = "metadata" - ReplicationControllerSpecFieldPriority = "priority" - ReplicationControllerSpecFieldPriorityClassName = "priorityClassName" ReplicationControllerSpecFieldReadinessGates = "readinessGates" ReplicationControllerSpecFieldReplicationControllerConfig = "replicationControllerConfig" ReplicationControllerSpecFieldRestartPolicy = "restartPolicy" @@ -26,7 +24,6 @@ const ( ReplicationControllerSpecFieldRunAsNonRoot = "runAsNonRoot" ReplicationControllerSpecFieldRuntimeClassName = "runtimeClassName" ReplicationControllerSpecFieldScale = "scale" - ReplicationControllerSpecFieldSchedulerName = "schedulerName" ReplicationControllerSpecFieldScheduling = "scheduling" ReplicationControllerSpecFieldSelector = "selector" ReplicationControllerSpecFieldServiceAccountName = "serviceAccountName" @@ -54,8 +51,6 @@ type ReplicationControllerSpec struct { ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty" yaml:"imagePullSecrets,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` ObjectMeta *ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` ReplicationControllerConfig *ReplicationControllerConfig `json:"replicationControllerConfig,omitempty" yaml:"replicationControllerConfig,omitempty"` RestartPolicy string `json:"restartPolicy,omitempty" yaml:"restartPolicy,omitempty"` @@ -63,7 +58,6 @@ type ReplicationControllerSpec struct { RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` Scale *int64 `json:"scale,omitempty" yaml:"scale,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector map[string]string `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_stateful_set.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_stateful_set.go index 106aad66..9b0b9f62 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_stateful_set.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_stateful_set.go @@ -27,8 +27,6 @@ const ( StatefulSetFieldNamespaceId = "namespaceId" StatefulSetFieldNodeID = "nodeId" StatefulSetFieldOwnerReferences = "ownerReferences" - StatefulSetFieldPriority = "priority" - StatefulSetFieldPriorityClassName = "priorityClassName" StatefulSetFieldProjectID = "projectId" StatefulSetFieldPublicEndpoints = "publicEndpoints" StatefulSetFieldReadinessGates = "readinessGates" @@ -38,7 +36,6 @@ const ( StatefulSetFieldRunAsNonRoot = "runAsNonRoot" StatefulSetFieldRuntimeClassName = "runtimeClassName" StatefulSetFieldScale = "scale" - StatefulSetFieldSchedulerName = "schedulerName" StatefulSetFieldScheduling = "scheduling" StatefulSetFieldSelector = "selector" StatefulSetFieldServiceAccountName = "serviceAccountName" @@ -82,8 +79,6 @@ type StatefulSet struct { NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"` PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty" yaml:"publicEndpoints,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` @@ -93,7 +88,6 @@ type StatefulSet struct { RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` Scale *int64 `json:"scale,omitempty" yaml:"scale,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector *LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_stateful_set_spec.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_stateful_set_spec.go index 98dbd757..91e36bd0 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_stateful_set_spec.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_stateful_set_spec.go @@ -17,15 +17,12 @@ const ( StatefulSetSpecFieldImagePullSecrets = "imagePullSecrets" StatefulSetSpecFieldNodeID = "nodeId" StatefulSetSpecFieldObjectMeta = "metadata" - StatefulSetSpecFieldPriority = "priority" - StatefulSetSpecFieldPriorityClassName = "priorityClassName" StatefulSetSpecFieldReadinessGates = "readinessGates" StatefulSetSpecFieldRestartPolicy = "restartPolicy" StatefulSetSpecFieldRunAsGroup = "runAsGroup" StatefulSetSpecFieldRunAsNonRoot = "runAsNonRoot" StatefulSetSpecFieldRuntimeClassName = "runtimeClassName" StatefulSetSpecFieldScale = "scale" - StatefulSetSpecFieldSchedulerName = "schedulerName" StatefulSetSpecFieldScheduling = "scheduling" StatefulSetSpecFieldSelector = "selector" StatefulSetSpecFieldServiceAccountName = "serviceAccountName" @@ -54,15 +51,12 @@ type StatefulSetSpec struct { ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty" yaml:"imagePullSecrets,omitempty"` NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` ObjectMeta *ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` RestartPolicy string `json:"restartPolicy,omitempty" yaml:"restartPolicy,omitempty"` RunAsGroup *int64 `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"` RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` Scale *int64 `json:"scale,omitempty" yaml:"scale,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector *LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/client/project/v3/zz_generated_workload.go b/vendor/github.com/rancher/types/client/project/v3/zz_generated_workload.go index e2177315..89ffca2f 100644 --- a/vendor/github.com/rancher/types/client/project/v3/zz_generated_workload.go +++ b/vendor/github.com/rancher/types/client/project/v3/zz_generated_workload.go @@ -36,8 +36,6 @@ const ( WorkloadFieldNodeID = "nodeId" WorkloadFieldOwnerReferences = "ownerReferences" WorkloadFieldPaused = "paused" - WorkloadFieldPriority = "priority" - WorkloadFieldPriorityClassName = "priorityClassName" WorkloadFieldProjectID = "projectId" WorkloadFieldPublicEndpoints = "publicEndpoints" WorkloadFieldReadinessGates = "readinessGates" @@ -51,7 +49,6 @@ const ( WorkloadFieldRunAsNonRoot = "runAsNonRoot" WorkloadFieldRuntimeClassName = "runtimeClassName" WorkloadFieldScale = "scale" - WorkloadFieldSchedulerName = "schedulerName" WorkloadFieldScheduling = "scheduling" WorkloadFieldSelector = "selector" WorkloadFieldServiceAccountName = "serviceAccountName" @@ -105,8 +102,6 @@ type Workload struct { NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` Paused bool `json:"paused,omitempty" yaml:"paused,omitempty"` - Priority *int64 `json:"priority,omitempty" yaml:"priority,omitempty"` - PriorityClassName string `json:"priorityClassName,omitempty" yaml:"priorityClassName,omitempty"` ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"` PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty" yaml:"publicEndpoints,omitempty"` ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" yaml:"readinessGates,omitempty"` @@ -120,7 +115,6 @@ type Workload struct { RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" yaml:"runAsNonRoot,omitempty"` RuntimeClassName string `json:"runtimeClassName,omitempty" yaml:"runtimeClassName,omitempty"` Scale *int64 `json:"scale,omitempty" yaml:"scale,omitempty"` - SchedulerName string `json:"schedulerName,omitempty" yaml:"schedulerName,omitempty"` Scheduling *Scheduling `json:"scheduling,omitempty" yaml:"scheduling,omitempty"` Selector *LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty" yaml:"serviceAccountName,omitempty"` diff --git a/vendor/github.com/rancher/types/vendor.conf b/vendor/github.com/rancher/types/vendor.conf index c9b795ba..1e6943a3 100644 --- a/vendor/github.com/rancher/types/vendor.conf +++ b/vendor/github.com/rancher/types/vendor.conf @@ -5,3 +5,4 @@ github.com/pkg/errors v0.8.0 github.com/rancher/norman 2da1bd2ffcacdef4bdf7e2c193d32f3b04ebd6d0 transitive=true github.com/coreos/prometheus-operator v0.25.0 github.com/knative/pkg b30ab9de040eb4ba56fdb4108a29045ecac0c46a https://github.com/rancher/pkg.git +k8s.io/kube-aggregator kubernetes-1.12.2 https://github.com/kubernetes/kube-aggregator