kubernetes_asyncio.client.models.v1_api_service_spec module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v1_api_service_spec.V1APIServiceSpec(ca_bundle=None, group=None, group_priority_minimum=None, insecure_skip_tls_verify=None, service=None, version=None, version_priority=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'ca_bundle': 'caBundle', 'group': 'group', 'group_priority_minimum': 'groupPriorityMinimum', 'insecure_skip_tls_verify': 'insecureSkipTLSVerify', 'service': 'service', 'version': 'version', 'version_priority': 'versionPriority'}
property ca_bundle

Gets the ca_bundle of this V1APIServiceSpec. # noqa: E501

CABundle is a PEM encoded CA bundle which will be used to validate an API server’s serving certificate. If unspecified, system trust roots on the apiserver are used. # noqa: E501

Returns:

The ca_bundle of this V1APIServiceSpec. # noqa: E501

Return type:

str

property group

Gets the group of this V1APIServiceSpec. # noqa: E501

Group is the API group name this server hosts # noqa: E501

Returns:

The group of this V1APIServiceSpec. # noqa: E501

Return type:

str

property group_priority_minimum

Gets the group_priority_minimum of this V1APIServiceSpec. # noqa: E501

GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We’d recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s # noqa: E501

Returns:

The group_priority_minimum of this V1APIServiceSpec. # noqa: E501

Return type:

int

property insecure_skip_tls_verify

Gets the insecure_skip_tls_verify of this V1APIServiceSpec. # noqa: E501

InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. # noqa: E501

Returns:

The insecure_skip_tls_verify of this V1APIServiceSpec. # noqa: E501

Return type:

bool

openapi_types = {'ca_bundle': 'str', 'group': 'str', 'group_priority_minimum': 'int', 'insecure_skip_tls_verify': 'bool', 'service': 'ApiregistrationV1ServiceReference', 'version': 'str', 'version_priority': 'int'}
property service

Gets the service of this V1APIServiceSpec. # noqa: E501

Returns:

The service of this V1APIServiceSpec. # noqa: E501

Return type:

ApiregistrationV1ServiceReference

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property version

Gets the version of this V1APIServiceSpec. # noqa: E501

Version is the API version this server hosts. For example, “v1” # noqa: E501

Returns:

The version of this V1APIServiceSpec. # noqa: E501

Return type:

str

property version_priority

Gets the version_priority of this V1APIServiceSpec. # noqa: E501

VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it’s inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is “kube-like”, it will sort above non “kube-like” version strings, which are ordered lexicographically. “Kube-like” versions start with a “v”, then are followed by a number (the major version), then optionally the string “alpha” or “beta” and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. # noqa: E501

Returns:

The version_priority of this V1APIServiceSpec. # noqa: E501

Return type:

int