case class NonResourceRule(nonResourceURLs: Optional[Vector[String]] = Optional.Absent, verbs: Vector[String]) extends Product with Serializable
NonResourceRule holds information that describes a rule for the non-resource
- nonResourceURLs
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all.
- verbs
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
- Alphabetic
- By Inheritance
- NonResourceRule
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
NonResourceRule(nonResourceURLs: Optional[Vector[String]] = Optional.Absent, verbs: Vector[String])
- nonResourceURLs
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all.
- verbs
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
Value Members
-
def
getNonResourceURLs: IO[K8sFailure, Vector[String]]
NonResourceURLs is a set of partial urls that a user should have access to.
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getVerbs: IO[K8sFailure, Vector[String]]
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
This effect always succeeds, it is safe to use the field verbs directly.
- val nonResourceURLs: Optional[Vector[String]]
- val verbs: Vector[String]