diff --git a/api/api-rules/violation_exceptions.list b/api/api-rules/violation_exceptions.list index 665da4da15c..8e44b017620 100644 --- a/api/api-rules/violation_exceptions.list +++ b/api/api-rules/violation_exceptions.list @@ -67,7 +67,6 @@ API rule violation: list_type_missing,k8s.io/api/autoscaling/v2beta2,HorizontalP API rule violation: list_type_missing,k8s.io/api/autoscaling/v2beta2,HorizontalPodAutoscalerStatus,CurrentMetrics API rule violation: list_type_missing,k8s.io/api/batch/v1,JobStatus,Conditions API rule violation: list_type_missing,k8s.io/api/batch/v1beta1,CronJobStatus,Active -API rule violation: list_type_missing,k8s.io/api/batch/v2alpha1,CronJobStatus,Active API rule violation: list_type_missing,k8s.io/api/core/v1,AvoidPods,PreferAvoidPods API rule violation: list_type_missing,k8s.io/api/core/v1,Capabilities,Add API rule violation: list_type_missing,k8s.io/api/core/v1,Capabilities,Drop diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 81431ebbeb1..a642d48ab4a 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -4458,146 +4458,6 @@ }, "type": "object" }, - "io.k8s.api.batch.v2alpha1.CronJob": { - "description": "CronJob represents the configuration of a single cron job.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobSpec", - "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobStatus", - "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - ] - }, - "io.k8s.api.batch.v2alpha1.CronJobList": { - "description": "CronJobList is a collection of cron jobs.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is the list of CronJobs.", - "items": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "batch", - "kind": "CronJobList", - "version": "v2alpha1" - } - ] - }, - "io.k8s.api.batch.v2alpha1.CronJobSpec": { - "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", - "properties": { - "concurrencyPolicy": { - "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", - "type": "string" - }, - "failedJobsHistoryLimit": { - "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "format": "int32", - "type": "integer" - }, - "jobTemplate": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.JobTemplateSpec", - "description": "Specifies the job that will be created when executing a CronJob." - }, - "schedule": { - "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", - "type": "string" - }, - "startingDeadlineSeconds": { - "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "format": "int64", - "type": "integer" - }, - "successfulJobsHistoryLimit": { - "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "format": "int32", - "type": "integer" - }, - "suspend": { - "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" - } - }, - "required": [ - "schedule", - "jobTemplate" - ], - "type": "object" - }, - "io.k8s.api.batch.v2alpha1.CronJobStatus": { - "description": "CronJobStatus represents the current state of a cron job.", - "properties": { - "active": { - "description": "A list of pointers to currently running jobs.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" - }, - "type": "array" - }, - "lastScheduleTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Information when was the last time the job was successfully scheduled." - } - }, - "type": "object" - }, - "io.k8s.api.batch.v2alpha1.JobTemplateSpec": { - "description": "JobTemplateSpec describes the data a Job should have when created from a template", - "properties": { - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobSpec", - "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object" - }, "io.k8s.api.certificates.v1.CertificateSigningRequest": { "description": "CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.\n\nKubelets use this API to obtain:\n 1. client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName).\n 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName).\n\nThis API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.", "properties": { @@ -18643,11 +18503,6 @@ "kind": "DeleteOptions", "version": "v1beta1" }, - { - "group": "batch", - "kind": "DeleteOptions", - "version": "v2alpha1" - }, { "group": "certificates.k8s.io", "kind": "DeleteOptions", @@ -19305,11 +19160,6 @@ "kind": "WatchEvent", "version": "v1beta1" }, - { - "group": "batch", - "kind": "WatchEvent", - "version": "v2alpha1" - }, { "group": "certificates.k8s.io", "kind": "WatchEvent", @@ -61083,1290 +60933,6 @@ } ] }, - "/apis/batch/v2alpha1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getBatchV2alpha1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ] - } - }, - "/apis/batch/v2alpha1/cronjobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CronJob", - "operationId": "listBatchV2alpha1CronJobForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CronJob", - "operationId": "deleteBatchV2alpha1CollectionNamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CronJob", - "operationId": "listBatchV2alpha1NamespacedCronJob", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CronJob", - "operationId": "createBatchV2alpha1NamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - } - }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CronJob", - "operationId": "deleteBatchV2alpha1NamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CronJob", - "operationId": "readBatchV2alpha1NamespacedCronJob", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "parameters": [ - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CronJob", - "operationId": "patchBatchV2alpha1NamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CronJob", - "operationId": "replaceBatchV2alpha1NamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - } - }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified CronJob", - "operationId": "readBatchV2alpha1NamespacedCronJobStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "parameters": [ - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified CronJob", - "operationId": "patchBatchV2alpha1NamespacedCronJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified CronJob", - "operationId": "replaceBatchV2alpha1NamespacedCronJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - } - }, - "/apis/batch/v2alpha1/watch/cronjobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV2alpha1CronJobListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV2alpha1NamespacedCronJobList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchBatchV2alpha1NamespacedCronJob", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, "/apis/certificates.k8s.io/": { "get": { "consumes": [ diff --git a/build/kazel_generated.bzl b/build/kazel_generated.bzl index 61487e5f37d..67385e48f08 100644 --- a/build/kazel_generated.bzl +++ b/build/kazel_generated.bzl @@ -52,7 +52,6 @@ tags_values_pkgs = {"openapi-gen": { "staging/src/k8s.io/api/autoscaling/v2beta2", "staging/src/k8s.io/api/batch/v1", "staging/src/k8s.io/api/batch/v1beta1", - "staging/src/k8s.io/api/batch/v2alpha1", "staging/src/k8s.io/api/certificates/v1", "staging/src/k8s.io/api/certificates/v1beta1", "staging/src/k8s.io/api/coordination/v1", @@ -139,7 +138,6 @@ tags_pkgs_values = {"openapi-gen": { "staging/src/k8s.io/api/autoscaling/v2beta2": ["true"], "staging/src/k8s.io/api/batch/v1": ["true"], "staging/src/k8s.io/api/batch/v1beta1": ["true"], - "staging/src/k8s.io/api/batch/v2alpha1": ["true"], "staging/src/k8s.io/api/certificates/v1": ["true"], "staging/src/k8s.io/api/certificates/v1beta1": ["true"], "staging/src/k8s.io/api/coordination/v1": ["true"], diff --git a/hack/lib/init.sh b/hack/lib/init.sh index e9d8f066916..3b4180a4e98 100755 --- a/hack/lib/init.sh +++ b/hack/lib/init.sh @@ -80,7 +80,6 @@ autoscaling/v2beta1 \ autoscaling/v2beta2 \ batch/v1 \ batch/v1beta1 \ -batch/v2alpha1 \ certificates.k8s.io/v1 \ certificates.k8s.io/v1beta1 \ coordination.k8s.io/v1beta1 \ diff --git a/pkg/apis/batch/BUILD b/pkg/apis/batch/BUILD index b6157e8f856..d7ad96c4932 100644 --- a/pkg/apis/batch/BUILD +++ b/pkg/apis/batch/BUILD @@ -37,7 +37,6 @@ filegroup( "//pkg/apis/batch/install:all-srcs", "//pkg/apis/batch/v1:all-srcs", "//pkg/apis/batch/v1beta1:all-srcs", - "//pkg/apis/batch/v2alpha1:all-srcs", "//pkg/apis/batch/validation:all-srcs", ], tags = ["automanaged"], diff --git a/pkg/apis/batch/install/BUILD b/pkg/apis/batch/install/BUILD index ce964905c7a..c3c82fafbdf 100644 --- a/pkg/apis/batch/install/BUILD +++ b/pkg/apis/batch/install/BUILD @@ -14,7 +14,6 @@ go_library( "//pkg/apis/batch:go_default_library", "//pkg/apis/batch/v1:go_default_library", "//pkg/apis/batch/v1beta1:go_default_library", - "//pkg/apis/batch/v2alpha1:go_default_library", "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library", "//staging/src/k8s.io/apimachinery/pkg/util/runtime:go_default_library", ], diff --git a/pkg/apis/batch/install/install.go b/pkg/apis/batch/install/install.go index c87c186cc40..8d2d0d7824a 100644 --- a/pkg/apis/batch/install/install.go +++ b/pkg/apis/batch/install/install.go @@ -25,7 +25,6 @@ import ( "k8s.io/kubernetes/pkg/apis/batch" "k8s.io/kubernetes/pkg/apis/batch/v1" "k8s.io/kubernetes/pkg/apis/batch/v1beta1" - "k8s.io/kubernetes/pkg/apis/batch/v2alpha1" ) func init() { @@ -37,6 +36,5 @@ func Install(scheme *runtime.Scheme) { utilruntime.Must(batch.AddToScheme(scheme)) utilruntime.Must(v1.AddToScheme(scheme)) utilruntime.Must(v1beta1.AddToScheme(scheme)) - utilruntime.Must(v2alpha1.AddToScheme(scheme)) - utilruntime.Must(scheme.SetVersionPriority(v1.SchemeGroupVersion, v1beta1.SchemeGroupVersion, v2alpha1.SchemeGroupVersion)) + utilruntime.Must(scheme.SetVersionPriority(v1.SchemeGroupVersion, v1beta1.SchemeGroupVersion)) } diff --git a/pkg/apis/batch/v2alpha1/BUILD b/pkg/apis/batch/v2alpha1/BUILD deleted file mode 100644 index 59eab2eab15..00000000000 --- a/pkg/apis/batch/v2alpha1/BUILD +++ /dev/null @@ -1,58 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", - "go_test", -) - -go_library( - name = "go_default_library", - srcs = [ - "conversion.go", - "defaults.go", - "doc.go", - "register.go", - "zz_generated.conversion.go", - "zz_generated.defaults.go", - ], - importpath = "k8s.io/kubernetes/pkg/apis/batch/v2alpha1", - deps = [ - "//pkg/apis/batch:go_default_library", - "//pkg/apis/batch/v1:go_default_library", - "//pkg/apis/core:go_default_library", - "//pkg/apis/core/v1:go_default_library", - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", - "//staging/src/k8s.io/api/core/v1:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/conversion:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", - ], -) - -go_test( - name = "go_default_test", - srcs = ["defaults_test.go"], - embed = [":go_default_library"], - deps = [ - "//pkg/api/legacyscheme:go_default_library", - "//pkg/apis/batch/install:go_default_library", - "//pkg/apis/core/install:go_default_library", - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library", - ], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/pkg/apis/batch/v2alpha1/conversion.go b/pkg/apis/batch/v2alpha1/conversion.go deleted file mode 100644 index 0d854e5bab3..00000000000 --- a/pkg/apis/batch/v2alpha1/conversion.go +++ /dev/null @@ -1,44 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v2alpha1 - -import ( - "fmt" - - "k8s.io/apimachinery/pkg/runtime" -) - -func addConversionFuncs(scheme *runtime.Scheme) error { - var err error - // Add field label conversions for kinds having selectable nothing but ObjectMeta fields. - for _, k := range []string{"Job", "JobTemplate", "CronJob"} { - kind := k // don't close over range variables - err = scheme.AddFieldLabelConversionFunc(SchemeGroupVersion.WithKind(kind), - func(label, value string) (string, string, error) { - switch label { - case "metadata.name", "metadata.namespace", "status.successful": - return label, value, nil - default: - return "", "", fmt.Errorf("field label %q not supported for %q", label, kind) - } - }) - if err != nil { - return err - } - } - return nil -} diff --git a/pkg/apis/batch/v2alpha1/defaults.go b/pkg/apis/batch/v2alpha1/defaults.go deleted file mode 100644 index dab186aa762..00000000000 --- a/pkg/apis/batch/v2alpha1/defaults.go +++ /dev/null @@ -1,35 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v2alpha1 - -import ( - batchv2alpha1 "k8s.io/api/batch/v2alpha1" - "k8s.io/apimachinery/pkg/runtime" -) - -func addDefaultingFuncs(scheme *runtime.Scheme) error { - return RegisterDefaults(scheme) -} - -func SetDefaults_CronJob(obj *batchv2alpha1.CronJob) { - if obj.Spec.ConcurrencyPolicy == "" { - obj.Spec.ConcurrencyPolicy = batchv2alpha1.AllowConcurrent - } - if obj.Spec.Suspend == nil { - obj.Spec.Suspend = new(bool) - } -} diff --git a/pkg/apis/batch/v2alpha1/defaults_test.go b/pkg/apis/batch/v2alpha1/defaults_test.go deleted file mode 100644 index 1864d8c500b..00000000000 --- a/pkg/apis/batch/v2alpha1/defaults_test.go +++ /dev/null @@ -1,104 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v2alpha1_test - -import ( - "reflect" - "testing" - - batchv2alpha1 "k8s.io/api/batch/v2alpha1" - - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/kubernetes/pkg/api/legacyscheme" - _ "k8s.io/kubernetes/pkg/apis/batch/install" - . "k8s.io/kubernetes/pkg/apis/batch/v2alpha1" - _ "k8s.io/kubernetes/pkg/apis/core/install" -) - -func TestSetDefaultCronJob(t *testing.T) { - tests := map[string]struct { - original *batchv2alpha1.CronJob - expected *batchv2alpha1.CronJob - }{ - "empty batchv2alpha1.CronJob should default batchv2alpha1.ConcurrencyPolicy and Suspend": { - original: &batchv2alpha1.CronJob{}, - expected: &batchv2alpha1.CronJob{ - Spec: batchv2alpha1.CronJobSpec{ - ConcurrencyPolicy: batchv2alpha1.AllowConcurrent, - Suspend: newBool(false), - }, - }, - }, - "set fields should not be defaulted": { - original: &batchv2alpha1.CronJob{ - Spec: batchv2alpha1.CronJobSpec{ - ConcurrencyPolicy: batchv2alpha1.ForbidConcurrent, - Suspend: newBool(true), - }, - }, - expected: &batchv2alpha1.CronJob{ - Spec: batchv2alpha1.CronJobSpec{ - ConcurrencyPolicy: batchv2alpha1.ForbidConcurrent, - Suspend: newBool(true), - }, - }, - }, - } - - for name, test := range tests { - original := test.original - expected := test.expected - obj2 := roundTrip(t, runtime.Object(original)) - actual, ok := obj2.(*batchv2alpha1.CronJob) - if !ok { - t.Errorf("%s: unexpected object: %v", name, actual) - t.FailNow() - } - if actual.Spec.ConcurrencyPolicy != expected.Spec.ConcurrencyPolicy { - t.Errorf("%s: got different concurrencyPolicy than expected: %v %v", name, actual.Spec.ConcurrencyPolicy, expected.Spec.ConcurrencyPolicy) - } - if *actual.Spec.Suspend != *expected.Spec.Suspend { - t.Errorf("%s: got different suspend than expected: %v %v", name, *actual.Spec.Suspend, *expected.Spec.Suspend) - } - } -} - -func roundTrip(t *testing.T, obj runtime.Object) runtime.Object { - data, err := runtime.Encode(legacyscheme.Codecs.LegacyCodec(SchemeGroupVersion), obj) - if err != nil { - t.Errorf("%v\n %#v", err, obj) - return nil - } - obj2, err := runtime.Decode(legacyscheme.Codecs.UniversalDecoder(), data) - if err != nil { - t.Errorf("%v\nData: %s\nSource: %#v", err, string(data), obj) - return nil - } - obj3 := reflect.New(reflect.TypeOf(obj).Elem()).Interface().(runtime.Object) - err = legacyscheme.Scheme.Convert(obj2, obj3, nil) - if err != nil { - t.Errorf("%v\nSource: %#v", err, obj2) - return nil - } - return obj3 -} - -func newBool(val bool) *bool { - p := new(bool) - *p = val - return p -} diff --git a/pkg/apis/batch/v2alpha1/doc.go b/pkg/apis/batch/v2alpha1/doc.go deleted file mode 100644 index 243f82e8623..00000000000 --- a/pkg/apis/batch/v2alpha1/doc.go +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/batch -// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/batch/v1 -// +k8s:conversion-gen-external-types=k8s.io/api/batch/v2alpha1 -// +k8s:defaulter-gen=TypeMeta -// +k8s:defaulter-gen-input=../../../../vendor/k8s.io/api/batch/v2alpha1 - -package v2alpha1 // import "k8s.io/kubernetes/pkg/apis/batch/v2alpha1" diff --git a/pkg/apis/batch/v2alpha1/register.go b/pkg/apis/batch/v2alpha1/register.go deleted file mode 100644 index 5fa3750de81..00000000000 --- a/pkg/apis/batch/v2alpha1/register.go +++ /dev/null @@ -1,45 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v2alpha1 - -import ( - batchv2alpha1 "k8s.io/api/batch/v2alpha1" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -// GroupName is the group name use in this package -const GroupName = "batch" - -// SchemeGroupVersion is group version used to register these objects -var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v2alpha1"} - -// Resource takes an unqualified resource and returns a Group qualified GroupResource -func Resource(resource string) schema.GroupResource { - return SchemeGroupVersion.WithResource(resource).GroupResource() -} - -var ( - localSchemeBuilder = &batchv2alpha1.SchemeBuilder - AddToScheme = localSchemeBuilder.AddToScheme -) - -func init() { - // We only register manually written functions here. The registration of the - // generated functions takes place in the generated files. The separation - // makes the code compile even when the generated files are missing. - localSchemeBuilder.Register(addDefaultingFuncs, addConversionFuncs) -} diff --git a/pkg/apis/batch/v2alpha1/zz_generated.conversion.go b/pkg/apis/batch/v2alpha1/zz_generated.conversion.go deleted file mode 100644 index be20c5535a7..00000000000 --- a/pkg/apis/batch/v2alpha1/zz_generated.conversion.go +++ /dev/null @@ -1,288 +0,0 @@ -// +build !ignore_autogenerated - -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by conversion-gen. DO NOT EDIT. - -package v2alpha1 - -import ( - unsafe "unsafe" - - v2alpha1 "k8s.io/api/batch/v2alpha1" - corev1 "k8s.io/api/core/v1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - conversion "k8s.io/apimachinery/pkg/conversion" - runtime "k8s.io/apimachinery/pkg/runtime" - batch "k8s.io/kubernetes/pkg/apis/batch" - batchv1 "k8s.io/kubernetes/pkg/apis/batch/v1" - core "k8s.io/kubernetes/pkg/apis/core" -) - -func init() { - localSchemeBuilder.Register(RegisterConversions) -} - -// RegisterConversions adds conversion functions to the given scheme. -// Public to allow building arbitrary schemes. -func RegisterConversions(s *runtime.Scheme) error { - if err := s.AddGeneratedConversionFunc((*v2alpha1.CronJob)(nil), (*batch.CronJob)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v2alpha1_CronJob_To_batch_CronJob(a.(*v2alpha1.CronJob), b.(*batch.CronJob), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*batch.CronJob)(nil), (*v2alpha1.CronJob)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_batch_CronJob_To_v2alpha1_CronJob(a.(*batch.CronJob), b.(*v2alpha1.CronJob), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*v2alpha1.CronJobList)(nil), (*batch.CronJobList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v2alpha1_CronJobList_To_batch_CronJobList(a.(*v2alpha1.CronJobList), b.(*batch.CronJobList), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*batch.CronJobList)(nil), (*v2alpha1.CronJobList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_batch_CronJobList_To_v2alpha1_CronJobList(a.(*batch.CronJobList), b.(*v2alpha1.CronJobList), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*v2alpha1.CronJobSpec)(nil), (*batch.CronJobSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v2alpha1_CronJobSpec_To_batch_CronJobSpec(a.(*v2alpha1.CronJobSpec), b.(*batch.CronJobSpec), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*batch.CronJobSpec)(nil), (*v2alpha1.CronJobSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_batch_CronJobSpec_To_v2alpha1_CronJobSpec(a.(*batch.CronJobSpec), b.(*v2alpha1.CronJobSpec), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*v2alpha1.CronJobStatus)(nil), (*batch.CronJobStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v2alpha1_CronJobStatus_To_batch_CronJobStatus(a.(*v2alpha1.CronJobStatus), b.(*batch.CronJobStatus), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*batch.CronJobStatus)(nil), (*v2alpha1.CronJobStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_batch_CronJobStatus_To_v2alpha1_CronJobStatus(a.(*batch.CronJobStatus), b.(*v2alpha1.CronJobStatus), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*v2alpha1.JobTemplate)(nil), (*batch.JobTemplate)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v2alpha1_JobTemplate_To_batch_JobTemplate(a.(*v2alpha1.JobTemplate), b.(*batch.JobTemplate), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*batch.JobTemplate)(nil), (*v2alpha1.JobTemplate)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_batch_JobTemplate_To_v2alpha1_JobTemplate(a.(*batch.JobTemplate), b.(*v2alpha1.JobTemplate), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*v2alpha1.JobTemplateSpec)(nil), (*batch.JobTemplateSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v2alpha1_JobTemplateSpec_To_batch_JobTemplateSpec(a.(*v2alpha1.JobTemplateSpec), b.(*batch.JobTemplateSpec), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*batch.JobTemplateSpec)(nil), (*v2alpha1.JobTemplateSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_batch_JobTemplateSpec_To_v2alpha1_JobTemplateSpec(a.(*batch.JobTemplateSpec), b.(*v2alpha1.JobTemplateSpec), scope) - }); err != nil { - return err - } - return nil -} - -func autoConvert_v2alpha1_CronJob_To_batch_CronJob(in *v2alpha1.CronJob, out *batch.CronJob, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := Convert_v2alpha1_CronJobSpec_To_batch_CronJobSpec(&in.Spec, &out.Spec, s); err != nil { - return err - } - if err := Convert_v2alpha1_CronJobStatus_To_batch_CronJobStatus(&in.Status, &out.Status, s); err != nil { - return err - } - return nil -} - -// Convert_v2alpha1_CronJob_To_batch_CronJob is an autogenerated conversion function. -func Convert_v2alpha1_CronJob_To_batch_CronJob(in *v2alpha1.CronJob, out *batch.CronJob, s conversion.Scope) error { - return autoConvert_v2alpha1_CronJob_To_batch_CronJob(in, out, s) -} - -func autoConvert_batch_CronJob_To_v2alpha1_CronJob(in *batch.CronJob, out *v2alpha1.CronJob, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := Convert_batch_CronJobSpec_To_v2alpha1_CronJobSpec(&in.Spec, &out.Spec, s); err != nil { - return err - } - if err := Convert_batch_CronJobStatus_To_v2alpha1_CronJobStatus(&in.Status, &out.Status, s); err != nil { - return err - } - return nil -} - -// Convert_batch_CronJob_To_v2alpha1_CronJob is an autogenerated conversion function. -func Convert_batch_CronJob_To_v2alpha1_CronJob(in *batch.CronJob, out *v2alpha1.CronJob, s conversion.Scope) error { - return autoConvert_batch_CronJob_To_v2alpha1_CronJob(in, out, s) -} - -func autoConvert_v2alpha1_CronJobList_To_batch_CronJobList(in *v2alpha1.CronJobList, out *batch.CronJobList, s conversion.Scope) error { - out.ListMeta = in.ListMeta - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]batch.CronJob, len(*in)) - for i := range *in { - if err := Convert_v2alpha1_CronJob_To_batch_CronJob(&(*in)[i], &(*out)[i], s); err != nil { - return err - } - } - } else { - out.Items = nil - } - return nil -} - -// Convert_v2alpha1_CronJobList_To_batch_CronJobList is an autogenerated conversion function. -func Convert_v2alpha1_CronJobList_To_batch_CronJobList(in *v2alpha1.CronJobList, out *batch.CronJobList, s conversion.Scope) error { - return autoConvert_v2alpha1_CronJobList_To_batch_CronJobList(in, out, s) -} - -func autoConvert_batch_CronJobList_To_v2alpha1_CronJobList(in *batch.CronJobList, out *v2alpha1.CronJobList, s conversion.Scope) error { - out.ListMeta = in.ListMeta - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]v2alpha1.CronJob, len(*in)) - for i := range *in { - if err := Convert_batch_CronJob_To_v2alpha1_CronJob(&(*in)[i], &(*out)[i], s); err != nil { - return err - } - } - } else { - out.Items = nil - } - return nil -} - -// Convert_batch_CronJobList_To_v2alpha1_CronJobList is an autogenerated conversion function. -func Convert_batch_CronJobList_To_v2alpha1_CronJobList(in *batch.CronJobList, out *v2alpha1.CronJobList, s conversion.Scope) error { - return autoConvert_batch_CronJobList_To_v2alpha1_CronJobList(in, out, s) -} - -func autoConvert_v2alpha1_CronJobSpec_To_batch_CronJobSpec(in *v2alpha1.CronJobSpec, out *batch.CronJobSpec, s conversion.Scope) error { - out.Schedule = in.Schedule - out.StartingDeadlineSeconds = (*int64)(unsafe.Pointer(in.StartingDeadlineSeconds)) - out.ConcurrencyPolicy = batch.ConcurrencyPolicy(in.ConcurrencyPolicy) - out.Suspend = (*bool)(unsafe.Pointer(in.Suspend)) - if err := Convert_v2alpha1_JobTemplateSpec_To_batch_JobTemplateSpec(&in.JobTemplate, &out.JobTemplate, s); err != nil { - return err - } - out.SuccessfulJobsHistoryLimit = (*int32)(unsafe.Pointer(in.SuccessfulJobsHistoryLimit)) - out.FailedJobsHistoryLimit = (*int32)(unsafe.Pointer(in.FailedJobsHistoryLimit)) - return nil -} - -// Convert_v2alpha1_CronJobSpec_To_batch_CronJobSpec is an autogenerated conversion function. -func Convert_v2alpha1_CronJobSpec_To_batch_CronJobSpec(in *v2alpha1.CronJobSpec, out *batch.CronJobSpec, s conversion.Scope) error { - return autoConvert_v2alpha1_CronJobSpec_To_batch_CronJobSpec(in, out, s) -} - -func autoConvert_batch_CronJobSpec_To_v2alpha1_CronJobSpec(in *batch.CronJobSpec, out *v2alpha1.CronJobSpec, s conversion.Scope) error { - out.Schedule = in.Schedule - out.StartingDeadlineSeconds = (*int64)(unsafe.Pointer(in.StartingDeadlineSeconds)) - out.ConcurrencyPolicy = v2alpha1.ConcurrencyPolicy(in.ConcurrencyPolicy) - out.Suspend = (*bool)(unsafe.Pointer(in.Suspend)) - if err := Convert_batch_JobTemplateSpec_To_v2alpha1_JobTemplateSpec(&in.JobTemplate, &out.JobTemplate, s); err != nil { - return err - } - out.SuccessfulJobsHistoryLimit = (*int32)(unsafe.Pointer(in.SuccessfulJobsHistoryLimit)) - out.FailedJobsHistoryLimit = (*int32)(unsafe.Pointer(in.FailedJobsHistoryLimit)) - return nil -} - -// Convert_batch_CronJobSpec_To_v2alpha1_CronJobSpec is an autogenerated conversion function. -func Convert_batch_CronJobSpec_To_v2alpha1_CronJobSpec(in *batch.CronJobSpec, out *v2alpha1.CronJobSpec, s conversion.Scope) error { - return autoConvert_batch_CronJobSpec_To_v2alpha1_CronJobSpec(in, out, s) -} - -func autoConvert_v2alpha1_CronJobStatus_To_batch_CronJobStatus(in *v2alpha1.CronJobStatus, out *batch.CronJobStatus, s conversion.Scope) error { - out.Active = *(*[]core.ObjectReference)(unsafe.Pointer(&in.Active)) - out.LastScheduleTime = (*v1.Time)(unsafe.Pointer(in.LastScheduleTime)) - return nil -} - -// Convert_v2alpha1_CronJobStatus_To_batch_CronJobStatus is an autogenerated conversion function. -func Convert_v2alpha1_CronJobStatus_To_batch_CronJobStatus(in *v2alpha1.CronJobStatus, out *batch.CronJobStatus, s conversion.Scope) error { - return autoConvert_v2alpha1_CronJobStatus_To_batch_CronJobStatus(in, out, s) -} - -func autoConvert_batch_CronJobStatus_To_v2alpha1_CronJobStatus(in *batch.CronJobStatus, out *v2alpha1.CronJobStatus, s conversion.Scope) error { - out.Active = *(*[]corev1.ObjectReference)(unsafe.Pointer(&in.Active)) - out.LastScheduleTime = (*v1.Time)(unsafe.Pointer(in.LastScheduleTime)) - return nil -} - -// Convert_batch_CronJobStatus_To_v2alpha1_CronJobStatus is an autogenerated conversion function. -func Convert_batch_CronJobStatus_To_v2alpha1_CronJobStatus(in *batch.CronJobStatus, out *v2alpha1.CronJobStatus, s conversion.Scope) error { - return autoConvert_batch_CronJobStatus_To_v2alpha1_CronJobStatus(in, out, s) -} - -func autoConvert_v2alpha1_JobTemplate_To_batch_JobTemplate(in *v2alpha1.JobTemplate, out *batch.JobTemplate, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := Convert_v2alpha1_JobTemplateSpec_To_batch_JobTemplateSpec(&in.Template, &out.Template, s); err != nil { - return err - } - return nil -} - -// Convert_v2alpha1_JobTemplate_To_batch_JobTemplate is an autogenerated conversion function. -func Convert_v2alpha1_JobTemplate_To_batch_JobTemplate(in *v2alpha1.JobTemplate, out *batch.JobTemplate, s conversion.Scope) error { - return autoConvert_v2alpha1_JobTemplate_To_batch_JobTemplate(in, out, s) -} - -func autoConvert_batch_JobTemplate_To_v2alpha1_JobTemplate(in *batch.JobTemplate, out *v2alpha1.JobTemplate, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := Convert_batch_JobTemplateSpec_To_v2alpha1_JobTemplateSpec(&in.Template, &out.Template, s); err != nil { - return err - } - return nil -} - -// Convert_batch_JobTemplate_To_v2alpha1_JobTemplate is an autogenerated conversion function. -func Convert_batch_JobTemplate_To_v2alpha1_JobTemplate(in *batch.JobTemplate, out *v2alpha1.JobTemplate, s conversion.Scope) error { - return autoConvert_batch_JobTemplate_To_v2alpha1_JobTemplate(in, out, s) -} - -func autoConvert_v2alpha1_JobTemplateSpec_To_batch_JobTemplateSpec(in *v2alpha1.JobTemplateSpec, out *batch.JobTemplateSpec, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := batchv1.Convert_v1_JobSpec_To_batch_JobSpec(&in.Spec, &out.Spec, s); err != nil { - return err - } - return nil -} - -// Convert_v2alpha1_JobTemplateSpec_To_batch_JobTemplateSpec is an autogenerated conversion function. -func Convert_v2alpha1_JobTemplateSpec_To_batch_JobTemplateSpec(in *v2alpha1.JobTemplateSpec, out *batch.JobTemplateSpec, s conversion.Scope) error { - return autoConvert_v2alpha1_JobTemplateSpec_To_batch_JobTemplateSpec(in, out, s) -} - -func autoConvert_batch_JobTemplateSpec_To_v2alpha1_JobTemplateSpec(in *batch.JobTemplateSpec, out *v2alpha1.JobTemplateSpec, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := batchv1.Convert_batch_JobSpec_To_v1_JobSpec(&in.Spec, &out.Spec, s); err != nil { - return err - } - return nil -} - -// Convert_batch_JobTemplateSpec_To_v2alpha1_JobTemplateSpec is an autogenerated conversion function. -func Convert_batch_JobTemplateSpec_To_v2alpha1_JobTemplateSpec(in *batch.JobTemplateSpec, out *v2alpha1.JobTemplateSpec, s conversion.Scope) error { - return autoConvert_batch_JobTemplateSpec_To_v2alpha1_JobTemplateSpec(in, out, s) -} diff --git a/pkg/apis/batch/v2alpha1/zz_generated.defaults.go b/pkg/apis/batch/v2alpha1/zz_generated.defaults.go deleted file mode 100644 index 3c43daae355..00000000000 --- a/pkg/apis/batch/v2alpha1/zz_generated.defaults.go +++ /dev/null @@ -1,471 +0,0 @@ -// +build !ignore_autogenerated - -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by defaulter-gen. DO NOT EDIT. - -package v2alpha1 - -import ( - v2alpha1 "k8s.io/api/batch/v2alpha1" - runtime "k8s.io/apimachinery/pkg/runtime" - v1 "k8s.io/kubernetes/pkg/apis/core/v1" -) - -// RegisterDefaults adds defaulters functions to the given scheme. -// Public to allow building arbitrary schemes. -// All generated defaulters are covering - they call all nested defaulters. -func RegisterDefaults(scheme *runtime.Scheme) error { - scheme.AddTypeDefaultingFunc(&v2alpha1.CronJob{}, func(obj interface{}) { SetObjectDefaults_CronJob(obj.(*v2alpha1.CronJob)) }) - scheme.AddTypeDefaultingFunc(&v2alpha1.CronJobList{}, func(obj interface{}) { SetObjectDefaults_CronJobList(obj.(*v2alpha1.CronJobList)) }) - scheme.AddTypeDefaultingFunc(&v2alpha1.JobTemplate{}, func(obj interface{}) { SetObjectDefaults_JobTemplate(obj.(*v2alpha1.JobTemplate)) }) - return nil -} - -func SetObjectDefaults_CronJob(in *v2alpha1.CronJob) { - SetDefaults_CronJob(in) - v1.SetDefaults_PodSpec(&in.Spec.JobTemplate.Spec.Template.Spec) - for i := range in.Spec.JobTemplate.Spec.Template.Spec.Volumes { - a := &in.Spec.JobTemplate.Spec.Template.Spec.Volumes[i] - v1.SetDefaults_Volume(a) - if a.VolumeSource.HostPath != nil { - v1.SetDefaults_HostPathVolumeSource(a.VolumeSource.HostPath) - } - if a.VolumeSource.Secret != nil { - v1.SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) - } - if a.VolumeSource.ISCSI != nil { - v1.SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) - } - if a.VolumeSource.RBD != nil { - v1.SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) - } - if a.VolumeSource.DownwardAPI != nil { - v1.SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) - for j := range a.VolumeSource.DownwardAPI.Items { - b := &a.VolumeSource.DownwardAPI.Items[j] - if b.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(b.FieldRef) - } - } - } - if a.VolumeSource.ConfigMap != nil { - v1.SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) - } - if a.VolumeSource.AzureDisk != nil { - v1.SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) - } - if a.VolumeSource.Projected != nil { - v1.SetDefaults_ProjectedVolumeSource(a.VolumeSource.Projected) - for j := range a.VolumeSource.Projected.Sources { - b := &a.VolumeSource.Projected.Sources[j] - if b.DownwardAPI != nil { - for k := range b.DownwardAPI.Items { - c := &b.DownwardAPI.Items[k] - if c.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(c.FieldRef) - } - } - } - if b.ServiceAccountToken != nil { - v1.SetDefaults_ServiceAccountTokenProjection(b.ServiceAccountToken) - } - } - } - if a.VolumeSource.ScaleIO != nil { - v1.SetDefaults_ScaleIOVolumeSource(a.VolumeSource.ScaleIO) - } - if a.VolumeSource.Ephemeral != nil { - if a.VolumeSource.Ephemeral.VolumeClaimTemplate != nil { - v1.SetDefaults_PersistentVolumeClaimSpec(&a.VolumeSource.Ephemeral.VolumeClaimTemplate.Spec) - v1.SetDefaults_ResourceList(&a.VolumeSource.Ephemeral.VolumeClaimTemplate.Spec.Resources.Limits) - v1.SetDefaults_ResourceList(&a.VolumeSource.Ephemeral.VolumeClaimTemplate.Spec.Resources.Requests) - } - } - } - for i := range in.Spec.JobTemplate.Spec.Template.Spec.InitContainers { - a := &in.Spec.JobTemplate.Spec.Template.Spec.InitContainers[i] - v1.SetDefaults_Container(a) - for j := range a.Ports { - b := &a.Ports[j] - if b.Protocol == "" { - b.Protocol = "TCP" - } - } - for j := range a.Env { - b := &a.Env[j] - if b.ValueFrom != nil { - if b.ValueFrom.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) - } - } - } - v1.SetDefaults_ResourceList(&a.Resources.Limits) - v1.SetDefaults_ResourceList(&a.Resources.Requests) - if a.LivenessProbe != nil { - v1.SetDefaults_Probe(a.LivenessProbe) - if a.LivenessProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) - } - } - if a.ReadinessProbe != nil { - v1.SetDefaults_Probe(a.ReadinessProbe) - if a.ReadinessProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) - } - } - if a.StartupProbe != nil { - v1.SetDefaults_Probe(a.StartupProbe) - if a.StartupProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.StartupProbe.Handler.HTTPGet) - } - } - if a.Lifecycle != nil { - if a.Lifecycle.PostStart != nil { - if a.Lifecycle.PostStart.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) - } - } - if a.Lifecycle.PreStop != nil { - if a.Lifecycle.PreStop.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) - } - } - } - } - for i := range in.Spec.JobTemplate.Spec.Template.Spec.Containers { - a := &in.Spec.JobTemplate.Spec.Template.Spec.Containers[i] - v1.SetDefaults_Container(a) - for j := range a.Ports { - b := &a.Ports[j] - if b.Protocol == "" { - b.Protocol = "TCP" - } - } - for j := range a.Env { - b := &a.Env[j] - if b.ValueFrom != nil { - if b.ValueFrom.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) - } - } - } - v1.SetDefaults_ResourceList(&a.Resources.Limits) - v1.SetDefaults_ResourceList(&a.Resources.Requests) - if a.LivenessProbe != nil { - v1.SetDefaults_Probe(a.LivenessProbe) - if a.LivenessProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) - } - } - if a.ReadinessProbe != nil { - v1.SetDefaults_Probe(a.ReadinessProbe) - if a.ReadinessProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) - } - } - if a.StartupProbe != nil { - v1.SetDefaults_Probe(a.StartupProbe) - if a.StartupProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.StartupProbe.Handler.HTTPGet) - } - } - if a.Lifecycle != nil { - if a.Lifecycle.PostStart != nil { - if a.Lifecycle.PostStart.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) - } - } - if a.Lifecycle.PreStop != nil { - if a.Lifecycle.PreStop.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) - } - } - } - } - for i := range in.Spec.JobTemplate.Spec.Template.Spec.EphemeralContainers { - a := &in.Spec.JobTemplate.Spec.Template.Spec.EphemeralContainers[i] - v1.SetDefaults_EphemeralContainer(a) - for j := range a.EphemeralContainerCommon.Ports { - b := &a.EphemeralContainerCommon.Ports[j] - if b.Protocol == "" { - b.Protocol = "TCP" - } - } - for j := range a.EphemeralContainerCommon.Env { - b := &a.EphemeralContainerCommon.Env[j] - if b.ValueFrom != nil { - if b.ValueFrom.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) - } - } - } - v1.SetDefaults_ResourceList(&a.EphemeralContainerCommon.Resources.Limits) - v1.SetDefaults_ResourceList(&a.EphemeralContainerCommon.Resources.Requests) - if a.EphemeralContainerCommon.LivenessProbe != nil { - v1.SetDefaults_Probe(a.EphemeralContainerCommon.LivenessProbe) - if a.EphemeralContainerCommon.LivenessProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.LivenessProbe.Handler.HTTPGet) - } - } - if a.EphemeralContainerCommon.ReadinessProbe != nil { - v1.SetDefaults_Probe(a.EphemeralContainerCommon.ReadinessProbe) - if a.EphemeralContainerCommon.ReadinessProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.ReadinessProbe.Handler.HTTPGet) - } - } - if a.EphemeralContainerCommon.StartupProbe != nil { - v1.SetDefaults_Probe(a.EphemeralContainerCommon.StartupProbe) - if a.EphemeralContainerCommon.StartupProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.StartupProbe.Handler.HTTPGet) - } - } - if a.EphemeralContainerCommon.Lifecycle != nil { - if a.EphemeralContainerCommon.Lifecycle.PostStart != nil { - if a.EphemeralContainerCommon.Lifecycle.PostStart.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.Lifecycle.PostStart.HTTPGet) - } - } - if a.EphemeralContainerCommon.Lifecycle.PreStop != nil { - if a.EphemeralContainerCommon.Lifecycle.PreStop.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.Lifecycle.PreStop.HTTPGet) - } - } - } - } - v1.SetDefaults_ResourceList(&in.Spec.JobTemplate.Spec.Template.Spec.Overhead) -} - -func SetObjectDefaults_CronJobList(in *v2alpha1.CronJobList) { - for i := range in.Items { - a := &in.Items[i] - SetObjectDefaults_CronJob(a) - } -} - -func SetObjectDefaults_JobTemplate(in *v2alpha1.JobTemplate) { - v1.SetDefaults_PodSpec(&in.Template.Spec.Template.Spec) - for i := range in.Template.Spec.Template.Spec.Volumes { - a := &in.Template.Spec.Template.Spec.Volumes[i] - v1.SetDefaults_Volume(a) - if a.VolumeSource.HostPath != nil { - v1.SetDefaults_HostPathVolumeSource(a.VolumeSource.HostPath) - } - if a.VolumeSource.Secret != nil { - v1.SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) - } - if a.VolumeSource.ISCSI != nil { - v1.SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) - } - if a.VolumeSource.RBD != nil { - v1.SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) - } - if a.VolumeSource.DownwardAPI != nil { - v1.SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) - for j := range a.VolumeSource.DownwardAPI.Items { - b := &a.VolumeSource.DownwardAPI.Items[j] - if b.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(b.FieldRef) - } - } - } - if a.VolumeSource.ConfigMap != nil { - v1.SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) - } - if a.VolumeSource.AzureDisk != nil { - v1.SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) - } - if a.VolumeSource.Projected != nil { - v1.SetDefaults_ProjectedVolumeSource(a.VolumeSource.Projected) - for j := range a.VolumeSource.Projected.Sources { - b := &a.VolumeSource.Projected.Sources[j] - if b.DownwardAPI != nil { - for k := range b.DownwardAPI.Items { - c := &b.DownwardAPI.Items[k] - if c.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(c.FieldRef) - } - } - } - if b.ServiceAccountToken != nil { - v1.SetDefaults_ServiceAccountTokenProjection(b.ServiceAccountToken) - } - } - } - if a.VolumeSource.ScaleIO != nil { - v1.SetDefaults_ScaleIOVolumeSource(a.VolumeSource.ScaleIO) - } - if a.VolumeSource.Ephemeral != nil { - if a.VolumeSource.Ephemeral.VolumeClaimTemplate != nil { - v1.SetDefaults_PersistentVolumeClaimSpec(&a.VolumeSource.Ephemeral.VolumeClaimTemplate.Spec) - v1.SetDefaults_ResourceList(&a.VolumeSource.Ephemeral.VolumeClaimTemplate.Spec.Resources.Limits) - v1.SetDefaults_ResourceList(&a.VolumeSource.Ephemeral.VolumeClaimTemplate.Spec.Resources.Requests) - } - } - } - for i := range in.Template.Spec.Template.Spec.InitContainers { - a := &in.Template.Spec.Template.Spec.InitContainers[i] - v1.SetDefaults_Container(a) - for j := range a.Ports { - b := &a.Ports[j] - if b.Protocol == "" { - b.Protocol = "TCP" - } - } - for j := range a.Env { - b := &a.Env[j] - if b.ValueFrom != nil { - if b.ValueFrom.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) - } - } - } - v1.SetDefaults_ResourceList(&a.Resources.Limits) - v1.SetDefaults_ResourceList(&a.Resources.Requests) - if a.LivenessProbe != nil { - v1.SetDefaults_Probe(a.LivenessProbe) - if a.LivenessProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) - } - } - if a.ReadinessProbe != nil { - v1.SetDefaults_Probe(a.ReadinessProbe) - if a.ReadinessProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) - } - } - if a.StartupProbe != nil { - v1.SetDefaults_Probe(a.StartupProbe) - if a.StartupProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.StartupProbe.Handler.HTTPGet) - } - } - if a.Lifecycle != nil { - if a.Lifecycle.PostStart != nil { - if a.Lifecycle.PostStart.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) - } - } - if a.Lifecycle.PreStop != nil { - if a.Lifecycle.PreStop.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) - } - } - } - } - for i := range in.Template.Spec.Template.Spec.Containers { - a := &in.Template.Spec.Template.Spec.Containers[i] - v1.SetDefaults_Container(a) - for j := range a.Ports { - b := &a.Ports[j] - if b.Protocol == "" { - b.Protocol = "TCP" - } - } - for j := range a.Env { - b := &a.Env[j] - if b.ValueFrom != nil { - if b.ValueFrom.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) - } - } - } - v1.SetDefaults_ResourceList(&a.Resources.Limits) - v1.SetDefaults_ResourceList(&a.Resources.Requests) - if a.LivenessProbe != nil { - v1.SetDefaults_Probe(a.LivenessProbe) - if a.LivenessProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) - } - } - if a.ReadinessProbe != nil { - v1.SetDefaults_Probe(a.ReadinessProbe) - if a.ReadinessProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) - } - } - if a.StartupProbe != nil { - v1.SetDefaults_Probe(a.StartupProbe) - if a.StartupProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.StartupProbe.Handler.HTTPGet) - } - } - if a.Lifecycle != nil { - if a.Lifecycle.PostStart != nil { - if a.Lifecycle.PostStart.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) - } - } - if a.Lifecycle.PreStop != nil { - if a.Lifecycle.PreStop.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) - } - } - } - } - for i := range in.Template.Spec.Template.Spec.EphemeralContainers { - a := &in.Template.Spec.Template.Spec.EphemeralContainers[i] - v1.SetDefaults_EphemeralContainer(a) - for j := range a.EphemeralContainerCommon.Ports { - b := &a.EphemeralContainerCommon.Ports[j] - if b.Protocol == "" { - b.Protocol = "TCP" - } - } - for j := range a.EphemeralContainerCommon.Env { - b := &a.EphemeralContainerCommon.Env[j] - if b.ValueFrom != nil { - if b.ValueFrom.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) - } - } - } - v1.SetDefaults_ResourceList(&a.EphemeralContainerCommon.Resources.Limits) - v1.SetDefaults_ResourceList(&a.EphemeralContainerCommon.Resources.Requests) - if a.EphemeralContainerCommon.LivenessProbe != nil { - v1.SetDefaults_Probe(a.EphemeralContainerCommon.LivenessProbe) - if a.EphemeralContainerCommon.LivenessProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.LivenessProbe.Handler.HTTPGet) - } - } - if a.EphemeralContainerCommon.ReadinessProbe != nil { - v1.SetDefaults_Probe(a.EphemeralContainerCommon.ReadinessProbe) - if a.EphemeralContainerCommon.ReadinessProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.ReadinessProbe.Handler.HTTPGet) - } - } - if a.EphemeralContainerCommon.StartupProbe != nil { - v1.SetDefaults_Probe(a.EphemeralContainerCommon.StartupProbe) - if a.EphemeralContainerCommon.StartupProbe.Handler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.StartupProbe.Handler.HTTPGet) - } - } - if a.EphemeralContainerCommon.Lifecycle != nil { - if a.EphemeralContainerCommon.Lifecycle.PostStart != nil { - if a.EphemeralContainerCommon.Lifecycle.PostStart.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.Lifecycle.PostStart.HTTPGet) - } - } - if a.EphemeralContainerCommon.Lifecycle.PreStop != nil { - if a.EphemeralContainerCommon.Lifecycle.PreStop.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.Lifecycle.PreStop.HTTPGet) - } - } - } - } - v1.SetDefaults_ResourceList(&in.Template.Spec.Template.Spec.Overhead) -} diff --git a/pkg/controlplane/BUILD b/pkg/controlplane/BUILD index 8ac0f0f2c6c..91295ebfa55 100644 --- a/pkg/controlplane/BUILD +++ b/pkg/controlplane/BUILD @@ -85,7 +85,6 @@ go_library( "//staging/src/k8s.io/api/autoscaling/v2beta2:go_default_library", "//staging/src/k8s.io/api/batch/v1:go_default_library", "//staging/src/k8s.io/api/batch/v1beta1:go_default_library", - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", "//staging/src/k8s.io/api/certificates/v1:go_default_library", "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library", "//staging/src/k8s.io/api/coordination/v1:go_default_library", diff --git a/pkg/controlplane/instance.go b/pkg/controlplane/instance.go index de7d674a7f0..00551b826de 100644 --- a/pkg/controlplane/instance.go +++ b/pkg/controlplane/instance.go @@ -38,7 +38,6 @@ import ( autoscalingapiv2beta2 "k8s.io/api/autoscaling/v2beta2" batchapiv1 "k8s.io/api/batch/v1" batchapiv1beta1 "k8s.io/api/batch/v1beta1" - batchapiv2alpha1 "k8s.io/api/batch/v2alpha1" certificatesapiv1 "k8s.io/api/certificates/v1" certificatesapiv1beta1 "k8s.io/api/certificates/v1beta1" coordinationapiv1 "k8s.io/api/coordination/v1" @@ -710,7 +709,6 @@ func DefaultAPIResourceConfigSource() *serverstorage.ResourceConfig { // disable alpha versions explicitly so we have a full list of what's possible to serve ret.DisableVersions( apiserverinternalv1alpha1.SchemeGroupVersion, - batchapiv2alpha1.SchemeGroupVersion, nodev1alpha1.SchemeGroupVersion, rbacv1alpha1.SchemeGroupVersion, schedulingv1alpha1.SchemeGroupVersion, diff --git a/pkg/registry/batch/cronjob/BUILD b/pkg/registry/batch/cronjob/BUILD index 40cc472645c..90daebb2f1e 100644 --- a/pkg/registry/batch/cronjob/BUILD +++ b/pkg/registry/batch/cronjob/BUILD @@ -19,7 +19,6 @@ go_library( "//pkg/apis/batch:go_default_library", "//pkg/apis/batch/validation:go_default_library", "//staging/src/k8s.io/api/batch/v1beta1:go_default_library", - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library", "//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", "//staging/src/k8s.io/apimachinery/pkg/util/validation/field:go_default_library", diff --git a/pkg/registry/batch/cronjob/strategy.go b/pkg/registry/batch/cronjob/strategy.go index 983932834d7..6d66fda8478 100644 --- a/pkg/registry/batch/cronjob/strategy.go +++ b/pkg/registry/batch/cronjob/strategy.go @@ -20,7 +20,6 @@ import ( "context" batchv1beta1 "k8s.io/api/batch/v1beta1" - batchv2alpha1 "k8s.io/api/batch/v2alpha1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/util/validation/field" @@ -42,7 +41,7 @@ type cronJobStrategy struct { // Strategy is the default logic that applies when creating and updating CronJob objects. var Strategy = cronJobStrategy{legacyscheme.Scheme, names.SimpleNameGenerator} -// DefaultGarbageCollectionPolicy returns OrphanDependents for batch/v1beta1 and batch/v2alpha1 for backwards compatibility, +// DefaultGarbageCollectionPolicy returns OrphanDependents for batch/v1beta1 for backwards compatibility, // and DeleteDependents for all other versions. func (cronJobStrategy) DefaultGarbageCollectionPolicy(ctx context.Context) rest.GarbageCollectionPolicy { var groupVersion schema.GroupVersion @@ -50,7 +49,7 @@ func (cronJobStrategy) DefaultGarbageCollectionPolicy(ctx context.Context) rest. groupVersion = schema.GroupVersion{Group: requestInfo.APIGroup, Version: requestInfo.APIVersion} } switch groupVersion { - case batchv1beta1.SchemeGroupVersion, batchv2alpha1.SchemeGroupVersion: + case batchv1beta1.SchemeGroupVersion: // for back compatibility return rest.OrphanDependents default: diff --git a/pkg/registry/batch/cronjob/strategy_test.go b/pkg/registry/batch/cronjob/strategy_test.go index 7b340661810..5ba88b28e56 100644 --- a/pkg/registry/batch/cronjob/strategy_test.go +++ b/pkg/registry/batch/cronjob/strategy_test.go @@ -96,15 +96,11 @@ func TestCronJobStrategy(t *testing.T) { var ( v1beta1Ctx = genericapirequest.WithRequestInfo(genericapirequest.NewContext(), &genericapirequest.RequestInfo{APIGroup: "batch", APIVersion: "v1beta1", Resource: "cronjobs"}) - v2alpha1Ctx = genericapirequest.WithRequestInfo(genericapirequest.NewContext(), &genericapirequest.RequestInfo{APIGroup: "batch", APIVersion: "v2alpha1", Resource: "cronjobs"}) otherVersionCtx = genericapirequest.WithRequestInfo(genericapirequest.NewContext(), &genericapirequest.RequestInfo{APIGroup: "batch", APIVersion: "v100", Resource: "cronjobs"}) ) if got, want := gcds.DefaultGarbageCollectionPolicy(v1beta1Ctx), rest.OrphanDependents; got != want { t.Errorf("DefaultGarbageCollectionPolicy() = %#v, want %#v", got, want) } - if got, want := gcds.DefaultGarbageCollectionPolicy(v2alpha1Ctx), rest.OrphanDependents; got != want { - t.Errorf("DefaultGarbageCollectionPolicy() = %#v, want %#v", got, want) - } if got, want := gcds.DefaultGarbageCollectionPolicy(otherVersionCtx), rest.DeleteDependents; got != want { t.Errorf("DefaultGarbageCollectionPolicy() = %#v, want %#v", got, want) } diff --git a/pkg/registry/batch/rest/BUILD b/pkg/registry/batch/rest/BUILD index 8d597554ce7..291d24f6416 100644 --- a/pkg/registry/batch/rest/BUILD +++ b/pkg/registry/batch/rest/BUILD @@ -16,7 +16,6 @@ go_library( "//pkg/registry/batch/job/storage:go_default_library", "//staging/src/k8s.io/api/batch/v1:go_default_library", "//staging/src/k8s.io/api/batch/v1beta1:go_default_library", - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", "//staging/src/k8s.io/apiserver/pkg/registry/generic:go_default_library", "//staging/src/k8s.io/apiserver/pkg/registry/rest:go_default_library", "//staging/src/k8s.io/apiserver/pkg/server:go_default_library", diff --git a/pkg/registry/batch/rest/storage_batch.go b/pkg/registry/batch/rest/storage_batch.go index bffa3f2180e..a6ab3921bf3 100644 --- a/pkg/registry/batch/rest/storage_batch.go +++ b/pkg/registry/batch/rest/storage_batch.go @@ -19,7 +19,6 @@ package rest import ( batchapiv1 "k8s.io/api/batch/v1" batchapiv1beta1 "k8s.io/api/batch/v1beta1" - batchapiv2alpha1 "k8s.io/api/batch/v2alpha1" "k8s.io/apiserver/pkg/registry/generic" "k8s.io/apiserver/pkg/registry/rest" genericapiserver "k8s.io/apiserver/pkg/server" @@ -51,13 +50,6 @@ func (p RESTStorageProvider) NewRESTStorage(apiResourceConfigSource serverstorag apiGroupInfo.VersionedResourcesStorageMap[batchapiv1beta1.SchemeGroupVersion.Version] = storageMap } } - if apiResourceConfigSource.VersionEnabled(batchapiv2alpha1.SchemeGroupVersion) { - if storageMap, err := p.v2alpha1Storage(apiResourceConfigSource, restOptionsGetter); err != nil { - return genericapiserver.APIGroupInfo{}, false, err - } else { - apiGroupInfo.VersionedResourcesStorageMap[batchapiv2alpha1.SchemeGroupVersion.Version] = storageMap - } - } return apiGroupInfo, true, nil } @@ -88,19 +80,6 @@ func (p RESTStorageProvider) v1beta1Storage(apiResourceConfigSource serverstorag return storage, err } -func (p RESTStorageProvider) v2alpha1Storage(apiResourceConfigSource serverstorage.APIResourceConfigSource, restOptionsGetter generic.RESTOptionsGetter) (map[string]rest.Storage, error) { - storage := map[string]rest.Storage{} - // cronjobs - cronJobsStorage, cronJobsStatusStorage, err := cronjobstore.NewREST(restOptionsGetter) - if err != nil { - return storage, err - } - storage["cronjobs"] = cronJobsStorage - storage["cronjobs/status"] = cronJobsStatusStorage - - return storage, err -} - func (p RESTStorageProvider) GroupName() string { return batch.GroupName } diff --git a/staging/src/k8s.io/api/BUILD b/staging/src/k8s.io/api/BUILD index 889acd0c0cf..251156750aa 100644 --- a/staging/src/k8s.io/api/BUILD +++ b/staging/src/k8s.io/api/BUILD @@ -22,7 +22,6 @@ go_test( "//staging/src/k8s.io/api/autoscaling/v2beta2:go_default_library", "//staging/src/k8s.io/api/batch/v1:go_default_library", "//staging/src/k8s.io/api/batch/v1beta1:go_default_library", - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", "//staging/src/k8s.io/api/certificates/v1:go_default_library", "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library", "//staging/src/k8s.io/api/coordination/v1:go_default_library", @@ -84,7 +83,6 @@ filegroup( "//staging/src/k8s.io/api/autoscaling/v2beta2:all-srcs", "//staging/src/k8s.io/api/batch/v1:all-srcs", "//staging/src/k8s.io/api/batch/v1beta1:all-srcs", - "//staging/src/k8s.io/api/batch/v2alpha1:all-srcs", "//staging/src/k8s.io/api/certificates/v1:all-srcs", "//staging/src/k8s.io/api/certificates/v1beta1:all-srcs", "//staging/src/k8s.io/api/coordination/v1:all-srcs", diff --git a/staging/src/k8s.io/api/batch/v2alpha1/BUILD b/staging/src/k8s.io/api/batch/v2alpha1/BUILD deleted file mode 100644 index 6c70e67d086..00000000000 --- a/staging/src/k8s.io/api/batch/v2alpha1/BUILD +++ /dev/null @@ -1,41 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = [ - "doc.go", - "generated.pb.go", - "register.go", - "types.go", - "types_swagger_doc_generated.go", - "zz_generated.deepcopy.go", - ], - importmap = "k8s.io/kubernetes/vendor/k8s.io/api/batch/v2alpha1", - importpath = "k8s.io/api/batch/v2alpha1", - deps = [ - "//staging/src/k8s.io/api/batch/v1:go_default_library", - "//staging/src/k8s.io/api/core/v1:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", - "//vendor/github.com/gogo/protobuf/proto:go_default_library", - ], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/staging/src/k8s.io/api/batch/v2alpha1/doc.go b/staging/src/k8s.io/api/batch/v2alpha1/doc.go deleted file mode 100644 index 3044b0c6296..00000000000 --- a/staging/src/k8s.io/api/batch/v2alpha1/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// +k8s:deepcopy-gen=package -// +k8s:protobuf-gen=package -// +k8s:openapi-gen=true - -package v2alpha1 // import "k8s.io/api/batch/v2alpha1" diff --git a/staging/src/k8s.io/api/batch/v2alpha1/generated.pb.go b/staging/src/k8s.io/api/batch/v2alpha1/generated.pb.go deleted file mode 100644 index 16fb819cd0b..00000000000 --- a/staging/src/k8s.io/api/batch/v2alpha1/generated.pb.go +++ /dev/null @@ -1,1725 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: k8s.io/kubernetes/vendor/k8s.io/api/batch/v2alpha1/generated.proto - -package v2alpha1 - -import ( - fmt "fmt" - - io "io" - - proto "github.com/gogo/protobuf/proto" - v11 "k8s.io/api/core/v1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - - math "math" - math_bits "math/bits" - reflect "reflect" - strings "strings" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -func (m *CronJob) Reset() { *m = CronJob{} } -func (*CronJob) ProtoMessage() {} -func (*CronJob) Descriptor() ([]byte, []int) { - return fileDescriptor_5495a0550fe29c46, []int{0} -} -func (m *CronJob) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CronJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil -} -func (m *CronJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_CronJob.Merge(m, src) -} -func (m *CronJob) XXX_Size() int { - return m.Size() -} -func (m *CronJob) XXX_DiscardUnknown() { - xxx_messageInfo_CronJob.DiscardUnknown(m) -} - -var xxx_messageInfo_CronJob proto.InternalMessageInfo - -func (m *CronJobList) Reset() { *m = CronJobList{} } -func (*CronJobList) ProtoMessage() {} -func (*CronJobList) Descriptor() ([]byte, []int) { - return fileDescriptor_5495a0550fe29c46, []int{1} -} -func (m *CronJobList) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CronJobList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil -} -func (m *CronJobList) XXX_Merge(src proto.Message) { - xxx_messageInfo_CronJobList.Merge(m, src) -} -func (m *CronJobList) XXX_Size() int { - return m.Size() -} -func (m *CronJobList) XXX_DiscardUnknown() { - xxx_messageInfo_CronJobList.DiscardUnknown(m) -} - -var xxx_messageInfo_CronJobList proto.InternalMessageInfo - -func (m *CronJobSpec) Reset() { *m = CronJobSpec{} } -func (*CronJobSpec) ProtoMessage() {} -func (*CronJobSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_5495a0550fe29c46, []int{2} -} -func (m *CronJobSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CronJobSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil -} -func (m *CronJobSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_CronJobSpec.Merge(m, src) -} -func (m *CronJobSpec) XXX_Size() int { - return m.Size() -} -func (m *CronJobSpec) XXX_DiscardUnknown() { - xxx_messageInfo_CronJobSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_CronJobSpec proto.InternalMessageInfo - -func (m *CronJobStatus) Reset() { *m = CronJobStatus{} } -func (*CronJobStatus) ProtoMessage() {} -func (*CronJobStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_5495a0550fe29c46, []int{3} -} -func (m *CronJobStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CronJobStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil -} -func (m *CronJobStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_CronJobStatus.Merge(m, src) -} -func (m *CronJobStatus) XXX_Size() int { - return m.Size() -} -func (m *CronJobStatus) XXX_DiscardUnknown() { - xxx_messageInfo_CronJobStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_CronJobStatus proto.InternalMessageInfo - -func (m *JobTemplate) Reset() { *m = JobTemplate{} } -func (*JobTemplate) ProtoMessage() {} -func (*JobTemplate) Descriptor() ([]byte, []int) { - return fileDescriptor_5495a0550fe29c46, []int{4} -} -func (m *JobTemplate) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *JobTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil -} -func (m *JobTemplate) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobTemplate.Merge(m, src) -} -func (m *JobTemplate) XXX_Size() int { - return m.Size() -} -func (m *JobTemplate) XXX_DiscardUnknown() { - xxx_messageInfo_JobTemplate.DiscardUnknown(m) -} - -var xxx_messageInfo_JobTemplate proto.InternalMessageInfo - -func (m *JobTemplateSpec) Reset() { *m = JobTemplateSpec{} } -func (*JobTemplateSpec) ProtoMessage() {} -func (*JobTemplateSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_5495a0550fe29c46, []int{5} -} -func (m *JobTemplateSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *JobTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil -} -func (m *JobTemplateSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobTemplateSpec.Merge(m, src) -} -func (m *JobTemplateSpec) XXX_Size() int { - return m.Size() -} -func (m *JobTemplateSpec) XXX_DiscardUnknown() { - xxx_messageInfo_JobTemplateSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_JobTemplateSpec proto.InternalMessageInfo - -func init() { - proto.RegisterType((*CronJob)(nil), "k8s.io.api.batch.v2alpha1.CronJob") - proto.RegisterType((*CronJobList)(nil), "k8s.io.api.batch.v2alpha1.CronJobList") - proto.RegisterType((*CronJobSpec)(nil), "k8s.io.api.batch.v2alpha1.CronJobSpec") - proto.RegisterType((*CronJobStatus)(nil), "k8s.io.api.batch.v2alpha1.CronJobStatus") - proto.RegisterType((*JobTemplate)(nil), "k8s.io.api.batch.v2alpha1.JobTemplate") - proto.RegisterType((*JobTemplateSpec)(nil), "k8s.io.api.batch.v2alpha1.JobTemplateSpec") -} - -func init() { - proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/batch/v2alpha1/generated.proto", fileDescriptor_5495a0550fe29c46) -} - -var fileDescriptor_5495a0550fe29c46 = []byte{ - // 774 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x94, 0x4d, 0x6f, 0xdb, 0x36, - 0x18, 0xc7, 0x2d, 0xc7, 0x6f, 0xa1, 0x97, 0x2d, 0xd1, 0x86, 0xc4, 0xf3, 0x06, 0xd9, 0x50, 0xb0, - 0xc1, 0x18, 0x36, 0x6a, 0x09, 0x86, 0x61, 0xa7, 0x01, 0x53, 0x86, 0x36, 0x4d, 0x53, 0x34, 0x90, - 0x53, 0xa0, 0x28, 0x82, 0xa2, 0x14, 0x45, 0xdb, 0x8c, 0x25, 0x51, 0x10, 0x29, 0x03, 0xbe, 0xf5, - 0xd6, 0x6b, 0x3f, 0x49, 0x2f, 0xed, 0x87, 0x48, 0x7b, 0xca, 0x31, 0x27, 0xa3, 0x51, 0xbf, 0x45, - 0x4f, 0x85, 0x68, 0xf9, 0x25, 0x7e, 0x49, 0xd2, 0x4b, 0x6e, 0xe2, 0xa3, 0xff, 0xff, 0xc7, 0x87, - 0xcf, 0xf3, 0x90, 0xc0, 0xec, 0xfe, 0xc3, 0x21, 0x65, 0x46, 0x37, 0xb2, 0x49, 0xe8, 0x13, 0x41, - 0xb8, 0xd1, 0x23, 0xbe, 0xc3, 0x42, 0x23, 0xfd, 0x81, 0x02, 0x6a, 0xd8, 0x48, 0xe0, 0x8e, 0xd1, - 0xdb, 0x45, 0x6e, 0xd0, 0x41, 0x3b, 0x46, 0x9b, 0xf8, 0x24, 0x44, 0x82, 0x38, 0x30, 0x08, 0x99, - 0x60, 0xea, 0x8f, 0x43, 0x29, 0x44, 0x01, 0x85, 0x52, 0x0a, 0x47, 0xd2, 0xea, 0x1f, 0x6d, 0x2a, - 0x3a, 0x91, 0x0d, 0x31, 0xf3, 0x8c, 0x36, 0x6b, 0x33, 0x43, 0x3a, 0xec, 0xa8, 0x25, 0x57, 0x72, - 0x21, 0xbf, 0x86, 0xa4, 0xea, 0xf6, 0xfc, 0xa6, 0x73, 0xdb, 0x55, 0xf5, 0x29, 0x11, 0x66, 0x21, - 0x59, 0xa4, 0xf9, 0x6b, 0xa2, 0xf1, 0x10, 0xee, 0x50, 0x9f, 0x84, 0x7d, 0x23, 0xe8, 0xb6, 0x93, - 0x00, 0x37, 0x3c, 0x22, 0xd0, 0x22, 0x97, 0xb1, 0xcc, 0x15, 0x46, 0xbe, 0xa0, 0x1e, 0x99, 0x33, - 0xfc, 0x7d, 0x93, 0x81, 0xe3, 0x0e, 0xf1, 0xd0, 0xac, 0x4f, 0x7f, 0x95, 0x05, 0xc5, 0xbd, 0x90, - 0xf9, 0x07, 0xcc, 0x56, 0x5f, 0x80, 0x52, 0x92, 0x8f, 0x83, 0x04, 0xaa, 0x28, 0x75, 0xa5, 0x51, - 0xde, 0xfd, 0x13, 0x4e, 0x0a, 0x3a, 0xc6, 0xc2, 0xa0, 0xdb, 0x4e, 0x02, 0x1c, 0x26, 0x6a, 0xd8, - 0xdb, 0x81, 0x8f, 0xed, 0x53, 0x82, 0xc5, 0x23, 0x22, 0x90, 0xa9, 0x9e, 0x0d, 0x6a, 0x99, 0x78, - 0x50, 0x03, 0x93, 0x98, 0x35, 0xa6, 0xaa, 0xfb, 0x20, 0xc7, 0x03, 0x82, 0x2b, 0x59, 0x49, 0xff, - 0x15, 0x2e, 0x6d, 0x17, 0x4c, 0x73, 0x6a, 0x06, 0x04, 0x9b, 0xdf, 0xa4, 0xcc, 0x5c, 0xb2, 0xb2, - 0x24, 0x41, 0x3d, 0x02, 0x05, 0x2e, 0x90, 0x88, 0x78, 0x65, 0x45, 0xb2, 0x1a, 0xb7, 0x60, 0x49, - 0xbd, 0xf9, 0x6d, 0x4a, 0x2b, 0x0c, 0xd7, 0x56, 0xca, 0xd1, 0xdf, 0x29, 0xa0, 0x9c, 0x2a, 0x0f, - 0x29, 0x17, 0xea, 0xc9, 0x5c, 0x35, 0xe0, 0xed, 0xaa, 0x91, 0xb8, 0x65, 0x2d, 0xd6, 0xd3, 0x9d, - 0x4a, 0xa3, 0xc8, 0x54, 0x25, 0xee, 0x83, 0x3c, 0x15, 0xc4, 0xe3, 0x95, 0x6c, 0x7d, 0xa5, 0x51, - 0xde, 0xd5, 0x6f, 0x4e, 0xdf, 0x5c, 0x4b, 0x71, 0xf9, 0x07, 0x89, 0xd1, 0x1a, 0xfa, 0xf5, 0x37, - 0xb9, 0x71, 0xda, 0x49, 0x79, 0xd4, 0xdf, 0x41, 0x29, 0x69, 0xb5, 0x13, 0xb9, 0x44, 0xa6, 0xbd, - 0x3a, 0x49, 0xa3, 0x99, 0xc6, 0xad, 0xb1, 0x42, 0x7d, 0x02, 0xb6, 0xb8, 0x40, 0xa1, 0xa0, 0x7e, - 0xfb, 0x7f, 0x82, 0x1c, 0x97, 0xfa, 0xa4, 0x49, 0x30, 0xf3, 0x1d, 0x2e, 0x7b, 0xb4, 0x62, 0xfe, - 0x14, 0x0f, 0x6a, 0x5b, 0xcd, 0xc5, 0x12, 0x6b, 0x99, 0x57, 0x3d, 0x01, 0x1b, 0x98, 0xf9, 0x38, - 0x0a, 0x43, 0xe2, 0xe3, 0xfe, 0x11, 0x73, 0x29, 0xee, 0xcb, 0x46, 0xad, 0x9a, 0x30, 0xcd, 0x66, - 0x63, 0x6f, 0x56, 0xf0, 0x79, 0x51, 0xd0, 0x9a, 0x07, 0xa9, 0xbf, 0x80, 0x22, 0x8f, 0x78, 0x40, - 0x7c, 0xa7, 0x92, 0xab, 0x2b, 0x8d, 0x92, 0x59, 0x8e, 0x07, 0xb5, 0x62, 0x73, 0x18, 0xb2, 0x46, - 0xff, 0x54, 0x04, 0xca, 0xa7, 0xcc, 0x3e, 0x26, 0x5e, 0xe0, 0x22, 0x41, 0x2a, 0x79, 0xd9, 0xc3, - 0xdf, 0xae, 0x29, 0xf4, 0xc1, 0x44, 0x2d, 0xe7, 0xee, 0xfb, 0x34, 0xd5, 0xf2, 0xd4, 0x0f, 0x6b, - 0x9a, 0xa9, 0x3e, 0x07, 0x55, 0x1e, 0x61, 0x4c, 0x38, 0x6f, 0x45, 0xee, 0x01, 0xb3, 0xf9, 0x3e, - 0xe5, 0x82, 0x85, 0xfd, 0x43, 0xea, 0x51, 0x51, 0x29, 0xd4, 0x95, 0x46, 0xde, 0xd4, 0xe2, 0x41, - 0xad, 0xda, 0x5c, 0xaa, 0xb2, 0xae, 0x21, 0xa8, 0x16, 0xd8, 0x6c, 0x21, 0xea, 0x12, 0x67, 0x8e, - 0x5d, 0x94, 0xec, 0x6a, 0x3c, 0xa8, 0x6d, 0xde, 0x5b, 0xa8, 0xb0, 0x96, 0x38, 0xf5, 0x0f, 0x0a, - 0x58, 0xbb, 0x72, 0x23, 0xd4, 0x87, 0xa0, 0x80, 0xb0, 0xa0, 0xbd, 0x64, 0x60, 0x92, 0x61, 0xdc, - 0x9e, 0xae, 0x51, 0xf2, 0xae, 0x4d, 0xee, 0xb8, 0x45, 0x5a, 0x24, 0x69, 0x05, 0x99, 0x5c, 0xa3, - 0xff, 0xa4, 0xd5, 0x4a, 0x11, 0xaa, 0x0b, 0xd6, 0x5d, 0xc4, 0xc5, 0x68, 0xd6, 0x8e, 0xa9, 0x47, - 0x64, 0x97, 0xae, 0x96, 0xfe, 0x9a, 0xeb, 0x93, 0x38, 0xcc, 0x1f, 0xe2, 0x41, 0x6d, 0xfd, 0x70, - 0x86, 0x63, 0xcd, 0x91, 0xf5, 0xf7, 0x0a, 0x98, 0xee, 0xce, 0x1d, 0x3c, 0x61, 0x4f, 0x41, 0x49, - 0x8c, 0x46, 0x2a, 0xfb, 0xd5, 0x23, 0x35, 0xbe, 0x8b, 0xe3, 0x79, 0x1a, 0xd3, 0xf4, 0xb7, 0x0a, - 0xf8, 0x6e, 0x46, 0x7f, 0x07, 0xe7, 0xf9, 0xf7, 0xca, 0x93, 0xfc, 0xf3, 0x82, 0xb3, 0xc8, 0x53, - 0x2c, 0x7b, 0x88, 0x4d, 0x78, 0x76, 0xa9, 0x65, 0xce, 0x2f, 0xb5, 0xcc, 0xc5, 0xa5, 0x96, 0x79, - 0x19, 0x6b, 0xca, 0x59, 0xac, 0x29, 0xe7, 0xb1, 0xa6, 0x5c, 0xc4, 0x9a, 0xf2, 0x31, 0xd6, 0x94, - 0xd7, 0x9f, 0xb4, 0xcc, 0xb3, 0xd2, 0xa8, 0x22, 0x5f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x20, 0x1c, - 0xcf, 0x94, 0xe7, 0x07, 0x00, 0x00, -} - -func (m *CronJob) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CronJob) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CronJob) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - { - size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *CronJobList) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CronJobList) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CronJobList) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Items) > 0 { - for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - { - size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *CronJobSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CronJobSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CronJobSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.FailedJobsHistoryLimit != nil { - i = encodeVarintGenerated(dAtA, i, uint64(*m.FailedJobsHistoryLimit)) - i-- - dAtA[i] = 0x38 - } - if m.SuccessfulJobsHistoryLimit != nil { - i = encodeVarintGenerated(dAtA, i, uint64(*m.SuccessfulJobsHistoryLimit)) - i-- - dAtA[i] = 0x30 - } - { - size, err := m.JobTemplate.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - if m.Suspend != nil { - i-- - if *m.Suspend { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - i -= len(m.ConcurrencyPolicy) - copy(dAtA[i:], m.ConcurrencyPolicy) - i = encodeVarintGenerated(dAtA, i, uint64(len(m.ConcurrencyPolicy))) - i-- - dAtA[i] = 0x1a - if m.StartingDeadlineSeconds != nil { - i = encodeVarintGenerated(dAtA, i, uint64(*m.StartingDeadlineSeconds)) - i-- - dAtA[i] = 0x10 - } - i -= len(m.Schedule) - copy(dAtA[i:], m.Schedule) - i = encodeVarintGenerated(dAtA, i, uint64(len(m.Schedule))) - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *CronJobStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CronJobStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CronJobStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.LastScheduleTime != nil { - { - size, err := m.LastScheduleTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if len(m.Active) > 0 { - for iNdEx := len(m.Active) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Active[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *JobTemplate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *JobTemplate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *JobTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Template.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - { - size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *JobTemplateSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *JobTemplateSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *JobTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - { - size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { - offset -= sovGenerated(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *CronJob) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.ObjectMeta.Size() - n += 1 + l + sovGenerated(uint64(l)) - l = m.Spec.Size() - n += 1 + l + sovGenerated(uint64(l)) - l = m.Status.Size() - n += 1 + l + sovGenerated(uint64(l)) - return n -} - -func (m *CronJobList) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.ListMeta.Size() - n += 1 + l + sovGenerated(uint64(l)) - if len(m.Items) > 0 { - for _, e := range m.Items { - l = e.Size() - n += 1 + l + sovGenerated(uint64(l)) - } - } - return n -} - -func (m *CronJobSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Schedule) - n += 1 + l + sovGenerated(uint64(l)) - if m.StartingDeadlineSeconds != nil { - n += 1 + sovGenerated(uint64(*m.StartingDeadlineSeconds)) - } - l = len(m.ConcurrencyPolicy) - n += 1 + l + sovGenerated(uint64(l)) - if m.Suspend != nil { - n += 2 - } - l = m.JobTemplate.Size() - n += 1 + l + sovGenerated(uint64(l)) - if m.SuccessfulJobsHistoryLimit != nil { - n += 1 + sovGenerated(uint64(*m.SuccessfulJobsHistoryLimit)) - } - if m.FailedJobsHistoryLimit != nil { - n += 1 + sovGenerated(uint64(*m.FailedJobsHistoryLimit)) - } - return n -} - -func (m *CronJobStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Active) > 0 { - for _, e := range m.Active { - l = e.Size() - n += 1 + l + sovGenerated(uint64(l)) - } - } - if m.LastScheduleTime != nil { - l = m.LastScheduleTime.Size() - n += 1 + l + sovGenerated(uint64(l)) - } - return n -} - -func (m *JobTemplate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.ObjectMeta.Size() - n += 1 + l + sovGenerated(uint64(l)) - l = m.Template.Size() - n += 1 + l + sovGenerated(uint64(l)) - return n -} - -func (m *JobTemplateSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.ObjectMeta.Size() - n += 1 + l + sovGenerated(uint64(l)) - l = m.Spec.Size() - n += 1 + l + sovGenerated(uint64(l)) - return n -} - -func sovGenerated(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozGenerated(x uint64) (n int) { - return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *CronJob) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CronJob{`, - `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`, - `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "CronJobSpec", "CronJobSpec", 1), `&`, ``, 1) + `,`, - `Status:` + strings.Replace(strings.Replace(this.Status.String(), "CronJobStatus", "CronJobStatus", 1), `&`, ``, 1) + `,`, - `}`, - }, "") - return s -} -func (this *CronJobList) String() string { - if this == nil { - return "nil" - } - repeatedStringForItems := "[]CronJob{" - for _, f := range this.Items { - repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "CronJob", "CronJob", 1), `&`, ``, 1) + "," - } - repeatedStringForItems += "}" - s := strings.Join([]string{`&CronJobList{`, - `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`, - `Items:` + repeatedStringForItems + `,`, - `}`, - }, "") - return s -} -func (this *CronJobSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CronJobSpec{`, - `Schedule:` + fmt.Sprintf("%v", this.Schedule) + `,`, - `StartingDeadlineSeconds:` + valueToStringGenerated(this.StartingDeadlineSeconds) + `,`, - `ConcurrencyPolicy:` + fmt.Sprintf("%v", this.ConcurrencyPolicy) + `,`, - `Suspend:` + valueToStringGenerated(this.Suspend) + `,`, - `JobTemplate:` + strings.Replace(strings.Replace(this.JobTemplate.String(), "JobTemplateSpec", "JobTemplateSpec", 1), `&`, ``, 1) + `,`, - `SuccessfulJobsHistoryLimit:` + valueToStringGenerated(this.SuccessfulJobsHistoryLimit) + `,`, - `FailedJobsHistoryLimit:` + valueToStringGenerated(this.FailedJobsHistoryLimit) + `,`, - `}`, - }, "") - return s -} -func (this *CronJobStatus) String() string { - if this == nil { - return "nil" - } - repeatedStringForActive := "[]ObjectReference{" - for _, f := range this.Active { - repeatedStringForActive += fmt.Sprintf("%v", f) + "," - } - repeatedStringForActive += "}" - s := strings.Join([]string{`&CronJobStatus{`, - `Active:` + repeatedStringForActive + `,`, - `LastScheduleTime:` + strings.Replace(fmt.Sprintf("%v", this.LastScheduleTime), "Time", "v1.Time", 1) + `,`, - `}`, - }, "") - return s -} -func (this *JobTemplate) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&JobTemplate{`, - `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`, - `Template:` + strings.Replace(strings.Replace(this.Template.String(), "JobTemplateSpec", "JobTemplateSpec", 1), `&`, ``, 1) + `,`, - `}`, - }, "") - return s -} -func (this *JobTemplateSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&JobTemplateSpec{`, - `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`, - `Spec:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Spec), "JobSpec", "v12.JobSpec", 1), `&`, ``, 1) + `,`, - `}`, - }, "") - return s -} -func valueToStringGenerated(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *CronJob) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CronJob: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CronJob: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenerated(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenerated - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CronJobList) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CronJobList: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CronJobList: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Items = append(m.Items, CronJob{}) - if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenerated(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenerated - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CronJobSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CronJobSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CronJobSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Schedule", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Schedule = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartingDeadlineSeconds", wireType) - } - var v int64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.StartingDeadlineSeconds = &v - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConcurrencyPolicy", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConcurrencyPolicy = ConcurrencyPolicy(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Suspend", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - b := bool(v != 0) - m.Suspend = &b - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field JobTemplate", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.JobTemplate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SuccessfulJobsHistoryLimit", wireType) - } - var v int32 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.SuccessfulJobsHistoryLimit = &v - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FailedJobsHistoryLimit", wireType) - } - var v int32 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.FailedJobsHistoryLimit = &v - default: - iNdEx = preIndex - skippy, err := skipGenerated(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenerated - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CronJobStatus) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CronJobStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CronJobStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Active", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Active = append(m.Active, v11.ObjectReference{}) - if err := m.Active[len(m.Active)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastScheduleTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastScheduleTime == nil { - m.LastScheduleTime = &v1.Time{} - } - if err := m.LastScheduleTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenerated(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenerated - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *JobTemplate) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: JobTemplate: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: JobTemplate: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenerated(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenerated - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *JobTemplateSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: JobTemplateSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: JobTemplateSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenerated(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenerated - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipGenerated(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenerated - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenerated - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenerated - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthGenerated - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupGenerated - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthGenerated - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") -) diff --git a/staging/src/k8s.io/api/batch/v2alpha1/generated.proto b/staging/src/k8s.io/api/batch/v2alpha1/generated.proto deleted file mode 100644 index f538d50cd9c..00000000000 --- a/staging/src/k8s.io/api/batch/v2alpha1/generated.proto +++ /dev/null @@ -1,135 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - - -// This file was autogenerated by go-to-protobuf. Do not edit it manually! - -syntax = "proto2"; - -package k8s.io.api.batch.v2alpha1; - -import "k8s.io/api/batch/v1/generated.proto"; -import "k8s.io/api/core/v1/generated.proto"; -import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/apimachinery/pkg/runtime/generated.proto"; -import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; - -// Package-wide variables from generator "generated". -option go_package = "v2alpha1"; - -// CronJob represents the configuration of a single cron job. -message CronJob { - // Standard object's metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; - - // Specification of the desired behavior of a cron job, including the schedule. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - // +optional - optional CronJobSpec spec = 2; - - // Current status of a cron job. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - // +optional - optional CronJobStatus status = 3; -} - -// CronJobList is a collection of cron jobs. -message CronJobList { - // Standard list metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; - - // items is the list of CronJobs. - repeated CronJob items = 2; -} - -// CronJobSpec describes how the job execution will look like and when it will actually run. -message CronJobSpec { - // The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. - optional string schedule = 1; - - // Optional deadline in seconds for starting the job if it misses scheduled - // time for any reason. Missed jobs executions will be counted as failed ones. - // +optional - optional int64 startingDeadlineSeconds = 2; - - // Specifies how to treat concurrent executions of a Job. - // Valid values are: - // - "Allow" (default): allows CronJobs to run concurrently; - // - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - // - "Replace": cancels currently running job and replaces it with a new one - // +optional - optional string concurrencyPolicy = 3; - - // This flag tells the controller to suspend subsequent executions, it does - // not apply to already started executions. Defaults to false. - // +optional - optional bool suspend = 4; - - // Specifies the job that will be created when executing a CronJob. - optional JobTemplateSpec jobTemplate = 5; - - // The number of successful finished jobs to retain. - // This is a pointer to distinguish between explicit zero and not specified. - // +optional - optional int32 successfulJobsHistoryLimit = 6; - - // The number of failed finished jobs to retain. - // This is a pointer to distinguish between explicit zero and not specified. - // +optional - optional int32 failedJobsHistoryLimit = 7; -} - -// CronJobStatus represents the current state of a cron job. -message CronJobStatus { - // A list of pointers to currently running jobs. - // +optional - repeated k8s.io.api.core.v1.ObjectReference active = 1; - - // Information when was the last time the job was successfully scheduled. - // +optional - optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScheduleTime = 4; -} - -// JobTemplate describes a template for creating copies of a predefined pod. -message JobTemplate { - // Standard object's metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; - - // Defines jobs that will be created from this template. - // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - // +optional - optional JobTemplateSpec template = 2; -} - -// JobTemplateSpec describes the data a Job should have when created from a template -message JobTemplateSpec { - // Standard object's metadata of the jobs created from this template. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; - - // Specification of the desired behavior of the job. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - // +optional - optional k8s.io.api.batch.v1.JobSpec spec = 2; -} - diff --git a/staging/src/k8s.io/api/batch/v2alpha1/register.go b/staging/src/k8s.io/api/batch/v2alpha1/register.go deleted file mode 100644 index ac7fa5087a9..00000000000 --- a/staging/src/k8s.io/api/batch/v2alpha1/register.go +++ /dev/null @@ -1,53 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v2alpha1 - -import ( - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -// GroupName is the group name use in this package -const GroupName = "batch" - -// SchemeGroupVersion is group version used to register these objects -var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v2alpha1"} - -// Resource takes an unqualified resource and returns a Group qualified GroupResource -func Resource(resource string) schema.GroupResource { - return SchemeGroupVersion.WithResource(resource).GroupResource() -} - -var ( - // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. - // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. - SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) - localSchemeBuilder = &SchemeBuilder - AddToScheme = localSchemeBuilder.AddToScheme -) - -// Adds the list of known types to the given scheme. -func addKnownTypes(scheme *runtime.Scheme) error { - scheme.AddKnownTypes(SchemeGroupVersion, - &JobTemplate{}, - &CronJob{}, - &CronJobList{}, - ) - metav1.AddToGroupVersion(scheme, SchemeGroupVersion) - return nil -} diff --git a/staging/src/k8s.io/api/batch/v2alpha1/types.go b/staging/src/k8s.io/api/batch/v2alpha1/types.go deleted file mode 100644 index 465e614aec3..00000000000 --- a/staging/src/k8s.io/api/batch/v2alpha1/types.go +++ /dev/null @@ -1,156 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v2alpha1 - -import ( - batchv1 "k8s.io/api/batch/v1" - "k8s.io/api/core/v1" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// JobTemplate describes a template for creating copies of a predefined pod. -type JobTemplate struct { - metav1.TypeMeta `json:",inline"` - // Standard object's metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // Defines jobs that will be created from this template. - // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - // +optional - Template JobTemplateSpec `json:"template,omitempty" protobuf:"bytes,2,opt,name=template"` -} - -// JobTemplateSpec describes the data a Job should have when created from a template -type JobTemplateSpec struct { - // Standard object's metadata of the jobs created from this template. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // Specification of the desired behavior of the job. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - // +optional - Spec batchv1.JobSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` -} - -// +genclient -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// CronJob represents the configuration of a single cron job. -type CronJob struct { - metav1.TypeMeta `json:",inline"` - // Standard object's metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // Specification of the desired behavior of a cron job, including the schedule. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - // +optional - Spec CronJobSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` - - // Current status of a cron job. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - // +optional - Status CronJobStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` -} - -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// CronJobList is a collection of cron jobs. -type CronJobList struct { - metav1.TypeMeta `json:",inline"` - - // Standard list metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // items is the list of CronJobs. - Items []CronJob `json:"items" protobuf:"bytes,2,rep,name=items"` -} - -// CronJobSpec describes how the job execution will look like and when it will actually run. -type CronJobSpec struct { - - // The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. - Schedule string `json:"schedule" protobuf:"bytes,1,opt,name=schedule"` - - // Optional deadline in seconds for starting the job if it misses scheduled - // time for any reason. Missed jobs executions will be counted as failed ones. - // +optional - StartingDeadlineSeconds *int64 `json:"startingDeadlineSeconds,omitempty" protobuf:"varint,2,opt,name=startingDeadlineSeconds"` - - // Specifies how to treat concurrent executions of a Job. - // Valid values are: - // - "Allow" (default): allows CronJobs to run concurrently; - // - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - // - "Replace": cancels currently running job and replaces it with a new one - // +optional - ConcurrencyPolicy ConcurrencyPolicy `json:"concurrencyPolicy,omitempty" protobuf:"bytes,3,opt,name=concurrencyPolicy,casttype=ConcurrencyPolicy"` - - // This flag tells the controller to suspend subsequent executions, it does - // not apply to already started executions. Defaults to false. - // +optional - Suspend *bool `json:"suspend,omitempty" protobuf:"varint,4,opt,name=suspend"` - - // Specifies the job that will be created when executing a CronJob. - JobTemplate JobTemplateSpec `json:"jobTemplate" protobuf:"bytes,5,opt,name=jobTemplate"` - - // The number of successful finished jobs to retain. - // This is a pointer to distinguish between explicit zero and not specified. - // +optional - SuccessfulJobsHistoryLimit *int32 `json:"successfulJobsHistoryLimit,omitempty" protobuf:"varint,6,opt,name=successfulJobsHistoryLimit"` - - // The number of failed finished jobs to retain. - // This is a pointer to distinguish between explicit zero and not specified. - // +optional - FailedJobsHistoryLimit *int32 `json:"failedJobsHistoryLimit,omitempty" protobuf:"varint,7,opt,name=failedJobsHistoryLimit"` -} - -// ConcurrencyPolicy describes how the job will be handled. -// Only one of the following concurrent policies may be specified. -// If none of the following policies is specified, the default one -// is AllowConcurrent. -type ConcurrencyPolicy string - -const ( - // AllowConcurrent allows CronJobs to run concurrently. - AllowConcurrent ConcurrencyPolicy = "Allow" - - // ForbidConcurrent forbids concurrent runs, skipping next run if previous - // hasn't finished yet. - ForbidConcurrent ConcurrencyPolicy = "Forbid" - - // ReplaceConcurrent cancels currently running job and replaces it with a new one. - ReplaceConcurrent ConcurrencyPolicy = "Replace" -) - -// CronJobStatus represents the current state of a cron job. -type CronJobStatus struct { - // A list of pointers to currently running jobs. - // +optional - Active []v1.ObjectReference `json:"active,omitempty" protobuf:"bytes,1,rep,name=active"` - - // Information when was the last time the job was successfully scheduled. - // +optional - LastScheduleTime *metav1.Time `json:"lastScheduleTime,omitempty" protobuf:"bytes,4,opt,name=lastScheduleTime"` -} diff --git a/staging/src/k8s.io/api/batch/v2alpha1/types_swagger_doc_generated.go b/staging/src/k8s.io/api/batch/v2alpha1/types_swagger_doc_generated.go deleted file mode 100644 index bc80eca48f0..00000000000 --- a/staging/src/k8s.io/api/batch/v2alpha1/types_swagger_doc_generated.go +++ /dev/null @@ -1,96 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v2alpha1 - -// This file contains a collection of methods that can be used from go-restful to -// generate Swagger API documentation for its models. Please read this PR for more -// information on the implementation: https://github.com/emicklei/go-restful/pull/215 -// -// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if -// they are on one line! For multiple line or blocks that you want to ignore use ---. -// Any context after a --- is ignored. -// -// Those methods can be generated by using hack/update-generated-swagger-docs.sh - -// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT. -var map_CronJob = map[string]string{ - "": "CronJob represents the configuration of a single cron job.", - "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - "spec": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", - "status": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", -} - -func (CronJob) SwaggerDoc() map[string]string { - return map_CronJob -} - -var map_CronJobList = map[string]string{ - "": "CronJobList is a collection of cron jobs.", - "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - "items": "items is the list of CronJobs.", -} - -func (CronJobList) SwaggerDoc() map[string]string { - return map_CronJobList -} - -var map_CronJobSpec = map[string]string{ - "": "CronJobSpec describes how the job execution will look like and when it will actually run.", - "schedule": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", - "startingDeadlineSeconds": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "concurrencyPolicy": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", - "suspend": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "jobTemplate": "Specifies the job that will be created when executing a CronJob.", - "successfulJobsHistoryLimit": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "failedJobsHistoryLimit": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", -} - -func (CronJobSpec) SwaggerDoc() map[string]string { - return map_CronJobSpec -} - -var map_CronJobStatus = map[string]string{ - "": "CronJobStatus represents the current state of a cron job.", - "active": "A list of pointers to currently running jobs.", - "lastScheduleTime": "Information when was the last time the job was successfully scheduled.", -} - -func (CronJobStatus) SwaggerDoc() map[string]string { - return map_CronJobStatus -} - -var map_JobTemplate = map[string]string{ - "": "JobTemplate describes a template for creating copies of a predefined pod.", - "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - "template": "Defines jobs that will be created from this template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", -} - -func (JobTemplate) SwaggerDoc() map[string]string { - return map_JobTemplate -} - -var map_JobTemplateSpec = map[string]string{ - "": "JobTemplateSpec describes the data a Job should have when created from a template", - "metadata": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - "spec": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", -} - -func (JobTemplateSpec) SwaggerDoc() map[string]string { - return map_JobTemplateSpec -} - -// AUTO-GENERATED FUNCTIONS END HERE diff --git a/staging/src/k8s.io/api/batch/v2alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/batch/v2alpha1/zz_generated.deepcopy.go deleted file mode 100644 index 1b03f6745cb..00000000000 --- a/staging/src/k8s.io/api/batch/v2alpha1/zz_generated.deepcopy.go +++ /dev/null @@ -1,194 +0,0 @@ -// +build !ignore_autogenerated - -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by deepcopy-gen. DO NOT EDIT. - -package v2alpha1 - -import ( - v1 "k8s.io/api/core/v1" - runtime "k8s.io/apimachinery/pkg/runtime" -) - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CronJob) DeepCopyInto(out *CronJob) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob. -func (in *CronJob) DeepCopy() *CronJob { - if in == nil { - return nil - } - out := new(CronJob) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CronJob) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CronJobList) DeepCopyInto(out *CronJobList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]CronJob, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList. -func (in *CronJobList) DeepCopy() *CronJobList { - if in == nil { - return nil - } - out := new(CronJobList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CronJobList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) { - *out = *in - if in.StartingDeadlineSeconds != nil { - in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds - *out = new(int64) - **out = **in - } - if in.Suspend != nil { - in, out := &in.Suspend, &out.Suspend - *out = new(bool) - **out = **in - } - in.JobTemplate.DeepCopyInto(&out.JobTemplate) - if in.SuccessfulJobsHistoryLimit != nil { - in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit - *out = new(int32) - **out = **in - } - if in.FailedJobsHistoryLimit != nil { - in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit - *out = new(int32) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec. -func (in *CronJobSpec) DeepCopy() *CronJobSpec { - if in == nil { - return nil - } - out := new(CronJobSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) { - *out = *in - if in.Active != nil { - in, out := &in.Active, &out.Active - *out = make([]v1.ObjectReference, len(*in)) - copy(*out, *in) - } - if in.LastScheduleTime != nil { - in, out := &in.LastScheduleTime, &out.LastScheduleTime - *out = (*in).DeepCopy() - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus. -func (in *CronJobStatus) DeepCopy() *CronJobStatus { - if in == nil { - return nil - } - out := new(CronJobStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JobTemplate) DeepCopyInto(out *JobTemplate) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Template.DeepCopyInto(&out.Template) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate. -func (in *JobTemplate) DeepCopy() *JobTemplate { - if in == nil { - return nil - } - out := new(JobTemplate) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *JobTemplate) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) { - *out = *in - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec. -func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec { - if in == nil { - return nil - } - out := new(JobTemplateSpec) - in.DeepCopyInto(out) - return out -} diff --git a/staging/src/k8s.io/api/roundtrip_test.go b/staging/src/k8s.io/api/roundtrip_test.go index ffdf90f657e..64d0d1a0a28 100644 --- a/staging/src/k8s.io/api/roundtrip_test.go +++ b/staging/src/k8s.io/api/roundtrip_test.go @@ -37,7 +37,6 @@ import ( autoscalingv2beta2 "k8s.io/api/autoscaling/v2beta2" batchv1 "k8s.io/api/batch/v1" batchv1beta1 "k8s.io/api/batch/v1beta1" - batchv2alpha1 "k8s.io/api/batch/v2alpha1" certificatesv1 "k8s.io/api/certificates/v1" certificatesv1beta1 "k8s.io/api/certificates/v1beta1" coordinationv1 "k8s.io/api/coordination/v1" @@ -87,7 +86,6 @@ var groups = []runtime.SchemeBuilder{ autoscalingv1.SchemeBuilder, autoscalingv2beta1.SchemeBuilder, autoscalingv2beta2.SchemeBuilder, - batchv2alpha1.SchemeBuilder, batchv1beta1.SchemeBuilder, batchv1.SchemeBuilder, certificatesv1.SchemeBuilder, diff --git a/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.CronJob.json b/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.CronJob.json deleted file mode 100644 index ff531406f48..00000000000 --- a/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.CronJob.json +++ /dev/null @@ -1,1544 +0,0 @@ -{ - "kind": "CronJob", - "apiVersion": "batch/v2alpha1", - "metadata": { - "name": "2", - "generateName": "3", - "namespace": "4", - "selfLink": "5", - "uid": "7", - "resourceVersion": "11042405498087606203", - "generation": 8071137005907523419, - "creationTimestamp": null, - "deletionGracePeriodSeconds": -4955867275792137171, - "labels": { - "7": "8" - }, - "annotations": { - "9": "10" - }, - "ownerReferences": [ - { - "apiVersion": "11", - "kind": "12", - "name": "13", - "uid": "Dz廔ȇ{sŊƏp", - "controller": false, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "14" - ], - "clusterName": "15", - "managedFields": [ - { - "manager": "16", - "operation": "鐊唊飙Ş-U圴÷a/ɔ}摁(湗Ć]", - "apiVersion": "17", - "fieldsType": "18" - } - ] - }, - "spec": { - "schedule": "19", - "startingDeadlineSeconds": -2555947251840004808, - "concurrencyPolicy": "Hr鯹)晿\u003co,c鮽ort昍řČ扷5Ɨ", - "suspend": true, - "jobTemplate": { - "metadata": { - "name": "20", - "generateName": "21", - "namespace": "22", - "selfLink": "23", - "uid": "^苣", - "resourceVersion": "1092536316763508004", - "generation": 3798025802092444428, - "creationTimestamp": null, - "deletionGracePeriodSeconds": -6114802437535409255, - "labels": { - "25": "26" - }, - "annotations": { - "27": "28" - }, - "ownerReferences": [ - { - "apiVersion": "29", - "kind": "30", - "name": "31", - "uid": "憍峕?狱³-Ǐ忄*", - "controller": false, - "blockOwnerDeletion": false - } - ], - "finalizers": [ - "32" - ], - "clusterName": "33", - "managedFields": [ - { - "manager": "34", - "operation": "ȎțêɘIJ斬³;Ơ歿", - "apiVersion": "35", - "fieldsType": "36" - } - ] - }, - "spec": { - "parallelism": -856030588, - "completions": -106888179, - "activeDeadlineSeconds": -1483125035702892746, - "backoffLimit": -1822122846, - "selector": { - "matchLabels": { - "2_kS91.e5K-_e63_-_3-n-_-__3u-.__P__.7U-Uo_4_-D7r__.am6-4_WE-_T": "cd-2.-__E_Sv__26KX_R_.-.Nth._--S_4DAm" - }, - "matchExpressions": [ - { - "key": "rnr", - "operator": "DoesNotExist" - } - ] - }, - "manualSelector": true, - "template": { - "metadata": { - "name": "43", - "generateName": "44", - "namespace": "45", - "selfLink": "46", - "uid": "A", - "resourceVersion": "13282108741396501211", - "generation": -1988464041375677738, - "creationTimestamp": null, - "deletionGracePeriodSeconds": -961038652544818647, - "labels": { - "48": "49" - }, - "annotations": { - "50": "51" - }, - "ownerReferences": [ - { - "apiVersion": "52", - "kind": "53", - "name": "54", - "uid": "a縳讋ɮ衺勽Ƙq/Ź u衲\u003c¿燥ǖ_è", - "controller": false, - "blockOwnerDeletion": false - } - ], - "finalizers": [ - "55" - ], - "clusterName": "56", - "managedFields": [ - { - "manager": "57", - "operation": "聻鎥ʟ\u003c$洅ɹ7\\弌Þ帺萸", - "apiVersion": "58", - "fieldsType": "59" - } - ] - }, - "spec": { - "volumes": [ - { - "name": "60", - "hostPath": { - "path": "61", - "type": "j剐'宣I拍N嚳ķȗ" - }, - "emptyDir": { - "medium": "捵TwMȗ礼2ħ籦ö嗏ʑ\u003e季Cʖ畬", - "sizeLimit": "347" - }, - "gcePersistentDisk": { - "pdName": "62", - "fsType": "63", - "partition": 1399152294, - "readOnly": true - }, - "awsElasticBlockStore": { - "volumeID": "64", - "fsType": "65", - "partition": -1853411528 - }, - "gitRepo": { - "repository": "66", - "revision": "67", - "directory": "68" - }, - "secret": { - "secretName": "69", - "items": [ - { - "key": "70", - "path": "71", - "mode": 1395607230 - } - ], - "defaultMode": -1852451720, - "optional": true - }, - "nfs": { - "server": "72", - "path": "73" - }, - "iscsi": { - "targetPortal": "74", - "iqn": "75", - "lun": -1483417237, - "iscsiInterface": "76", - "fsType": "77", - "portals": [ - "78" - ], - "secretRef": { - "name": "79" - }, - "initiatorName": "80" - }, - "glusterfs": { - "endpoints": "81", - "path": "82", - "readOnly": true - }, - "persistentVolumeClaim": { - "claimName": "83", - "readOnly": true - }, - "rbd": { - "monitors": [ - "84" - ], - "image": "85", - "fsType": "86", - "pool": "87", - "user": "88", - "keyring": "89", - "secretRef": { - "name": "90" - }, - "readOnly": true - }, - "flexVolume": { - "driver": "91", - "fsType": "92", - "secretRef": { - "name": "93" - }, - "options": { - "94": "95" - } - }, - "cinder": { - "volumeID": "96", - "fsType": "97", - "secretRef": { - "name": "98" - } - }, - "cephfs": { - "monitors": [ - "99" - ], - "path": "100", - "user": "101", - "secretFile": "102", - "secretRef": { - "name": "103" - }, - "readOnly": true - }, - "flocker": { - "datasetName": "104", - "datasetUUID": "105" - }, - "downwardAPI": { - "items": [ - { - "path": "106", - "fieldRef": { - "apiVersion": "107", - "fieldPath": "108" - }, - "resourceFieldRef": { - "containerName": "109", - "resource": "110", - "divisor": "52" - }, - "mode": -1011172037 - } - ], - "defaultMode": -1775926229 - }, - "fc": { - "targetWWNs": [ - "111" - ], - "lun": -740816174, - "fsType": "112", - "wwids": [ - "113" - ] - }, - "azureFile": { - "secretName": "114", - "shareName": "115" - }, - "configMap": { - "name": "116", - "items": [ - { - "key": "117", - "path": "118", - "mode": 1793473487 - } - ], - "defaultMode": -347579237, - "optional": false - }, - "vsphereVolume": { - "volumePath": "119", - "fsType": "120", - "storagePolicyName": "121", - "storagePolicyID": "122" - }, - "quobyte": { - "registry": "123", - "volume": "124", - "readOnly": true, - "user": "125", - "group": "126", - "tenant": "127" - }, - "azureDisk": { - "diskName": "128", - "diskURI": "129", - "cachingMode": "A3fƻfʣ繡楙¯", - "fsType": "130", - "readOnly": true, - "kind": "勗E濞偘1ɩÅ議Ǹ轺@)蓳嗘TʡȂ" - }, - "photonPersistentDisk": { - "pdID": "131", - "fsType": "132" - }, - "projected": { - "sources": [ - { - "secret": { - "name": "133", - "items": [ - { - "key": "134", - "path": "135", - "mode": 550215822 - } - ], - "optional": false - }, - "downwardAPI": { - "items": [ - { - "path": "136", - "fieldRef": { - "apiVersion": "137", - "fieldPath": "138" - }, - "resourceFieldRef": { - "containerName": "139", - "resource": "140", - "divisor": "618" - }, - "mode": 1525389481 - } - ] - }, - "configMap": { - "name": "141", - "items": [ - { - "key": "142", - "path": "143", - "mode": -1249460160 - } - ], - "optional": false - }, - "serviceAccountToken": { - "audience": "144", - "expirationSeconds": -8988970531898753887, - "path": "145" - } - } - ], - "defaultMode": -1332301579 - }, - "portworxVolume": { - "volumeID": "146", - "fsType": "147" - }, - "scaleIO": { - "gateway": "148", - "system": "149", - "secretRef": { - "name": "150" - }, - "protectionDomain": "151", - "storagePool": "152", - "storageMode": "153", - "volumeName": "154", - "fsType": "155", - "readOnly": true - }, - "storageos": { - "volumeName": "156", - "volumeNamespace": "157", - "fsType": "158", - "readOnly": true, - "secretRef": { - "name": "159" - } - }, - "csi": { - "driver": "160", - "readOnly": false, - "fsType": "161", - "volumeAttributes": { - "162": "163" - }, - "nodePublishSecretRef": { - "name": "164" - } - }, - "ephemeral": { - "volumeClaimTemplate": { - "metadata": { - "name": "165", - "generateName": "166", - "namespace": "167", - "selfLink": "168", - "uid": "A徙ɶɊł/擇ɦĽ胚", - "resourceVersion": "4447340384943270560", - "generation": -6008930988505485536, - "creationTimestamp": null, - "deletionGracePeriodSeconds": 3218160964766401208, - "labels": { - "170": "171" - }, - "annotations": { - "172": "173" - }, - "ownerReferences": [ - { - "apiVersion": "174", - "kind": "175", - "name": "176", - "uid": "ɜa頢ƛƟ)ÙæNǚ", - "controller": true, - "blockOwnerDeletion": false - } - ], - "finalizers": [ - "177" - ], - "clusterName": "178", - "managedFields": [ - { - "manager": "179", - "operation": "quA?瞲Ť倱\u003cįXŋ", - "apiVersion": "180", - "fieldsType": "181" - } - ] - }, - "spec": { - "accessModes": [ - "厶耈 T衧ȇe媹Hǝ呮}臷" - ], - "selector": { - "matchLabels": { - "5P.-i.Fg.Cs_.w": "4_2IN..3O4y..-W.5w9-Wm_AO-l8VKLyHA_.-F_E2_QOuQ_0" - }, - "matchExpressions": [ - { - "key": "6tv27r-m8w-6-9-35d8.w-v-93ix6bigm-h8-3q768km-0--03-t-0-05/4--6o--Bo-F__..XR.7_1-p-6_._31.-.-z", - "operator": "NotIn", - "values": [ - "A5b.5-CX_VBC.Jn4f_1" - ] - } - ] - }, - "resources": { - "limits": { - "/樝fw[Řż丩ŽoǠŻʘY賃ɪ鐊": "967" - }, - "requests": { - "ǎɳ,ǿ飏騀呣ǎfǣ萭旿@掇lNd": "150" - } - }, - "volumeName": "188", - "storageClassName": "189", - "volumeMode": "髷裎$MVȟ@7飣奺Ȋ", - "dataSource": { - "apiGroup": "190", - "kind": "191", - "name": "192" - } - } - }, - "readOnly": true - } - } - ], - "initContainers": [ - { - "name": "193", - "image": "194", - "command": [ - "195" - ], - "args": [ - "196" - ], - "workingDir": "197", - "ports": [ - { - "name": "198", - "hostPort": -1180080716, - "containerPort": -1409668172, - "protocol": "脾嚏吐ĠLƐȤ藠3.v-鿧悮坮Ȣ幟ļ腻", - "hostIP": "199" - } - ], - "envFrom": [ - { - "prefix": "200", - "configMapRef": { - "name": "201", - "optional": true - }, - "secretRef": { - "name": "202", - "optional": false - } - } - ], - "env": [ - { - "name": "203", - "value": "204", - "valueFrom": { - "fieldRef": { - "apiVersion": "205", - "fieldPath": "206" - }, - "resourceFieldRef": { - "containerName": "207", - "resource": "208", - "divisor": "231" - }, - "configMapKeyRef": { - "name": "209", - "key": "210", - "optional": false - }, - "secretKeyRef": { - "name": "211", - "key": "212", - "optional": true - } - } - } - ], - "resources": { - "limits": { - "": "55" - }, - "requests": { - "粕擓ƖHVe熼'FD": "235" - } - }, - "volumeMounts": [ - { - "name": "213", - "mountPath": "214", - "subPath": "215", - "mountPropagation": "UÐ_ƮA攤/ɸɎ", - "subPathExpr": "216" - } - ], - "volumeDevices": [ - { - "name": "217", - "devicePath": "218" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "219" - ] - }, - "httpGet": { - "path": "220", - "port": "221", - "host": "222", - "scheme": "翁杙Ŧ癃8鸖ɱJȉ罴ņ螡ź", - "httpHeaders": [ - { - "name": "223", - "value": "224" - } - ] - }, - "tcpSocket": { - "port": -1543701088, - "host": "225" - }, - "initialDelaySeconds": 513341278, - "timeoutSeconds": 627713162, - "periodSeconds": 1255312175, - "successThreshold": -1740959124, - "failureThreshold": 158280212 - }, - "readinessProbe": { - "exec": { - "command": [ - "226" - ] - }, - "httpGet": { - "path": "227", - "port": -1140531048, - "host": "228", - "httpHeaders": [ - { - "name": "229", - "value": "230" - } - ] - }, - "tcpSocket": { - "port": 1741405963, - "host": "231" - }, - "initialDelaySeconds": 1260448044, - "timeoutSeconds": -200461294, - "periodSeconds": -1791206950, - "successThreshold": 1160477220, - "failureThreshold": 1226391571 - }, - "startupProbe": { - "exec": { - "command": [ - "232" - ] - }, - "httpGet": { - "path": "233", - "port": "234", - "host": "235", - "scheme": "勅跦Opwǩ曬逴褜1Ø", - "httpHeaders": [ - { - "name": "236", - "value": "237" - } - ] - }, - "tcpSocket": { - "port": "238", - "host": "239" - }, - "initialDelaySeconds": -589000495, - "timeoutSeconds": -955773237, - "periodSeconds": 561988938, - "successThreshold": 1419770315, - "failureThreshold": 300356869 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "240" - ] - }, - "httpGet": { - "path": "241", - "port": "242", - "host": "243", - "scheme": "更偢ɇ卷荙JLĹ]佱¿\u003e犵殇ŕ-Ɂ", - "httpHeaders": [ - { - "name": "244", - "value": "245" - } - ] - }, - "tcpSocket": { - "port": 467291328, - "host": "246" - } - }, - "preStop": { - "exec": { - "command": [ - "247" - ] - }, - "httpGet": { - "path": "248", - "port": -434820661, - "host": "249", - "scheme": "r嚧", - "httpHeaders": [ - { - "name": "250", - "value": "251" - } - ] - }, - "tcpSocket": { - "port": 453108839, - "host": "252" - } - } - }, - "terminationMessagePath": "253", - "terminationMessagePolicy": "趛屡ʁ岼昕ĬÇó藢xɮĵȑ6L*", - "imagePullPolicy": "Gƚ绤fʀļ腩墺Ò媁荭gw", - "securityContext": { - "capabilities": { - "add": [ - "E剒蔞" - ], - "drop": [ - "表徶đ寳议Ƭƶ氩Ȩ\u003c6鄰簳°Ļǟi\u0026皥" - ] - }, - "privileged": false, - "seLinuxOptions": { - "user": "254", - "role": "255", - "type": "256", - "level": "257" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "258", - "gmsaCredentialSpec": "259", - "runAsUserName": "260" - }, - "runAsUser": -3342656999442156006, - "runAsGroup": -5569844914519516591, - "runAsNonRoot": true, - "readOnlyRootFilesystem": true, - "allowPrivilegeEscalation": false, - "procMount": "¦队偯J僳徥淳4揻-$ɽ丟×x锏ɟ", - "seccompProfile": { - "type": "Ǒ輂,ŕĪĠM蘇KŅ/»頸+SÄ蚃ɣ", - "localhostProfile": "261" - } - }, - "stdin": true, - "tty": true - } - ], - "containers": [ - { - "name": "262", - "image": "263", - "command": [ - "264" - ], - "args": [ - "265" - ], - "workingDir": "266", - "ports": [ - { - "name": "267", - "hostPort": -825277526, - "containerPort": 1157117817, - "hostIP": "268" - } - ], - "envFrom": [ - { - "prefix": "269", - "configMapRef": { - "name": "270", - "optional": false - }, - "secretRef": { - "name": "271", - "optional": false - } - } - ], - "env": [ - { - "name": "272", - "value": "273", - "valueFrom": { - "fieldRef": { - "apiVersion": "274", - "fieldPath": "275" - }, - "resourceFieldRef": { - "containerName": "276", - "resource": "277", - "divisor": "107" - }, - "configMapKeyRef": { - "name": "278", - "key": "279", - "optional": false - }, - "secretKeyRef": { - "name": "280", - "key": "281", - "optional": false - } - } - } - ], - "resources": { - "limits": { - "琕鶫:顇ə娯Ȱ囌{": "853" - }, - "requests": { - "Z龏´DÒȗÔÂɘɢ鬍熖B芭花": "372" - } - }, - "volumeMounts": [ - { - "name": "282", - "readOnly": true, - "mountPath": "283", - "subPath": "284", - "mountPropagation": "亏yƕ丆録²Ŏ)/灩聋3趐囨鏻", - "subPathExpr": "285" - } - ], - "volumeDevices": [ - { - "name": "286", - "devicePath": "287" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "288" - ] - }, - "httpGet": { - "path": "289", - "port": "290", - "host": "291", - "scheme": "C\"6x$1s", - "httpHeaders": [ - { - "name": "292", - "value": "293" - } - ] - }, - "tcpSocket": { - "port": "294", - "host": "295" - }, - "initialDelaySeconds": -860435782, - "timeoutSeconds": 1067125211, - "periodSeconds": -2088645849, - "successThreshold": 1900201288, - "failureThreshold": -766915393 - }, - "readinessProbe": { - "exec": { - "command": [ - "296" - ] - }, - "httpGet": { - "path": "297", - "port": 1167615307, - "host": "298", - "scheme": "vEȤƏ埮p", - "httpHeaders": [ - { - "name": "299", - "value": "300" - } - ] - }, - "tcpSocket": { - "port": "301", - "host": "302" - }, - "initialDelaySeconds": -1467527914, - "timeoutSeconds": 1107276738, - "periodSeconds": 1221583046, - "successThreshold": -1861307253, - "failureThreshold": 1802356198 - }, - "startupProbe": { - "exec": { - "command": [ - "303" - ] - }, - "httpGet": { - "path": "304", - "port": 199049889, - "host": "305", - "scheme": "IJ嘢4ʗ", - "httpHeaders": [ - { - "name": "306", - "value": "307" - } - ] - }, - "tcpSocket": { - "port": "308", - "host": "309" - }, - "initialDelaySeconds": -1896415283, - "timeoutSeconds": 1540899353, - "periodSeconds": -1330095135, - "successThreshold": 1566213732, - "failureThreshold": 1697842937 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "310" - ] - }, - "httpGet": { - "path": "311", - "port": "312", - "host": "313", - "httpHeaders": [ - { - "name": "314", - "value": "315" - } - ] - }, - "tcpSocket": { - "port": 935886668, - "host": "316" - } - }, - "preStop": { - "exec": { - "command": [ - "317" - ] - }, - "httpGet": { - "path": "318", - "port": "319", - "host": "320", - "scheme": ")DŽ髐njʉBn(fǂ", - "httpHeaders": [ - { - "name": "321", - "value": "322" - } - ] - }, - "tcpSocket": { - "port": 872525702, - "host": "323" - } - } - }, - "terminationMessagePath": "324", - "terminationMessagePolicy": "ay", - "imagePullPolicy": "笭/9崍h趭(娕uE增猍ǵ xǨ", - "securityContext": { - "capabilities": { - "add": [ - "Ƶf" - ], - "drop": [ - "Ã茓pȓɻ" - ] - }, - "privileged": true, - "seLinuxOptions": { - "user": "325", - "role": "326", - "type": "327", - "level": "328" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "329", - "gmsaCredentialSpec": "330", - "runAsUserName": "331" - }, - "runAsUser": -4099583436266168513, - "runAsGroup": 5255171395073905944, - "runAsNonRoot": false, - "readOnlyRootFilesystem": false, - "allowPrivilegeEscalation": false, - "procMount": "#耗", - "seccompProfile": { - "type": "(ť1ùfŭƽ", - "localhostProfile": "332" - } - }, - "stdin": true, - "stdinOnce": true - } - ], - "ephemeralContainers": [ - { - "name": "333", - "image": "334", - "command": [ - "335" - ], - "args": [ - "336" - ], - "workingDir": "337", - "ports": [ - { - "name": "338", - "hostPort": -2137891092, - "containerPort": 1992460223, - "protocol": "`l}Ñ蠂Ü[ƛ^輅", - "hostIP": "339" - } - ], - "envFrom": [ - { - "prefix": "340", - "configMapRef": { - "name": "341", - "optional": false - }, - "secretRef": { - "name": "342", - "optional": false - } - } - ], - "env": [ - { - "name": "343", - "value": "344", - "valueFrom": { - "fieldRef": { - "apiVersion": "345", - "fieldPath": "346" - }, - "resourceFieldRef": { - "containerName": "347", - "resource": "348", - "divisor": "211" - }, - "configMapKeyRef": { - "name": "349", - "key": "350", - "optional": true - }, - "secretKeyRef": { - "name": "351", - "key": "352", - "optional": true - } - } - } - ], - "resources": { - "limits": { - "x糂腂": "286" - }, - "requests": { - "ɢzĮ蛋I滞廬耐鷞焬CQm坊柩劄奼[": "214" - } - }, - "volumeMounts": [ - { - "name": "353", - "mountPath": "354", - "subPath": "355", - "mountPropagation": "Ƶŧ1ƟƓ宆!鍲ɋȑoG鄧蜢暳ǽ", - "subPathExpr": "356" - } - ], - "volumeDevices": [ - { - "name": "357", - "devicePath": "358" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "359" - ] - }, - "httpGet": { - "path": "360", - "port": "361", - "host": "362", - "httpHeaders": [ - { - "name": "363", - "value": "364" - } - ] - }, - "tcpSocket": { - "port": "365", - "host": "366" - }, - "initialDelaySeconds": 1612465029, - "timeoutSeconds": -148677969, - "periodSeconds": 758604605, - "successThreshold": -291429895, - "failureThreshold": -478839383 - }, - "readinessProbe": { - "exec": { - "command": [ - "367" - ] - }, - "httpGet": { - "path": "368", - "port": 498878902, - "host": "369", - "scheme": "ďJZ漤ŗ坟Ů\u003c", - "httpHeaders": [ - { - "name": "370", - "value": "371" - } - ] - }, - "tcpSocket": { - "port": -2030665763, - "host": "372" - }, - "initialDelaySeconds": 1808698094, - "timeoutSeconds": 1155232143, - "periodSeconds": -1873425934, - "successThreshold": -1924862129, - "failureThreshold": -1431381588 - }, - "startupProbe": { - "exec": { - "command": [ - "373" - ] - }, - "httpGet": { - "path": "374", - "port": "375", - "host": "376", - "scheme": "Nh×DJɶ羹ƞʓ%ʝ`ǭ", - "httpHeaders": [ - { - "name": "377", - "value": "378" - } - ] - }, - "tcpSocket": { - "port": -1467648837, - "host": "379" - }, - "initialDelaySeconds": 911629631, - "timeoutSeconds": 542678518, - "periodSeconds": 1859267428, - "successThreshold": 1123323092, - "failureThreshold": -592521472 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "380" - ] - }, - "httpGet": { - "path": "381", - "port": 2040952835, - "host": "382", - "scheme": "诵H玲鑠ĭ$#卛8ð", - "httpHeaders": [ - { - "name": "383", - "value": "384" - } - ] - }, - "tcpSocket": { - "port": "385", - "host": "386" - } - }, - "preStop": { - "exec": { - "command": [ - "387" - ] - }, - "httpGet": { - "path": "388", - "port": -122203422, - "host": "389", - "scheme": "斢杧ż鯀1'鸔", - "httpHeaders": [ - { - "name": "390", - "value": "391" - } - ] - }, - "tcpSocket": { - "port": -1618269037, - "host": "392" - } - } - }, - "terminationMessagePath": "393", - "terminationMessagePolicy": "炙B餸硷张q櫞繡旹翃ɾ氒ĺʈʫ羶剹", - "imagePullPolicy": "嵞嬯t{Eɾ敹Ȯ-湷D谹", - "securityContext": { - "capabilities": { - "add": [ - "秮òƬɸĻo" - ], - "drop": [ - "{柯?" - ] - }, - "privileged": false, - "seLinuxOptions": { - "user": "394", - "role": "395", - "type": "396", - "level": "397" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "398", - "gmsaCredentialSpec": "399", - "runAsUserName": "400" - }, - "runAsUser": -3231735416592443589, - "runAsGroup": 1578419479310338359, - "runAsNonRoot": false, - "readOnlyRootFilesystem": false, - "allowPrivilegeEscalation": true, - "procMount": "4矕Ƈè*", - "seccompProfile": { - "type": "='ʨ|ǓÓ敆OɈÏ 瞍髃", - "localhostProfile": "401" - } - }, - "stdin": true, - "stdinOnce": true, - "tty": true, - "targetContainerName": "402" - } - ], - "restartPolicy": "ȕW歹s", - "terminationGracePeriodSeconds": -2705718780200389430, - "activeDeadlineSeconds": 7628609851801072843, - "dnsPolicy": "堑ūM鈱ɖ'蠨", - "nodeSelector": { - "403": "404" - }, - "serviceAccountName": "405", - "serviceAccount": "406", - "automountServiceAccountToken": false, - "nodeName": "407", - "hostNetwork": true, - "hostIPC": true, - "shareProcessNamespace": false, - "securityContext": { - "seLinuxOptions": { - "user": "408", - "role": "409", - "type": "410", - "level": "411" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "412", - "gmsaCredentialSpec": "413", - "runAsUserName": "414" - }, - "runAsUser": -8735446882646824517, - "runAsGroup": 241576272398843100, - "runAsNonRoot": false, - "supplementalGroups": [ - 3851285476969791307 - ], - "fsGroup": 3104099627522161950, - "sysctls": [ - { - "name": "415", - "value": "416" - } - ], - "fsGroupChangePolicy": "ß讪Ă2讅缔m葰賦迾娙", - "seccompProfile": { - "type": "4虵p蓋沥7uPƒ", - "localhostProfile": "417" - } - }, - "imagePullSecrets": [ - { - "name": "418" - } - ], - "hostname": "419", - "subdomain": "420", - "affinity": { - "nodeAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": { - "nodeSelectorTerms": [ - { - "matchExpressions": [ - { - "key": "421", - "operator": "堣灭ƴɦ燻", - "values": [ - "422" - ] - } - ], - "matchFields": [ - { - "key": "423", - "operator": "-觗裓6Ř筿ɾ5Ų買霎ȃň[\u003eą", - "values": [ - "424" - ] - } - ] - } - ] - }, - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": -1525789456, - "preference": { - "matchExpressions": [ - { - "key": "425", - "operator": "d'呪", - "values": [ - "426" - ] - } - ], - "matchFields": [ - { - "key": "427", - "operator": "ɷȰW瀤oɢ嫎¸殚篎3o8[y#t(", - "values": [ - "428" - ] - } - ] - } - } - ] - }, - "podAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": [ - { - "labelSelector": { - "matchLabels": { - "rG-7--p9.-_0R.-_-3_L_2--_v2.5p_..Y-.wg_-b8a_68": "Q4_.84.K_-_0_..u.F.pq..--Q" - }, - "matchExpressions": [ - { - "key": "8b-3-3b17cab-ppy5e--9p-61-2we16h--5-d-k-sm.2xv17r--32b-----4-670tfz-up3n/ov_Z--Zg-_Q", - "operator": "NotIn", - "values": [ - "0..KpiS.oK-.O--5-yp8q_s-L" - ] - } - ] - }, - "namespaces": [ - "435" - ], - "topologyKey": "436" - } - ], - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": -969397138, - "podAffinityTerm": { - "labelSelector": { - "matchLabels": { - "4g-27-5sx6dbp-72q--m--2k-p---139g-29.o-3/l.-5_BZk5v3aUK_--_o_2.--4Z7__i1T.miw_7a_...8-_0_5": "5.m_2_--XZx" - }, - "matchExpressions": [ - { - "key": "w_-r75--_-A-o-__y__._12..wrbW_E..24-O._.v._9-czf", - "operator": "DoesNotExist" - } - ] - }, - "namespaces": [ - "443" - ], - "topologyKey": "444" - } - } - ] - }, - "podAntiAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": [ - { - "labelSelector": { - "matchLabels": { - "ZXC0_-7.-hj-O_8-b6E_--B": "p8O_._e_3_.4_W_H" - }, - "matchExpressions": [ - { - "key": "6n-f-x--i-b/8u.._-__BM.6-.Y_72-_--pT75-.emV__1-wv3UDf.4", - "operator": "In", - "values": [ - "n-W23-_.z_.._s--_F-BR-.W" - ] - } - ] - }, - "namespaces": [ - "451" - ], - "topologyKey": "452" - } - ], - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": -1397412563, - "podAffinityTerm": { - "labelSelector": { - "matchLabels": { - "k5_7_-0w_--5-_.3--_9QW2JkU27_.-4T-I.-..K.-.0__sD.6": "HI-F.PWtO4-7-P41_.-.-AQ._r.-_Rw1k8KLu..ly--J-_.ZCRT.0z-oe.G79.b" - }, - "matchExpressions": [ - { - "key": "n-9n7p22o4a-w----11rqy3eo79p-f4r1--7p--053--suug/5-4_ed-0-i_zZsY_o8t5Vl6_..7CY-_dc__G6N-_-0o.0C_gV9", - "operator": "NotIn", - "values": [ - "f8k" - ] - } - ] - }, - "namespaces": [ - "459" - ], - "topologyKey": "460" - } - } - ] - } - }, - "schedulerName": "461", - "tolerations": [ - { - "key": "462", - "operator": "T暣Ɖ肆Ző:ijɲí_夦Ŕ", - "value": "463", - "effect": "蛡媈U曰n夬LJ:BŐ埑Ô", - "tolerationSeconds": 2817479448830898187 - } - ], - "hostAliases": [ - { - "ip": "464", - "hostnames": [ - "465" - ] - } - ], - "priorityClassName": "466", - "priority": -69353914, - "dnsConfig": { - "nameservers": [ - "467" - ], - "searches": [ - "468" - ], - "options": [ - { - "name": "469", - "value": "470" - } - ] - }, - "readinessGates": [ - { - "conditionType": "ʁO" - } - ], - "runtimeClassName": "471", - "enableServiceLinks": false, - "preemptionPolicy": "犾ȩ纾", - "overhead": { - "": "368" - }, - "topologySpreadConstraints": [ - { - "maxSkew": -1568300104, - "topologyKey": "472", - "whenUnsatisfiable": "潑嫉悔柅ȵ.Ȁ鎧Y冒Ɩ", - "labelSelector": { - "matchLabels": { - "jp-z---k-5r6h--y7n.61-cm---ch-g0t-q--qr95ws-v-5--7-ufi-7/35a-1-CdM._bk81S3.s_s_6.-_v__.rP._2_O--d.7.--.2g": "Mqp..__._-J_-fk3-_j.133eT_2_Y" - }, - "matchExpressions": [ - { - "key": "51-i-d-----9---063-qm-j-3wc89k-0-57z4063--4/rBQ.u", - "operator": "Exists" - } - ] - } - } - ], - "setHostnameAsFQDN": false - } - }, - "ttlSecondsAfterFinished": -339602975 - } - }, - "successfulJobsHistoryLimit": 305459364, - "failedJobsHistoryLimit": -1565042829 - }, - "status": { - "active": [ - { - "kind": "479", - "namespace": "480", - "name": "481", - "uid": "vÐ仆dždĄ跞肞=ɴ", - "apiVersion": "482", - "resourceVersion": "483", - "fieldPath": "484" - } - ] - } -} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.CronJob.pb b/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.CronJob.pb deleted file mode 100644 index 39907430bee..00000000000 Binary files a/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.CronJob.pb and /dev/null differ diff --git a/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.CronJob.yaml b/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.CronJob.yaml deleted file mode 100644 index ed49e80b5cb..00000000000 --- a/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.CronJob.yaml +++ /dev/null @@ -1,1059 +0,0 @@ -apiVersion: batch/v2alpha1 -kind: CronJob -metadata: - annotations: - "9": "10" - clusterName: "15" - creationTimestamp: null - deletionGracePeriodSeconds: -4955867275792137171 - finalizers: - - "14" - generateName: "3" - generation: 8071137005907523419 - labels: - "7": "8" - managedFields: - - apiVersion: "17" - fieldsType: "18" - manager: "16" - operation: 鐊唊飙Ş-U圴÷a/ɔ}摁(湗Ć] - name: "2" - namespace: "4" - ownerReferences: - - apiVersion: "11" - blockOwnerDeletion: true - controller: false - kind: "12" - name: "13" - uid: Dz廔ȇ{sŊƏp - resourceVersion: "11042405498087606203" - selfLink: "5" - uid: "7" -spec: - concurrencyPolicy: Hr鯹)晿ą - values: - - "424" - podAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - podAffinityTerm: - labelSelector: - matchExpressions: - - key: w_-r75--_-A-o-__y__._12..wrbW_E..24-O._.v._9-czf - operator: DoesNotExist - matchLabels: - 4g-27-5sx6dbp-72q--m--2k-p---139g-29.o-3/l.-5_BZk5v3aUK_--_o_2.--4Z7__i1T.miw_7a_...8-_0_5: 5.m_2_--XZx - namespaces: - - "443" - topologyKey: "444" - weight: -969397138 - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: 8b-3-3b17cab-ppy5e--9p-61-2we16h--5-d-k-sm.2xv17r--32b-----4-670tfz-up3n/ov_Z--Zg-_Q - operator: NotIn - values: - - 0..KpiS.oK-.O--5-yp8q_s-L - matchLabels: - rG-7--p9.-_0R.-_-3_L_2--_v2.5p_..Y-.wg_-b8a_68: Q4_.84.K_-_0_..u.F.pq..--Q - namespaces: - - "435" - topologyKey: "436" - podAntiAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - podAffinityTerm: - labelSelector: - matchExpressions: - - key: n-9n7p22o4a-w----11rqy3eo79p-f4r1--7p--053--suug/5-4_ed-0-i_zZsY_o8t5Vl6_..7CY-_dc__G6N-_-0o.0C_gV9 - operator: NotIn - values: - - f8k - matchLabels: - k5_7_-0w_--5-_.3--_9QW2JkU27_.-4T-I.-..K.-.0__sD.6: HI-F.PWtO4-7-P41_.-.-AQ._r.-_Rw1k8KLu..ly--J-_.ZCRT.0z-oe.G79.b - namespaces: - - "459" - topologyKey: "460" - weight: -1397412563 - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: 6n-f-x--i-b/8u.._-__BM.6-.Y_72-_--pT75-.emV__1-wv3UDf.4 - operator: In - values: - - n-W23-_.z_.._s--_F-BR-.W - matchLabels: - ZXC0_-7.-hj-O_8-b6E_--B: p8O_._e_3_.4_W_H - namespaces: - - "451" - topologyKey: "452" - automountServiceAccountToken: false - containers: - - args: - - "265" - command: - - "264" - env: - - name: "272" - value: "273" - valueFrom: - configMapKeyRef: - key: "279" - name: "278" - optional: false - fieldRef: - apiVersion: "274" - fieldPath: "275" - resourceFieldRef: - containerName: "276" - divisor: "107" - resource: "277" - secretKeyRef: - key: "281" - name: "280" - optional: false - envFrom: - - configMapRef: - name: "270" - optional: false - prefix: "269" - secretRef: - name: "271" - optional: false - image: "263" - imagePullPolicy: 笭/9崍h趭(娕uE增猍ǵ xǨ - lifecycle: - postStart: - exec: - command: - - "310" - httpGet: - host: "313" - httpHeaders: - - name: "314" - value: "315" - path: "311" - port: "312" - tcpSocket: - host: "316" - port: 935886668 - preStop: - exec: - command: - - "317" - httpGet: - host: "320" - httpHeaders: - - name: "321" - value: "322" - path: "318" - port: "319" - scheme: )DŽ髐njʉBn(fǂ - tcpSocket: - host: "323" - port: 872525702 - livenessProbe: - exec: - command: - - "288" - failureThreshold: -766915393 - httpGet: - host: "291" - httpHeaders: - - name: "292" - value: "293" - path: "289" - port: "290" - scheme: C"6x$1s - initialDelaySeconds: -860435782 - periodSeconds: -2088645849 - successThreshold: 1900201288 - tcpSocket: - host: "295" - port: "294" - timeoutSeconds: 1067125211 - name: "262" - ports: - - containerPort: 1157117817 - hostIP: "268" - hostPort: -825277526 - name: "267" - readinessProbe: - exec: - command: - - "296" - failureThreshold: 1802356198 - httpGet: - host: "298" - httpHeaders: - - name: "299" - value: "300" - path: "297" - port: 1167615307 - scheme: vEȤƏ埮p - initialDelaySeconds: -1467527914 - periodSeconds: 1221583046 - successThreshold: -1861307253 - tcpSocket: - host: "302" - port: "301" - timeoutSeconds: 1107276738 - resources: - limits: - 琕鶫:顇ə娯Ȱ囌{: "853" - requests: - Z龏´DÒȗÔÂɘɢ鬍熖B芭花: "372" - securityContext: - allowPrivilegeEscalation: false - capabilities: - add: - - Ƶf - drop: - - Ã茓pȓɻ - privileged: true - procMount: '#耗' - readOnlyRootFilesystem: false - runAsGroup: 5255171395073905944 - runAsNonRoot: false - runAsUser: -4099583436266168513 - seLinuxOptions: - level: "328" - role: "326" - type: "327" - user: "325" - seccompProfile: - localhostProfile: "332" - type: (ť1ùfŭƽ - windowsOptions: - gmsaCredentialSpec: "330" - gmsaCredentialSpecName: "329" - runAsUserName: "331" - startupProbe: - exec: - command: - - "303" - failureThreshold: 1697842937 - httpGet: - host: "305" - httpHeaders: - - name: "306" - value: "307" - path: "304" - port: 199049889 - scheme: IJ嘢4ʗ - initialDelaySeconds: -1896415283 - periodSeconds: -1330095135 - successThreshold: 1566213732 - tcpSocket: - host: "309" - port: "308" - timeoutSeconds: 1540899353 - stdin: true - stdinOnce: true - terminationMessagePath: "324" - terminationMessagePolicy: ay - volumeDevices: - - devicePath: "287" - name: "286" - volumeMounts: - - mountPath: "283" - mountPropagation: 亏yƕ丆録²Ŏ)/灩聋3趐囨鏻 - name: "282" - readOnly: true - subPath: "284" - subPathExpr: "285" - workingDir: "266" - dnsConfig: - nameservers: - - "467" - options: - - name: "469" - value: "470" - searches: - - "468" - dnsPolicy: 堑ūM鈱ɖ'蠨 - enableServiceLinks: false - ephemeralContainers: - - args: - - "336" - command: - - "335" - env: - - name: "343" - value: "344" - valueFrom: - configMapKeyRef: - key: "350" - name: "349" - optional: true - fieldRef: - apiVersion: "345" - fieldPath: "346" - resourceFieldRef: - containerName: "347" - divisor: "211" - resource: "348" - secretKeyRef: - key: "352" - name: "351" - optional: true - envFrom: - - configMapRef: - name: "341" - optional: false - prefix: "340" - secretRef: - name: "342" - optional: false - image: "334" - imagePullPolicy: 嵞嬯t{Eɾ敹Ȯ-湷D谹 - lifecycle: - postStart: - exec: - command: - - "380" - httpGet: - host: "382" - httpHeaders: - - name: "383" - value: "384" - path: "381" - port: 2040952835 - scheme: 诵H玲鑠ĭ$#卛8ð - tcpSocket: - host: "386" - port: "385" - preStop: - exec: - command: - - "387" - httpGet: - host: "389" - httpHeaders: - - name: "390" - value: "391" - path: "388" - port: -122203422 - scheme: 斢杧ż鯀1'鸔 - tcpSocket: - host: "392" - port: -1618269037 - livenessProbe: - exec: - command: - - "359" - failureThreshold: -478839383 - httpGet: - host: "362" - httpHeaders: - - name: "363" - value: "364" - path: "360" - port: "361" - initialDelaySeconds: 1612465029 - periodSeconds: 758604605 - successThreshold: -291429895 - tcpSocket: - host: "366" - port: "365" - timeoutSeconds: -148677969 - name: "333" - ports: - - containerPort: 1992460223 - hostIP: "339" - hostPort: -2137891092 - name: "338" - protocol: '`l}Ñ蠂Ü[ƛ^輅' - readinessProbe: - exec: - command: - - "367" - failureThreshold: -1431381588 - httpGet: - host: "369" - httpHeaders: - - name: "370" - value: "371" - path: "368" - port: 498878902 - scheme: ďJZ漤ŗ坟Ů< - initialDelaySeconds: 1808698094 - periodSeconds: -1873425934 - successThreshold: -1924862129 - tcpSocket: - host: "372" - port: -2030665763 - timeoutSeconds: 1155232143 - resources: - limits: - x糂腂: "286" - requests: - ɢzĮ蛋I滞廬耐鷞焬CQm坊柩劄奼[: "214" - securityContext: - allowPrivilegeEscalation: true - capabilities: - add: - - 秮òƬɸĻo - drop: - - '{柯?' - privileged: false - procMount: 4矕Ƈè* - readOnlyRootFilesystem: false - runAsGroup: 1578419479310338359 - runAsNonRoot: false - runAsUser: -3231735416592443589 - seLinuxOptions: - level: "397" - role: "395" - type: "396" - user: "394" - seccompProfile: - localhostProfile: "401" - type: ='ʨ|ǓÓ敆OɈÏ 瞍髃 - windowsOptions: - gmsaCredentialSpec: "399" - gmsaCredentialSpecName: "398" - runAsUserName: "400" - startupProbe: - exec: - command: - - "373" - failureThreshold: -592521472 - httpGet: - host: "376" - httpHeaders: - - name: "377" - value: "378" - path: "374" - port: "375" - scheme: Nh×DJɶ羹ƞʓ%ʝ`ǭ - initialDelaySeconds: 911629631 - periodSeconds: 1859267428 - successThreshold: 1123323092 - tcpSocket: - host: "379" - port: -1467648837 - timeoutSeconds: 542678518 - stdin: true - stdinOnce: true - targetContainerName: "402" - terminationMessagePath: "393" - terminationMessagePolicy: 炙B餸硷张q櫞繡旹翃ɾ氒ĺʈʫ羶剹 - tty: true - volumeDevices: - - devicePath: "358" - name: "357" - volumeMounts: - - mountPath: "354" - mountPropagation: Ƶŧ1ƟƓ宆!鍲ɋȑoG鄧蜢暳ǽ - name: "353" - subPath: "355" - subPathExpr: "356" - workingDir: "337" - hostAliases: - - hostnames: - - "465" - ip: "464" - hostIPC: true - hostNetwork: true - hostname: "419" - imagePullSecrets: - - name: "418" - initContainers: - - args: - - "196" - command: - - "195" - env: - - name: "203" - value: "204" - valueFrom: - configMapKeyRef: - key: "210" - name: "209" - optional: false - fieldRef: - apiVersion: "205" - fieldPath: "206" - resourceFieldRef: - containerName: "207" - divisor: "231" - resource: "208" - secretKeyRef: - key: "212" - name: "211" - optional: true - envFrom: - - configMapRef: - name: "201" - optional: true - prefix: "200" - secretRef: - name: "202" - optional: false - image: "194" - imagePullPolicy: Gƚ绤fʀļ腩墺Ò媁荭gw - lifecycle: - postStart: - exec: - command: - - "240" - httpGet: - host: "243" - httpHeaders: - - name: "244" - value: "245" - path: "241" - port: "242" - scheme: 更偢ɇ卷荙JLĹ]佱¿>犵殇ŕ-Ɂ - tcpSocket: - host: "246" - port: 467291328 - preStop: - exec: - command: - - "247" - httpGet: - host: "249" - httpHeaders: - - name: "250" - value: "251" - path: "248" - port: -434820661 - scheme: r嚧 - tcpSocket: - host: "252" - port: 453108839 - livenessProbe: - exec: - command: - - "219" - failureThreshold: 158280212 - httpGet: - host: "222" - httpHeaders: - - name: "223" - value: "224" - path: "220" - port: "221" - scheme: 翁杙Ŧ癃8鸖ɱJȉ罴ņ螡ź - initialDelaySeconds: 513341278 - periodSeconds: 1255312175 - successThreshold: -1740959124 - tcpSocket: - host: "225" - port: -1543701088 - timeoutSeconds: 627713162 - name: "193" - ports: - - containerPort: -1409668172 - hostIP: "199" - hostPort: -1180080716 - name: "198" - protocol: 脾嚏吐ĠLƐȤ藠3.v-鿧悮坮Ȣ幟ļ腻 - readinessProbe: - exec: - command: - - "226" - failureThreshold: 1226391571 - httpGet: - host: "228" - httpHeaders: - - name: "229" - value: "230" - path: "227" - port: -1140531048 - initialDelaySeconds: 1260448044 - periodSeconds: -1791206950 - successThreshold: 1160477220 - tcpSocket: - host: "231" - port: 1741405963 - timeoutSeconds: -200461294 - resources: - limits: - "": "55" - requests: - 粕擓ƖHVe熼'FD: "235" - securityContext: - allowPrivilegeEscalation: false - capabilities: - add: - - E剒蔞 - drop: - - 表徶đ寳议Ƭƶ氩Ȩ<6鄰簳°Ļǟi&皥 - privileged: false - procMount: ¦队偯J僳徥淳4揻-$ɽ丟×x锏ɟ - readOnlyRootFilesystem: true - runAsGroup: -5569844914519516591 - runAsNonRoot: true - runAsUser: -3342656999442156006 - seLinuxOptions: - level: "257" - role: "255" - type: "256" - user: "254" - seccompProfile: - localhostProfile: "261" - type: Ǒ輂,ŕĪĠM蘇KŅ/»頸+SÄ蚃ɣ - windowsOptions: - gmsaCredentialSpec: "259" - gmsaCredentialSpecName: "258" - runAsUserName: "260" - startupProbe: - exec: - command: - - "232" - failureThreshold: 300356869 - httpGet: - host: "235" - httpHeaders: - - name: "236" - value: "237" - path: "233" - port: "234" - scheme: 勅跦Opwǩ曬逴褜1Ø - initialDelaySeconds: -589000495 - periodSeconds: 561988938 - successThreshold: 1419770315 - tcpSocket: - host: "239" - port: "238" - timeoutSeconds: -955773237 - stdin: true - terminationMessagePath: "253" - terminationMessagePolicy: 趛屡ʁ岼昕ĬÇó藢xɮĵȑ6L* - tty: true - volumeDevices: - - devicePath: "218" - name: "217" - volumeMounts: - - mountPath: "214" - mountPropagation: UÐ_ƮA攤/ɸɎ - name: "213" - subPath: "215" - subPathExpr: "216" - workingDir: "197" - nodeName: "407" - nodeSelector: - "403": "404" - overhead: - "": "368" - preemptionPolicy: 犾ȩ纾 - priority: -69353914 - priorityClassName: "466" - readinessGates: - - conditionType: ʁO - restartPolicy: ȕW歹s - runtimeClassName: "471" - schedulerName: "461" - securityContext: - fsGroup: 3104099627522161950 - fsGroupChangePolicy: ß讪Ă2讅缔m葰賦迾娙 - runAsGroup: 241576272398843100 - runAsNonRoot: false - runAsUser: -8735446882646824517 - seLinuxOptions: - level: "411" - role: "409" - type: "410" - user: "408" - seccompProfile: - localhostProfile: "417" - type: 4虵p蓋沥7uPƒ - supplementalGroups: - - 3851285476969791307 - sysctls: - - name: "415" - value: "416" - windowsOptions: - gmsaCredentialSpec: "413" - gmsaCredentialSpecName: "412" - runAsUserName: "414" - serviceAccount: "406" - serviceAccountName: "405" - setHostnameAsFQDN: false - shareProcessNamespace: false - subdomain: "420" - terminationGracePeriodSeconds: -2705718780200389430 - tolerations: - - effect: 蛡媈U曰n夬LJ:BŐ埑Ô - key: "462" - operator: T暣Ɖ肆Ző:ijɲí_夦Ŕ - tolerationSeconds: 2817479448830898187 - value: "463" - topologySpreadConstraints: - - labelSelector: - matchExpressions: - - key: 51-i-d-----9---063-qm-j-3wc89k-0-57z4063--4/rBQ.u - operator: Exists - matchLabels: - jp-z---k-5r6h--y7n.61-cm---ch-g0t-q--qr95ws-v-5--7-ufi-7/35a-1-CdM._bk81S3.s_s_6.-_v__.rP._2_O--d.7.--.2g: Mqp..__._-J_-fk3-_j.133eT_2_Y - maxSkew: -1568300104 - topologyKey: "472" - whenUnsatisfiable: 潑嫉悔柅ȵ.Ȁ鎧Y冒Ɩ - volumes: - - awsElasticBlockStore: - fsType: "65" - partition: -1853411528 - volumeID: "64" - azureDisk: - cachingMode: A3fƻfʣ繡楙¯ - diskName: "128" - diskURI: "129" - fsType: "130" - kind: 勗E濞偘1ɩÅ議Ǹ轺@)蓳嗘TʡȂ - readOnly: true - azureFile: - secretName: "114" - shareName: "115" - cephfs: - monitors: - - "99" - path: "100" - readOnly: true - secretFile: "102" - secretRef: - name: "103" - user: "101" - cinder: - fsType: "97" - secretRef: - name: "98" - volumeID: "96" - configMap: - defaultMode: -347579237 - items: - - key: "117" - mode: 1793473487 - path: "118" - name: "116" - optional: false - csi: - driver: "160" - fsType: "161" - nodePublishSecretRef: - name: "164" - readOnly: false - volumeAttributes: - "162": "163" - downwardAPI: - defaultMode: -1775926229 - items: - - fieldRef: - apiVersion: "107" - fieldPath: "108" - mode: -1011172037 - path: "106" - resourceFieldRef: - containerName: "109" - divisor: "52" - resource: "110" - emptyDir: - medium: 捵TwMȗ礼2ħ籦ö嗏ʑ>季Cʖ畬 - sizeLimit: "347" - ephemeral: - readOnly: true - volumeClaimTemplate: - metadata: - annotations: - "172": "173" - clusterName: "178" - creationTimestamp: null - deletionGracePeriodSeconds: 3218160964766401208 - finalizers: - - "177" - generateName: "166" - generation: -6008930988505485536 - labels: - "170": "171" - managedFields: - - apiVersion: "180" - fieldsType: "181" - manager: "179" - operation: quA?瞲Ť倱<įXŋ - name: "165" - namespace: "167" - ownerReferences: - - apiVersion: "174" - blockOwnerDeletion: false - controller: true - kind: "175" - name: "176" - uid: ɜa頢ƛƟ)ÙæNǚ - resourceVersion: "4447340384943270560" - selfLink: "168" - uid: A徙ɶɊł/擇ɦĽ胚 - spec: - accessModes: - - 厶耈 T衧ȇe媹Hǝ呮}臷 - dataSource: - apiGroup: "190" - kind: "191" - name: "192" - resources: - limits: - /樝fw[Řż丩ŽoǠŻʘY賃ɪ鐊: "967" - requests: - ǎɳ,ǿ飏騀呣ǎfǣ萭旿@掇lNd: "150" - selector: - matchExpressions: - - key: 6tv27r-m8w-6-9-35d8.w-v-93ix6bigm-h8-3q768km-0--03-t-0-05/4--6o--Bo-F__..XR.7_1-p-6_._31.-.-z - operator: NotIn - values: - - A5b.5-CX_VBC.Jn4f_1 - matchLabels: - 5P.-i.Fg.Cs_.w: 4_2IN..3O4y..-W.5w9-Wm_AO-l8VKLyHA_.-F_E2_QOuQ_0 - storageClassName: "189" - volumeMode: 髷裎$MVȟ@7飣奺Ȋ - volumeName: "188" - fc: - fsType: "112" - lun: -740816174 - targetWWNs: - - "111" - wwids: - - "113" - flexVolume: - driver: "91" - fsType: "92" - options: - "94": "95" - secretRef: - name: "93" - flocker: - datasetName: "104" - datasetUUID: "105" - gcePersistentDisk: - fsType: "63" - partition: 1399152294 - pdName: "62" - readOnly: true - gitRepo: - directory: "68" - repository: "66" - revision: "67" - glusterfs: - endpoints: "81" - path: "82" - readOnly: true - hostPath: - path: "61" - type: j剐'宣I拍N嚳ķȗ - iscsi: - fsType: "77" - initiatorName: "80" - iqn: "75" - iscsiInterface: "76" - lun: -1483417237 - portals: - - "78" - secretRef: - name: "79" - targetPortal: "74" - name: "60" - nfs: - path: "73" - server: "72" - persistentVolumeClaim: - claimName: "83" - readOnly: true - photonPersistentDisk: - fsType: "132" - pdID: "131" - portworxVolume: - fsType: "147" - volumeID: "146" - projected: - defaultMode: -1332301579 - sources: - - configMap: - items: - - key: "142" - mode: -1249460160 - path: "143" - name: "141" - optional: false - downwardAPI: - items: - - fieldRef: - apiVersion: "137" - fieldPath: "138" - mode: 1525389481 - path: "136" - resourceFieldRef: - containerName: "139" - divisor: "618" - resource: "140" - secret: - items: - - key: "134" - mode: 550215822 - path: "135" - name: "133" - optional: false - serviceAccountToken: - audience: "144" - expirationSeconds: -8988970531898753887 - path: "145" - quobyte: - group: "126" - readOnly: true - registry: "123" - tenant: "127" - user: "125" - volume: "124" - rbd: - fsType: "86" - image: "85" - keyring: "89" - monitors: - - "84" - pool: "87" - readOnly: true - secretRef: - name: "90" - user: "88" - scaleIO: - fsType: "155" - gateway: "148" - protectionDomain: "151" - readOnly: true - secretRef: - name: "150" - storageMode: "153" - storagePool: "152" - system: "149" - volumeName: "154" - secret: - defaultMode: -1852451720 - items: - - key: "70" - mode: 1395607230 - path: "71" - optional: true - secretName: "69" - storageos: - fsType: "158" - readOnly: true - secretRef: - name: "159" - volumeName: "156" - volumeNamespace: "157" - vsphereVolume: - fsType: "120" - storagePolicyID: "122" - storagePolicyName: "121" - volumePath: "119" - ttlSecondsAfterFinished: -339602975 - schedule: "19" - startingDeadlineSeconds: -2555947251840004808 - successfulJobsHistoryLimit: 305459364 - suspend: true -status: - active: - - apiVersion: "482" - fieldPath: "484" - kind: "479" - name: "481" - namespace: "480" - resourceVersion: "483" - uid: vÐ仆dždĄ跞肞=ɴ diff --git a/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.JobTemplate.json b/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.JobTemplate.json deleted file mode 100644 index 4209878f642..00000000000 --- a/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.JobTemplate.json +++ /dev/null @@ -1,1524 +0,0 @@ -{ - "kind": "JobTemplate", - "apiVersion": "batch/v2alpha1", - "metadata": { - "name": "2", - "generateName": "3", - "namespace": "4", - "selfLink": "5", - "uid": "7", - "resourceVersion": "11042405498087606203", - "generation": 8071137005907523419, - "creationTimestamp": null, - "deletionGracePeriodSeconds": -4955867275792137171, - "labels": { - "7": "8" - }, - "annotations": { - "9": "10" - }, - "ownerReferences": [ - { - "apiVersion": "11", - "kind": "12", - "name": "13", - "uid": "Dz廔ȇ{sŊƏp", - "controller": false, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "14" - ], - "clusterName": "15", - "managedFields": [ - { - "manager": "16", - "operation": "鐊唊飙Ş-U圴÷a/ɔ}摁(湗Ć]", - "apiVersion": "17", - "fieldsType": "18" - } - ] - }, - "template": { - "metadata": { - "name": "19", - "generateName": "20", - "namespace": "21", - "selfLink": "22", - "uid": "SǡƏ", - "resourceVersion": "17916580954637291219", - "generation": 5259823216098853135, - "creationTimestamp": null, - "deletionGracePeriodSeconds": 4075183944016503389, - "labels": { - "24": "25" - }, - "annotations": { - "26": "27" - }, - "ownerReferences": [ - { - "apiVersion": "28", - "kind": "29", - "name": "30", - "uid": "ɑ", - "controller": true, - "blockOwnerDeletion": false - } - ], - "finalizers": [ - "31" - ], - "clusterName": "32", - "managedFields": [ - { - "manager": "33", - "operation": "ěĂ凗蓏Ŋ蛊ĉy緅縕", - "apiVersion": "34", - "fieldsType": "35" - } - ] - }, - "spec": { - "parallelism": -443114323, - "completions": -1771909905, - "activeDeadlineSeconds": -9086179100394185427, - "backoffLimit": -1796008812, - "selector": { - "matchLabels": { - "g5i9/l-Y._.-444": "c2_kS91.e5K-_e63_-_3-n-_-__3u-.__P__.7U-Uo_4_-D7r__.am64" - }, - "matchExpressions": [ - { - "key": "2.-__E_Sv__26KX_R_.-.Nth._--S_4DA_-5_-4lQ42M--n1-5", - "operator": "In", - "values": [ - "Ou1.m_.5AW-_S-.3g.7_2fNc5-_.-RX8" - ] - } - ] - }, - "manualSelector": false, - "template": { - "metadata": { - "name": "42", - "generateName": "43", - "namespace": "44", - "selfLink": "45", - "uid": "Ȗ脵鴈Ō", - "resourceVersion": "5994087412557504692", - "generation": 9213888658033954596, - "creationTimestamp": null, - "deletionGracePeriodSeconds": -2901856114738744973, - "labels": { - "47": "48" - }, - "annotations": { - "49": "50" - }, - "ownerReferences": [ - { - "apiVersion": "51", - "kind": "52", - "name": "53", - "uid": "I拍N嚳ķȗɊ捵TwMȗ礼", - "controller": false, - "blockOwnerDeletion": false - } - ], - "finalizers": [ - "54" - ], - "clusterName": "55", - "managedFields": [ - { - "manager": "56", - "operation": "ö嗏ʑ\u003e季Cʖ畬x骀Šĸů", - "apiVersion": "57", - "fieldsType": "58" - } - ] - }, - "spec": { - "volumes": [ - { - "name": "59", - "hostPath": { - "path": "60", - "type": "/淹\\韲翁\u0026ʢsɜ曢\\%枅:=ǛƓ" - }, - "emptyDir": { - "medium": "踓Ǻǧ湬淊kŪ睴鸏:ɥ³ƞsɁ8^ʥ", - "sizeLimit": "681" - }, - "gcePersistentDisk": { - "pdName": "61", - "fsType": "62", - "partition": 2065358741, - "readOnly": true - }, - "awsElasticBlockStore": { - "volumeID": "63", - "fsType": "64", - "partition": -104666658, - "readOnly": true - }, - "gitRepo": { - "repository": "65", - "revision": "66", - "directory": "67" - }, - "secret": { - "secretName": "68", - "items": [ - { - "key": "69", - "path": "70", - "mode": 1648350164 - } - ], - "defaultMode": 1655406148, - "optional": true - }, - "nfs": { - "server": "71", - "path": "72" - }, - "iscsi": { - "targetPortal": "73", - "iqn": "74", - "lun": -663180249, - "iscsiInterface": "75", - "fsType": "76", - "readOnly": true, - "portals": [ - "77" - ], - "chapAuthSession": true, - "secretRef": { - "name": "78" - }, - "initiatorName": "79" - }, - "glusterfs": { - "endpoints": "80", - "path": "81" - }, - "persistentVolumeClaim": { - "claimName": "82" - }, - "rbd": { - "monitors": [ - "83" - ], - "image": "84", - "fsType": "85", - "pool": "86", - "user": "87", - "keyring": "88", - "secretRef": { - "name": "89" - }, - "readOnly": true - }, - "flexVolume": { - "driver": "90", - "fsType": "91", - "secretRef": { - "name": "92" - }, - "readOnly": true, - "options": { - "93": "94" - } - }, - "cinder": { - "volumeID": "95", - "fsType": "96", - "readOnly": true, - "secretRef": { - "name": "97" - } - }, - "cephfs": { - "monitors": [ - "98" - ], - "path": "99", - "user": "100", - "secretFile": "101", - "secretRef": { - "name": "102" - } - }, - "flocker": { - "datasetName": "103", - "datasetUUID": "104" - }, - "downwardAPI": { - "items": [ - { - "path": "105", - "fieldRef": { - "apiVersion": "106", - "fieldPath": "107" - }, - "resourceFieldRef": { - "containerName": "108", - "resource": "109", - "divisor": "889" - }, - "mode": 1322858613 - } - ], - "defaultMode": 1801487647 - }, - "fc": { - "targetWWNs": [ - "110" - ], - "lun": 1169718433, - "fsType": "111", - "wwids": [ - "112" - ] - }, - "azureFile": { - "secretName": "113", - "shareName": "114" - }, - "configMap": { - "name": "115", - "items": [ - { - "key": "116", - "path": "117", - "mode": -1194714697 - } - ], - "defaultMode": -599608368, - "optional": true - }, - "vsphereVolume": { - "volumePath": "118", - "fsType": "119", - "storagePolicyName": "120", - "storagePolicyID": "121" - }, - "quobyte": { - "registry": "122", - "volume": "123", - "readOnly": true, - "user": "124", - "group": "125", - "tenant": "126" - }, - "azureDisk": { - "diskName": "127", - "diskURI": "128", - "cachingMode": "ʜǝ鿟ldg滠鼍ƭt", - "fsType": "129", - "readOnly": true, - "kind": "ȫşŇɜa" - }, - "photonPersistentDisk": { - "pdID": "130", - "fsType": "131" - }, - "projected": { - "sources": [ - { - "secret": { - "name": "132", - "items": [ - { - "key": "133", - "path": "134", - "mode": 782113097 - } - ], - "optional": true - }, - "downwardAPI": { - "items": [ - { - "path": "135", - "fieldRef": { - "apiVersion": "136", - "fieldPath": "137" - }, - "resourceFieldRef": { - "containerName": "138", - "resource": "139", - "divisor": "952" - }, - "mode": -555780268 - } - ] - }, - "configMap": { - "name": "140", - "items": [ - { - "key": "141", - "path": "142", - "mode": 1730325900 - } - ], - "optional": true - }, - "serviceAccountToken": { - "audience": "143", - "expirationSeconds": -2937394236764575757, - "path": "144" - } - } - ], - "defaultMode": -1980941277 - }, - "portworxVolume": { - "volumeID": "145", - "fsType": "146", - "readOnly": true - }, - "scaleIO": { - "gateway": "147", - "system": "148", - "secretRef": { - "name": "149" - }, - "sslEnabled": true, - "protectionDomain": "150", - "storagePool": "151", - "storageMode": "152", - "volumeName": "153", - "fsType": "154" - }, - "storageos": { - "volumeName": "155", - "volumeNamespace": "156", - "fsType": "157", - "readOnly": true, - "secretRef": { - "name": "158" - } - }, - "csi": { - "driver": "159", - "readOnly": true, - "fsType": "160", - "volumeAttributes": { - "161": "162" - }, - "nodePublishSecretRef": { - "name": "163" - } - }, - "ephemeral": { - "volumeClaimTemplate": { - "metadata": { - "name": "164", - "generateName": "165", - "namespace": "166", - "selfLink": "167", - "uid": ";栍dʪīT捘ɍi縱ù墴1Rƥ贫d飼", - "resourceVersion": "917467801074989174", - "generation": -8801560367353238479, - "creationTimestamp": null, - "deletionGracePeriodSeconds": -1837257934517376612, - "labels": { - "169": "170" - }, - "annotations": { - "171": "172" - }, - "ownerReferences": [ - { - "apiVersion": "173", - "kind": "174", - "name": "175", - "uid": "", - "controller": true, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "176" - ], - "clusterName": "177", - "managedFields": [ - { - "manager": "178", - "operation": "蒅!a坩O`涁İ而踪鄌", - "apiVersion": "179", - "fieldsType": "180" - } - ] - }, - "spec": { - "accessModes": [ - "|@?鷅bȻN" - ], - "selector": { - "matchLabels": { - "fi-a--w---f-e.z-j4kh6oqu-or---40--87-1wpl6-2-310e5hyzn0w-p4mzlu/m_AO-l8VKLyHA_.-F_E2_QOQ": "E._._3.-.83_iq_-y.-25C.A-j..9dfn3Y8d_0_.---M_4FF" - }, - "matchExpressions": [ - { - "key": "39-295at-o7qff7-x--r7v66bm71u-n4f9wk-3--652x01--p--n4-4-l.onh-9289---x-p-qpt6-1w-3205c1lxeqyn-5--9d5a3-7bf46g-40883176jte/Pi.-_-a-G", - "operator": "Exists" - } - ] - }, - "resources": { - "limits": { - "?$矡ȶ网棊ʢ": "891" - }, - "requests": { - "Ⱥ眖R#yV'WKw(ğ": "423" - } - }, - "volumeName": "187", - "storageClassName": "188", - "volumeMode": "跦Opwǩ曬逴褜1", - "dataSource": { - "apiGroup": "189", - "kind": "190", - "name": "191" - } - } - }, - "readOnly": true - } - } - ], - "initContainers": [ - { - "name": "192", - "image": "193", - "command": [ - "194" - ], - "args": [ - "195" - ], - "workingDir": "196", - "ports": [ - { - "name": "197", - "hostPort": -805795167, - "containerPort": 1791615594, - "protocol": "Ƥ熪军g\u003e郵[+扴", - "hostIP": "198" - } - ], - "envFrom": [ - { - "prefix": "199", - "configMapRef": { - "name": "200", - "optional": false - }, - "secretRef": { - "name": "201", - "optional": false - } - } - ], - "env": [ - { - "name": "202", - "value": "203", - "valueFrom": { - "fieldRef": { - "apiVersion": "204", - "fieldPath": "205" - }, - "resourceFieldRef": { - "containerName": "206", - "resource": "207", - "divisor": "241" - }, - "configMapKeyRef": { - "name": "208", - "key": "209", - "optional": true - }, - "secretKeyRef": { - "name": "210", - "key": "211", - "optional": false - } - } - } - ], - "resources": { - "limits": { - "": "268" - }, - "requests": { - "-Ɂ圯W:ĸ輦唊#v铿ʩȂ4ē鐭#嬀ơ": "340" - } - }, - "volumeMounts": [ - { - "name": "212", - "mountPath": "213", - "subPath": "214", - "mountPropagation": "藢xɮĵȑ6L*Z鐫û咡W\u003c", - "subPathExpr": "215" - } - ], - "volumeDevices": [ - { - "name": "216", - "devicePath": "217" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "218" - ] - }, - "httpGet": { - "path": "219", - "port": -1225815437, - "host": "220", - "scheme": "荭gw忊|E", - "httpHeaders": [ - { - "name": "221", - "value": "222" - } - ] - }, - "tcpSocket": { - "port": -438588982, - "host": "223" - }, - "initialDelaySeconds": 1004325340, - "timeoutSeconds": -1313320434, - "periodSeconds": 14304392, - "successThreshold": 465972736, - "failureThreshold": -1784617397 - }, - "readinessProbe": { - "exec": { - "command": [ - "224" - ] - }, - "httpGet": { - "path": "225", - "port": "226", - "host": "227", - "scheme": "貾坢'跩aŕ翑0", - "httpHeaders": [ - { - "name": "228", - "value": "229" - } - ] - }, - "tcpSocket": { - "port": 1165327504, - "host": "230" - }, - "initialDelaySeconds": -2165496, - "timeoutSeconds": -1778952574, - "periodSeconds": 1386255869, - "successThreshold": -778272981, - "failureThreshold": 2056774277 - }, - "startupProbe": { - "exec": { - "command": [ - "231" - ] - }, - "httpGet": { - "path": "232", - "port": -1928016742, - "host": "233", - "scheme": "E¦", - "httpHeaders": [ - { - "name": "234", - "value": "235" - } - ] - }, - "tcpSocket": { - "port": "236", - "host": "237" - }, - "initialDelaySeconds": 1868887309, - "timeoutSeconds": -528664199, - "periodSeconds": -316996074, - "successThreshold": 1933968533, - "failureThreshold": 549215478 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "238" - ] - }, - "httpGet": { - "path": "239", - "port": 878005329, - "host": "240", - "scheme": "丟×x锏ɟ4Ǒ", - "httpHeaders": [ - { - "name": "241", - "value": "242" - } - ] - }, - "tcpSocket": { - "port": "243", - "host": "244" - } - }, - "preStop": { - "exec": { - "command": [ - "245" - ] - }, - "httpGet": { - "path": "246", - "port": 1746399757, - "host": "247", - "scheme": "V訆Ǝżŧ", - "httpHeaders": [ - { - "name": "248", - "value": "249" - } - ] - }, - "tcpSocket": { - "port": 204229950, - "host": "250" - } - } - }, - "terminationMessagePath": "251", - "terminationMessagePolicy": "NƗ¸gĩ", - "imagePullPolicy": "酊龨δ摖ȱğ_\u003c", - "securityContext": { - "capabilities": { - "add": [ - "J橈'琕鶫:顇ə娯" - ], - "drop": [ - "囌{屿oiɥ嵐sC" - ] - }, - "privileged": false, - "seLinuxOptions": { - "user": "252", - "role": "253", - "type": "254", - "level": "255" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "256", - "gmsaCredentialSpec": "257", - "runAsUserName": "258" - }, - "runAsUser": 7917735345573161773, - "runAsGroup": -6499508485510627932, - "runAsNonRoot": true, - "readOnlyRootFilesystem": false, - "allowPrivilegeEscalation": false, - "procMount": "Jih亏yƕ丆録²", - "seccompProfile": { - "type": ")/灩聋3趐囨鏻", - "localhostProfile": "259" - } - }, - "tty": true - } - ], - "containers": [ - { - "name": "260", - "image": "261", - "command": [ - "262" - ], - "args": [ - "263" - ], - "workingDir": "264", - "ports": [ - { - "name": "265", - "hostPort": -1365158918, - "containerPort": -305362540, - "protocol": "Ǩ繫ʎǑyZ涬P­蜷ɔ幩", - "hostIP": "266" - } - ], - "envFrom": [ - { - "prefix": "267", - "configMapRef": { - "name": "268", - "optional": true - }, - "secretRef": { - "name": "269", - "optional": true - } - } - ], - "env": [ - { - "name": "270", - "value": "271", - "valueFrom": { - "fieldRef": { - "apiVersion": "272", - "fieldPath": "273" - }, - "resourceFieldRef": { - "containerName": "274", - "resource": "275", - "divisor": "9" - }, - "configMapKeyRef": { - "name": "276", - "key": "277", - "optional": false - }, - "secretKeyRef": { - "name": "278", - "key": "279", - "optional": false - } - } - } - ], - "resources": { - "limits": { - "{WOŭW灬pȭCV擭銆jʒǚ鍰": "212" - }, - "requests": { - "| 鞤ɱďW賁Ěɭɪǹ0衷,": "227" - } - }, - "volumeMounts": [ - { - "name": "280", - "readOnly": true, - "mountPath": "281", - "subPath": "282", - "mountPropagation": "Bn(fǂǢ曣ŋayåe躒訙Ǫ", - "subPathExpr": "283" - } - ], - "volumeDevices": [ - { - "name": "284", - "devicePath": "285" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "286" - ] - }, - "httpGet": { - "path": "287", - "port": "288", - "host": "289", - "scheme": "uE增猍ǵ xǨŴ", - "httpHeaders": [ - { - "name": "290", - "value": "291" - } - ] - }, - "tcpSocket": { - "port": 2112112129, - "host": "292" - }, - "initialDelaySeconds": 528603974, - "timeoutSeconds": -342387625, - "periodSeconds": 1862455894, - "successThreshold": 1080918702, - "failureThreshold": -239264629 - }, - "readinessProbe": { - "exec": { - "command": [ - "293" - ] - }, - "httpGet": { - "path": "294", - "port": -186532794, - "host": "295", - "scheme": "ĩȲǸ|蕎'佉賞ǧĒzŔ瘍Nʊ輔3璾ė", - "httpHeaders": [ - { - "name": "296", - "value": "297" - } - ] - }, - "tcpSocket": { - "port": "298", - "host": "299" - }, - "initialDelaySeconds": -751455207, - "timeoutSeconds": -894026356, - "periodSeconds": 646133945, - "successThreshold": -506710067, - "failureThreshold": -47594442 - }, - "startupProbe": { - "exec": { - "command": [ - "300" - ] - }, - "httpGet": { - "path": "301", - "port": -1894326843, - "host": "302", - "scheme": "ƛ^輅9ɛ棕ƈ眽炊礫Ƽ¨I", - "httpHeaders": [ - { - "name": "303", - "value": "304" - } - ] - }, - "tcpSocket": { - "port": "305", - "host": "306" - }, - "initialDelaySeconds": -106856189, - "timeoutSeconds": -2078917333, - "periodSeconds": 86851677, - "successThreshold": -404911753, - "failureThreshold": 890223061 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "307" - ] - }, - "httpGet": { - "path": "308", - "port": -468215285, - "host": "309", - "scheme": "ʆɞȥ}礤铟怖ý萜Ǖc8", - "httpHeaders": [ - { - "name": "310", - "value": "311" - } - ] - }, - "tcpSocket": { - "port": "312", - "host": "313" - } - }, - "preStop": { - "exec": { - "command": [ - "314" - ] - }, - "httpGet": { - "path": "315", - "port": 293042649, - "host": "316", - "scheme": "ǔvÄÚ×p鬷m罂o3ǰ廋i乳'", - "httpHeaders": [ - { - "name": "317", - "value": "318" - } - ] - }, - "tcpSocket": { - "port": "319", - "host": "320" - } - } - }, - "terminationMessagePath": "321", - "terminationMessagePolicy": "ɻ;襕ċ桉桃喕", - "imagePullPolicy": "熀ďJZ漤", - "securityContext": { - "capabilities": { - "add": [ - "Ů\u003cy鯶縆łƑ[澔" - ], - "drop": [ - "JŵǤ" - ] - }, - "privileged": true, - "seLinuxOptions": { - "user": "322", - "role": "323", - "type": "324", - "level": "325" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "326", - "gmsaCredentialSpec": "327", - "runAsUserName": "328" - }, - "runAsUser": 296399212346260204, - "runAsGroup": 1571605531283019612, - "runAsNonRoot": true, - "readOnlyRootFilesystem": true, - "allowPrivilegeEscalation": false, - "procMount": "\u0026疀", - "seccompProfile": { - "type": "N翾", - "localhostProfile": "329" - } - }, - "tty": true - } - ], - "ephemeralContainers": [ - { - "name": "330", - "image": "331", - "command": [ - "332" - ], - "args": [ - "333" - ], - "workingDir": "334", - "ports": [ - { - "name": "335", - "hostPort": -1703842211, - "containerPort": 970355275, - "protocol": "ńČȷǻ.wȏâ磠Ƴ崖S", - "hostIP": "336" - } - ], - "envFrom": [ - { - "prefix": "337", - "configMapRef": { - "name": "338", - "optional": false - }, - "secretRef": { - "name": "339", - "optional": true - } - } - ], - "env": [ - { - "name": "340", - "value": "341", - "valueFrom": { - "fieldRef": { - "apiVersion": "342", - "fieldPath": "343" - }, - "resourceFieldRef": { - "containerName": "344", - "resource": "345", - "divisor": "592" - }, - "configMapKeyRef": { - "name": "346", - "key": "347", - "optional": false - }, - "secretKeyRef": { - "name": "348", - "key": "349", - "optional": false - } - } - } - ], - "resources": { - "limits": { - "ż鯀1": "636" - }, - "requests": { - "sYȠ繽敮ǰ詀": "570" - } - }, - "volumeMounts": [ - { - "name": "350", - "readOnly": true, - "mountPath": "351", - "subPath": "352", - "mountPropagation": "櫞繡旹翃ɾ氒ĺʈʫ羶剹Ɗ", - "subPathExpr": "353" - } - ], - "volumeDevices": [ - { - "name": "354", - "devicePath": "355" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "356" - ] - }, - "httpGet": { - "path": "357", - "port": -1247120403, - "host": "358", - "scheme": "ɾ", - "httpHeaders": [ - { - "name": "359", - "value": "360" - } - ] - }, - "tcpSocket": { - "port": -1695993040, - "host": "361" - }, - "initialDelaySeconds": 1218203975, - "timeoutSeconds": -1726456869, - "periodSeconds": 892837330, - "successThreshold": 789384689, - "failureThreshold": 436796816 - }, - "readinessProbe": { - "exec": { - "command": [ - "362" - ] - }, - "httpGet": { - "path": "363", - "port": "364", - "host": "365", - "scheme": "Ȋ飂廤Ƌʙcx赮ǒđ\u003e*劶?jĎ", - "httpHeaders": [ - { - "name": "366", - "value": "367" - } - ] - }, - "tcpSocket": { - "port": "368", - "host": "369" - }, - "initialDelaySeconds": -821592382, - "timeoutSeconds": 1678953375, - "periodSeconds": 1045190247, - "successThreshold": 1805682547, - "failureThreshold": -651405950 - }, - "startupProbe": { - "exec": { - "command": [ - "370" - ] - }, - "httpGet": { - "path": "371", - "port": "372", - "host": "373", - "scheme": "|ǓÓ敆OɈÏ 瞍髃", - "httpHeaders": [ - { - "name": "374", - "value": "375" - } - ] - }, - "tcpSocket": { - "port": -392406530, - "host": "376" - }, - "initialDelaySeconds": -839925309, - "timeoutSeconds": -526099499, - "periodSeconds": -1014296961, - "successThreshold": 1708011112, - "failureThreshold": -603097910 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "377" - ] - }, - "httpGet": { - "path": "378", - "port": "379", - "host": "380", - "scheme": "遲njlȘ鹾KƂʼnçȶŮ嫠!@@)Z", - "httpHeaders": [ - { - "name": "381", - "value": "382" - } - ] - }, - "tcpSocket": { - "port": "383", - "host": "384" - } - }, - "preStop": { - "exec": { - "command": [ - "385" - ] - }, - "httpGet": { - "path": "386", - "port": 1041627045, - "host": "387", - "scheme": "2讅缔m葰賦迾娙ƴ4", - "httpHeaders": [ - { - "name": "388", - "value": "389" - } - ] - }, - "tcpSocket": { - "port": 2088991012, - "host": "390" - } - } - }, - "terminationMessagePath": "391", - "terminationMessagePolicy": "沥7uPƒw©ɴĶ烷Ľthp", - "imagePullPolicy": "陴Sĕ濦ʓɻŊ0蚢鑸鶲Ãqb", - "securityContext": { - "capabilities": { - "add": [ - "滨Ė" - ], - "drop": [ - "h}颉hȱɷȰW瀤oɢ嫎" - ] - }, - "privileged": true, - "seLinuxOptions": { - "user": "392", - "role": "393", - "type": "394", - "level": "395" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "396", - "gmsaCredentialSpec": "397", - "runAsUserName": "398" - }, - "runAsUser": -4298540371641498337, - "runAsGroup": 2803560372754431995, - "runAsNonRoot": false, - "readOnlyRootFilesystem": true, - "allowPrivilegeEscalation": true, - "procMount": "t(ȗŜŲ\u0026洪y儕lmòɻŶJ詢QǾɁ", - "seccompProfile": { - "type": "G鯇ɀ魒Ð扬=惍EʦŊĊ娮rȧŹ黷`嵐", - "localhostProfile": "399" - } - }, - "stdin": true, - "stdinOnce": true, - "targetContainerName": "400" - } - ], - "restartPolicy": "婦", - "terminationGracePeriodSeconds": -7767642171323610380, - "activeDeadlineSeconds": -4963438147266444254, - "dnsPolicy": "ʫį淓¯Ą0ƛ忀z委\u003e,趐V曡88 ", - "nodeSelector": { - "401": "402" - }, - "serviceAccountName": "403", - "serviceAccount": "404", - "automountServiceAccountToken": false, - "nodeName": "405", - "hostPID": true, - "shareProcessNamespace": false, - "securityContext": { - "seLinuxOptions": { - "user": "406", - "role": "407", - "type": "408", - "level": "409" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "410", - "gmsaCredentialSpec": "411", - "runAsUserName": "412" - }, - "runAsUser": -8872996084157186866, - "runAsGroup": -1083846598029307786, - "runAsNonRoot": false, - "supplementalGroups": [ - -46143243150134963 - ], - "fsGroup": -6298002649883493725, - "sysctls": [ - { - "name": "413", - "value": "414" - } - ], - "fsGroupChangePolicy": "ä2 ɲ±m嵘厶sȰÖ埡Æ", - "seccompProfile": { - "type": "Ş襵樞úʥ銀", - "localhostProfile": "415" - } - }, - "imagePullSecrets": [ - { - "name": "416" - } - ], - "hostname": "417", - "subdomain": "418", - "affinity": { - "nodeAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": { - "nodeSelectorTerms": [ - { - "matchExpressions": [ - { - "key": "419", - "operator": "ĵ'o儿Ƭ銭u裡_Ơ9oÕęȄ怈", - "values": [ - "420" - ] - } - ], - "matchFields": [ - { - "key": "421", - "operator": "", - "values": [ - "422" - ] - } - ] - } - ] - }, - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": -1677779481, - "preference": { - "matchExpressions": [ - { - "key": "423", - "operator": "WĶʗ", - "values": [ - "424" - ] - } - ], - "matchFields": [ - { - "key": "425", - "operator": "裥d[榴^șƷK", - "values": [ - "426" - ] - } - ] - } - } - ] - }, - "podAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": [ - { - "labelSelector": { - "matchLabels": { - "9oE9_6.--v17r__.2bIZ___._6..tf-_u-3-_n0..KpiS.oK-O": "o5-yp8q_s-1_g" - }, - "matchExpressions": [ - { - "key": "x3zm-lx300w-tj-35840-w4g-27-5sx6dbp-72q--m--2k-p---19/6l.-5_BZk5v3aUK_--_o_2.--4ZH", - "operator": "NotIn", - "values": [ - "M.--_-_ve5.m_2_--XZ-x.__.Y_2-n_503" - ] - } - ] - }, - "namespaces": [ - "433" - ], - "topologyKey": "434" - } - ], - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": 1569550894, - "podAffinityTerm": { - "labelSelector": { - "matchLabels": { - "A-o-__y__._12..wrbW_E..24-O._.v._9-cz.-Y6T4g_-.._L2": "Jm...CqrN7_B__--v-3-BzO5z80n_Ht5W_._._-2M2._I-_P..w-W_-E" - }, - "matchExpressions": [ - { - "key": "75p1em---1wwv3-f/k47M7y-Dy__3wcq", - "operator": "NotIn", - "values": [ - "x4D-r.-F__r.oh..2_uGGP..-_N_h_4Hl-X0_2--__4K..-68-A" - ] - } - ] - }, - "namespaces": [ - "441" - ], - "topologyKey": "442" - } - } - ] - }, - "podAntiAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": [ - { - "labelSelector": { - "matchLabels": { - "w_--5-_.3--_9QW2JkU27_.-4T-9": "4.K.-.0__sD.-.-_I-F.PWtO4-7-P41_.-.-AQ._4" - }, - "matchExpressions": [ - { - "key": "J-_.ZCRT.0z-oe.G79.3bU_._nV34GH", - "operator": "DoesNotExist" - } - ] - }, - "namespaces": [ - "449" - ], - "topologyKey": "450" - } - ], - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": 1206700920, - "podAffinityTerm": { - "labelSelector": { - "matchLabels": { - "HzZsY_o8t5Vl6_..7CY-_c": "ZG6N-_-0o.0C_gV.9_G-.-z1H" - }, - "matchExpressions": [ - { - "key": "cg-w2q76.6-7w-tdt-u-0----p6l-3-znd-8b-dg--1035ad1o-d-6-bk81-3s/9x98MM7-.e.Dx._.W-6..4_MU7iLfS-0.9-.-._.1..s._jP6j.u--.K--g__.2", - "operator": "DoesNotExist" - } - ] - }, - "namespaces": [ - "457" - ], - "topologyKey": "458" - } - } - ] - } - }, - "schedulerName": "459", - "tolerations": [ - { - "key": "460", - "operator": "眊:YĹ爩í鬯濴VǕ癶L浼h嫨炛", - "value": "461", - "effect": "ÖTő净湅oĒ弦", - "tolerationSeconds": -3092025889836357564 - } - ], - "hostAliases": [ - { - "ip": "462", - "hostnames": [ - "463" - ] - } - ], - "priorityClassName": "464", - "priority": -192869830, - "dnsConfig": { - "nameservers": [ - "465" - ], - "searches": [ - "466" - ], - "options": [ - { - "name": "467", - "value": "468" - } - ] - }, - "readinessGates": [ - { - "conditionType": "讱" - } - ], - "runtimeClassName": "469", - "enableServiceLinks": true, - "preemptionPolicy": "疅檎ǽ曖sƖTƫ雮蛱ñYȴ鴜.弊þ", - "overhead": { - "奿ÆŁĪŀc=Ƨz鈡煰敹xŪOr揷Ŝ": "15" - }, - "topologySpreadConstraints": [ - { - "maxSkew": -816594589, - "topologyKey": "470", - "whenUnsatisfiable": "", - "labelSelector": { - "matchLabels": { - "D7RufiV-7u0--_qv4--_.6_N_9X-B.s8.N_rM-k8": "7e.._d--Y-_l-v0-1V-N-R__R9" - }, - "matchExpressions": [ - { - "key": "b-k7cr-mo-dz12---i/6.W-m_-Z.wc..k_0_5.z.0..__D-1b.-9.Y0-_-.l__.c17__f_-336-B", - "operator": "Exists" - } - ] - } - } - ], - "setHostnameAsFQDN": true - } - }, - "ttlSecondsAfterFinished": -1766935785 - } - } -} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.JobTemplate.pb b/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.JobTemplate.pb deleted file mode 100644 index ec2c492aadc..00000000000 Binary files a/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.JobTemplate.pb and /dev/null differ diff --git a/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.JobTemplate.yaml b/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.JobTemplate.yaml deleted file mode 100644 index 00babd90526..00000000000 --- a/staging/src/k8s.io/api/testdata/HEAD/batch.v2alpha1.JobTemplate.yaml +++ /dev/null @@ -1,1045 +0,0 @@ -apiVersion: batch/v2alpha1 -kind: JobTemplate -metadata: - annotations: - "9": "10" - clusterName: "15" - creationTimestamp: null - deletionGracePeriodSeconds: -4955867275792137171 - finalizers: - - "14" - generateName: "3" - generation: 8071137005907523419 - labels: - "7": "8" - managedFields: - - apiVersion: "17" - fieldsType: "18" - manager: "16" - operation: 鐊唊飙Ş-U圴÷a/ɔ}摁(湗Ć] - name: "2" - namespace: "4" - ownerReferences: - - apiVersion: "11" - blockOwnerDeletion: true - controller: false - kind: "12" - name: "13" - uid: Dz廔ȇ{sŊƏp - resourceVersion: "11042405498087606203" - selfLink: "5" - uid: "7" -template: - metadata: - annotations: - "26": "27" - clusterName: "32" - creationTimestamp: null - deletionGracePeriodSeconds: 4075183944016503389 - finalizers: - - "31" - generateName: "20" - generation: 5259823216098853135 - labels: - "24": "25" - managedFields: - - apiVersion: "34" - fieldsType: "35" - manager: "33" - operation: ěĂ凗蓏Ŋ蛊ĉy緅縕 - name: "19" - namespace: "21" - ownerReferences: - - apiVersion: "28" - blockOwnerDeletion: false - controller: true - kind: "29" - name: "30" - uid: ɑ - resourceVersion: "17916580954637291219" - selfLink: "22" - uid: SǡƏ - spec: - activeDeadlineSeconds: -9086179100394185427 - backoffLimit: -1796008812 - completions: -1771909905 - manualSelector: false - parallelism: -443114323 - selector: - matchExpressions: - - key: 2.-__E_Sv__26KX_R_.-.Nth._--S_4DA_-5_-4lQ42M--n1-5 - operator: In - values: - - Ou1.m_.5AW-_S-.3g.7_2fNc5-_.-RX8 - matchLabels: - g5i9/l-Y._.-444: c2_kS91.e5K-_e63_-_3-n-_-__3u-.__P__.7U-Uo_4_-D7r__.am64 - template: - metadata: - annotations: - "49": "50" - clusterName: "55" - creationTimestamp: null - deletionGracePeriodSeconds: -2901856114738744973 - finalizers: - - "54" - generateName: "43" - generation: 9213888658033954596 - labels: - "47": "48" - managedFields: - - apiVersion: "57" - fieldsType: "58" - manager: "56" - operation: ö嗏ʑ>季Cʖ畬x骀Šĸů - name: "42" - namespace: "44" - ownerReferences: - - apiVersion: "51" - blockOwnerDeletion: false - controller: false - kind: "52" - name: "53" - uid: I拍N嚳ķȗɊ捵TwMȗ礼 - resourceVersion: "5994087412557504692" - selfLink: "45" - uid: Ȗ脵鴈Ō - spec: - activeDeadlineSeconds: -4963438147266444254 - affinity: - nodeAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - preference: - matchExpressions: - - key: "423" - operator: WĶʗ - values: - - "424" - matchFields: - - key: "425" - operator: 裥d[榴^șƷK - values: - - "426" - weight: -1677779481 - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: "419" - operator: ĵ'o儿Ƭ銭u裡_Ơ9oÕęȄ怈 - values: - - "420" - matchFields: - - key: "421" - operator: "" - values: - - "422" - podAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - podAffinityTerm: - labelSelector: - matchExpressions: - - key: 75p1em---1wwv3-f/k47M7y-Dy__3wcq - operator: NotIn - values: - - x4D-r.-F__r.oh..2_uGGP..-_N_h_4Hl-X0_2--__4K..-68-A - matchLabels: - A-o-__y__._12..wrbW_E..24-O._.v._9-cz.-Y6T4g_-.._L2: Jm...CqrN7_B__--v-3-BzO5z80n_Ht5W_._._-2M2._I-_P..w-W_-E - namespaces: - - "441" - topologyKey: "442" - weight: 1569550894 - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: x3zm-lx300w-tj-35840-w4g-27-5sx6dbp-72q--m--2k-p---19/6l.-5_BZk5v3aUK_--_o_2.--4ZH - operator: NotIn - values: - - M.--_-_ve5.m_2_--XZ-x.__.Y_2-n_503 - matchLabels: - 9oE9_6.--v17r__.2bIZ___._6..tf-_u-3-_n0..KpiS.oK-O: o5-yp8q_s-1_g - namespaces: - - "433" - topologyKey: "434" - podAntiAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - podAffinityTerm: - labelSelector: - matchExpressions: - - key: cg-w2q76.6-7w-tdt-u-0----p6l-3-znd-8b-dg--1035ad1o-d-6-bk81-3s/9x98MM7-.e.Dx._.W-6..4_MU7iLfS-0.9-.-._.1..s._jP6j.u--.K--g__.2 - operator: DoesNotExist - matchLabels: - HzZsY_o8t5Vl6_..7CY-_c: ZG6N-_-0o.0C_gV.9_G-.-z1H - namespaces: - - "457" - topologyKey: "458" - weight: 1206700920 - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: J-_.ZCRT.0z-oe.G79.3bU_._nV34GH - operator: DoesNotExist - matchLabels: - w_--5-_.3--_9QW2JkU27_.-4T-9: 4.K.-.0__sD.-.-_I-F.PWtO4-7-P41_.-.-AQ._4 - namespaces: - - "449" - topologyKey: "450" - automountServiceAccountToken: false - containers: - - args: - - "263" - command: - - "262" - env: - - name: "270" - value: "271" - valueFrom: - configMapKeyRef: - key: "277" - name: "276" - optional: false - fieldRef: - apiVersion: "272" - fieldPath: "273" - resourceFieldRef: - containerName: "274" - divisor: "9" - resource: "275" - secretKeyRef: - key: "279" - name: "278" - optional: false - envFrom: - - configMapRef: - name: "268" - optional: true - prefix: "267" - secretRef: - name: "269" - optional: true - image: "261" - imagePullPolicy: 熀ďJZ漤 - lifecycle: - postStart: - exec: - command: - - "307" - httpGet: - host: "309" - httpHeaders: - - name: "310" - value: "311" - path: "308" - port: -468215285 - scheme: ʆɞȥ}礤铟怖ý萜Ǖc8 - tcpSocket: - host: "313" - port: "312" - preStop: - exec: - command: - - "314" - httpGet: - host: "316" - httpHeaders: - - name: "317" - value: "318" - path: "315" - port: 293042649 - scheme: ǔvÄÚ×p鬷m罂o3ǰ廋i乳' - tcpSocket: - host: "320" - port: "319" - livenessProbe: - exec: - command: - - "286" - failureThreshold: -239264629 - httpGet: - host: "289" - httpHeaders: - - name: "290" - value: "291" - path: "287" - port: "288" - scheme: uE增猍ǵ xǨŴ - initialDelaySeconds: 528603974 - periodSeconds: 1862455894 - successThreshold: 1080918702 - tcpSocket: - host: "292" - port: 2112112129 - timeoutSeconds: -342387625 - name: "260" - ports: - - containerPort: -305362540 - hostIP: "266" - hostPort: -1365158918 - name: "265" - protocol: Ǩ繫ʎǑyZ涬P­蜷ɔ幩 - readinessProbe: - exec: - command: - - "293" - failureThreshold: -47594442 - httpGet: - host: "295" - httpHeaders: - - name: "296" - value: "297" - path: "294" - port: -186532794 - scheme: ĩȲǸ|蕎'佉賞ǧĒzŔ瘍Nʊ輔3璾ė - initialDelaySeconds: -751455207 - periodSeconds: 646133945 - successThreshold: -506710067 - tcpSocket: - host: "299" - port: "298" - timeoutSeconds: -894026356 - resources: - limits: - '{WOŭW灬pȭCV擭銆jʒǚ鍰': "212" - requests: - '| 鞤ɱďW賁Ěɭɪǹ0衷,': "227" - securityContext: - allowPrivilegeEscalation: false - capabilities: - add: - - Ů,趐V曡88 ' - enableServiceLinks: true - ephemeralContainers: - - args: - - "333" - command: - - "332" - env: - - name: "340" - value: "341" - valueFrom: - configMapKeyRef: - key: "347" - name: "346" - optional: false - fieldRef: - apiVersion: "342" - fieldPath: "343" - resourceFieldRef: - containerName: "344" - divisor: "592" - resource: "345" - secretKeyRef: - key: "349" - name: "348" - optional: false - envFrom: - - configMapRef: - name: "338" - optional: false - prefix: "337" - secretRef: - name: "339" - optional: true - image: "331" - imagePullPolicy: 陴Sĕ濦ʓɻŊ0蚢鑸鶲Ãqb - lifecycle: - postStart: - exec: - command: - - "377" - httpGet: - host: "380" - httpHeaders: - - name: "381" - value: "382" - path: "378" - port: "379" - scheme: 遲njlȘ鹾KƂʼnçȶŮ嫠!@@)Z - tcpSocket: - host: "384" - port: "383" - preStop: - exec: - command: - - "385" - httpGet: - host: "387" - httpHeaders: - - name: "388" - value: "389" - path: "386" - port: 1041627045 - scheme: 2讅缔m葰賦迾娙ƴ4 - tcpSocket: - host: "390" - port: 2088991012 - livenessProbe: - exec: - command: - - "356" - failureThreshold: 436796816 - httpGet: - host: "358" - httpHeaders: - - name: "359" - value: "360" - path: "357" - port: -1247120403 - scheme: ɾ - initialDelaySeconds: 1218203975 - periodSeconds: 892837330 - successThreshold: 789384689 - tcpSocket: - host: "361" - port: -1695993040 - timeoutSeconds: -1726456869 - name: "330" - ports: - - containerPort: 970355275 - hostIP: "336" - hostPort: -1703842211 - name: "335" - protocol: ńČȷǻ.wȏâ磠Ƴ崖S - readinessProbe: - exec: - command: - - "362" - failureThreshold: -651405950 - httpGet: - host: "365" - httpHeaders: - - name: "366" - value: "367" - path: "363" - port: "364" - scheme: Ȋ飂廤Ƌʙcx赮ǒđ>*劶?jĎ - initialDelaySeconds: -821592382 - periodSeconds: 1045190247 - successThreshold: 1805682547 - tcpSocket: - host: "369" - port: "368" - timeoutSeconds: 1678953375 - resources: - limits: - ż鯀1: "636" - requests: - sYȠ繽敮ǰ詀: "570" - securityContext: - allowPrivilegeEscalation: true - capabilities: - add: - - 滨Ė - drop: - - h}颉hȱɷȰW瀤oɢ嫎 - privileged: true - procMount: t(ȗŜŲ&洪y儕lmòɻŶJ詢QǾɁ - readOnlyRootFilesystem: true - runAsGroup: 2803560372754431995 - runAsNonRoot: false - runAsUser: -4298540371641498337 - seLinuxOptions: - level: "395" - role: "393" - type: "394" - user: "392" - seccompProfile: - localhostProfile: "399" - type: G鯇ɀ魒Ð扬=惍EʦŊĊ娮rȧŹ黷`嵐 - windowsOptions: - gmsaCredentialSpec: "397" - gmsaCredentialSpecName: "396" - runAsUserName: "398" - startupProbe: - exec: - command: - - "370" - failureThreshold: -603097910 - httpGet: - host: "373" - httpHeaders: - - name: "374" - value: "375" - path: "371" - port: "372" - scheme: '|ǓÓ敆OɈÏ 瞍髃' - initialDelaySeconds: -839925309 - periodSeconds: -1014296961 - successThreshold: 1708011112 - tcpSocket: - host: "376" - port: -392406530 - timeoutSeconds: -526099499 - stdin: true - stdinOnce: true - targetContainerName: "400" - terminationMessagePath: "391" - terminationMessagePolicy: 沥7uPƒw©ɴĶ烷Ľthp - volumeDevices: - - devicePath: "355" - name: "354" - volumeMounts: - - mountPath: "351" - mountPropagation: 櫞繡旹翃ɾ氒ĺʈʫ羶剹Ɗ - name: "350" - readOnly: true - subPath: "352" - subPathExpr: "353" - workingDir: "334" - hostAliases: - - hostnames: - - "463" - ip: "462" - hostPID: true - hostname: "417" - imagePullSecrets: - - name: "416" - initContainers: - - args: - - "195" - command: - - "194" - env: - - name: "202" - value: "203" - valueFrom: - configMapKeyRef: - key: "209" - name: "208" - optional: true - fieldRef: - apiVersion: "204" - fieldPath: "205" - resourceFieldRef: - containerName: "206" - divisor: "241" - resource: "207" - secretKeyRef: - key: "211" - name: "210" - optional: false - envFrom: - - configMapRef: - name: "200" - optional: false - prefix: "199" - secretRef: - name: "201" - optional: false - image: "193" - imagePullPolicy: 酊龨δ摖ȱğ_< - lifecycle: - postStart: - exec: - command: - - "238" - httpGet: - host: "240" - httpHeaders: - - name: "241" - value: "242" - path: "239" - port: 878005329 - scheme: 丟×x锏ɟ4Ǒ - tcpSocket: - host: "244" - port: "243" - preStop: - exec: - command: - - "245" - httpGet: - host: "247" - httpHeaders: - - name: "248" - value: "249" - path: "246" - port: 1746399757 - scheme: V訆Ǝżŧ - tcpSocket: - host: "250" - port: 204229950 - livenessProbe: - exec: - command: - - "218" - failureThreshold: -1784617397 - httpGet: - host: "220" - httpHeaders: - - name: "221" - value: "222" - path: "219" - port: -1225815437 - scheme: 荭gw忊|E - initialDelaySeconds: 1004325340 - periodSeconds: 14304392 - successThreshold: 465972736 - tcpSocket: - host: "223" - port: -438588982 - timeoutSeconds: -1313320434 - name: "192" - ports: - - containerPort: 1791615594 - hostIP: "198" - hostPort: -805795167 - name: "197" - protocol: Ƥ熪军g>郵[+扴 - readinessProbe: - exec: - command: - - "224" - failureThreshold: 2056774277 - httpGet: - host: "227" - httpHeaders: - - name: "228" - value: "229" - path: "225" - port: "226" - scheme: 貾坢'跩aŕ翑0 - initialDelaySeconds: -2165496 - periodSeconds: 1386255869 - successThreshold: -778272981 - tcpSocket: - host: "230" - port: 1165327504 - timeoutSeconds: -1778952574 - resources: - limits: - "": "268" - requests: - -Ɂ圯W:ĸ輦唊#v铿ʩȂ4ē鐭#嬀ơ: "340" - securityContext: - allowPrivilegeEscalation: false - capabilities: - add: - - J橈'琕鶫:顇ə娯 - drop: - - 囌{屿oiɥ嵐sC - privileged: false - procMount: Jih亏yƕ丆録² - readOnlyRootFilesystem: false - runAsGroup: -6499508485510627932 - runAsNonRoot: true - runAsUser: 7917735345573161773 - seLinuxOptions: - level: "255" - role: "253" - type: "254" - user: "252" - seccompProfile: - localhostProfile: "259" - type: )/灩聋3趐囨鏻 - windowsOptions: - gmsaCredentialSpec: "257" - gmsaCredentialSpecName: "256" - runAsUserName: "258" - startupProbe: - exec: - command: - - "231" - failureThreshold: 549215478 - httpGet: - host: "233" - httpHeaders: - - name: "234" - value: "235" - path: "232" - port: -1928016742 - scheme: E¦ - initialDelaySeconds: 1868887309 - periodSeconds: -316996074 - successThreshold: 1933968533 - tcpSocket: - host: "237" - port: "236" - timeoutSeconds: -528664199 - terminationMessagePath: "251" - terminationMessagePolicy: NƗ¸gĩ - tty: true - volumeDevices: - - devicePath: "217" - name: "216" - volumeMounts: - - mountPath: "213" - mountPropagation: 藢xɮĵȑ6L*Z鐫û咡W< - name: "212" - subPath: "214" - subPathExpr: "215" - workingDir: "196" - nodeName: "405" - nodeSelector: - "401": "402" - overhead: - 奿ÆŁĪŀc=Ƨz鈡煰敹xŪOr揷Ŝ: "15" - preemptionPolicy: 疅檎ǽ曖sƖTƫ雮蛱ñYȴ鴜.弊þ - priority: -192869830 - priorityClassName: "464" - readinessGates: - - conditionType: 讱 - restartPolicy: 婦 - runtimeClassName: "469" - schedulerName: "459" - securityContext: - fsGroup: -6298002649883493725 - fsGroupChangePolicy: ä2 ɲ±m嵘厶sȰÖ埡Æ - runAsGroup: -1083846598029307786 - runAsNonRoot: false - runAsUser: -8872996084157186866 - seLinuxOptions: - level: "409" - role: "407" - type: "408" - user: "406" - seccompProfile: - localhostProfile: "415" - type: Ş襵樞úʥ銀 - supplementalGroups: - - -46143243150134963 - sysctls: - - name: "413" - value: "414" - windowsOptions: - gmsaCredentialSpec: "411" - gmsaCredentialSpecName: "410" - runAsUserName: "412" - serviceAccount: "404" - serviceAccountName: "403" - setHostnameAsFQDN: true - shareProcessNamespace: false - subdomain: "418" - terminationGracePeriodSeconds: -7767642171323610380 - tolerations: - - effect: ÖTő净湅oĒ弦 - key: "460" - operator: 眊:YĹ爩í鬯濴VǕ癶L浼h嫨炛 - tolerationSeconds: -3092025889836357564 - value: "461" - topologySpreadConstraints: - - labelSelector: - matchExpressions: - - key: b-k7cr-mo-dz12---i/6.W-m_-Z.wc..k_0_5.z.0..__D-1b.-9.Y0-_-.l__.c17__f_-336-B - operator: Exists - matchLabels: - D7RufiV-7u0--_qv4--_.6_N_9X-B.s8.N_rM-k8: 7e.._d--Y-_l-v0-1V-N-R__R9 - maxSkew: -816594589 - topologyKey: "470" - whenUnsatisfiable: "" - volumes: - - awsElasticBlockStore: - fsType: "64" - partition: -104666658 - readOnly: true - volumeID: "63" - azureDisk: - cachingMode: ʜǝ鿟ldg滠鼍ƭt - diskName: "127" - diskURI: "128" - fsType: "129" - kind: ȫşŇɜa - readOnly: true - azureFile: - secretName: "113" - shareName: "114" - cephfs: - monitors: - - "98" - path: "99" - secretFile: "101" - secretRef: - name: "102" - user: "100" - cinder: - fsType: "96" - readOnly: true - secretRef: - name: "97" - volumeID: "95" - configMap: - defaultMode: -599608368 - items: - - key: "116" - mode: -1194714697 - path: "117" - name: "115" - optional: true - csi: - driver: "159" - fsType: "160" - nodePublishSecretRef: - name: "163" - readOnly: true - volumeAttributes: - "161": "162" - downwardAPI: - defaultMode: 1801487647 - items: - - fieldRef: - apiVersion: "106" - fieldPath: "107" - mode: 1322858613 - path: "105" - resourceFieldRef: - containerName: "108" - divisor: "889" - resource: "109" - emptyDir: - medium: 踓Ǻǧ湬淊kŪ睴鸏:ɥ³ƞsɁ8^ʥ - sizeLimit: "681" - ephemeral: - readOnly: true - volumeClaimTemplate: - metadata: - annotations: - "171": "172" - clusterName: "177" - creationTimestamp: null - deletionGracePeriodSeconds: -1837257934517376612 - finalizers: - - "176" - generateName: "165" - generation: -8801560367353238479 - labels: - "169": "170" - managedFields: - - apiVersion: "179" - fieldsType: "180" - manager: "178" - operation: 蒅!a坩O`涁İ而踪鄌 - name: "164" - namespace: "166" - ownerReferences: - - apiVersion: "173" - blockOwnerDeletion: true - controller: true - kind: "174" - name: "175" - uid: "" - resourceVersion: "917467801074989174" - selfLink: "167" - uid: ;栍dʪīT捘ɍi縱ù墴1Rƥ贫d飼 - spec: - accessModes: - - '|@?鷅bȻN' - dataSource: - apiGroup: "189" - kind: "190" - name: "191" - resources: - limits: - ?$矡ȶ网棊ʢ: "891" - requests: - Ⱥ眖R#yV'WKw(ğ: "423" - selector: - matchExpressions: - - key: 39-295at-o7qff7-x--r7v66bm71u-n4f9wk-3--652x01--p--n4-4-l.onh-9289---x-p-qpt6-1w-3205c1lxeqyn-5--9d5a3-7bf46g-40883176jte/Pi.-_-a-G - operator: Exists - matchLabels: - fi-a--w---f-e.z-j4kh6oqu-or---40--87-1wpl6-2-310e5hyzn0w-p4mzlu/m_AO-l8VKLyHA_.-F_E2_QOQ: E._._3.-.83_iq_-y.-25C.A-j..9dfn3Y8d_0_.---M_4FF - storageClassName: "188" - volumeMode: 跦Opwǩ曬逴褜1 - volumeName: "187" - fc: - fsType: "111" - lun: 1169718433 - targetWWNs: - - "110" - wwids: - - "112" - flexVolume: - driver: "90" - fsType: "91" - options: - "93": "94" - readOnly: true - secretRef: - name: "92" - flocker: - datasetName: "103" - datasetUUID: "104" - gcePersistentDisk: - fsType: "62" - partition: 2065358741 - pdName: "61" - readOnly: true - gitRepo: - directory: "67" - repository: "65" - revision: "66" - glusterfs: - endpoints: "80" - path: "81" - hostPath: - path: "60" - type: /淹\韲翁&ʢsɜ曢\%枅:=ǛƓ - iscsi: - chapAuthSession: true - fsType: "76" - initiatorName: "79" - iqn: "74" - iscsiInterface: "75" - lun: -663180249 - portals: - - "77" - readOnly: true - secretRef: - name: "78" - targetPortal: "73" - name: "59" - nfs: - path: "72" - server: "71" - persistentVolumeClaim: - claimName: "82" - photonPersistentDisk: - fsType: "131" - pdID: "130" - portworxVolume: - fsType: "146" - readOnly: true - volumeID: "145" - projected: - defaultMode: -1980941277 - sources: - - configMap: - items: - - key: "141" - mode: 1730325900 - path: "142" - name: "140" - optional: true - downwardAPI: - items: - - fieldRef: - apiVersion: "136" - fieldPath: "137" - mode: -555780268 - path: "135" - resourceFieldRef: - containerName: "138" - divisor: "952" - resource: "139" - secret: - items: - - key: "133" - mode: 782113097 - path: "134" - name: "132" - optional: true - serviceAccountToken: - audience: "143" - expirationSeconds: -2937394236764575757 - path: "144" - quobyte: - group: "125" - readOnly: true - registry: "122" - tenant: "126" - user: "124" - volume: "123" - rbd: - fsType: "85" - image: "84" - keyring: "88" - monitors: - - "83" - pool: "86" - readOnly: true - secretRef: - name: "89" - user: "87" - scaleIO: - fsType: "154" - gateway: "147" - protectionDomain: "150" - secretRef: - name: "149" - sslEnabled: true - storageMode: "152" - storagePool: "151" - system: "148" - volumeName: "153" - secret: - defaultMode: 1655406148 - items: - - key: "69" - mode: 1648350164 - path: "70" - optional: true - secretName: "68" - storageos: - fsType: "157" - readOnly: true - secretRef: - name: "158" - volumeName: "155" - volumeNamespace: "156" - vsphereVolume: - fsType: "119" - storagePolicyID: "121" - storagePolicyName: "120" - volumePath: "118" - ttlSecondsAfterFinished: -1766935785 diff --git a/staging/src/k8s.io/client-go/BUILD b/staging/src/k8s.io/client-go/BUILD index abdf9462535..583023d8354 100644 --- a/staging/src/k8s.io/client-go/BUILD +++ b/staging/src/k8s.io/client-go/BUILD @@ -36,7 +36,6 @@ filegroup( "//staging/src/k8s.io/client-go/listers/autoscaling/v2beta2:all-srcs", "//staging/src/k8s.io/client-go/listers/batch/v1:all-srcs", "//staging/src/k8s.io/client-go/listers/batch/v1beta1:all-srcs", - "//staging/src/k8s.io/client-go/listers/batch/v2alpha1:all-srcs", "//staging/src/k8s.io/client-go/listers/certificates/v1:all-srcs", "//staging/src/k8s.io/client-go/listers/certificates/v1beta1:all-srcs", "//staging/src/k8s.io/client-go/listers/coordination/v1:all-srcs", diff --git a/staging/src/k8s.io/client-go/informers/BUILD b/staging/src/k8s.io/client-go/informers/BUILD index 742a146a139..ffabd81d4c3 100644 --- a/staging/src/k8s.io/client-go/informers/BUILD +++ b/staging/src/k8s.io/client-go/informers/BUILD @@ -21,7 +21,6 @@ go_library( "//staging/src/k8s.io/api/autoscaling/v2beta2:go_default_library", "//staging/src/k8s.io/api/batch/v1:go_default_library", "//staging/src/k8s.io/api/batch/v1beta1:go_default_library", - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", "//staging/src/k8s.io/api/certificates/v1:go_default_library", "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library", "//staging/src/k8s.io/api/coordination/v1:go_default_library", diff --git a/staging/src/k8s.io/client-go/informers/batch/BUILD b/staging/src/k8s.io/client-go/informers/batch/BUILD index 3d461ecacda..bbc5c0a733e 100644 --- a/staging/src/k8s.io/client-go/informers/batch/BUILD +++ b/staging/src/k8s.io/client-go/informers/batch/BUILD @@ -13,7 +13,6 @@ go_library( deps = [ "//staging/src/k8s.io/client-go/informers/batch/v1:go_default_library", "//staging/src/k8s.io/client-go/informers/batch/v1beta1:go_default_library", - "//staging/src/k8s.io/client-go/informers/batch/v2alpha1:go_default_library", "//staging/src/k8s.io/client-go/informers/internalinterfaces:go_default_library", ], ) @@ -31,7 +30,6 @@ filegroup( ":package-srcs", "//staging/src/k8s.io/client-go/informers/batch/v1:all-srcs", "//staging/src/k8s.io/client-go/informers/batch/v1beta1:all-srcs", - "//staging/src/k8s.io/client-go/informers/batch/v2alpha1:all-srcs", ], tags = ["automanaged"], ) diff --git a/staging/src/k8s.io/client-go/informers/batch/interface.go b/staging/src/k8s.io/client-go/informers/batch/interface.go index fa428869dfd..53b81c7ecc6 100644 --- a/staging/src/k8s.io/client-go/informers/batch/interface.go +++ b/staging/src/k8s.io/client-go/informers/batch/interface.go @@ -21,7 +21,6 @@ package batch import ( v1 "k8s.io/client-go/informers/batch/v1" v1beta1 "k8s.io/client-go/informers/batch/v1beta1" - v2alpha1 "k8s.io/client-go/informers/batch/v2alpha1" internalinterfaces "k8s.io/client-go/informers/internalinterfaces" ) @@ -31,8 +30,6 @@ type Interface interface { V1() v1.Interface // V1beta1 provides access to shared informers for resources in V1beta1. V1beta1() v1beta1.Interface - // V2alpha1 provides access to shared informers for resources in V2alpha1. - V2alpha1() v2alpha1.Interface } type group struct { @@ -55,8 +52,3 @@ func (g *group) V1() v1.Interface { func (g *group) V1beta1() v1beta1.Interface { return v1beta1.New(g.factory, g.namespace, g.tweakListOptions) } - -// V2alpha1 returns a new v2alpha1.Interface. -func (g *group) V2alpha1() v2alpha1.Interface { - return v2alpha1.New(g.factory, g.namespace, g.tweakListOptions) -} diff --git a/staging/src/k8s.io/client-go/informers/batch/v2alpha1/BUILD b/staging/src/k8s.io/client-go/informers/batch/v2alpha1/BUILD deleted file mode 100644 index 0ff45d9e0e7..00000000000 --- a/staging/src/k8s.io/client-go/informers/batch/v2alpha1/BUILD +++ /dev/null @@ -1,39 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = [ - "cronjob.go", - "interface.go", - ], - importmap = "k8s.io/kubernetes/vendor/k8s.io/client-go/informers/batch/v2alpha1", - importpath = "k8s.io/client-go/informers/batch/v2alpha1", - deps = [ - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library", - "//staging/src/k8s.io/client-go/informers/internalinterfaces:go_default_library", - "//staging/src/k8s.io/client-go/kubernetes:go_default_library", - "//staging/src/k8s.io/client-go/listers/batch/v2alpha1:go_default_library", - "//staging/src/k8s.io/client-go/tools/cache:go_default_library", - ], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/staging/src/k8s.io/client-go/informers/batch/v2alpha1/cronjob.go b/staging/src/k8s.io/client-go/informers/batch/v2alpha1/cronjob.go deleted file mode 100644 index 5f5b870d4b6..00000000000 --- a/staging/src/k8s.io/client-go/informers/batch/v2alpha1/cronjob.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by informer-gen. DO NOT EDIT. - -package v2alpha1 - -import ( - "context" - time "time" - - batchv2alpha1 "k8s.io/api/batch/v2alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - internalinterfaces "k8s.io/client-go/informers/internalinterfaces" - kubernetes "k8s.io/client-go/kubernetes" - v2alpha1 "k8s.io/client-go/listers/batch/v2alpha1" - cache "k8s.io/client-go/tools/cache" -) - -// CronJobInformer provides access to a shared informer and lister for -// CronJobs. -type CronJobInformer interface { - Informer() cache.SharedIndexInformer - Lister() v2alpha1.CronJobLister -} - -type cronJobInformer struct { - factory internalinterfaces.SharedInformerFactory - tweakListOptions internalinterfaces.TweakListOptionsFunc - namespace string -} - -// NewCronJobInformer constructs a new informer for CronJob type. -// Always prefer using an informer factory to get a shared informer instead of getting an independent -// one. This reduces memory footprint and number of connections to the server. -func NewCronJobInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer { - return NewFilteredCronJobInformer(client, namespace, resyncPeriod, indexers, nil) -} - -// NewFilteredCronJobInformer constructs a new informer for CronJob type. -// Always prefer using an informer factory to get a shared informer instead of getting an independent -// one. This reduces memory footprint and number of connections to the server. -func NewFilteredCronJobInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer { - return cache.NewSharedIndexInformer( - &cache.ListWatch{ - ListFunc: func(options v1.ListOptions) (runtime.Object, error) { - if tweakListOptions != nil { - tweakListOptions(&options) - } - return client.BatchV2alpha1().CronJobs(namespace).List(context.TODO(), options) - }, - WatchFunc: func(options v1.ListOptions) (watch.Interface, error) { - if tweakListOptions != nil { - tweakListOptions(&options) - } - return client.BatchV2alpha1().CronJobs(namespace).Watch(context.TODO(), options) - }, - }, - &batchv2alpha1.CronJob{}, - resyncPeriod, - indexers, - ) -} - -func (f *cronJobInformer) defaultInformer(client kubernetes.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer { - return NewFilteredCronJobInformer(client, f.namespace, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions) -} - -func (f *cronJobInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&batchv2alpha1.CronJob{}, f.defaultInformer) -} - -func (f *cronJobInformer) Lister() v2alpha1.CronJobLister { - return v2alpha1.NewCronJobLister(f.Informer().GetIndexer()) -} diff --git a/staging/src/k8s.io/client-go/informers/batch/v2alpha1/interface.go b/staging/src/k8s.io/client-go/informers/batch/v2alpha1/interface.go deleted file mode 100644 index 6c5bf236f91..00000000000 --- a/staging/src/k8s.io/client-go/informers/batch/v2alpha1/interface.go +++ /dev/null @@ -1,45 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by informer-gen. DO NOT EDIT. - -package v2alpha1 - -import ( - internalinterfaces "k8s.io/client-go/informers/internalinterfaces" -) - -// Interface provides access to all the informers in this group version. -type Interface interface { - // CronJobs returns a CronJobInformer. - CronJobs() CronJobInformer -} - -type version struct { - factory internalinterfaces.SharedInformerFactory - namespace string - tweakListOptions internalinterfaces.TweakListOptionsFunc -} - -// New returns a new Interface. -func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { - return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} -} - -// CronJobs returns a CronJobInformer. -func (v *version) CronJobs() CronJobInformer { - return &cronJobInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} -} diff --git a/staging/src/k8s.io/client-go/informers/generic.go b/staging/src/k8s.io/client-go/informers/generic.go index 2bc451095e1..ad6abbbcf25 100644 --- a/staging/src/k8s.io/client-go/informers/generic.go +++ b/staging/src/k8s.io/client-go/informers/generic.go @@ -32,7 +32,6 @@ import ( v2beta2 "k8s.io/api/autoscaling/v2beta2" batchv1 "k8s.io/api/batch/v1" batchv1beta1 "k8s.io/api/batch/v1beta1" - v2alpha1 "k8s.io/api/batch/v2alpha1" certificatesv1 "k8s.io/api/certificates/v1" certificatesv1beta1 "k8s.io/api/certificates/v1beta1" coordinationv1 "k8s.io/api/coordination/v1" @@ -154,10 +153,6 @@ func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource case batchv1beta1.SchemeGroupVersion.WithResource("cronjobs"): return &genericInformer{resource: resource.GroupResource(), informer: f.Batch().V1beta1().CronJobs().Informer()}, nil - // Group=batch, Version=v2alpha1 - case v2alpha1.SchemeGroupVersion.WithResource("cronjobs"): - return &genericInformer{resource: resource.GroupResource(), informer: f.Batch().V2alpha1().CronJobs().Informer()}, nil - // Group=certificates.k8s.io, Version=v1 case certificatesv1.SchemeGroupVersion.WithResource("certificatesigningrequests"): return &genericInformer{resource: resource.GroupResource(), informer: f.Certificates().V1().CertificateSigningRequests().Informer()}, nil diff --git a/staging/src/k8s.io/client-go/kubernetes/BUILD b/staging/src/k8s.io/client-go/kubernetes/BUILD index 193aadbba75..9a287eefb69 100644 --- a/staging/src/k8s.io/client-go/kubernetes/BUILD +++ b/staging/src/k8s.io/client-go/kubernetes/BUILD @@ -27,7 +27,6 @@ go_library( "//staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2:go_default_library", "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v1:go_default_library", "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v1beta1:go_default_library", - "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1:go_default_library", "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1:go_default_library", "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:go_default_library", "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1:go_default_library", @@ -88,7 +87,6 @@ filegroup( "//staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2:all-srcs", "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v1:all-srcs", "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v1beta1:all-srcs", - "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1:all-srcs", "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1:all-srcs", "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:all-srcs", "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1:all-srcs", diff --git a/staging/src/k8s.io/client-go/kubernetes/clientset.go b/staging/src/k8s.io/client-go/kubernetes/clientset.go index f0d54b6a185..72bffab0d0c 100644 --- a/staging/src/k8s.io/client-go/kubernetes/clientset.go +++ b/staging/src/k8s.io/client-go/kubernetes/clientset.go @@ -37,7 +37,6 @@ import ( autoscalingv2beta2 "k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2" batchv1 "k8s.io/client-go/kubernetes/typed/batch/v1" batchv1beta1 "k8s.io/client-go/kubernetes/typed/batch/v1beta1" - batchv2alpha1 "k8s.io/client-go/kubernetes/typed/batch/v2alpha1" certificatesv1 "k8s.io/client-go/kubernetes/typed/certificates/v1" certificatesv1beta1 "k8s.io/client-go/kubernetes/typed/certificates/v1beta1" coordinationv1 "k8s.io/client-go/kubernetes/typed/coordination/v1" @@ -86,7 +85,6 @@ type Interface interface { AutoscalingV2beta2() autoscalingv2beta2.AutoscalingV2beta2Interface BatchV1() batchv1.BatchV1Interface BatchV1beta1() batchv1beta1.BatchV1beta1Interface - BatchV2alpha1() batchv2alpha1.BatchV2alpha1Interface CertificatesV1() certificatesv1.CertificatesV1Interface CertificatesV1beta1() certificatesv1beta1.CertificatesV1beta1Interface CoordinationV1beta1() coordinationv1beta1.CoordinationV1beta1Interface @@ -135,7 +133,6 @@ type Clientset struct { autoscalingV2beta2 *autoscalingv2beta2.AutoscalingV2beta2Client batchV1 *batchv1.BatchV1Client batchV1beta1 *batchv1beta1.BatchV1beta1Client - batchV2alpha1 *batchv2alpha1.BatchV2alpha1Client certificatesV1 *certificatesv1.CertificatesV1Client certificatesV1beta1 *certificatesv1beta1.CertificatesV1beta1Client coordinationV1beta1 *coordinationv1beta1.CoordinationV1beta1Client @@ -240,11 +237,6 @@ func (c *Clientset) BatchV1beta1() batchv1beta1.BatchV1beta1Interface { return c.batchV1beta1 } -// BatchV2alpha1 retrieves the BatchV2alpha1Client -func (c *Clientset) BatchV2alpha1() batchv2alpha1.BatchV2alpha1Interface { - return c.batchV2alpha1 -} - // CertificatesV1 retrieves the CertificatesV1Client func (c *Clientset) CertificatesV1() certificatesv1.CertificatesV1Interface { return c.certificatesV1 @@ -461,10 +453,6 @@ func NewForConfig(c *rest.Config) (*Clientset, error) { if err != nil { return nil, err } - cs.batchV2alpha1, err = batchv2alpha1.NewForConfig(&configShallowCopy) - if err != nil { - return nil, err - } cs.certificatesV1, err = certificatesv1.NewForConfig(&configShallowCopy) if err != nil { return nil, err @@ -600,7 +588,6 @@ func NewForConfigOrDie(c *rest.Config) *Clientset { cs.autoscalingV2beta2 = autoscalingv2beta2.NewForConfigOrDie(c) cs.batchV1 = batchv1.NewForConfigOrDie(c) cs.batchV1beta1 = batchv1beta1.NewForConfigOrDie(c) - cs.batchV2alpha1 = batchv2alpha1.NewForConfigOrDie(c) cs.certificatesV1 = certificatesv1.NewForConfigOrDie(c) cs.certificatesV1beta1 = certificatesv1beta1.NewForConfigOrDie(c) cs.coordinationV1beta1 = coordinationv1beta1.NewForConfigOrDie(c) @@ -651,7 +638,6 @@ func New(c rest.Interface) *Clientset { cs.autoscalingV2beta2 = autoscalingv2beta2.New(c) cs.batchV1 = batchv1.New(c) cs.batchV1beta1 = batchv1beta1.New(c) - cs.batchV2alpha1 = batchv2alpha1.New(c) cs.certificatesV1 = certificatesv1.New(c) cs.certificatesV1beta1 = certificatesv1beta1.New(c) cs.coordinationV1beta1 = coordinationv1beta1.New(c) diff --git a/staging/src/k8s.io/client-go/kubernetes/fake/BUILD b/staging/src/k8s.io/client-go/kubernetes/fake/BUILD index 67d958ce5d0..94b41619036 100644 --- a/staging/src/k8s.io/client-go/kubernetes/fake/BUILD +++ b/staging/src/k8s.io/client-go/kubernetes/fake/BUILD @@ -26,7 +26,6 @@ go_library( "//staging/src/k8s.io/api/autoscaling/v2beta2:go_default_library", "//staging/src/k8s.io/api/batch/v1:go_default_library", "//staging/src/k8s.io/api/batch/v1beta1:go_default_library", - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", "//staging/src/k8s.io/api/certificates/v1:go_default_library", "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library", "//staging/src/k8s.io/api/coordination/v1:go_default_library", @@ -93,8 +92,6 @@ go_library( "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/fake:go_default_library", "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v1beta1:go_default_library", "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v1beta1/fake:go_default_library", - "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1:go_default_library", - "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake:go_default_library", "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1:go_default_library", "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1/fake:go_default_library", "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:go_default_library", diff --git a/staging/src/k8s.io/client-go/kubernetes/fake/clientset_generated.go b/staging/src/k8s.io/client-go/kubernetes/fake/clientset_generated.go index 7293844ca54..0b97223bdae 100644 --- a/staging/src/k8s.io/client-go/kubernetes/fake/clientset_generated.go +++ b/staging/src/k8s.io/client-go/kubernetes/fake/clientset_generated.go @@ -54,8 +54,6 @@ import ( fakebatchv1 "k8s.io/client-go/kubernetes/typed/batch/v1/fake" batchv1beta1 "k8s.io/client-go/kubernetes/typed/batch/v1beta1" fakebatchv1beta1 "k8s.io/client-go/kubernetes/typed/batch/v1beta1/fake" - batchv2alpha1 "k8s.io/client-go/kubernetes/typed/batch/v2alpha1" - fakebatchv2alpha1 "k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake" certificatesv1 "k8s.io/client-go/kubernetes/typed/certificates/v1" fakecertificatesv1 "k8s.io/client-go/kubernetes/typed/certificates/v1/fake" certificatesv1beta1 "k8s.io/client-go/kubernetes/typed/certificates/v1beta1" @@ -235,11 +233,6 @@ func (c *Clientset) BatchV1beta1() batchv1beta1.BatchV1beta1Interface { return &fakebatchv1beta1.FakeBatchV1beta1{Fake: &c.Fake} } -// BatchV2alpha1 retrieves the BatchV2alpha1Client -func (c *Clientset) BatchV2alpha1() batchv2alpha1.BatchV2alpha1Interface { - return &fakebatchv2alpha1.FakeBatchV2alpha1{Fake: &c.Fake} -} - // CertificatesV1 retrieves the CertificatesV1Client func (c *Clientset) CertificatesV1() certificatesv1.CertificatesV1Interface { return &fakecertificatesv1.FakeCertificatesV1{Fake: &c.Fake} diff --git a/staging/src/k8s.io/client-go/kubernetes/fake/register.go b/staging/src/k8s.io/client-go/kubernetes/fake/register.go index 0e8ab29f5f6..4e41c469b75 100644 --- a/staging/src/k8s.io/client-go/kubernetes/fake/register.go +++ b/staging/src/k8s.io/client-go/kubernetes/fake/register.go @@ -34,7 +34,6 @@ import ( autoscalingv2beta2 "k8s.io/api/autoscaling/v2beta2" batchv1 "k8s.io/api/batch/v1" batchv1beta1 "k8s.io/api/batch/v1beta1" - batchv2alpha1 "k8s.io/api/batch/v2alpha1" certificatesv1 "k8s.io/api/certificates/v1" certificatesv1beta1 "k8s.io/api/certificates/v1beta1" coordinationv1 "k8s.io/api/coordination/v1" @@ -88,7 +87,6 @@ var localSchemeBuilder = runtime.SchemeBuilder{ autoscalingv2beta2.AddToScheme, batchv1.AddToScheme, batchv1beta1.AddToScheme, - batchv2alpha1.AddToScheme, certificatesv1.AddToScheme, certificatesv1beta1.AddToScheme, coordinationv1beta1.AddToScheme, diff --git a/staging/src/k8s.io/client-go/kubernetes/scheme/BUILD b/staging/src/k8s.io/client-go/kubernetes/scheme/BUILD index 673795c8852..ef08e371d26 100644 --- a/staging/src/k8s.io/client-go/kubernetes/scheme/BUILD +++ b/staging/src/k8s.io/client-go/kubernetes/scheme/BUILD @@ -25,7 +25,6 @@ go_library( "//staging/src/k8s.io/api/autoscaling/v2beta2:go_default_library", "//staging/src/k8s.io/api/batch/v1:go_default_library", "//staging/src/k8s.io/api/batch/v1beta1:go_default_library", - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", "//staging/src/k8s.io/api/certificates/v1:go_default_library", "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library", "//staging/src/k8s.io/api/coordination/v1:go_default_library", diff --git a/staging/src/k8s.io/client-go/kubernetes/scheme/register.go b/staging/src/k8s.io/client-go/kubernetes/scheme/register.go index 5601e20dd5d..c12eef497f7 100644 --- a/staging/src/k8s.io/client-go/kubernetes/scheme/register.go +++ b/staging/src/k8s.io/client-go/kubernetes/scheme/register.go @@ -34,7 +34,6 @@ import ( autoscalingv2beta2 "k8s.io/api/autoscaling/v2beta2" batchv1 "k8s.io/api/batch/v1" batchv1beta1 "k8s.io/api/batch/v1beta1" - batchv2alpha1 "k8s.io/api/batch/v2alpha1" certificatesv1 "k8s.io/api/certificates/v1" certificatesv1beta1 "k8s.io/api/certificates/v1beta1" coordinationv1 "k8s.io/api/coordination/v1" @@ -88,7 +87,6 @@ var localSchemeBuilder = runtime.SchemeBuilder{ autoscalingv2beta2.AddToScheme, batchv1.AddToScheme, batchv1beta1.AddToScheme, - batchv2alpha1.AddToScheme, certificatesv1.AddToScheme, certificatesv1beta1.AddToScheme, coordinationv1beta1.AddToScheme, diff --git a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/BUILD b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/BUILD deleted file mode 100644 index 6f3d11ecb90..00000000000 --- a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/BUILD +++ /dev/null @@ -1,42 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = [ - "batch_client.go", - "cronjob.go", - "doc.go", - "generated_expansion.go", - ], - importmap = "k8s.io/kubernetes/vendor/k8s.io/client-go/kubernetes/typed/batch/v2alpha1", - importpath = "k8s.io/client-go/kubernetes/typed/batch/v2alpha1", - deps = [ - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/types:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library", - "//staging/src/k8s.io/client-go/kubernetes/scheme:go_default_library", - "//staging/src/k8s.io/client-go/rest:go_default_library", - ], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [ - ":package-srcs", - "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake:all-srcs", - ], - tags = ["automanaged"], -) diff --git a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/batch_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/batch_client.go deleted file mode 100644 index d45c19d521f..00000000000 --- a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/batch_client.go +++ /dev/null @@ -1,89 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package v2alpha1 - -import ( - v2alpha1 "k8s.io/api/batch/v2alpha1" - "k8s.io/client-go/kubernetes/scheme" - rest "k8s.io/client-go/rest" -) - -type BatchV2alpha1Interface interface { - RESTClient() rest.Interface - CronJobsGetter -} - -// BatchV2alpha1Client is used to interact with features provided by the batch group. -type BatchV2alpha1Client struct { - restClient rest.Interface -} - -func (c *BatchV2alpha1Client) CronJobs(namespace string) CronJobInterface { - return newCronJobs(c, namespace) -} - -// NewForConfig creates a new BatchV2alpha1Client for the given config. -func NewForConfig(c *rest.Config) (*BatchV2alpha1Client, error) { - config := *c - if err := setConfigDefaults(&config); err != nil { - return nil, err - } - client, err := rest.RESTClientFor(&config) - if err != nil { - return nil, err - } - return &BatchV2alpha1Client{client}, nil -} - -// NewForConfigOrDie creates a new BatchV2alpha1Client for the given config and -// panics if there is an error in the config. -func NewForConfigOrDie(c *rest.Config) *BatchV2alpha1Client { - client, err := NewForConfig(c) - if err != nil { - panic(err) - } - return client -} - -// New creates a new BatchV2alpha1Client for the given RESTClient. -func New(c rest.Interface) *BatchV2alpha1Client { - return &BatchV2alpha1Client{c} -} - -func setConfigDefaults(config *rest.Config) error { - gv := v2alpha1.SchemeGroupVersion - config.GroupVersion = &gv - config.APIPath = "/apis" - config.NegotiatedSerializer = scheme.Codecs.WithoutConversion() - - if config.UserAgent == "" { - config.UserAgent = rest.DefaultKubernetesUserAgent() - } - - return nil -} - -// RESTClient returns a RESTClient that is used to communicate -// with API server by this client implementation. -func (c *BatchV2alpha1Client) RESTClient() rest.Interface { - if c == nil { - return nil - } - return c.restClient -} diff --git a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/cronjob.go b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/cronjob.go deleted file mode 100644 index a25054f2443..00000000000 --- a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/cronjob.go +++ /dev/null @@ -1,195 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package v2alpha1 - -import ( - "context" - "time" - - v2alpha1 "k8s.io/api/batch/v2alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - scheme "k8s.io/client-go/kubernetes/scheme" - rest "k8s.io/client-go/rest" -) - -// CronJobsGetter has a method to return a CronJobInterface. -// A group's client should implement this interface. -type CronJobsGetter interface { - CronJobs(namespace string) CronJobInterface -} - -// CronJobInterface has methods to work with CronJob resources. -type CronJobInterface interface { - Create(ctx context.Context, cronJob *v2alpha1.CronJob, opts v1.CreateOptions) (*v2alpha1.CronJob, error) - Update(ctx context.Context, cronJob *v2alpha1.CronJob, opts v1.UpdateOptions) (*v2alpha1.CronJob, error) - UpdateStatus(ctx context.Context, cronJob *v2alpha1.CronJob, opts v1.UpdateOptions) (*v2alpha1.CronJob, error) - Delete(ctx context.Context, name string, opts v1.DeleteOptions) error - DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v2alpha1.CronJob, error) - List(ctx context.Context, opts v1.ListOptions) (*v2alpha1.CronJobList, error) - Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.CronJob, err error) - CronJobExpansion -} - -// cronJobs implements CronJobInterface -type cronJobs struct { - client rest.Interface - ns string -} - -// newCronJobs returns a CronJobs -func newCronJobs(c *BatchV2alpha1Client, namespace string) *cronJobs { - return &cronJobs{ - client: c.RESTClient(), - ns: namespace, - } -} - -// Get takes name of the cronJob, and returns the corresponding cronJob object, and an error if there is any. -func (c *cronJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.CronJob, err error) { - result = &v2alpha1.CronJob{} - err = c.client.Get(). - Namespace(c.ns). - Resource("cronjobs"). - Name(name). - VersionedParams(&options, scheme.ParameterCodec). - Do(ctx). - Into(result) - return -} - -// List takes label and field selectors, and returns the list of CronJobs that match those selectors. -func (c *cronJobs) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.CronJobList, err error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - result = &v2alpha1.CronJobList{} - err = c.client.Get(). - Namespace(c.ns). - Resource("cronjobs"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Do(ctx). - Into(result) - return -} - -// Watch returns a watch.Interface that watches the requested cronJobs. -func (c *cronJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - opts.Watch = true - return c.client.Get(). - Namespace(c.ns). - Resource("cronjobs"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Watch(ctx) -} - -// Create takes the representation of a cronJob and creates it. Returns the server's representation of the cronJob, and an error, if there is any. -func (c *cronJobs) Create(ctx context.Context, cronJob *v2alpha1.CronJob, opts v1.CreateOptions) (result *v2alpha1.CronJob, err error) { - result = &v2alpha1.CronJob{} - err = c.client.Post(). - Namespace(c.ns). - Resource("cronjobs"). - VersionedParams(&opts, scheme.ParameterCodec). - Body(cronJob). - Do(ctx). - Into(result) - return -} - -// Update takes the representation of a cronJob and updates it. Returns the server's representation of the cronJob, and an error, if there is any. -func (c *cronJobs) Update(ctx context.Context, cronJob *v2alpha1.CronJob, opts v1.UpdateOptions) (result *v2alpha1.CronJob, err error) { - result = &v2alpha1.CronJob{} - err = c.client.Put(). - Namespace(c.ns). - Resource("cronjobs"). - Name(cronJob.Name). - VersionedParams(&opts, scheme.ParameterCodec). - Body(cronJob). - Do(ctx). - Into(result) - return -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *cronJobs) UpdateStatus(ctx context.Context, cronJob *v2alpha1.CronJob, opts v1.UpdateOptions) (result *v2alpha1.CronJob, err error) { - result = &v2alpha1.CronJob{} - err = c.client.Put(). - Namespace(c.ns). - Resource("cronjobs"). - Name(cronJob.Name). - SubResource("status"). - VersionedParams(&opts, scheme.ParameterCodec). - Body(cronJob). - Do(ctx). - Into(result) - return -} - -// Delete takes name of the cronJob and deletes it. Returns an error if one occurs. -func (c *cronJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - return c.client.Delete(). - Namespace(c.ns). - Resource("cronjobs"). - Name(name). - Body(&opts). - Do(ctx). - Error() -} - -// DeleteCollection deletes a collection of objects. -func (c *cronJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - var timeout time.Duration - if listOpts.TimeoutSeconds != nil { - timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second - } - return c.client.Delete(). - Namespace(c.ns). - Resource("cronjobs"). - VersionedParams(&listOpts, scheme.ParameterCodec). - Timeout(timeout). - Body(&opts). - Do(ctx). - Error() -} - -// Patch applies the patch and returns the patched cronJob. -func (c *cronJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.CronJob, err error) { - result = &v2alpha1.CronJob{} - err = c.client.Patch(pt). - Namespace(c.ns). - Resource("cronjobs"). - Name(name). - SubResource(subresources...). - VersionedParams(&opts, scheme.ParameterCodec). - Body(data). - Do(ctx). - Into(result) - return -} diff --git a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/doc.go deleted file mode 100644 index 3efe0d28442..00000000000 --- a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/doc.go +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -// This package has the automatically generated typed clients. -package v2alpha1 diff --git a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake/BUILD b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake/BUILD deleted file mode 100644 index 4bbb8a29396..00000000000 --- a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake/BUILD +++ /dev/null @@ -1,41 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = [ - "doc.go", - "fake_batch_client.go", - "fake_cronjob.go", - ], - importmap = "k8s.io/kubernetes/vendor/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake", - importpath = "k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake", - deps = [ - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/types:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library", - "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1:go_default_library", - "//staging/src/k8s.io/client-go/rest:go_default_library", - "//staging/src/k8s.io/client-go/testing:go_default_library", - ], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake/doc.go deleted file mode 100644 index 16f44399065..00000000000 --- a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake/doc.go +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -// Package fake has the automatically generated clients. -package fake diff --git a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake/fake_batch_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake/fake_batch_client.go deleted file mode 100644 index 3e478cde9de..00000000000 --- a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake/fake_batch_client.go +++ /dev/null @@ -1,40 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package fake - -import ( - v2alpha1 "k8s.io/client-go/kubernetes/typed/batch/v2alpha1" - rest "k8s.io/client-go/rest" - testing "k8s.io/client-go/testing" -) - -type FakeBatchV2alpha1 struct { - *testing.Fake -} - -func (c *FakeBatchV2alpha1) CronJobs(namespace string) v2alpha1.CronJobInterface { - return &FakeCronJobs{c, namespace} -} - -// RESTClient returns a RESTClient that is used to communicate -// with API server by this client implementation. -func (c *FakeBatchV2alpha1) RESTClient() rest.Interface { - var ret *rest.RESTClient - return ret -} diff --git a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake/fake_cronjob.go b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake/fake_cronjob.go deleted file mode 100644 index 3cd1bc159fb..00000000000 --- a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake/fake_cronjob.go +++ /dev/null @@ -1,142 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package fake - -import ( - "context" - - v2alpha1 "k8s.io/api/batch/v2alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - schema "k8s.io/apimachinery/pkg/runtime/schema" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" -) - -// FakeCronJobs implements CronJobInterface -type FakeCronJobs struct { - Fake *FakeBatchV2alpha1 - ns string -} - -var cronjobsResource = schema.GroupVersionResource{Group: "batch", Version: "v2alpha1", Resource: "cronjobs"} - -var cronjobsKind = schema.GroupVersionKind{Group: "batch", Version: "v2alpha1", Kind: "CronJob"} - -// Get takes name of the cronJob, and returns the corresponding cronJob object, and an error if there is any. -func (c *FakeCronJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.CronJob, err error) { - obj, err := c.Fake. - Invokes(testing.NewGetAction(cronjobsResource, c.ns, name), &v2alpha1.CronJob{}) - - if obj == nil { - return nil, err - } - return obj.(*v2alpha1.CronJob), err -} - -// List takes label and field selectors, and returns the list of CronJobs that match those selectors. -func (c *FakeCronJobs) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.CronJobList, err error) { - obj, err := c.Fake. - Invokes(testing.NewListAction(cronjobsResource, cronjobsKind, c.ns, opts), &v2alpha1.CronJobList{}) - - if obj == nil { - return nil, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v2alpha1.CronJobList{ListMeta: obj.(*v2alpha1.CronJobList).ListMeta} - for _, item := range obj.(*v2alpha1.CronJobList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested cronJobs. -func (c *FakeCronJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchAction(cronjobsResource, c.ns, opts)) - -} - -// Create takes the representation of a cronJob and creates it. Returns the server's representation of the cronJob, and an error, if there is any. -func (c *FakeCronJobs) Create(ctx context.Context, cronJob *v2alpha1.CronJob, opts v1.CreateOptions) (result *v2alpha1.CronJob, err error) { - obj, err := c.Fake. - Invokes(testing.NewCreateAction(cronjobsResource, c.ns, cronJob), &v2alpha1.CronJob{}) - - if obj == nil { - return nil, err - } - return obj.(*v2alpha1.CronJob), err -} - -// Update takes the representation of a cronJob and updates it. Returns the server's representation of the cronJob, and an error, if there is any. -func (c *FakeCronJobs) Update(ctx context.Context, cronJob *v2alpha1.CronJob, opts v1.UpdateOptions) (result *v2alpha1.CronJob, err error) { - obj, err := c.Fake. - Invokes(testing.NewUpdateAction(cronjobsResource, c.ns, cronJob), &v2alpha1.CronJob{}) - - if obj == nil { - return nil, err - } - return obj.(*v2alpha1.CronJob), err -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *FakeCronJobs) UpdateStatus(ctx context.Context, cronJob *v2alpha1.CronJob, opts v1.UpdateOptions) (*v2alpha1.CronJob, error) { - obj, err := c.Fake. - Invokes(testing.NewUpdateSubresourceAction(cronjobsResource, "status", c.ns, cronJob), &v2alpha1.CronJob{}) - - if obj == nil { - return nil, err - } - return obj.(*v2alpha1.CronJob), err -} - -// Delete takes name of the cronJob and deletes it. Returns an error if one occurs. -func (c *FakeCronJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteAction(cronjobsResource, c.ns, name), &v2alpha1.CronJob{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeCronJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewDeleteCollectionAction(cronjobsResource, c.ns, listOpts) - - _, err := c.Fake.Invokes(action, &v2alpha1.CronJobList{}) - return err -} - -// Patch applies the patch and returns the patched cronJob. -func (c *FakeCronJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.CronJob, err error) { - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceAction(cronjobsResource, c.ns, name, pt, data, subresources...), &v2alpha1.CronJob{}) - - if obj == nil { - return nil, err - } - return obj.(*v2alpha1.CronJob), err -} diff --git a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/generated_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/generated_expansion.go deleted file mode 100644 index 34dafc464a8..00000000000 --- a/staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/generated_expansion.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package v2alpha1 - -type CronJobExpansion interface{} diff --git a/staging/src/k8s.io/client-go/listers/batch/v2alpha1/BUILD b/staging/src/k8s.io/client-go/listers/batch/v2alpha1/BUILD deleted file mode 100644 index 25936513a20..00000000000 --- a/staging/src/k8s.io/client-go/listers/batch/v2alpha1/BUILD +++ /dev/null @@ -1,35 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = [ - "cronjob.go", - "expansion_generated.go", - ], - importmap = "k8s.io/kubernetes/vendor/k8s.io/client-go/listers/batch/v2alpha1", - importpath = "k8s.io/client-go/listers/batch/v2alpha1", - deps = [ - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library", - "//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library", - "//staging/src/k8s.io/client-go/tools/cache:go_default_library", - ], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/staging/src/k8s.io/client-go/listers/batch/v2alpha1/cronjob.go b/staging/src/k8s.io/client-go/listers/batch/v2alpha1/cronjob.go deleted file mode 100644 index 824aa331f49..00000000000 --- a/staging/src/k8s.io/client-go/listers/batch/v2alpha1/cronjob.go +++ /dev/null @@ -1,99 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by lister-gen. DO NOT EDIT. - -package v2alpha1 - -import ( - v2alpha1 "k8s.io/api/batch/v2alpha1" - "k8s.io/apimachinery/pkg/api/errors" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/tools/cache" -) - -// CronJobLister helps list CronJobs. -// All objects returned here must be treated as read-only. -type CronJobLister interface { - // List lists all CronJobs in the indexer. - // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v2alpha1.CronJob, err error) - // CronJobs returns an object that can list and get CronJobs. - CronJobs(namespace string) CronJobNamespaceLister - CronJobListerExpansion -} - -// cronJobLister implements the CronJobLister interface. -type cronJobLister struct { - indexer cache.Indexer -} - -// NewCronJobLister returns a new CronJobLister. -func NewCronJobLister(indexer cache.Indexer) CronJobLister { - return &cronJobLister{indexer: indexer} -} - -// List lists all CronJobs in the indexer. -func (s *cronJobLister) List(selector labels.Selector) (ret []*v2alpha1.CronJob, err error) { - err = cache.ListAll(s.indexer, selector, func(m interface{}) { - ret = append(ret, m.(*v2alpha1.CronJob)) - }) - return ret, err -} - -// CronJobs returns an object that can list and get CronJobs. -func (s *cronJobLister) CronJobs(namespace string) CronJobNamespaceLister { - return cronJobNamespaceLister{indexer: s.indexer, namespace: namespace} -} - -// CronJobNamespaceLister helps list and get CronJobs. -// All objects returned here must be treated as read-only. -type CronJobNamespaceLister interface { - // List lists all CronJobs in the indexer for a given namespace. - // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v2alpha1.CronJob, err error) - // Get retrieves the CronJob from the indexer for a given namespace and name. - // Objects returned here must be treated as read-only. - Get(name string) (*v2alpha1.CronJob, error) - CronJobNamespaceListerExpansion -} - -// cronJobNamespaceLister implements the CronJobNamespaceLister -// interface. -type cronJobNamespaceLister struct { - indexer cache.Indexer - namespace string -} - -// List lists all CronJobs in the indexer for a given namespace. -func (s cronJobNamespaceLister) List(selector labels.Selector) (ret []*v2alpha1.CronJob, err error) { - err = cache.ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) { - ret = append(ret, m.(*v2alpha1.CronJob)) - }) - return ret, err -} - -// Get retrieves the CronJob from the indexer for a given namespace and name. -func (s cronJobNamespaceLister) Get(name string) (*v2alpha1.CronJob, error) { - obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name) - if err != nil { - return nil, err - } - if !exists { - return nil, errors.NewNotFound(v2alpha1.Resource("cronjob"), name) - } - return obj.(*v2alpha1.CronJob), nil -} diff --git a/staging/src/k8s.io/client-go/listers/batch/v2alpha1/expansion_generated.go b/staging/src/k8s.io/client-go/listers/batch/v2alpha1/expansion_generated.go deleted file mode 100644 index a30c7a6190a..00000000000 --- a/staging/src/k8s.io/client-go/listers/batch/v2alpha1/expansion_generated.go +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by lister-gen. DO NOT EDIT. - -package v2alpha1 - -// CronJobListerExpansion allows custom methods to be added to -// CronJobLister. -type CronJobListerExpansion interface{} - -// CronJobNamespaceListerExpansion allows custom methods to be added to -// CronJobNamespaceLister. -type CronJobNamespaceListerExpansion interface{} diff --git a/staging/src/k8s.io/kubectl/pkg/cmd/testing/fake.go b/staging/src/k8s.io/kubectl/pkg/cmd/testing/fake.go index 9a6a7cf8893..0e77b267483 100644 --- a/staging/src/k8s.io/kubectl/pkg/cmd/testing/fake.go +++ b/staging/src/k8s.io/kubectl/pkg/cmd/testing/fake.go @@ -534,7 +534,6 @@ func (f *TestFactory) KubernetesClientSet() (*kubernetes.Clientset, error) { clientset.AutoscalingV1().RESTClient().(*restclient.RESTClient).Client = fakeClient.Client clientset.AutoscalingV2beta1().RESTClient().(*restclient.RESTClient).Client = fakeClient.Client clientset.BatchV1().RESTClient().(*restclient.RESTClient).Client = fakeClient.Client - clientset.BatchV2alpha1().RESTClient().(*restclient.RESTClient).Client = fakeClient.Client clientset.CertificatesV1().RESTClient().(*restclient.RESTClient).Client = fakeClient.Client clientset.CertificatesV1beta1().RESTClient().(*restclient.RESTClient).Client = fakeClient.Client clientset.ExtensionsV1beta1().RESTClient().(*restclient.RESTClient).Client = fakeClient.Client diff --git a/staging/src/k8s.io/kubectl/pkg/polymorphichelpers/BUILD b/staging/src/k8s.io/kubectl/pkg/polymorphichelpers/BUILD index 0b4d9f91a12..9ac6002a68e 100644 --- a/staging/src/k8s.io/kubectl/pkg/polymorphichelpers/BUILD +++ b/staging/src/k8s.io/kubectl/pkg/polymorphichelpers/BUILD @@ -31,7 +31,6 @@ go_library( "//staging/src/k8s.io/api/apps/v1beta2:go_default_library", "//staging/src/k8s.io/api/batch/v1:go_default_library", "//staging/src/k8s.io/api/batch/v1beta1:go_default_library", - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", "//staging/src/k8s.io/api/core/v1:go_default_library", "//staging/src/k8s.io/api/extensions/v1beta1:go_default_library", "//staging/src/k8s.io/apimachinery/pkg/api/equality:go_default_library", @@ -84,7 +83,6 @@ go_test( "//staging/src/k8s.io/api/apps/v1beta2:go_default_library", "//staging/src/k8s.io/api/batch/v1:go_default_library", "//staging/src/k8s.io/api/batch/v1beta1:go_default_library", - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", "//staging/src/k8s.io/api/core/v1:go_default_library", "//staging/src/k8s.io/api/extensions/v1beta1:go_default_library", "//staging/src/k8s.io/apimachinery/pkg/api/equality:go_default_library", diff --git a/staging/src/k8s.io/kubectl/pkg/polymorphichelpers/updatepodspec.go b/staging/src/k8s.io/kubectl/pkg/polymorphichelpers/updatepodspec.go index 40448638246..c1368552efd 100644 --- a/staging/src/k8s.io/kubectl/pkg/polymorphichelpers/updatepodspec.go +++ b/staging/src/k8s.io/kubectl/pkg/polymorphichelpers/updatepodspec.go @@ -24,7 +24,6 @@ import ( appsv1beta2 "k8s.io/api/apps/v1beta2" batchv1 "k8s.io/api/batch/v1" batchv1beta1 "k8s.io/api/batch/v1beta1" - batchv2alpha1 "k8s.io/api/batch/v2alpha1" "k8s.io/api/core/v1" extensionsv1beta1 "k8s.io/api/extensions/v1beta1" "k8s.io/apimachinery/pkg/runtime" @@ -82,8 +81,6 @@ func updatePodSpecForObject(obj runtime.Object, fn func(*v1.PodSpec) error) (boo // CronJob case *batchv1beta1.CronJob: return true, fn(&t.Spec.JobTemplate.Spec.Template.Spec) - case *batchv2alpha1.CronJob: - return true, fn(&t.Spec.JobTemplate.Spec.Template.Spec) default: return false, fmt.Errorf("the object is not a pod or does not have a pod template: %T", t) diff --git a/staging/src/k8s.io/kubectl/pkg/polymorphichelpers/updatepodspec_test.go b/staging/src/k8s.io/kubectl/pkg/polymorphichelpers/updatepodspec_test.go index abf98faeddd..145de34807a 100644 --- a/staging/src/k8s.io/kubectl/pkg/polymorphichelpers/updatepodspec_test.go +++ b/staging/src/k8s.io/kubectl/pkg/polymorphichelpers/updatepodspec_test.go @@ -24,7 +24,6 @@ import ( appsv1beta2 "k8s.io/api/apps/v1beta2" batchv1 "k8s.io/api/batch/v1" batchv1beta1 "k8s.io/api/batch/v1beta1" - batchv2alpha1 "k8s.io/api/batch/v2alpha1" "k8s.io/api/core/v1" extensionsv1beta1 "k8s.io/api/extensions/v1beta1" "k8s.io/apimachinery/pkg/runtime" @@ -103,10 +102,6 @@ func TestUpdatePodSpecForObject(t *testing.T) { object: &batchv1beta1.CronJob{}, expect: true, }, - { - object: &batchv2alpha1.CronJob{}, - expect: true, - }, { object: &v1.Node{}, expect: false, diff --git a/staging/src/k8s.io/kubectl/pkg/scheme/BUILD b/staging/src/k8s.io/kubectl/pkg/scheme/BUILD index 63a39d37eb2..aaf12ba2d7d 100644 --- a/staging/src/k8s.io/kubectl/pkg/scheme/BUILD +++ b/staging/src/k8s.io/kubectl/pkg/scheme/BUILD @@ -25,7 +25,6 @@ go_library( "//staging/src/k8s.io/api/autoscaling/v2beta1:go_default_library", "//staging/src/k8s.io/api/batch/v1:go_default_library", "//staging/src/k8s.io/api/batch/v1beta1:go_default_library", - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", "//staging/src/k8s.io/api/certificates/v1:go_default_library", "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library", "//staging/src/k8s.io/api/core/v1:go_default_library", diff --git a/staging/src/k8s.io/kubectl/pkg/scheme/install.go b/staging/src/k8s.io/kubectl/pkg/scheme/install.go index 8640c70216c..d7b9dc5e002 100644 --- a/staging/src/k8s.io/kubectl/pkg/scheme/install.go +++ b/staging/src/k8s.io/kubectl/pkg/scheme/install.go @@ -32,7 +32,6 @@ import ( autoscalingv2beta1 "k8s.io/api/autoscaling/v2beta1" batchv1 "k8s.io/api/batch/v1" batchv1beta1 "k8s.io/api/batch/v1beta1" - batchv2alpha1 "k8s.io/api/batch/v2alpha1" certificatesv1 "k8s.io/api/certificates/v1" certificatesv1beta1 "k8s.io/api/certificates/v1beta1" corev1 "k8s.io/api/core/v1" @@ -70,7 +69,7 @@ func init() { utilruntime.Must(Scheme.SetVersionPriority(authenticationv1.SchemeGroupVersion, authenticationv1beta1.SchemeGroupVersion)) utilruntime.Must(Scheme.SetVersionPriority(authorizationv1.SchemeGroupVersion, authorizationv1beta1.SchemeGroupVersion)) utilruntime.Must(Scheme.SetVersionPriority(autoscalingv1.SchemeGroupVersion, autoscalingv2beta1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(batchv1.SchemeGroupVersion, batchv1beta1.SchemeGroupVersion, batchv2alpha1.SchemeGroupVersion)) + utilruntime.Must(Scheme.SetVersionPriority(batchv1.SchemeGroupVersion, batchv1beta1.SchemeGroupVersion)) utilruntime.Must(Scheme.SetVersionPriority(certificatesv1.SchemeGroupVersion, certificatesv1beta1.SchemeGroupVersion)) utilruntime.Must(Scheme.SetVersionPriority(extensionsv1beta1.SchemeGroupVersion)) utilruntime.Must(Scheme.SetVersionPriority(imagepolicyv1alpha1.SchemeGroupVersion)) diff --git a/test/integration/apiserver/BUILD b/test/integration/apiserver/BUILD index 57e1500efde..5e2e34dae7f 100644 --- a/test/integration/apiserver/BUILD +++ b/test/integration/apiserver/BUILD @@ -34,7 +34,6 @@ go_test( "//pkg/printers/internalversion:go_default_library", "//staging/src/k8s.io/api/apiserverinternal/v1alpha1:go_default_library", "//staging/src/k8s.io/api/apps/v1:go_default_library", - "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library", "//staging/src/k8s.io/api/core/v1:go_default_library", "//staging/src/k8s.io/api/discovery/v1alpha1:go_default_library", "//staging/src/k8s.io/api/discovery/v1beta1:go_default_library", diff --git a/test/integration/apiserver/print_test.go b/test/integration/apiserver/print_test.go index a276fb8f2a5..48f8a87fb0a 100644 --- a/test/integration/apiserver/print_test.go +++ b/test/integration/apiserver/print_test.go @@ -28,7 +28,6 @@ import ( "time" apiserverinternalv1alpha1 "k8s.io/api/apiserverinternal/v1alpha1" - batchv2alpha1 "k8s.io/api/batch/v2alpha1" discoveryv1alpha1 "k8s.io/api/discovery/v1alpha1" discoveryv1beta1 "k8s.io/api/discovery/v1beta1" extensionsv1beta1 "k8s.io/api/extensions/v1beta1" @@ -165,7 +164,6 @@ func TestServerSidePrint(t *testing.T) { s, _, closeFn := setupWithResources(t, // additional groupversions needed for the test to run []schema.GroupVersion{ - batchv2alpha1.SchemeGroupVersion, discoveryv1alpha1.SchemeGroupVersion, discoveryv1beta1.SchemeGroupVersion, rbacv1alpha1.SchemeGroupVersion, diff --git a/test/integration/etcd/data.go b/test/integration/etcd/data.go index d03d09812d9..aacfc350ba8 100644 --- a/test/integration/etcd/data.go +++ b/test/integration/etcd/data.go @@ -161,14 +161,6 @@ func GetEtcdStorageDataForNamespace(namespace string) map[schema.GroupVersionRes }, // -- - // k8s.io/kubernetes/pkg/apis/batch/v2alpha1 - gvr("batch", "v2alpha1", "cronjobs"): { - Stub: `{"metadata": {"name": "cjv2alpha1"}, "spec": {"jobTemplate": {"spec": {"template": {"metadata": {"labels": {"controller-uid": "uid0"}}, "spec": {"containers": [{"image": "` + image + `", "name": "container0"}], "dnsPolicy": "ClusterFirst", "restartPolicy": "Never"}}}}, "schedule": "* * * * *"}}`, - ExpectedEtcdPath: "/registry/cronjobs/" + namespace + "/cjv2alpha1", - ExpectedGVK: gvkP("batch", "v1beta1", "CronJob"), - }, - // -- - // k8s.io/kubernetes/pkg/apis/certificates/v1beta1 gvr("certificates.k8s.io", "v1beta1", "certificatesigningrequests"): { Stub: `{"metadata": {"name": "csr1"}, "spec": {"request": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlJQnlqQ0NBVE1DQVFBd2dZa3hDekFKQmdOVkJBWVRBbFZUTVJNd0VRWURWUVFJRXdwRFlXeHBabTl5Ym1saApNUll3RkFZRFZRUUhFdzFOYjNWdWRHRnBiaUJXYVdWM01STXdFUVlEVlFRS0V3cEhiMjluYkdVZ1NXNWpNUjh3CkhRWURWUVFMRXhaSmJtWnZjbTFoZEdsdmJpQlVaV05vYm05c2IyZDVNUmN3RlFZRFZRUURFdzUzZDNjdVoyOXYKWjJ4bExtTnZiVENCbnpBTkJna3Foa2lHOXcwQkFRRUZBQU9CalFBd2dZa0NnWUVBcFp0WUpDSEo0VnBWWEhmVgpJbHN0UVRsTzRxQzAzaGpYK1prUHl2ZFlkMVE0K3FiQWVUd1htQ1VLWUhUaFZSZDVhWFNxbFB6eUlCd2llTVpyCldGbFJRZGRaMUl6WEFsVlJEV3dBbzYwS2VjcWVBWG5uVUsrNWZYb1RJL1VnV3NocmU4dEoreC9UTUhhUUtSL0oKY0lXUGhxYVFoc0p1elpidkFkR0E4MEJMeGRNQ0F3RUFBYUFBTUEwR0NTcUdTSWIzRFFFQkJRVUFBNEdCQUlobAo0UHZGcStlN2lwQVJnSTVaTStHWng2bXBDejQ0RFRvMEprd2ZSRGYrQnRyc2FDMHE2OGVUZjJYaFlPc3E0ZmtIClEwdUEwYVZvZzNmNWlKeENhM0hwNWd4YkpRNnpWNmtKMFRFc3VhYU9oRWtvOXNkcENvUE9uUkJtMmkvWFJEMkQKNmlOaDhmOHowU2hHc0ZxakRnRkh5RjNvK2xVeWorVUM2SDFRVzdibgotLS0tLUVORCBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0="}}`, diff --git a/vendor/modules.txt b/vendor/modules.txt index 63ed380ae7a..9e1be933de8 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1602,7 +1602,6 @@ k8s.io/api/autoscaling/v2beta1 k8s.io/api/autoscaling/v2beta2 k8s.io/api/batch/v1 k8s.io/api/batch/v1beta1 -k8s.io/api/batch/v2alpha1 k8s.io/api/certificates/v1 k8s.io/api/certificates/v1beta1 k8s.io/api/coordination/v1 @@ -1939,7 +1938,6 @@ k8s.io/client-go/informers/autoscaling/v2beta2 k8s.io/client-go/informers/batch k8s.io/client-go/informers/batch/v1 k8s.io/client-go/informers/batch/v1beta1 -k8s.io/client-go/informers/batch/v2alpha1 k8s.io/client-go/informers/certificates k8s.io/client-go/informers/certificates/v1 k8s.io/client-go/informers/certificates/v1beta1 @@ -2014,8 +2012,6 @@ k8s.io/client-go/kubernetes/typed/batch/v1 k8s.io/client-go/kubernetes/typed/batch/v1/fake k8s.io/client-go/kubernetes/typed/batch/v1beta1 k8s.io/client-go/kubernetes/typed/batch/v1beta1/fake -k8s.io/client-go/kubernetes/typed/batch/v2alpha1 -k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake k8s.io/client-go/kubernetes/typed/certificates/v1 k8s.io/client-go/kubernetes/typed/certificates/v1/fake k8s.io/client-go/kubernetes/typed/certificates/v1beta1 @@ -2081,7 +2077,6 @@ k8s.io/client-go/listers/autoscaling/v2beta1 k8s.io/client-go/listers/autoscaling/v2beta2 k8s.io/client-go/listers/batch/v1 k8s.io/client-go/listers/batch/v1beta1 -k8s.io/client-go/listers/batch/v2alpha1 k8s.io/client-go/listers/certificates/v1 k8s.io/client-go/listers/certificates/v1beta1 k8s.io/client-go/listers/coordination/v1