kubernetes_asyncio.client.models.v1_runtime_class 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_runtime_class.V1RuntimeClass(api_version=None, handler=None, kind=None, metadata=None, overhead=None, scheduling=None, local_vars_configuration=None)
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- property api_version
Gets the api_version of this V1RuntimeClass. # noqa: E501
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 # noqa: E501
- Returns:
The api_version of this V1RuntimeClass. # noqa: E501
- Return type:
str
- attribute_map = {'api_version': 'apiVersion', 'handler': 'handler', 'kind': 'kind', 'metadata': 'metadata', 'overhead': 'overhead', 'scheduling': 'scheduling'}
- property handler
Gets the handler of this V1RuntimeClass. # noqa: E501
handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called “runc” might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. # noqa: E501
- Returns:
The handler of this V1RuntimeClass. # noqa: E501
- Return type:
str
- property kind
Gets the kind of this V1RuntimeClass. # noqa: E501
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 # noqa: E501
- Returns:
The kind of this V1RuntimeClass. # noqa: E501
- Return type:
str
- property metadata
Gets the metadata of this V1RuntimeClass. # noqa: E501
- Returns:
The metadata of this V1RuntimeClass. # noqa: E501
- Return type:
- openapi_types = {'api_version': 'str', 'handler': 'str', 'kind': 'str', 'metadata': 'V1ObjectMeta', 'overhead': 'V1Overhead', 'scheduling': 'V1Scheduling'}
- property overhead
Gets the overhead of this V1RuntimeClass. # noqa: E501
- Returns:
The overhead of this V1RuntimeClass. # noqa: E501
- Return type:
- property scheduling
Gets the scheduling of this V1RuntimeClass. # noqa: E501
- Returns:
The scheduling of this V1RuntimeClass. # noqa: E501
- Return type:
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model