SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.
- Companion
- object
Value members
Concrete methods
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Gets status.
Gets status.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Inherited methods
Attach another resource as the owner of this one
Attach another resource as the owner of this one
- Value Params
- ownerName
Owner's name
- ownerType
Owner's resource type metadata
- ownerUid
Owner's UID
- Returns
Object with the attached owner described in its metadata
- Inherited from
- K8sObjectOps
Gets the geneation of the object or 0 if it is new
Gets the geneation of the object or 0 if it is new
- Inherited from
- K8sObjectOps
Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
- Inherited from
- K8sObjectOps
Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
- Inherited from
- K8sObjectOps
Gets the status of the object and fails with com.coralogix.zio.k8s.client.UndefinedField if it is not present.
Gets the status of the object and fails with com.coralogix.zio.k8s.client.UndefinedField if it is not present.
- Inherited from
- K8sObjectStatusOps
Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
- Inherited from
- K8sObjectOps
Verifies ownership between the resources
Verifies ownership between the resources
- Type Params
- OwnerT
Type of the owner resource
- Value Params
- owner
Possible owner of this resource
- Returns
True if owner owns this resource
- Inherited from
- K8sObjectOps
Creates a new object with its metadata modified by the given function f
Creates a new object with its metadata modified by the given function f
- Value Params
- f
Function to modify the object's metadata with
- Returns
Object with modified metadata
- Inherited from
- K8sObjectOps
Returns an object with its status modified by the given function f
Returns an object with its status modified by the given function f
- Value Params
- f
Function to modify the status with
- Returns
Object with modified status
- Inherited from
- K8sObjectStatusOps
Gets the metadata of the object
Gets the metadata of the object
- Inherited from
- K8sObjectOps
Gets the status of the object
Gets the status of the object
- Inherited from
- K8sObjectStatusOps
Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.
Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.
- Type Params
- OwnerT
Type of the owner
- Value Params
- owner
Owner resource
- Returns
Object with the attached owner described in its metadata
- Inherited from
- K8sObjectOps