mirror of
https://github.com/kubesphere/website.git
synced 2025-12-25 15:32:54 +00:00
11401 lines
544 KiB
JSON
11401 lines
544 KiB
JSON
{
|
|
"swagger": "2.0",
|
|
"info": {
|
|
"title": "KubeSphere",
|
|
"contact": {
|
|
"name": "KubeSphere",
|
|
"url": "https://kubesphere.io/",
|
|
"email": "info@kubesphere.io"
|
|
},
|
|
"license": {
|
|
"name": "Apache 2.0",
|
|
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
|
|
},
|
|
"version": "v3.0.0",
|
|
"x-logo": {
|
|
"url": "/images/ApiDocs.svg"
|
|
}
|
|
},
|
|
"paths": {
|
|
"/apis/": {
|
|
"get": {
|
|
"description": "get available API versions",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"apis"
|
|
],
|
|
"operationId": "getAPIVersions",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/cluster.kubesphere.io/": {
|
|
"get": {
|
|
"description": "get information of a group",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"clusterKubesphereIo"
|
|
],
|
|
"operationId": "getClusterKubesphereIoAPIGroup",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/cluster.kubesphere.io/v1alpha1/": {
|
|
"get": {
|
|
"description": "get available resources",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"clusterKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "getClusterKubesphereIoV1alpha1APIResources",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/cluster.kubesphere.io/v1alpha1/clusters": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"clusterKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "listClusterKubesphereIoV1alpha1Cluster",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.ClusterList"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "list",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "cluster.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Cluster"
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"clusterKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "createClusterKubesphereIoV1alpha1Cluster",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
},
|
|
"202": {
|
|
"description": "Accepted",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "post",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "cluster.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Cluster"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"clusterKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "deleteClusterKubesphereIoV1alpha1CollectionCluster",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "deletecollection",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "cluster.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Cluster"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/cluster.kubesphere.io/v1alpha1/clusters/{name}": {
|
|
"get": {
|
|
"description": "read the specified Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"clusterKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "readClusterKubesphereIoV1alpha1Cluster",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "cluster.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Cluster"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"clusterKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "replaceClusterKubesphereIoV1alpha1Cluster",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "cluster.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Cluster"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"clusterKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "deleteClusterKubesphereIoV1alpha1Cluster",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "delete",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "cluster.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Cluster"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified Cluster",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"clusterKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "patchClusterKubesphereIoV1alpha1Cluster",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "cluster.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Cluster"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Cluster",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/cluster.kubesphere.io/v1alpha1/clusters/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"clusterKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "readClusterKubesphereIoV1alpha1ClusterStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "cluster.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Cluster"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified Cluster",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"clusterKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "replaceClusterKubesphereIoV1alpha1ClusterStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "cluster.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Cluster"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified Cluster",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"clusterKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "patchClusterKubesphereIoV1alpha1ClusterStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "cluster.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Cluster"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Cluster",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/cluster.kubesphere.io/v1alpha1/watch/clusters": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Cluster. deprecated: use the 'watch' parameter with a list operation instead.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"clusterKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "watchClusterKubesphereIoV1alpha1ClusterList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watchlist",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "cluster.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Cluster"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/cluster.kubesphere.io/v1alpha1/watch/clusters/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind Cluster. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"clusterKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "watchClusterKubesphereIoV1alpha1Cluster",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "cluster.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Cluster"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Cluster",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/": {
|
|
"get": {
|
|
"description": "get information of a group",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo"
|
|
],
|
|
"operationId": "getDevopsKubesphereIoAPIGroup",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/": {
|
|
"get": {
|
|
"description": "get available resources",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "getDevopsKubesphereIoV1alpha1APIResources",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/s2ibinaries": {
|
|
"get": {
|
|
"description": "list or watch objects of kind S2iBinary",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "listDevopsKubesphereIoV1alpha1S2iBinary",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinaryList"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "list",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBinary"
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a S2iBinary",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "createDevopsKubesphereIoV1alpha1S2iBinary",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
},
|
|
"202": {
|
|
"description": "Accepted",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "post",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBinary"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of S2iBinary",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "deleteDevopsKubesphereIoV1alpha1CollectionS2iBinary",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "deletecollection",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBinary"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/s2ibinaries/{name}": {
|
|
"get": {
|
|
"description": "read the specified S2iBinary",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "readDevopsKubesphereIoV1alpha1S2iBinary",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBinary"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified S2iBinary",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "replaceDevopsKubesphereIoV1alpha1S2iBinary",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBinary"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a S2iBinary",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "deleteDevopsKubesphereIoV1alpha1S2iBinary",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "delete",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBinary"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified S2iBinary",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "patchDevopsKubesphereIoV1alpha1S2iBinary",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBinary"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the S2iBinary",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/s2ibinaries/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified S2iBinary",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "readDevopsKubesphereIoV1alpha1S2iBinaryStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBinary"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified S2iBinary",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "replaceDevopsKubesphereIoV1alpha1S2iBinaryStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBinary"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified S2iBinary",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "patchDevopsKubesphereIoV1alpha1S2iBinaryStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBinary"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the S2iBinary",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/s2ibuilders": {
|
|
"get": {
|
|
"description": "list or watch objects of kind S2iBuilder",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "listDevopsKubesphereIoV1alpha1S2iBuilder",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderList"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "list",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilder"
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a S2iBuilder",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "createDevopsKubesphereIoV1alpha1S2iBuilder",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
},
|
|
"202": {
|
|
"description": "Accepted",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "post",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilder"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of S2iBuilder",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "deleteDevopsKubesphereIoV1alpha1CollectionS2iBuilder",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "deletecollection",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilder"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/s2ibuilders/{name}": {
|
|
"get": {
|
|
"description": "read the specified S2iBuilder",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "readDevopsKubesphereIoV1alpha1S2iBuilder",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilder"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified S2iBuilder",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "replaceDevopsKubesphereIoV1alpha1S2iBuilder",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilder"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a S2iBuilder",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "deleteDevopsKubesphereIoV1alpha1S2iBuilder",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "delete",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilder"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified S2iBuilder",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "patchDevopsKubesphereIoV1alpha1S2iBuilder",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilder"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the S2iBuilder",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/s2ibuilders/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified S2iBuilder",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "readDevopsKubesphereIoV1alpha1S2iBuilderStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilder"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified S2iBuilder",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "replaceDevopsKubesphereIoV1alpha1S2iBuilderStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilder"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified S2iBuilder",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "patchDevopsKubesphereIoV1alpha1S2iBuilderStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilder"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the S2iBuilder",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/s2ibuildertemplates": {
|
|
"get": {
|
|
"description": "list or watch objects of kind S2iBuilderTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "listDevopsKubesphereIoV1alpha1S2iBuilderTemplate",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplateList"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "list",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a S2iBuilderTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "createDevopsKubesphereIoV1alpha1S2iBuilderTemplate",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"202": {
|
|
"description": "Accepted",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "post",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of S2iBuilderTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "deleteDevopsKubesphereIoV1alpha1CollectionS2iBuilderTemplate",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "deletecollection",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/s2ibuildertemplates/{name}": {
|
|
"get": {
|
|
"description": "read the specified S2iBuilderTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "readDevopsKubesphereIoV1alpha1S2iBuilderTemplate",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified S2iBuilderTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "replaceDevopsKubesphereIoV1alpha1S2iBuilderTemplate",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a S2iBuilderTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "deleteDevopsKubesphereIoV1alpha1S2iBuilderTemplate",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "delete",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified S2iBuilderTemplate",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "patchDevopsKubesphereIoV1alpha1S2iBuilderTemplate",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the S2iBuilderTemplate",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/s2ibuildertemplates/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified S2iBuilderTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "readDevopsKubesphereIoV1alpha1S2iBuilderTemplateStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified S2iBuilderTemplate",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "replaceDevopsKubesphereIoV1alpha1S2iBuilderTemplateStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified S2iBuilderTemplate",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "patchDevopsKubesphereIoV1alpha1S2iBuilderTemplateStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the S2iBuilderTemplate",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/s2iruns": {
|
|
"get": {
|
|
"description": "list or watch objects of kind S2iRun",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "listDevopsKubesphereIoV1alpha1S2iRun",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRunList"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "list",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iRun"
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a S2iRun",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "createDevopsKubesphereIoV1alpha1S2iRun",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
},
|
|
"202": {
|
|
"description": "Accepted",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "post",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iRun"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of S2iRun",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "deleteDevopsKubesphereIoV1alpha1CollectionS2iRun",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "deletecollection",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iRun"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/s2iruns/{name}": {
|
|
"get": {
|
|
"description": "read the specified S2iRun",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "readDevopsKubesphereIoV1alpha1S2iRun",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iRun"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified S2iRun",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "replaceDevopsKubesphereIoV1alpha1S2iRun",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iRun"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a S2iRun",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "deleteDevopsKubesphereIoV1alpha1S2iRun",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "delete",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iRun"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified S2iRun",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "patchDevopsKubesphereIoV1alpha1S2iRun",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iRun"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the S2iRun",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/s2iruns/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified S2iRun",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "readDevopsKubesphereIoV1alpha1S2iRunStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iRun"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified S2iRun",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "replaceDevopsKubesphereIoV1alpha1S2iRunStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iRun"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified S2iRun",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "patchDevopsKubesphereIoV1alpha1S2iRunStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iRun"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the S2iRun",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/watch/s2ibinaries": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of S2iBinary. deprecated: use the 'watch' parameter with a list operation instead.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "watchDevopsKubesphereIoV1alpha1S2iBinaryList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watchlist",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBinary"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/watch/s2ibinaries/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind S2iBinary. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "watchDevopsKubesphereIoV1alpha1S2iBinary",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBinary"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the S2iBinary",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/watch/s2ibuilders": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of S2iBuilder. deprecated: use the 'watch' parameter with a list operation instead.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "watchDevopsKubesphereIoV1alpha1S2iBuilderList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watchlist",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilder"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/watch/s2ibuilders/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind S2iBuilder. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "watchDevopsKubesphereIoV1alpha1S2iBuilder",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilder"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the S2iBuilder",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/watch/s2ibuildertemplates": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of S2iBuilderTemplate. deprecated: use the 'watch' parameter with a list operation instead.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "watchDevopsKubesphereIoV1alpha1S2iBuilderTemplateList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watchlist",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/watch/s2ibuildertemplates/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind S2iBuilderTemplate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "watchDevopsKubesphereIoV1alpha1S2iBuilderTemplate",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the S2iBuilderTemplate",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/watch/s2iruns": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of S2iRun. deprecated: use the 'watch' parameter with a list operation instead.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "watchDevopsKubesphereIoV1alpha1S2iRunList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watchlist",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iRun"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha1/watch/s2iruns/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind S2iRun. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "watchDevopsKubesphereIoV1alpha1S2iRun",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "S2iRun"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the S2iRun",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha3/": {
|
|
"get": {
|
|
"description": "get available resources",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "getDevopsKubesphereIoV1alpha3APIResources",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha3/devopsprojects": {
|
|
"get": {
|
|
"description": "list or watch objects of kind DevOpsProject",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "listDevopsKubesphereIoV1alpha3DevOpsProject",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProjectList"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "list",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "DevOpsProject"
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a DevOpsProject",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "createDevopsKubesphereIoV1alpha3DevOpsProject",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
},
|
|
"202": {
|
|
"description": "Accepted",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "post",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "DevOpsProject"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of DevOpsProject",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "deleteDevopsKubesphereIoV1alpha3CollectionDevOpsProject",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "deletecollection",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "DevOpsProject"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha3/devopsprojects/{name}": {
|
|
"get": {
|
|
"description": "read the specified DevOpsProject",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "readDevopsKubesphereIoV1alpha3DevOpsProject",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "DevOpsProject"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified DevOpsProject",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "replaceDevopsKubesphereIoV1alpha3DevOpsProject",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "DevOpsProject"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a DevOpsProject",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "deleteDevopsKubesphereIoV1alpha3DevOpsProject",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "delete",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "DevOpsProject"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified DevOpsProject",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "patchDevopsKubesphereIoV1alpha3DevOpsProject",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "DevOpsProject"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the DevOpsProject",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha3/devopsprojects/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified DevOpsProject",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "readDevopsKubesphereIoV1alpha3DevOpsProjectStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "DevOpsProject"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified DevOpsProject",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "replaceDevopsKubesphereIoV1alpha3DevOpsProjectStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "DevOpsProject"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified DevOpsProject",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "patchDevopsKubesphereIoV1alpha3DevOpsProjectStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "DevOpsProject"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the DevOpsProject",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha3/pipelines": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Pipeline",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "listDevopsKubesphereIoV1alpha3Pipeline",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.PipelineList"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "list",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "Pipeline"
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Pipeline",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "createDevopsKubesphereIoV1alpha3Pipeline",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
},
|
|
"202": {
|
|
"description": "Accepted",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "post",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "Pipeline"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Pipeline",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "deleteDevopsKubesphereIoV1alpha3CollectionPipeline",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "deletecollection",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "Pipeline"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha3/pipelines/{name}": {
|
|
"get": {
|
|
"description": "read the specified Pipeline",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "readDevopsKubesphereIoV1alpha3Pipeline",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "Pipeline"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Pipeline",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "replaceDevopsKubesphereIoV1alpha3Pipeline",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "Pipeline"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Pipeline",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "deleteDevopsKubesphereIoV1alpha3Pipeline",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "delete",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "Pipeline"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified Pipeline",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "patchDevopsKubesphereIoV1alpha3Pipeline",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "Pipeline"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Pipeline",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha3/pipelines/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified Pipeline",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "readDevopsKubesphereIoV1alpha3PipelineStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "Pipeline"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified Pipeline",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "replaceDevopsKubesphereIoV1alpha3PipelineStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "Pipeline"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified Pipeline",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "patchDevopsKubesphereIoV1alpha3PipelineStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "Pipeline"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Pipeline",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha3/watch/devopsprojects": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of DevOpsProject. deprecated: use the 'watch' parameter with a list operation instead.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "watchDevopsKubesphereIoV1alpha3DevOpsProjectList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watchlist",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "DevOpsProject"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha3/watch/devopsprojects/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind DevOpsProject. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "watchDevopsKubesphereIoV1alpha3DevOpsProject",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "DevOpsProject"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the DevOpsProject",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha3/watch/pipelines": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Pipeline. deprecated: use the 'watch' parameter with a list operation instead.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "watchDevopsKubesphereIoV1alpha3PipelineList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watchlist",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "Pipeline"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/devops.kubesphere.io/v1alpha3/watch/pipelines/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind Pipeline. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"devopsKubesphereIo_v1alpha3"
|
|
],
|
|
"operationId": "watchDevopsKubesphereIoV1alpha3Pipeline",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "devops.kubesphere.io",
|
|
"version": "v1alpha3",
|
|
"kind": "Pipeline"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Pipeline",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/network.kubesphere.io/": {
|
|
"get": {
|
|
"description": "get information of a group",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"networkKubesphereIo"
|
|
],
|
|
"operationId": "getNetworkKubesphereIoAPIGroup",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/network.kubesphere.io/v1alpha1/": {
|
|
"get": {
|
|
"description": "get available resources",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"networkKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "getNetworkKubesphereIoV1alpha1APIResources",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/network.kubesphere.io/v1alpha1/namespacenetworkpolicies": {
|
|
"get": {
|
|
"description": "list or watch objects of kind NamespaceNetworkPolicy",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"networkKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "listNetworkKubesphereIoV1alpha1NamespaceNetworkPolicy",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicyList"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "list",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "network.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a NamespaceNetworkPolicy",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"networkKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "createNetworkKubesphereIoV1alpha1NamespaceNetworkPolicy",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"202": {
|
|
"description": "Accepted",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "post",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "network.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of NamespaceNetworkPolicy",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"networkKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "deleteNetworkKubesphereIoV1alpha1CollectionNamespaceNetworkPolicy",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "deletecollection",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "network.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/network.kubesphere.io/v1alpha1/namespacenetworkpolicies/{name}": {
|
|
"get": {
|
|
"description": "read the specified NamespaceNetworkPolicy",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"networkKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "readNetworkKubesphereIoV1alpha1NamespaceNetworkPolicy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "network.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified NamespaceNetworkPolicy",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"networkKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "replaceNetworkKubesphereIoV1alpha1NamespaceNetworkPolicy",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "network.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a NamespaceNetworkPolicy",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"networkKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "deleteNetworkKubesphereIoV1alpha1NamespaceNetworkPolicy",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "delete",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "network.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified NamespaceNetworkPolicy",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"networkKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "patchNetworkKubesphereIoV1alpha1NamespaceNetworkPolicy",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "network.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the NamespaceNetworkPolicy",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/network.kubesphere.io/v1alpha1/namespacenetworkpolicies/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified NamespaceNetworkPolicy",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"networkKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "readNetworkKubesphereIoV1alpha1NamespaceNetworkPolicyStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "network.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified NamespaceNetworkPolicy",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"networkKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "replaceNetworkKubesphereIoV1alpha1NamespaceNetworkPolicyStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "network.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified NamespaceNetworkPolicy",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"networkKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "patchNetworkKubesphereIoV1alpha1NamespaceNetworkPolicyStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "network.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the NamespaceNetworkPolicy",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/network.kubesphere.io/v1alpha1/watch/namespacenetworkpolicies": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of NamespaceNetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"networkKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "watchNetworkKubesphereIoV1alpha1NamespaceNetworkPolicyList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watchlist",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "network.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/network.kubesphere.io/v1alpha1/watch/namespacenetworkpolicies/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind NamespaceNetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"networkKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "watchNetworkKubesphereIoV1alpha1NamespaceNetworkPolicy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "network.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the NamespaceNetworkPolicy",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/tenant.kubesphere.io/": {
|
|
"get": {
|
|
"description": "get information of a group",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"tenantKubesphereIo"
|
|
],
|
|
"operationId": "getTenantKubesphereIoAPIGroup",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/tenant.kubesphere.io/v1alpha1/": {
|
|
"get": {
|
|
"description": "get available resources",
|
|
"consumes": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"tenantKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "getTenantKubesphereIoV1alpha1APIResources",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/apis/tenant.kubesphere.io/v1alpha1/watch/workspaces": {
|
|
"get": {
|
|
"description": "watch individual changes to a list of Workspace. deprecated: use the 'watch' parameter with a list operation instead.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"tenantKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "watchTenantKubesphereIoV1alpha1WorkspaceList",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watchlist",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "tenant.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Workspace"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/tenant.kubesphere.io/v1alpha1/watch/workspaces/{name}": {
|
|
"get": {
|
|
"description": "watch changes to an object of kind Workspace. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"tenantKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "watchTenantKubesphereIoV1alpha1Workspace",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "watch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "tenant.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Workspace"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Workspace",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/tenant.kubesphere.io/v1alpha1/workspaces": {
|
|
"get": {
|
|
"description": "list or watch objects of kind Workspace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf",
|
|
"application/json;stream=watch",
|
|
"application/vnd.kubernetes.protobuf;stream=watch"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"tenantKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "listTenantKubesphereIoV1alpha1Workspace",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.WorkspaceList"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "list",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "tenant.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Workspace"
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "create a Workspace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"tenantKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "createTenantKubesphereIoV1alpha1Workspace",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
},
|
|
"202": {
|
|
"description": "Accepted",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "post",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "tenant.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Workspace"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete collection of Workspace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"tenantKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "deleteTenantKubesphereIoV1alpha1CollectionWorkspace",
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "allowWatchBookmarks",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "continue",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
|
|
"name": "fieldSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
|
|
"name": "labelSelector",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "limit",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
|
|
"name": "resourceVersion",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
|
|
"name": "timeoutSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
|
|
"name": "watch",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "deletecollection",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "tenant.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Workspace"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/tenant.kubesphere.io/v1alpha1/workspaces/{name}": {
|
|
"get": {
|
|
"description": "read the specified Workspace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"tenantKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "readTenantKubesphereIoV1alpha1Workspace",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "tenant.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Workspace"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace the specified Workspace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"tenantKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "replaceTenantKubesphereIoV1alpha1Workspace",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "tenant.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Workspace"
|
|
}
|
|
},
|
|
"delete": {
|
|
"description": "delete a Workspace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"tenantKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "deleteTenantKubesphereIoV1alpha1Workspace",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "integer",
|
|
"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.",
|
|
"name": "gracePeriodSeconds",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "orphanDependents",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "propagationPolicy",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "delete",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "tenant.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Workspace"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update the specified Workspace",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"tenantKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "patchTenantKubesphereIoV1alpha1Workspace",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "tenant.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Workspace"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Workspace",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
},
|
|
"/apis/tenant.kubesphere.io/v1alpha1/workspaces/{name}/status": {
|
|
"get": {
|
|
"description": "read status of the specified Workspace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"tenantKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "readTenantKubesphereIoV1alpha1WorkspaceStatus",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "get",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "tenant.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Workspace"
|
|
}
|
|
},
|
|
"put": {
|
|
"description": "replace status of the specified Workspace",
|
|
"consumes": [
|
|
"*/*"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"tenantKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "replaceTenantKubesphereIoV1alpha1WorkspaceStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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.",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
},
|
|
"201": {
|
|
"description": "Created",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "put",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "tenant.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Workspace"
|
|
}
|
|
},
|
|
"patch": {
|
|
"description": "partially update status of the specified Workspace",
|
|
"consumes": [
|
|
"application/json-patch+json",
|
|
"application/merge-patch+json",
|
|
"application/strategic-merge-patch+json",
|
|
"application/apply-patch+yaml"
|
|
],
|
|
"produces": [
|
|
"application/json",
|
|
"application/yaml",
|
|
"application/vnd.kubernetes.protobuf"
|
|
],
|
|
"schemes": [
|
|
"https"
|
|
],
|
|
"tags": [
|
|
"tenantKubesphereIo_v1alpha1"
|
|
],
|
|
"operationId": "patchTenantKubesphereIoV1alpha1WorkspaceStatus",
|
|
"parameters": [
|
|
{
|
|
"name": "body",
|
|
"in": "body",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
|
|
}
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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",
|
|
"name": "dryRun",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"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).",
|
|
"name": "fieldManager",
|
|
"in": "query"
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "boolean",
|
|
"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.",
|
|
"name": "force",
|
|
"in": "query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-action": "patch",
|
|
"x-kubernetes-group-version-kind": {
|
|
"group": "tenant.kubesphere.io",
|
|
"version": "v1alpha1",
|
|
"kind": "Workspace"
|
|
}
|
|
},
|
|
"parameters": [
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "name of the Workspace",
|
|
"name": "name",
|
|
"in": "path",
|
|
"required": true
|
|
},
|
|
{
|
|
"uniqueItems": true,
|
|
"type": "string",
|
|
"description": "If 'true', then the output is pretty printed.",
|
|
"name": "pretty",
|
|
"in": "query"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"definitions": {
|
|
"io.k8s.api.core.v1.LocalObjectReference": {
|
|
"description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.k8s.api.networking.v1.IPBlock": {
|
|
"description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.",
|
|
"type": "object",
|
|
"required": [
|
|
"cidr"
|
|
],
|
|
"properties": {
|
|
"cidr": {
|
|
"description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"",
|
|
"type": "string"
|
|
},
|
|
"except": {
|
|
"description": "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"io.k8s.api.networking.v1.NetworkPolicyPort": {
|
|
"description": "NetworkPolicyPort describes a port to allow traffic on",
|
|
"type": "object",
|
|
"properties": {
|
|
"port": {
|
|
"description": "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers.",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString"
|
|
},
|
|
"protocol": {
|
|
"description": "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup": {
|
|
"description": "APIGroup contains the name, the supported versions, and the preferred version of a group.",
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"versions"
|
|
],
|
|
"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"
|
|
},
|
|
"name": {
|
|
"description": "name is the name of the group.",
|
|
"type": "string"
|
|
},
|
|
"preferredVersion": {
|
|
"description": "preferredVersion is the version preferred by the API server, which probably is the storage version.",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery"
|
|
},
|
|
"serverAddressByClientCIDRs": {
|
|
"description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR"
|
|
}
|
|
},
|
|
"versions": {
|
|
"description": "versions are the versions supported in this group.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "",
|
|
"kind": "APIGroup",
|
|
"version": "v1"
|
|
}
|
|
]
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList": {
|
|
"description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.",
|
|
"type": "object",
|
|
"required": [
|
|
"groups"
|
|
],
|
|
"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"
|
|
},
|
|
"groups": {
|
|
"description": "groups is a list of APIGroup.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "",
|
|
"kind": "APIGroupList",
|
|
"version": "v1"
|
|
}
|
|
]
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.APIResource": {
|
|
"description": "APIResource specifies the name of a resource and whether it is namespaced.",
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"singularName",
|
|
"namespaced",
|
|
"kind",
|
|
"verbs"
|
|
],
|
|
"properties": {
|
|
"categories": {
|
|
"description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"group": {
|
|
"description": "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\".",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "name is the plural name of the resource.",
|
|
"type": "string"
|
|
},
|
|
"namespaced": {
|
|
"description": "namespaced indicates if a resource is namespaced or not.",
|
|
"type": "boolean"
|
|
},
|
|
"shortNames": {
|
|
"description": "shortNames is a list of suggested short names of the resource.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"singularName": {
|
|
"description": "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.",
|
|
"type": "string"
|
|
},
|
|
"storageVersionHash": {
|
|
"description": "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.",
|
|
"type": "string"
|
|
},
|
|
"verbs": {
|
|
"description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"version": {
|
|
"description": "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\".",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList": {
|
|
"description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.",
|
|
"type": "object",
|
|
"required": [
|
|
"groupVersion",
|
|
"resources"
|
|
],
|
|
"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"
|
|
},
|
|
"groupVersion": {
|
|
"description": "groupVersion is the group and version this APIResourceList is for.",
|
|
"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"
|
|
},
|
|
"resources": {
|
|
"description": "resources contains the name of the resources and if they are namespaced.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResource"
|
|
}
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "",
|
|
"kind": "APIResourceList",
|
|
"version": "v1"
|
|
}
|
|
]
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions": {
|
|
"description": "DeleteOptions may be provided when deleting an API object.",
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"dryRun": {
|
|
"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",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"gracePeriodSeconds": {
|
|
"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.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"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"
|
|
},
|
|
"orphanDependents": {
|
|
"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.",
|
|
"type": "boolean"
|
|
},
|
|
"preconditions": {
|
|
"description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions"
|
|
},
|
|
"propagationPolicy": {
|
|
"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.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "",
|
|
"kind": "DeleteOptions",
|
|
"version": "v1"
|
|
},
|
|
{
|
|
"group": "cluster.kubesphere.io",
|
|
"kind": "DeleteOptions",
|
|
"version": "v1alpha1"
|
|
},
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "DeleteOptions",
|
|
"version": "v1alpha1"
|
|
},
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "DeleteOptions",
|
|
"version": "v1alpha3"
|
|
},
|
|
{
|
|
"group": "network.kubesphere.io",
|
|
"kind": "DeleteOptions",
|
|
"version": "v1alpha1"
|
|
},
|
|
{
|
|
"group": "servicemesh.kubesphere.io",
|
|
"kind": "DeleteOptions",
|
|
"version": "v1alpha2"
|
|
},
|
|
{
|
|
"group": "tenant.kubesphere.io",
|
|
"kind": "DeleteOptions",
|
|
"version": "v1alpha1"
|
|
},
|
|
{
|
|
"group": "tenant.kubesphere.io",
|
|
"kind": "DeleteOptions",
|
|
"version": "v1alpha2"
|
|
}
|
|
]
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1": {
|
|
"description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:\u003cname\u003e', where \u003cname\u003e is the name of a field in a struct, or key in a map 'v:\u003cvalue\u003e', where \u003cvalue\u003e is the exact json formatted value of a list item 'i:\u003cindex\u003e', where \u003cindex\u003e is position of a item in a list 'k:\u003ckeys\u003e', where \u003ckeys\u003e is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
|
|
"type": "object"
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery": {
|
|
"description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.",
|
|
"type": "object",
|
|
"required": [
|
|
"groupVersion",
|
|
"version"
|
|
],
|
|
"properties": {
|
|
"groupVersion": {
|
|
"description": "groupVersion specifies the API group and version in the form \"group/version\"",
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta": {
|
|
"description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
|
|
"type": "object",
|
|
"properties": {
|
|
"continue": {
|
|
"description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.",
|
|
"type": "string"
|
|
},
|
|
"remainingItemCount": {
|
|
"description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"resourceVersion": {
|
|
"description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "selfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry": {
|
|
"description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
|
|
"type": "object",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
|
|
"type": "string"
|
|
},
|
|
"fieldsType": {
|
|
"description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
|
|
"type": "string"
|
|
},
|
|
"fieldsV1": {
|
|
"description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1"
|
|
},
|
|
"manager": {
|
|
"description": "Manager is an identifier of the workflow managing these fields.",
|
|
"type": "string"
|
|
},
|
|
"operation": {
|
|
"description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
|
|
"type": "string"
|
|
},
|
|
"time": {
|
|
"description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
|
|
}
|
|
}
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta": {
|
|
"description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
|
|
"type": "object",
|
|
"properties": {
|
|
"annotations": {
|
|
"description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"clusterName": {
|
|
"description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.",
|
|
"type": "string"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
|
|
},
|
|
"deletionGracePeriodSeconds": {
|
|
"description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"deletionTimestamp": {
|
|
"description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
|
|
},
|
|
"finalizers": {
|
|
"description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"x-kubernetes-patch-strategy": "merge"
|
|
},
|
|
"generateName": {
|
|
"description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
|
|
"type": "string"
|
|
},
|
|
"generation": {
|
|
"description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"labels": {
|
|
"description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/user-guide/labels",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"managedFields": {
|
|
"description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry"
|
|
}
|
|
},
|
|
"name": {
|
|
"description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/user-guide/identifiers#names",
|
|
"type": "string"
|
|
},
|
|
"namespace": {
|
|
"description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/user-guide/namespaces",
|
|
"type": "string"
|
|
},
|
|
"ownerReferences": {
|
|
"description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference"
|
|
},
|
|
"x-kubernetes-patch-merge-key": "uid",
|
|
"x-kubernetes-patch-strategy": "merge"
|
|
},
|
|
"resourceVersion": {
|
|
"description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
|
|
"type": "string"
|
|
},
|
|
"uid": {
|
|
"description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: https://kubernetes.io/docs/user-guide/identifiers#uids",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference": {
|
|
"description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
|
|
"type": "object",
|
|
"required": [
|
|
"apiVersion",
|
|
"kind",
|
|
"name",
|
|
"uid"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "API version of the referent.",
|
|
"type": "string"
|
|
},
|
|
"blockOwnerDeletion": {
|
|
"description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
|
|
"type": "boolean"
|
|
},
|
|
"controller": {
|
|
"description": "If true, this reference points to the managing controller.",
|
|
"type": "boolean"
|
|
},
|
|
"kind": {
|
|
"description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the referent. More info: https://kubernetes.io/docs/user-guide/identifiers#names",
|
|
"type": "string"
|
|
},
|
|
"uid": {
|
|
"description": "UID of the referent. More info: https://kubernetes.io/docs/user-guide/identifiers#uids",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.Patch": {
|
|
"description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.",
|
|
"type": "object"
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions": {
|
|
"description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.",
|
|
"type": "object",
|
|
"properties": {
|
|
"resourceVersion": {
|
|
"description": "Specifies the target ResourceVersion",
|
|
"type": "string"
|
|
},
|
|
"uid": {
|
|
"description": "Specifies the target UID.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR": {
|
|
"description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.",
|
|
"type": "object",
|
|
"required": [
|
|
"clientCIDR",
|
|
"serverAddress"
|
|
],
|
|
"properties": {
|
|
"clientCIDR": {
|
|
"description": "The CIDR with which clients can match their IP to figure out the server address that they should use.",
|
|
"type": "string"
|
|
},
|
|
"serverAddress": {
|
|
"description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.Status": {
|
|
"description": "Status is a return value for calls that don't return other objects.",
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"code": {
|
|
"description": "Suggested HTTP return code for this status, 0 if not set.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"details": {
|
|
"description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails"
|
|
},
|
|
"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"
|
|
},
|
|
"message": {
|
|
"description": "A human-readable description of the status of this operation.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"
|
|
},
|
|
"reason": {
|
|
"description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "",
|
|
"kind": "Status",
|
|
"version": "v1"
|
|
}
|
|
]
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause": {
|
|
"description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.",
|
|
"type": "object",
|
|
"properties": {
|
|
"field": {
|
|
"description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"",
|
|
"type": "string"
|
|
},
|
|
"message": {
|
|
"description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.",
|
|
"type": "string"
|
|
},
|
|
"reason": {
|
|
"description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails": {
|
|
"description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.",
|
|
"type": "object",
|
|
"properties": {
|
|
"causes": {
|
|
"description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause"
|
|
}
|
|
},
|
|
"group": {
|
|
"description": "The group attribute of the resource associated with the status StatusReason.",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).",
|
|
"type": "string"
|
|
},
|
|
"retryAfterSeconds": {
|
|
"description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"uid": {
|
|
"description": "UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/user-guide/identifiers#uids",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.Time": {
|
|
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent": {
|
|
"description": "Event represents a single event to a watched resource.",
|
|
"type": "object",
|
|
"required": [
|
|
"type",
|
|
"object"
|
|
],
|
|
"properties": {
|
|
"object": {
|
|
"description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "",
|
|
"kind": "WatchEvent",
|
|
"version": "v1"
|
|
},
|
|
{
|
|
"group": "cluster.kubesphere.io",
|
|
"kind": "WatchEvent",
|
|
"version": "v1alpha1"
|
|
},
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "WatchEvent",
|
|
"version": "v1alpha1"
|
|
},
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "WatchEvent",
|
|
"version": "v1alpha3"
|
|
},
|
|
{
|
|
"group": "network.kubesphere.io",
|
|
"kind": "WatchEvent",
|
|
"version": "v1alpha1"
|
|
},
|
|
{
|
|
"group": "servicemesh.kubesphere.io",
|
|
"kind": "WatchEvent",
|
|
"version": "v1alpha2"
|
|
},
|
|
{
|
|
"group": "tenant.kubesphere.io",
|
|
"kind": "WatchEvent",
|
|
"version": "v1alpha1"
|
|
},
|
|
{
|
|
"group": "tenant.kubesphere.io",
|
|
"kind": "WatchEvent",
|
|
"version": "v1alpha2"
|
|
}
|
|
]
|
|
},
|
|
"io.k8s.apimachinery.pkg.runtime.RawExtension": {
|
|
"description": "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
|
|
"type": "object"
|
|
},
|
|
"io.k8s.apimachinery.pkg.util.intstr.IntOrString": {
|
|
"description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.",
|
|
"type": "string",
|
|
"format": "int-or-string"
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster": {
|
|
"description": "Cluster is the schema for the clusters API",
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"spec": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.ClusterSpec"
|
|
},
|
|
"status": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.ClusterStatus"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "cluster.kubesphere.io",
|
|
"kind": "Cluster",
|
|
"version": "v1alpha1"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.ClusterCondition": {
|
|
"type": "object",
|
|
"required": [
|
|
"type",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"lastTransitionTime": {
|
|
"description": "Last time the condition transitioned from one status to another.",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
|
|
},
|
|
"lastUpdateTime": {
|
|
"description": "The last time this condition was updated.",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
|
|
},
|
|
"message": {
|
|
"description": "A human readable message indicating details about the transition.",
|
|
"type": "string"
|
|
},
|
|
"reason": {
|
|
"description": "The reason for the condition's last transition.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "Status of the condition, one of True, False, Unknown.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "Type of the condition",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.ClusterList": {
|
|
"type": "object",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"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": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Cluster"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "cluster.kubesphere.io",
|
|
"kind": "ClusterList",
|
|
"version": "v1alpha1"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.ClusterSpec": {
|
|
"type": "object",
|
|
"properties": {
|
|
"connection": {
|
|
"description": "Connection holds info to connect to the member cluster",
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Connection"
|
|
},
|
|
"enable": {
|
|
"description": "Desired state of the cluster",
|
|
"type": "boolean"
|
|
},
|
|
"joinFederation": {
|
|
"description": "Join cluster as a kubefed cluster",
|
|
"type": "boolean"
|
|
},
|
|
"provider": {
|
|
"description": "Provider of the cluster, this field is just for description",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.ClusterStatus": {
|
|
"type": "object",
|
|
"properties": {
|
|
"conditions": {
|
|
"description": "Represents the latest available observations of a cluster's current state.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.ClusterCondition"
|
|
}
|
|
},
|
|
"configz": {
|
|
"description": "Configz is status of components enabled in the member cluster. This is synchronized with member cluster every amount of time, like 5 minutes.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"kubernetesVersion": {
|
|
"description": "GitVersion of the kubernetes cluster, this field is populated by cluster controller",
|
|
"type": "string"
|
|
},
|
|
"nodeCount": {
|
|
"description": "Count of the kubernetes cluster nodes This field may not reflect the instant status of the cluster.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"region": {
|
|
"description": "Region is the name of the region in which all of the nodes in the cluster exist. e.g. 'us-east1'.",
|
|
"type": "string"
|
|
},
|
|
"zones": {
|
|
"description": "Zones are the names of availability zones in which the nodes of the cluster exist, e.g. 'us-east1-a'.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.cluster.v1alpha1.Connection": {
|
|
"type": "object",
|
|
"properties": {
|
|
"kubeconfig": {
|
|
"description": "KubeConfig content used to connect to cluster api server Should provide this field explicitly if connection type is direct. Will be populated by ks-proxy if connection type is proxy.",
|
|
"type": "string",
|
|
"format": "byte"
|
|
},
|
|
"kubernetesAPIEndpoint": {
|
|
"description": "Kubernetes API Server endpoint. Example: https://10.10.0.1:6443 Should provide this field explicitly if connection type is direct. Will be populated by ks-apiserver if connection type is proxy.",
|
|
"type": "string"
|
|
},
|
|
"kubernetesAPIServerPort": {
|
|
"description": "KubeAPIServerPort is the port which listens for forwarding kube-apiserver traffic Only applicable when connection type is proxy.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"kubesphereAPIEndpoint": {
|
|
"description": "KubeSphere API Server endpoint. Example: http://10.10.0.11:8080 Should provide this field explicitly if connection type is direct. Will be populated by ks-apiserver if connection type is proxy.",
|
|
"type": "string"
|
|
},
|
|
"kubesphereAPIServerPort": {
|
|
"description": "KubeSphereAPIServerPort is the port which listens for forwarding kubesphere apigateway traffic Only applicable when connection type is proxy.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"token": {
|
|
"description": "Token used by agents of member cluster to connect to host cluster proxy. This field is populated by apiserver only if connection type is proxy.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "type defines how host cluster will connect to host cluster ConnectionTypeDirect means direct connection, this requires\n kubeconfig and kubesphere apiserver endpoint provided\nConnectionTypeProxy means using kubesphere proxy, no kubeconfig\n or kubesphere apiserver endpoint required",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.AuthConfig": {
|
|
"description": "AuthConfig is our abstraction of the Registry authorization information for whatever docker client we happen to be based on",
|
|
"type": "object",
|
|
"properties": {
|
|
"email": {
|
|
"type": "string"
|
|
},
|
|
"password": {
|
|
"type": "string"
|
|
},
|
|
"secretRef": {
|
|
"$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference"
|
|
},
|
|
"serverAddress": {
|
|
"type": "string"
|
|
},
|
|
"username": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.CGroupLimits": {
|
|
"description": "CGroupLimits holds limits used to constrain container resources.",
|
|
"type": "object",
|
|
"required": [
|
|
"memoryLimitBytes",
|
|
"cpuShares",
|
|
"cpuPeriod",
|
|
"cpuQuota",
|
|
"memorySwap",
|
|
"parent"
|
|
],
|
|
"properties": {
|
|
"cpuPeriod": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"cpuQuota": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"cpuShares": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"memoryLimitBytes": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"memorySwap": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"parent": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.ContainerInfo": {
|
|
"type": "object",
|
|
"properties": {
|
|
"buildVolumes": {
|
|
"description": "BuildVolumes specifies a list of volumes to mount to container running the build.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"builderImage": {
|
|
"description": "BaseImage are the images this template will use.",
|
|
"type": "string"
|
|
},
|
|
"runtimeArtifacts": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.VolumeSpec"
|
|
}
|
|
},
|
|
"runtimeImage": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.DockerConfig": {
|
|
"description": "DockerConfig contains the configuration for a Docker connection.",
|
|
"type": "object",
|
|
"required": [
|
|
"endPoint",
|
|
"certFile",
|
|
"keyFile",
|
|
"caFile",
|
|
"useTLS",
|
|
"tlsVerify"
|
|
],
|
|
"properties": {
|
|
"caFile": {
|
|
"description": "CAFile is the certificate authority file path for a TLS connection",
|
|
"type": "string"
|
|
},
|
|
"certFile": {
|
|
"description": "CertFile is the certificate file path for a TLS connection",
|
|
"type": "string"
|
|
},
|
|
"endPoint": {
|
|
"description": "Endpoint is the docker network endpoint or socket",
|
|
"type": "string"
|
|
},
|
|
"keyFile": {
|
|
"description": "KeyFile is the key file path for a TLS connection",
|
|
"type": "string"
|
|
},
|
|
"tlsVerify": {
|
|
"description": "TLSVerify indicates if TLS peer must be verified",
|
|
"type": "boolean"
|
|
},
|
|
"useTLS": {
|
|
"description": "UseTLS indicates if TLS must be used",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.EnvironmentSpec": {
|
|
"description": "EnvironmentSpec specifies a single environment variable.",
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"value"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.Parameter": {
|
|
"type": "object",
|
|
"properties": {
|
|
"defaultValue": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"key": {
|
|
"type": "string"
|
|
},
|
|
"optValues": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": {
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.ProxyConfig": {
|
|
"description": "ProxyConfig holds proxy configuration.",
|
|
"type": "object",
|
|
"properties": {
|
|
"httpProxy": {
|
|
"type": "string"
|
|
},
|
|
"httpsProxy": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary": {
|
|
"description": "S2iBinary is the Schema for the s2ibinaries API",
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"spec": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinarySpec"
|
|
},
|
|
"status": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinaryStatus"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "S2iBinary",
|
|
"version": "v1alpha1"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinaryList": {
|
|
"description": "S2iBinaryList contains a list of S2iBinary",
|
|
"type": "object",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"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": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinary"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "S2iBinaryList",
|
|
"version": "v1alpha1"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinarySpec": {
|
|
"description": "S2iBinarySpec defines the desired state of S2iBinary",
|
|
"type": "object",
|
|
"properties": {
|
|
"downloadURL": {
|
|
"description": "DownloadURL in KubeSphere",
|
|
"type": "string"
|
|
},
|
|
"fileName": {
|
|
"description": "FileName is filename of binary",
|
|
"type": "string"
|
|
},
|
|
"md5": {
|
|
"description": "MD5 is Binary's MD5 Hash",
|
|
"type": "string"
|
|
},
|
|
"size": {
|
|
"description": "Size is the file size of file",
|
|
"type": "string"
|
|
},
|
|
"uploadTimeStamp": {
|
|
"description": "UploadTime is last upload time",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBinaryStatus": {
|
|
"description": "S2iBinaryStatus defines the observed state of S2iBinary",
|
|
"type": "object",
|
|
"properties": {
|
|
"phase": {
|
|
"description": "Phase is status of S2iBinary . Possible value is \"Ready\",\"UnableToDownload\"",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuildResult": {
|
|
"type": "object",
|
|
"properties": {
|
|
"commandPull": {
|
|
"description": "Command for pull image.",
|
|
"type": "string"
|
|
},
|
|
"imageCreated": {
|
|
"description": "Image created time.",
|
|
"type": "string"
|
|
},
|
|
"imageID": {
|
|
"description": "Image ID.",
|
|
"type": "string"
|
|
},
|
|
"imageName": {
|
|
"description": "ImageName is the name of artifact",
|
|
"type": "string"
|
|
},
|
|
"imageRepoTags": {
|
|
"description": "image tags.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"imageSize": {
|
|
"description": "The size in bytes of the image",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuildSource": {
|
|
"type": "object",
|
|
"properties": {
|
|
"binaryName": {
|
|
"description": "Binary file Name",
|
|
"type": "string"
|
|
},
|
|
"binarySize": {
|
|
"description": "Binary file Size",
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"builderImage": {
|
|
"description": "// BuilderImage describes which image is used for building the result images.",
|
|
"type": "string"
|
|
},
|
|
"commitID": {
|
|
"description": "CommitID represents an arbitrary extended object reference in Git as SHA-1",
|
|
"type": "string"
|
|
},
|
|
"committerEmail": {
|
|
"description": "CommitterEmail contains the e-mail of the committer",
|
|
"type": "string"
|
|
},
|
|
"committerName": {
|
|
"description": "CommitterName contains the name of the committer",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "Description is a result image description label. The default is no description.",
|
|
"type": "string"
|
|
},
|
|
"revisionId": {
|
|
"description": "The RevisionId is a branch name or a SHA-1 hash of every important thing about the commit",
|
|
"type": "string"
|
|
},
|
|
"sourceUrl": {
|
|
"description": "SourceURL is url of the codes such as https://github.com/a/b.git",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder": {
|
|
"description": "S2iBuilder is the Schema for the s2ibuilders API",
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"spec": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderSpec"
|
|
},
|
|
"status": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderStatus"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "S2iBuilder",
|
|
"version": "v1alpha1"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderList": {
|
|
"description": "S2iBuilderList contains a list of S2iBuilder",
|
|
"type": "object",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"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": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilder"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "S2iBuilderList",
|
|
"version": "v1alpha1"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderSpec": {
|
|
"description": "S2iBuilderSpec defines the desired state of S2iBuilder",
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"description": "INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run \"make\" to regenerate code after modifying this file",
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iConfig"
|
|
},
|
|
"fromTemplate": {
|
|
"description": "FromTemplate define some inputs from user",
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.UserDefineTemplate"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderStatus": {
|
|
"description": "S2iBuilderStatus defines the observed state of S2iBuilder",
|
|
"type": "object",
|
|
"required": [
|
|
"runCount"
|
|
],
|
|
"properties": {
|
|
"lastRunName": {
|
|
"description": "LastRunState return the name of the newest run of this builder",
|
|
"type": "string"
|
|
},
|
|
"lastRunStartTime": {
|
|
"description": "LastRunStartTime return the startTime of the newest run of this builder",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
|
|
},
|
|
"lastRunState": {
|
|
"description": "LastRunState return the state of the newest run of this builder",
|
|
"type": "string"
|
|
},
|
|
"runCount": {
|
|
"description": "RunCount represent the sum of s2irun of this builder",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate": {
|
|
"description": "S2iBuilderTemplate is the Schema for the s2ibuildertemplates API",
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"spec": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplateSpec"
|
|
},
|
|
"status": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplateStatus"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "S2iBuilderTemplate",
|
|
"version": "v1alpha1"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplateList": {
|
|
"description": "S2iBuilderTemplateList contains a list of S2iBuilderTemplate",
|
|
"type": "object",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"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": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplate"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "S2iBuilderTemplateList",
|
|
"version": "v1alpha1"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplateSpec": {
|
|
"description": "S2iBuilderTemplateSpec defines the desired state of S2iBuilderTemplate",
|
|
"type": "object",
|
|
"properties": {
|
|
"codeFramework": {
|
|
"description": "CodeFramework means which language this template is designed for and which framework is using if has framework. Like Java, NodeJS etc",
|
|
"type": "string"
|
|
},
|
|
"containerInfo": {
|
|
"description": "Images are the images this template will use.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.ContainerInfo"
|
|
}
|
|
},
|
|
"defaultBaseImage": {
|
|
"description": "DefaultBaseImage is the image that will be used by default",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "Description illustrate the purpose of this template",
|
|
"type": "string"
|
|
},
|
|
"environment": {
|
|
"description": "Parameters is a set of environment variables to be passed to the image.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.Parameter"
|
|
}
|
|
},
|
|
"iconPath": {
|
|
"description": "IconPath is used for frontend display",
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"description": "Version of template",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuilderTemplateStatus": {
|
|
"description": "S2iBuilderTemplateStatus defines the observed state of S2iBuilderTemplate",
|
|
"type": "object"
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iConfig": {
|
|
"type": "object",
|
|
"required": [
|
|
"imageName",
|
|
"sourceUrl"
|
|
],
|
|
"properties": {
|
|
"addHost": {
|
|
"description": "AddHost Add a line to /etc/hosts for test purpose or private use in LAN. Its format is host:IP,muliple hosts can be added by using multiple --add-host",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"asDockerfile": {
|
|
"description": "AsDockerfile indicates the path where the Dockerfile should be written instead of building a new image.",
|
|
"type": "string"
|
|
},
|
|
"assembleUser": {
|
|
"description": "AssembleUser specifies the user to run the assemble script in container",
|
|
"type": "string"
|
|
},
|
|
"blockOnBuild": {
|
|
"description": "BlockOnBuild prevents s2i from performing a docker build operation if one is necessary to execute ONBUILD commands, or to layer source code into the container for images that don't have a tar binary available, if the image contains ONBUILD commands that would be executed.",
|
|
"type": "boolean"
|
|
},
|
|
"branchExpression": {
|
|
"description": "Regular expressions, ignoring names that do not match the provided regular expression",
|
|
"type": "string"
|
|
},
|
|
"buildVolumes": {
|
|
"description": "BuildVolumes specifies a list of volumes to mount to container running the build.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"builderBaseImageVersion": {
|
|
"description": "BuilderBaseImageVersion provides optional version information about the builder base image.",
|
|
"type": "string"
|
|
},
|
|
"builderImage": {
|
|
"description": "BuilderImage describes which image is used for building the result images.",
|
|
"type": "string"
|
|
},
|
|
"builderImageVersion": {
|
|
"description": "BuilderImageVersion provides optional version information about the builder image.",
|
|
"type": "string"
|
|
},
|
|
"builderPullPolicy": {
|
|
"description": "BuilderPullPolicy specifies when to pull the builder image",
|
|
"type": "string"
|
|
},
|
|
"callbackUrl": {
|
|
"description": "CallbackURL is a URL which is called upon successful build to inform about that fact.",
|
|
"type": "string"
|
|
},
|
|
"cgroupLimits": {
|
|
"description": "CGroupLimits describes the cgroups limits that will be applied to any containers run by s2i.",
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.CGroupLimits"
|
|
},
|
|
"contextDir": {
|
|
"description": "Specify a relative directory inside the application repository that should be used as a root directory for the application.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "Description is a result image description label. The default is no description.",
|
|
"type": "string"
|
|
},
|
|
"destination": {
|
|
"description": "Destination specifies a location where the untar operation will place its artifacts.",
|
|
"type": "string"
|
|
},
|
|
"displayName": {
|
|
"description": "DisplayName is a result image display-name label. This defaults to the output image name.",
|
|
"type": "string"
|
|
},
|
|
"dockerConfig": {
|
|
"description": "DockerConfig describes how to access host docker daemon.",
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.DockerConfig"
|
|
},
|
|
"dockerNetworkMode": {
|
|
"description": "DockerNetworkMode is used to set the docker network setting to --net=container:\u003cid\u003e when the builder is invoked from a container.",
|
|
"type": "string"
|
|
},
|
|
"dropCapabilities": {
|
|
"description": "DropCapabilities contains a list of capabilities to drop when executing containers",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"environment": {
|
|
"description": "Environment is a map of environment variables to be passed to the image.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.EnvironmentSpec"
|
|
}
|
|
},
|
|
"excludeRegExp": {
|
|
"description": "ExcludeRegExp contains a string representation of the regular expression desired for deciding which files to exclude from the tar stream",
|
|
"type": "string"
|
|
},
|
|
"export": {
|
|
"description": "Export Push the result image to specify image registry in tag",
|
|
"type": "boolean"
|
|
},
|
|
"gitSecretRef": {
|
|
"description": "GitSecretRef is the BasicAuth Secret of Git Clone",
|
|
"$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference"
|
|
},
|
|
"hasOnBuild": {
|
|
"description": "HasOnBuild will be set to true if the builder image contains ONBUILD instructions",
|
|
"type": "boolean"
|
|
},
|
|
"imageName": {
|
|
"description": "ImageName Contains the registry address and reponame, tag should set by field tag alone",
|
|
"type": "string"
|
|
},
|
|
"imageScriptsUrl": {
|
|
"description": "ImageScriptsURL is the default location to find the assemble/run scripts for a builder image. This url can be a reference within the builder image if the scheme is specified as image://",
|
|
"type": "string"
|
|
},
|
|
"imageWorkDir": {
|
|
"description": "ImageWorkDir is the default working directory for the builder image.",
|
|
"type": "string"
|
|
},
|
|
"incremental": {
|
|
"description": "Incremental describes whether to try to perform incremental build.",
|
|
"type": "boolean"
|
|
},
|
|
"incrementalAuthentication": {
|
|
"description": "IncrementalAuthentication holds the authentication information for pulling the previous image from private repositories",
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.AuthConfig"
|
|
},
|
|
"incrementalFromTag": {
|
|
"description": "IncrementalFromTag sets an alternative image tag to look for existing artifacts. Tag is used by default if this is not set.",
|
|
"type": "string"
|
|
},
|
|
"injections": {
|
|
"description": "Injections specifies a list source/destination folders that are injected to the container that runs assemble. All files we inject will be truncated after the assemble script finishes.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.VolumeSpec"
|
|
}
|
|
},
|
|
"isBinaryURL": {
|
|
"description": "IsBinaryURL explain the type of SourceURL. If it is IsBinaryURL, it will download the file directly without using git.",
|
|
"type": "boolean"
|
|
},
|
|
"keepSymlinks": {
|
|
"description": "KeepSymlinks indicates to copy symlinks as symlinks. Default behavior is to follow symlinks and copy files by content.",
|
|
"type": "boolean"
|
|
},
|
|
"labelNamespace": {
|
|
"description": "LabelNamespace provides the namespace under which the labels will be generated.",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"description": "Labels specify labels and their values to be applied to the resulting image. Label keys must have non-zero length. The labels defined here override generated labels in case they have the same name.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"layeredBuild": {
|
|
"description": "LayeredBuild describes if this is build which layered scripts and sources on top of BuilderImage.",
|
|
"type": "boolean"
|
|
},
|
|
"nodeAffinityKey": {
|
|
"description": "The key of Node Affinity.",
|
|
"type": "string"
|
|
},
|
|
"nodeAffinityValues": {
|
|
"description": "The values of Node Affinity.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"outputBuildResult": {
|
|
"description": "Whether output build result to status.",
|
|
"type": "boolean"
|
|
},
|
|
"outputImageName": {
|
|
"description": "OutputImageName is a result image name without tag, default is latest. tag will append to ImageName in the end",
|
|
"type": "string"
|
|
},
|
|
"preserveWorkingDir": {
|
|
"description": "PreserveWorkingDir describes if working directory should be left after processing.",
|
|
"type": "boolean"
|
|
},
|
|
"previousImagePullPolicy": {
|
|
"description": "PreviousImagePullPolicy specifies when to pull the previously build image when doing incremental build",
|
|
"type": "string"
|
|
},
|
|
"pullAuthentication": {
|
|
"description": "PullAuthentication holds the authentication information for pulling the Docker images from private repositories",
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.AuthConfig"
|
|
},
|
|
"pushAuthentication": {
|
|
"description": "PullAuthentication holds the authentication information for pulling the Docker images from private repositories",
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.AuthConfig"
|
|
},
|
|
"removePreviousImage": {
|
|
"description": "RemovePreviousImage describes if previous image should be removed after successful build. This applies only to incremental builds.",
|
|
"type": "boolean"
|
|
},
|
|
"revisionId": {
|
|
"description": "The RevisionId is a branch name or a SHA-1 hash of every important thing about the commit",
|
|
"type": "string"
|
|
},
|
|
"runImage": {
|
|
"description": "RunImage will trigger a \"docker run ...\" invocation of the produced image so the user can see if it operates as he would expect",
|
|
"type": "boolean"
|
|
},
|
|
"runtimeArtifacts": {
|
|
"description": "RuntimeArtifacts specifies a list of source/destination pairs that will be copied from builder to a runtime image. Source can be a file or directory. Destination must be a directory. Regardless whether it is an absolute or relative path, it will be placed into image's WORKDIR. Destination also can be empty or equals to \".\", in this case it just refers to a root of WORKDIR. In case it's empty, S2I will try to get this list from io.openshift.s2i.assemble-input-files label on a RuntimeImage.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.VolumeSpec"
|
|
}
|
|
},
|
|
"runtimeAuthentication": {
|
|
"description": "RuntimeAuthentication holds the authentication information for pulling the runtime Docker images from private repositories.",
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.AuthConfig"
|
|
},
|
|
"runtimeImage": {
|
|
"description": "RuntimeImage specifies the image that will be a base for resulting image and will be used for running an application. By default, BuilderImage is used for building and running, but the latter may be overridden.",
|
|
"type": "string"
|
|
},
|
|
"runtimeImagePullPolicy": {
|
|
"description": "RuntimeImagePullPolicy specifies when to pull a runtime image.",
|
|
"type": "string"
|
|
},
|
|
"scriptDownloadProxyConfig": {
|
|
"description": "ScriptDownloadProxyConfig optionally specifies the http and https proxy to use when downloading scripts",
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.ProxyConfig"
|
|
},
|
|
"scriptsUrl": {
|
|
"description": "ScriptsURL is a URL describing where to fetch the S2I scripts from during build process. This url can be a reference within the builder image if the scheme is specified as image://",
|
|
"type": "string"
|
|
},
|
|
"secretCode": {
|
|
"description": "SecretCode",
|
|
"type": "string"
|
|
},
|
|
"securityOpt": {
|
|
"description": "SecurityOpt are passed as options to the docker containers launched by s2i.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"sourceUrl": {
|
|
"description": "SourceURL is url of the codes such as https://github.com/a/b.git",
|
|
"type": "string"
|
|
},
|
|
"tag": {
|
|
"description": "Tag is a result image tag name.",
|
|
"type": "string"
|
|
},
|
|
"taintKey": {
|
|
"description": "The name of taint.",
|
|
"type": "string"
|
|
},
|
|
"usage": {
|
|
"description": "Usage allows for properly shortcircuiting s2i logic when `s2i usage` is invoked",
|
|
"type": "boolean"
|
|
},
|
|
"workingDir": {
|
|
"description": "WorkingDir describes temporary directory used for downloading sources, scripts and tar operations.",
|
|
"type": "string"
|
|
},
|
|
"workingSourceDir": {
|
|
"description": "WorkingSourceDir describes the subdirectory off of WorkingDir set up during the repo download that is later used as the root for ignore processing",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun": {
|
|
"description": "S2iRun is the Schema for the s2iruns API",
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"spec": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRunSpec"
|
|
},
|
|
"status": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRunStatus"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "S2iRun",
|
|
"version": "v1alpha1"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRunList": {
|
|
"description": "S2iRunList contains a list of S2iRun",
|
|
"type": "object",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"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": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRun"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "S2iRunList",
|
|
"version": "v1alpha1"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRunSpec": {
|
|
"description": "S2iRunSpec defines the desired state of S2iRun",
|
|
"type": "object",
|
|
"required": [
|
|
"builderName"
|
|
],
|
|
"properties": {
|
|
"backoffLimit": {
|
|
"description": "BackoffLimit limits the restart count of each s2irun. Default is 0",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"builderName": {
|
|
"description": "BuilderName specify the name of s2ibuilder, required",
|
|
"type": "string"
|
|
},
|
|
"newRevisionId": {
|
|
"description": "NewRevisionId override the default NewRevisionId in its s2ibuilder.",
|
|
"type": "string"
|
|
},
|
|
"newSourceURL": {
|
|
"description": "NewSourceURL is used to download new binary artifacts",
|
|
"type": "string"
|
|
},
|
|
"newTag": {
|
|
"description": "NewTag override the default tag in its s2ibuilder, image name cannot be changed.",
|
|
"type": "string"
|
|
},
|
|
"secondsAfterFinished": {
|
|
"description": "SecondsAfterFinished if is set and greater than zero, and the job created by s2irun become successful or failed , the job will be auto deleted after SecondsAfterFinished",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iRunStatus": {
|
|
"description": "S2iRunStatus defines the observed state of S2iRun",
|
|
"type": "object",
|
|
"properties": {
|
|
"completionTime": {
|
|
"description": "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
|
|
},
|
|
"kubernetesJobName": {
|
|
"description": "KubernetesJobName is the job name in k8s",
|
|
"type": "string"
|
|
},
|
|
"logURL": {
|
|
"description": "LogURL is uesd for external log handler to let user know where is log located in",
|
|
"type": "string"
|
|
},
|
|
"runState": {
|
|
"description": "RunState indicates whether this job is done or failed",
|
|
"type": "string"
|
|
},
|
|
"s2iBuildResult": {
|
|
"description": "S2i build result info.",
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuildResult"
|
|
},
|
|
"s2iBuildSource": {
|
|
"description": "S2i build source info.",
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.S2iBuildSource"
|
|
},
|
|
"startTime": {
|
|
"description": "StartTime represent when this run began",
|
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.UserDefineTemplate": {
|
|
"type": "object",
|
|
"properties": {
|
|
"builderImage": {
|
|
"description": "BaseImage specify which version of this template to use",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name specify a template to use, so many fields in Config can left empty",
|
|
"type": "string"
|
|
},
|
|
"parameters": {
|
|
"description": "Parameters must use with `template`, fill some parameters which template will use",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.Parameter"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha1.VolumeSpec": {
|
|
"description": "VolumeSpec represents a single volume mount point.",
|
|
"type": "object",
|
|
"properties": {
|
|
"destination": {
|
|
"description": "Destination is the path to mount the volume to - absolute or relative.",
|
|
"type": "string"
|
|
},
|
|
"keep": {
|
|
"description": "Keep indicates if the mounted data should be kept in the final image.",
|
|
"type": "boolean"
|
|
},
|
|
"source": {
|
|
"description": "Source is a reference to the volume source.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.BitbucketServerSource": {
|
|
"type": "object",
|
|
"properties": {
|
|
"api_uri": {
|
|
"type": "string"
|
|
},
|
|
"credential_id": {
|
|
"type": "string"
|
|
},
|
|
"discover_branches": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"discover_pr_from_forks": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DiscoverPRFromForks"
|
|
},
|
|
"discover_pr_from_origin": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"git_clone_option": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.GitCloneOption"
|
|
},
|
|
"owner": {
|
|
"type": "string"
|
|
},
|
|
"regex_filter": {
|
|
"type": "string"
|
|
},
|
|
"repo": {
|
|
"type": "string"
|
|
},
|
|
"scm_id": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject": {
|
|
"description": "DevOpsProject is the Schema for the devopsprojects API",
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"spec": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProjectSpec"
|
|
},
|
|
"status": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProjectStatus"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "DevOpsProject",
|
|
"version": "v1alpha3"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProjectList": {
|
|
"description": "DevOpsProjectList contains a list of DevOpsProject",
|
|
"type": "object",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"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": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProject"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "DevOpsProjectList",
|
|
"version": "v1alpha3"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProjectSpec": {
|
|
"description": "DevOpsProjectSpec defines the desired state of DevOpsProject",
|
|
"type": "object"
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DevOpsProjectStatus": {
|
|
"description": "DevOpsProjectStatus defines the observed state of DevOpsProject",
|
|
"type": "object",
|
|
"properties": {
|
|
"adminNamespace": {
|
|
"description": "INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run \"make\" to regenerate code after modifying this file",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DiscarderProperty": {
|
|
"type": "object",
|
|
"properties": {
|
|
"days_to_keep": {
|
|
"type": "string"
|
|
},
|
|
"num_to_keep": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DiscoverPRFromForks": {
|
|
"type": "object",
|
|
"properties": {
|
|
"strategy": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"trust": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.GitCloneOption": {
|
|
"type": "object",
|
|
"properties": {
|
|
"depth": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"shallow": {
|
|
"type": "boolean"
|
|
},
|
|
"timeout": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.GitSource": {
|
|
"type": "object",
|
|
"properties": {
|
|
"credential_id": {
|
|
"type": "string"
|
|
},
|
|
"discover_branches": {
|
|
"type": "boolean"
|
|
},
|
|
"git_clone_option": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.GitCloneOption"
|
|
},
|
|
"regex_filter": {
|
|
"type": "string"
|
|
},
|
|
"scm_id": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.GithubSource": {
|
|
"type": "object",
|
|
"properties": {
|
|
"api_uri": {
|
|
"type": "string"
|
|
},
|
|
"credential_id": {
|
|
"type": "string"
|
|
},
|
|
"discover_branches": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"discover_pr_from_forks": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DiscoverPRFromForks"
|
|
},
|
|
"discover_pr_from_origin": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"git_clone_option": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.GitCloneOption"
|
|
},
|
|
"owner": {
|
|
"type": "string"
|
|
},
|
|
"regex_filter": {
|
|
"type": "string"
|
|
},
|
|
"repo": {
|
|
"type": "string"
|
|
},
|
|
"scm_id": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.MultiBranchJobTrigger": {
|
|
"type": "object",
|
|
"properties": {
|
|
"create_action_job_to_trigger": {
|
|
"type": "string"
|
|
},
|
|
"delete_action_job_to_trigger": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.MultiBranchPipeline": {
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"source_type",
|
|
"script_path"
|
|
],
|
|
"properties": {
|
|
"bitbucket_server_source": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.BitbucketServerSource"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"discarder": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DiscarderProperty"
|
|
},
|
|
"git_source": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.GitSource"
|
|
},
|
|
"github_source": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.GithubSource"
|
|
},
|
|
"multibranch_job_trigger": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.MultiBranchJobTrigger"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"script_path": {
|
|
"type": "string"
|
|
},
|
|
"single_svn_source": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.SingleSvnSource"
|
|
},
|
|
"source_type": {
|
|
"type": "string"
|
|
},
|
|
"svn_source": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.SvnSource"
|
|
},
|
|
"timer_trigger": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.TimerTrigger"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.NoScmPipeline": {
|
|
"type": "object",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"disable_concurrent": {
|
|
"type": "boolean"
|
|
},
|
|
"discarder": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.DiscarderProperty"
|
|
},
|
|
"jenkinsfile": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"parameters": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Parameter"
|
|
}
|
|
},
|
|
"remote_trigger": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.RemoteTrigger"
|
|
},
|
|
"timer_trigger": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.TimerTrigger"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Parameter": {
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"type"
|
|
],
|
|
"properties": {
|
|
"default_value": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline": {
|
|
"description": "Pipeline is the Schema for the pipelines API",
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"spec": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.PipelineSpec"
|
|
},
|
|
"status": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.PipelineStatus"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "Pipeline",
|
|
"version": "v1alpha3"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.PipelineList": {
|
|
"description": "PipelineList contains a list of Pipeline",
|
|
"type": "object",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"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": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.Pipeline"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "devops.kubesphere.io",
|
|
"kind": "PipelineList",
|
|
"version": "v1alpha3"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.PipelineSpec": {
|
|
"description": "PipelineSpec defines the desired state of Pipeline",
|
|
"type": "object",
|
|
"required": [
|
|
"type"
|
|
],
|
|
"properties": {
|
|
"multi_branch_pipeline": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.MultiBranchPipeline"
|
|
},
|
|
"pipeline": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.NoScmPipeline"
|
|
},
|
|
"type": {
|
|
"description": "INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run \"make\" to regenerate code after modifying this file",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.PipelineStatus": {
|
|
"description": "PipelineStatus defines the observed state of Pipeline",
|
|
"type": "object"
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.RemoteTrigger": {
|
|
"type": "object",
|
|
"properties": {
|
|
"token": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.SingleSvnSource": {
|
|
"type": "object",
|
|
"properties": {
|
|
"credential_id": {
|
|
"type": "string"
|
|
},
|
|
"remote": {
|
|
"type": "string"
|
|
},
|
|
"scm_id": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.SvnSource": {
|
|
"type": "object",
|
|
"properties": {
|
|
"credential_id": {
|
|
"type": "string"
|
|
},
|
|
"excludes": {
|
|
"type": "string"
|
|
},
|
|
"includes": {
|
|
"type": "string"
|
|
},
|
|
"remote": {
|
|
"type": "string"
|
|
},
|
|
"scm_id": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.devops.v1alpha3.TimerTrigger": {
|
|
"type": "object",
|
|
"properties": {
|
|
"cron": {
|
|
"description": "user in no scm job",
|
|
"type": "string"
|
|
},
|
|
"interval": {
|
|
"description": "use in multi-branch job",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy": {
|
|
"description": "NamespaceNetworkPolicy is the Schema for the namespacenetworkpolicies API",
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"spec": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicySpec"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "network.kubesphere.io",
|
|
"kind": "NamespaceNetworkPolicy",
|
|
"version": "v1alpha1"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicyList": {
|
|
"description": "NamespaceNetworkPolicyList contains a list of NamespaceNetworkPolicy",
|
|
"type": "object",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"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": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicy"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "network.kubesphere.io",
|
|
"kind": "NamespaceNetworkPolicyList",
|
|
"version": "v1alpha1"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceNetworkPolicySpec": {
|
|
"description": "NamespaceNetworkPolicySpec provides the specification of a NamespaceNetworkPolicy",
|
|
"type": "object",
|
|
"properties": {
|
|
"egress": {
|
|
"description": "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NetworkPolicyEgressRule"
|
|
}
|
|
},
|
|
"ingress": {
|
|
"description": "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NetworkPolicyIngressRule"
|
|
}
|
|
},
|
|
"policyTypes": {
|
|
"description": "List of rule types that the NetworkPolicy relates to. Valid options are \"Ingress\", \"Egress\", or \"Ingress,Egress\". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceSelector": {
|
|
"type": "object",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NetworkPolicyEgressRule": {
|
|
"description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8",
|
|
"type": "object",
|
|
"properties": {
|
|
"ports": {
|
|
"description": "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPort"
|
|
}
|
|
},
|
|
"to": {
|
|
"description": "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NetworkPolicyPeer"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NetworkPolicyIngressRule": {
|
|
"description": "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.",
|
|
"type": "object",
|
|
"properties": {
|
|
"from": {
|
|
"description": "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NetworkPolicyPeer"
|
|
}
|
|
},
|
|
"ports": {
|
|
"description": "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPort"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NetworkPolicyPeer": {
|
|
"description": "NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed",
|
|
"type": "object",
|
|
"properties": {
|
|
"ipBlock": {
|
|
"description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.",
|
|
"$ref": "#/definitions/io.k8s.api.networking.v1.IPBlock"
|
|
},
|
|
"namespace": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.NamespaceSelector"
|
|
},
|
|
"service": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.ServiceSelector"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.network.v1alpha1.ServiceSelector": {
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"namespace"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"namespace": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace": {
|
|
"description": "Workspace is the Schema for the workspaces API",
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"spec": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.WorkspaceSpec"
|
|
},
|
|
"status": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.WorkspaceStatus"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "tenant.kubesphere.io",
|
|
"kind": "Workspace",
|
|
"version": "v1alpha1"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.WorkspaceList": {
|
|
"description": "WorkspaceList contains a list of Workspace",
|
|
"type": "object",
|
|
"required": [
|
|
"items"
|
|
],
|
|
"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": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.Workspace"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"x-kubernetes-group-version-kind": [
|
|
{
|
|
"group": "tenant.kubesphere.io",
|
|
"kind": "WorkspaceList",
|
|
"version": "v1alpha1"
|
|
}
|
|
]
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.WorkspaceSpec": {
|
|
"description": "WorkspaceSpec defines the desired state of Workspace",
|
|
"type": "object",
|
|
"properties": {
|
|
"manager": {
|
|
"type": "string"
|
|
},
|
|
"networkIsolation": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"io.kubesphere.kubesphere.pkg.apis.tenant.v1alpha1.WorkspaceStatus": {
|
|
"description": "WorkspaceStatus defines the observed state of Workspace",
|
|
"type": "object"
|
|
}
|
|
}
|
|
} |