ResourceAttributes

case class ResourceAttributes(group: Optional[String], name: Optional[String], namespace: Optional[String], resource: Optional[String], subresource: Optional[String], verb: Optional[String], version: Optional[String])

ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface

ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface

Value Params
group

Group is the API Group of the Resource. "*" means all.

name

Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.

namespace

Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview

resource

Resource is one of the existing resource types. "*" means all.

subresource

Subresource is one of the existing resource types. "" means none.

verb

Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.

version

Version is the API Version of the Resource. "*" means all.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getGroup: IO[K8sFailure, String]

Group is the API Group of the Resource. "*" means all.

Group is the API Group of the Resource. "*" means all.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getName: IO[K8sFailure, String]

Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.

Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getNamespace: IO[K8sFailure, String]

Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview

Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getResource: IO[K8sFailure, String]

Resource is one of the existing resource types. "*" means all.

Resource is one of the existing resource types. "*" means all.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getSubresource: IO[K8sFailure, String]

Subresource is one of the existing resource types. "" means none.

Subresource is one of the existing resource types. "" means none.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getVerb: IO[K8sFailure, String]

Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.

Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getVersion: IO[K8sFailure, String]

Version is the API Version of the Resource. "*" means all.

Version is the API Version of the Resource. "*" means all.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product