PolicyRule

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.

Source:
PolicyRule.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addApiGroups(newValues: String*): PolicyRule

Appends new values to apiGroups

Appends new values to apiGroups

Source:
PolicyRule.scala

Appends new values to nonResourceURLs

Appends new values to nonResourceURLs

Source:
PolicyRule.scala

Appends new values to resourceNames

Appends new values to resourceNames

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

Appends new values to resources

Appends new values to resources

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

Appends new values to verbs

Appends new values to verbs

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

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

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

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

Source:
PolicyRule.scala

transforms verbs to result of function

transforms verbs to result of function

Source:
PolicyRule.scala

Returns a new data with apiGroups set to new value

Returns a new data with apiGroups set to new value

Source:
PolicyRule.scala

Returns a new data with nonResourceURLs set to new value

Returns a new data with nonResourceURLs set to new value

Source:
PolicyRule.scala

Returns a new data with resourceNames set to new value

Returns a new data with resourceNames set to new value

Source:
PolicyRule.scala

Returns a new data with resources set to new value

Returns a new data with resources set to new value

Source:
PolicyRule.scala

Returns a new data with verbs set to new value

Returns a new data with verbs set to new value

Source:
PolicyRule.scala

Inherited methods

Inherited from:
Product