KubernetesPermissionCheckedDetails¶
Structure Class¶
KubernetesPermissionCheckedDetails
dataclass
¶
Information about the Kubernetes API for which you check if you have permission to call.
Attributes¶
allowed
class-attribute
instance-attribute
¶
allowed: bool | None = None
Information whether the user has the permission to call the Kubernetes API.
namespace
class-attribute
instance-attribute
¶
namespace: str | None = None
The namespace where the Kubernetes API action will take place.
resource
class-attribute
instance-attribute
¶
resource: str | None = None
The Kubernetes resource with which your Kubernetes API call will interact.
verb
class-attribute
instance-attribute
¶
verb: str | None = None
The verb component of the Kubernetes API call. For example, when you
check whether or not you have the permission to call the CreatePod
API, the verb component will be Create.