Skip to content

Commit

Permalink
regen modules
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianvf committed Sep 28, 2017
1 parent f3c769c commit 059870a
Show file tree
Hide file tree
Showing 1,185 changed files with 26,824 additions and 74,152 deletions.
861 changes: 807 additions & 54 deletions openshift/.swagger-codegen-ignore

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions openshift/.swagger-codegen/COMMIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Requested Commit: v2.2.2
Actual Commit: ff209ada223dcc7f6c6afc59bb02ec96b85c7e39
1,083 changes: 602 additions & 481 deletions openshift/README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions openshift/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@

# Do not edit these constants. They will be updated automatically
# by scripts/update-client.sh.
__version__ = "1.0.0-snapshot"
__k8s_client_version__ = "1.0.0"
__version__ = "0.3.0"
__k8s_client_version__ = "3.0.0"
50 changes: 21 additions & 29 deletions openshift/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"""
OpenShift API (with Kubernetes)
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.
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 'metav1.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.
OpenAPI spec version: v3.6.0-alpha.0
OpenAPI spec version: latest
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand All @@ -14,10 +14,14 @@
from __future__ import absolute_import

# import models into sdk package
from .models.unversioned_server_address_by_client_cidr import UnversionedServerAddressByClientCIDR
from .models.v1_allowed_flex_volume import V1AllowedFlexVolume
from .models.v1_applied_cluster_resource_quota import V1AppliedClusterResourceQuota
from .models.v1_applied_cluster_resource_quota_list import V1AppliedClusterResourceQuotaList
from .models.v1_binary_build_source import V1BinaryBuildSource
from .models.v1_bitbucket_web_hook_cause import V1BitbucketWebHookCause
from .models.v1_broker_template_instance import V1BrokerTemplateInstance
from .models.v1_broker_template_instance_list import V1BrokerTemplateInstanceList
from .models.v1_broker_template_instance_spec import V1BrokerTemplateInstanceSpec
from .models.v1_build import V1Build
from .models.v1_build_config import V1BuildConfig
from .models.v1_build_config_list import V1BuildConfigList
Expand All @@ -38,10 +42,6 @@
from .models.v1_build_trigger_policy import V1BuildTriggerPolicy
from .models.v1_cluster_network import V1ClusterNetwork
from .models.v1_cluster_network_list import V1ClusterNetworkList
from .models.v1_cluster_policy import V1ClusterPolicy
from .models.v1_cluster_policy_binding import V1ClusterPolicyBinding
from .models.v1_cluster_policy_binding_list import V1ClusterPolicyBindingList
from .models.v1_cluster_policy_list import V1ClusterPolicyList
from .models.v1_cluster_resource_quota import V1ClusterResourceQuota
from .models.v1_cluster_resource_quota_list import V1ClusterResourceQuotaList
from .models.v1_cluster_resource_quota_selector import V1ClusterResourceQuotaSelector
Expand Down Expand Up @@ -69,8 +69,6 @@
from .models.v1_deployment_strategy import V1DeploymentStrategy
from .models.v1_deployment_trigger_image_change_params import V1DeploymentTriggerImageChangeParams
from .models.v1_deployment_trigger_policy import V1DeploymentTriggerPolicy
from .models.v1_deprecated_downward_api_volume_file import V1DeprecatedDownwardAPIVolumeFile
from .models.v1_deprecated_downward_api_volume_source import V1DeprecatedDownwardAPIVolumeSource
from .models.v1_docker_build_strategy import V1DockerBuildStrategy
from .models.v1_docker_strategy_options import V1DockerStrategyOptions
from .models.v1_egress_network_policy import V1EgressNetworkPolicy
Expand All @@ -83,6 +81,7 @@
from .models.v1_generic_web_hook_cause import V1GenericWebHookCause
from .models.v1_git_build_source import V1GitBuildSource
from .models.v1_git_hub_web_hook_cause import V1GitHubWebHookCause
from .models.v1_git_lab_web_hook_cause import V1GitLabWebHookCause
from .models.v1_git_source_revision import V1GitSourceRevision
from .models.v1_group import V1Group
from .models.v1_group_list import V1GroupList
Expand All @@ -100,6 +99,7 @@
from .models.v1_image_label import V1ImageLabel
from .models.v1_image_layer import V1ImageLayer
from .models.v1_image_list import V1ImageList
from .models.v1_image_lookup_policy import V1ImageLookupPolicy
from .models.v1_image_signature import V1ImageSignature
from .models.v1_image_source import V1ImageSource
from .models.v1_image_source_path import V1ImageSourcePath
Expand All @@ -117,11 +117,6 @@
from .models.v1_jenkins_pipeline_build_strategy import V1JenkinsPipelineBuildStrategy
from .models.v1_lifecycle_hook import V1LifecycleHook
from .models.v1_local_resource_access_review import V1LocalResourceAccessReview
from .models.v1_local_subject_access_review import V1LocalSubjectAccessReview
from .models.v1_named_cluster_role import V1NamedClusterRole
from .models.v1_named_cluster_role_binding import V1NamedClusterRoleBinding
from .models.v1_named_role import V1NamedRole
from .models.v1_named_role_binding import V1NamedRoleBinding
from .models.v1_named_tag_event_list import V1NamedTagEventList
from .models.v1_net_namespace import V1NetNamespace
from .models.v1_net_namespace_list import V1NetNamespaceList
Expand All @@ -142,10 +137,6 @@
from .models.v1_pod_security_policy_subject_review import V1PodSecurityPolicySubjectReview
from .models.v1_pod_security_policy_subject_review_spec import V1PodSecurityPolicySubjectReviewSpec
from .models.v1_pod_security_policy_subject_review_status import V1PodSecurityPolicySubjectReviewStatus
from .models.v1_policy import V1Policy
from .models.v1_policy_binding import V1PolicyBinding
from .models.v1_policy_binding_list import V1PolicyBindingList
from .models.v1_policy_list import V1PolicyList
from .models.v1_policy_rule import V1PolicyRule
from .models.v1_project import V1Project
from .models.v1_project_list import V1ProjectList
Expand Down Expand Up @@ -182,6 +173,7 @@
from .models.v1_security_context_constraints_list import V1SecurityContextConstraintsList
from .models.v1_self_subject_rules_review import V1SelfSubjectRulesReview
from .models.v1_self_subject_rules_review_spec import V1SelfSubjectRulesReviewSpec
from .models.v1_server_address_by_client_cidr import V1ServerAddressByClientCIDR
from .models.v1_service_account_pod_security_policy_review_status import V1ServiceAccountPodSecurityPolicyReviewStatus
from .models.v1_service_account_reference import V1ServiceAccountReference
from .models.v1_service_account_restriction import V1ServiceAccountRestriction
Expand All @@ -191,7 +183,9 @@
from .models.v1_source_build_strategy import V1SourceBuildStrategy
from .models.v1_source_control_user import V1SourceControlUser
from .models.v1_source_revision import V1SourceRevision
from .models.v1_subject_access_review import V1SubjectAccessReview
from .models.v1_source_strategy_options import V1SourceStrategyOptions
from .models.v1_stage_info import V1StageInfo
from .models.v1_step_info import V1StepInfo
from .models.v1_subject_rules_review import V1SubjectRulesReview
from .models.v1_subject_rules_review_spec import V1SubjectRulesReviewSpec
from .models.v1_subject_rules_review_status import V1SubjectRulesReviewStatus
Expand All @@ -204,22 +198,20 @@
from .models.v1_tag_reference import V1TagReference
from .models.v1_tag_reference_policy import V1TagReferencePolicy
from .models.v1_template import V1Template
from .models.v1_template_instance import V1TemplateInstance
from .models.v1_template_instance_condition import V1TemplateInstanceCondition
from .models.v1_template_instance_list import V1TemplateInstanceList
from .models.v1_template_instance_object import V1TemplateInstanceObject
from .models.v1_template_instance_requester import V1TemplateInstanceRequester
from .models.v1_template_instance_spec import V1TemplateInstanceSpec
from .models.v1_template_instance_status import V1TemplateInstanceStatus
from .models.v1_template_list import V1TemplateList
from .models.v1_user import V1User
from .models.v1_user_identity_mapping import V1UserIdentityMapping
from .models.v1_user_list import V1UserList
from .models.v1_user_restriction import V1UserRestriction
from .models.v1_web_hook_trigger import V1WebHookTrigger
from .models.v1beta1_fs_group_strategy_options import V1beta1FSGroupStrategyOptions
from .models.v1beta1_host_port_range import V1beta1HostPortRange
from .models.v1beta1_id_range import V1beta1IDRange
from .models.v1beta1_ingress_tls import V1beta1IngressTLS
from .models.v1beta1_pod_security_policy import V1beta1PodSecurityPolicy
from .models.v1beta1_pod_security_policy_list import V1beta1PodSecurityPolicyList
from .models.v1beta1_pod_security_policy_spec import V1beta1PodSecurityPolicySpec
from .models.v1beta1_run_as_user_strategy_options import V1beta1RunAsUserStrategyOptions
from .models.v1beta1_se_linux_strategy_options import V1beta1SELinuxStrategyOptions
from .models.v1beta1_supplemental_groups_strategy_options import V1beta1SupplementalGroupsStrategyOptions

# import apis into sdk package
from .apis.apps_openshift_io_api import AppsOpenshiftIoApi
Expand All @@ -235,7 +227,6 @@
from .apis.oapi_api import OapiApi
from .apis.oauth_openshift_io_api import OauthOpenshiftIoApi
from .apis.oauth_openshift_io_v1_api import OauthOpenshiftIoV1Api
from .apis.osapi_api import OsapiApi
from .apis.project_openshift_io_api import ProjectOpenshiftIoApi
from .apis.project_openshift_io_v1_api import ProjectOpenshiftIoV1Api
from .apis.quota_openshift_io_api import QuotaOpenshiftIoApi
Expand All @@ -253,4 +244,5 @@
# import ApiClient
from .api_client import ApiClient

from kubernetes.client.configuration import Configuration, ConfigurationObject, configuration
from kubernetes.client.configuration import Configuration, ConfigurationObject, configuration
1 change: 0 additions & 1 deletion openshift/client/apis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from .oapi_api import OapiApi
from .oauth_openshift_io_api import OauthOpenshiftIoApi
from .oauth_openshift_io_v1_api import OauthOpenshiftIoV1Api
from .osapi_api import OsapiApi
from .project_openshift_io_api import ProjectOpenshiftIoApi
from .project_openshift_io_v1_api import ProjectOpenshiftIoV1Api
from .quota_openshift_io_api import QuotaOpenshiftIoApi
Expand Down
Loading

0 comments on commit 059870a

Please sign in to comment.