|
5 | 5 |
|
6 | 6 | OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information.
|
7 | 7 |
|
8 |
| - OpenAPI spec version: v3.6.0-alpha.0 |
| 8 | + OpenAPI spec version: v1.5.0 |
9 | 9 |
|
10 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11 | 11 | """
|
|
72 | 72 | from .models.v1_deprecated_downward_api_volume_file import V1DeprecatedDownwardAPIVolumeFile
|
73 | 73 | from .models.v1_deprecated_downward_api_volume_source import V1DeprecatedDownwardAPIVolumeSource
|
74 | 74 | from .models.v1_docker_build_strategy import V1DockerBuildStrategy
|
75 |
| -from .models.v1_docker_strategy_options import V1DockerStrategyOptions |
76 | 75 | from .models.v1_egress_network_policy import V1EgressNetworkPolicy
|
77 | 76 | from .models.v1_egress_network_policy_list import V1EgressNetworkPolicyList
|
78 | 77 | from .models.v1_egress_network_policy_peer import V1EgressNetworkPolicyPeer
|
|
222 | 221 | from .models.v1beta1_supplemental_groups_strategy_options import V1beta1SupplementalGroupsStrategyOptions
|
223 | 222 |
|
224 | 223 | # import apis into sdk package
|
225 |
| -from .apis.apps_openshift_io_api import AppsOpenshiftIoApi |
226 |
| -from .apis.apps_openshift_io_v1_api import AppsOpenshiftIoV1Api |
227 |
| -from .apis.authorization_openshift_io_api import AuthorizationOpenshiftIoApi |
228 |
| -from .apis.authorization_openshift_io_v1_api import AuthorizationOpenshiftIoV1Api |
229 |
| -from .apis.build_openshift_io_api import BuildOpenshiftIoApi |
230 |
| -from .apis.build_openshift_io_v1_api import BuildOpenshiftIoV1Api |
231 |
| -from .apis.image_openshift_io_api import ImageOpenshiftIoApi |
232 |
| -from .apis.image_openshift_io_v1_api import ImageOpenshiftIoV1Api |
233 |
| -from .apis.network_openshift_io_api import NetworkOpenshiftIoApi |
234 |
| -from .apis.network_openshift_io_v1_api import NetworkOpenshiftIoV1Api |
235 | 224 | from .apis.oapi_api import OapiApi
|
236 |
| -from .apis.oauth_openshift_io_api import OauthOpenshiftIoApi |
237 |
| -from .apis.oauth_openshift_io_v1_api import OauthOpenshiftIoV1Api |
238 | 225 | from .apis.osapi_api import OsapiApi
|
239 |
| -from .apis.project_openshift_io_api import ProjectOpenshiftIoApi |
240 |
| -from .apis.project_openshift_io_v1_api import ProjectOpenshiftIoV1Api |
241 |
| -from .apis.quota_openshift_io_api import QuotaOpenshiftIoApi |
242 |
| -from .apis.quota_openshift_io_v1_api import QuotaOpenshiftIoV1Api |
243 |
| -from .apis.route_openshift_io_api import RouteOpenshiftIoApi |
244 |
| -from .apis.route_openshift_io_v1_api import RouteOpenshiftIoV1Api |
245 |
| -from .apis.security_openshift_io_api import SecurityOpenshiftIoApi |
246 |
| -from .apis.security_openshift_io_v1_api import SecurityOpenshiftIoV1Api |
247 |
| -from .apis.template_openshift_io_api import TemplateOpenshiftIoApi |
248 |
| -from .apis.template_openshift_io_v1_api import TemplateOpenshiftIoV1Api |
249 |
| -from .apis.template_openshift_io_api import TemplateOpenshiftIoApi |
250 |
| -from .apis.user_openshift_io_api import UserOpenshiftIoApi |
251 |
| -from .apis.user_openshift_io_v1_api import UserOpenshiftIoV1Api |
252 | 226 |
|
253 | 227 | # import ApiClient
|
254 | 228 | from .api_client import ApiClient
|
|
0 commit comments