com.coralogix.zio.k8s.model.authorization.v1
ResourceAttributes
Companion object ResourceAttributes
case class ResourceAttributes(group: Optional[String] = Optional.Absent, name: Optional[String] = Optional.Absent, namespace: Optional[String] = Optional.Absent, resource: Optional[String] = Optional.Absent, subresource: Optional[String] = Optional.Absent, verb: Optional[String] = Optional.Absent, version: Optional[String] = Optional.Absent) extends Product with Serializable
ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
- 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.
- Alphabetic
- By Inheritance
- ResourceAttributes
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ResourceAttributes(group: Optional[String] = Optional.Absent, name: Optional[String] = Optional.Absent, namespace: Optional[String] = Optional.Absent, resource: Optional[String] = Optional.Absent, subresource: Optional[String] = Optional.Absent, verb: Optional[String] = Optional.Absent, version: Optional[String] = Optional.Absent)
- 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.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getGroup: IO[K8sFailure, String]
Group is the API Group of the Resource.
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".
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.
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.
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.
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.
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.
Version is the API Version of the Resource. "*" means all.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val group: Optional[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: Optional[String]
- val namespace: Optional[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val resource: Optional[String]
- val subresource: Optional[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val verb: Optional[String]
- val version: Optional[String]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated