kubernetes_asyncio.client.models.v1_seccomp_profile 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_seccomp_profile.V1SeccompProfile(localhost_profile=None, type=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 = {'localhost_profile': 'localhostProfile', 'type': 'type'}
property localhost_profile

Gets the localhost_profile of this V1SeccompProfile. # noqa: E501

localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet’s configured seccomp profile location. Must be set if type is “Localhost”. Must NOT be set for any other type. # noqa: E501

Returns:

The localhost_profile of this V1SeccompProfile. # noqa: E501

Return type:

str

openapi_types = {'localhost_profile': 'str', '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 V1SeccompProfile. # noqa: E501

type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. # noqa: E501

Returns:

The type of this V1SeccompProfile. # noqa: E501

Return type:

str