kubernetes_asyncio.client.models.v1_se_linux_options 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_se_linux_options.V1SELinuxOptions(level=None, role=None, type=None, user=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 = {'level': 'level', 'role': 'role', 'type': 'type', 'user': 'user'}
property level

Gets the level of this V1SELinuxOptions. # noqa: E501

Level is SELinux level label that applies to the container. # noqa: E501

Returns:

The level of this V1SELinuxOptions. # noqa: E501

Return type:

str

openapi_types = {'level': 'str', 'role': 'str', 'type': 'str', 'user': 'str'}
property role

Gets the role of this V1SELinuxOptions. # noqa: E501

Role is a SELinux role label that applies to the container. # noqa: E501

Returns:

The role of this V1SELinuxOptions. # noqa: E501

Return type:

str

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property type

Gets the type of this V1SELinuxOptions. # noqa: E501

Type is a SELinux type label that applies to the container. # noqa: E501

Returns:

The type of this V1SELinuxOptions. # noqa: E501

Return type:

str

property user

Gets the user of this V1SELinuxOptions. # noqa: E501

User is a SELinux user label that applies to the container. # noqa: E501

Returns:

The user of this V1SELinuxOptions. # noqa: E501

Return type:

str