PolicyRule

io.k8s.api.rbac.v1.PolicyRule
See thePolicyRule companion object
final case class PolicyRule(verbs: Seq[String], apiGroups: Option[Seq[String]], resources: Option[Seq[String]], resourceNames: Option[Seq[String]], nonResourceURLs: Option[Seq[String]])

PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.

Attributes

Companion:
object
Source:
PolicyRule.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def addApiGroups(newValues: String*): PolicyRule

Appends new values to apiGroups

Appends new values to apiGroups

Attributes

Source:
PolicyRule.scala

Appends new values to nonResourceURLs

Appends new values to nonResourceURLs

Attributes

Source:
PolicyRule.scala

Appends new values to resourceNames

Appends new values to resourceNames

Attributes

Source:
PolicyRule.scala
def addResources(newValues: String*): PolicyRule

Appends new values to resources

Appends new values to resources

Attributes

Source:
PolicyRule.scala
def addVerbs(newValues: String*): PolicyRule

Appends new values to verbs

Appends new values to verbs

Attributes

Source:
PolicyRule.scala

if apiGroups has a value, transforms to the result of function

if apiGroups has a value, transforms to the result of function

Attributes

Source:
PolicyRule.scala

if nonResourceURLs has a value, transforms to the result of function

if nonResourceURLs has a value, transforms to the result of function

Attributes

Source:
PolicyRule.scala

if resourceNames has a value, transforms to the result of function

if resourceNames has a value, transforms to the result of function

Attributes

Source:
PolicyRule.scala

if resources has a value, transforms to the result of function

if resources has a value, transforms to the result of function

Attributes

Source:
PolicyRule.scala

transforms verbs to result of function

transforms verbs to result of function

Attributes

Source:
PolicyRule.scala

Returns a new data with apiGroups set to new value

Returns a new data with apiGroups set to new value

Attributes

Source:
PolicyRule.scala

Returns a new data with nonResourceURLs set to new value

Returns a new data with nonResourceURLs set to new value

Attributes

Source:
PolicyRule.scala

Returns a new data with resourceNames set to new value

Returns a new data with resourceNames set to new value

Attributes

Source:
PolicyRule.scala

Returns a new data with resources set to new value

Returns a new data with resources set to new value

Attributes

Source:
PolicyRule.scala

Returns a new data with verbs set to new value

Returns a new data with verbs set to new value

Attributes

Source:
PolicyRule.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product