Skip to content

/AWS1/CL_GDYKUBERNETESPERMCH00

Information about the Kubernetes API for which you check if you have permission to call.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_verb TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

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.

iv_resource TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The Kubernetes resource with which your Kubernetes API call will interact.

iv_namespace TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The namespace where the Kubernetes API action will take place.

iv_allowed TYPE /AWS1/GDYBOOLEAN /AWS1/GDYBOOLEAN

Information whether the user has the permission to call the Kubernetes API.


Queryable Attributes

Verb

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.

Accessible with the following methods

Method Description
GET_VERB() Getter for VERB, with configurable default
ASK_VERB() Getter for VERB w/ exceptions if field has no value
HAS_VERB() Determine if VERB has a value

Resource

The Kubernetes resource with which your Kubernetes API call will interact.

Accessible with the following methods

Method Description
GET_RESOURCE() Getter for RESOURCE, with configurable default
ASK_RESOURCE() Getter for RESOURCE w/ exceptions if field has no value
HAS_RESOURCE() Determine if RESOURCE has a value

Namespace

The namespace where the Kubernetes API action will take place.

Accessible with the following methods

Method Description
GET_NAMESPACE() Getter for NAMESPACE, with configurable default
ASK_NAMESPACE() Getter for NAMESPACE w/ exceptions if field has no value
HAS_NAMESPACE() Determine if NAMESPACE has a value

Allowed

Information whether the user has the permission to call the Kubernetes API.

Accessible with the following methods

Method Description
GET_ALLOWED() Getter for ALLOWED, with configurable default
ASK_ALLOWED() Getter for ALLOWED w/ exceptions if field has no value
HAS_ALLOWED() Determine if ALLOWED has a value