RuleWithOperations

io.k8s.api.admissionregistration.v1.RuleWithOperations
See theRuleWithOperations companion object
final case class RuleWithOperations(operations: Option[Seq[String]], apiVersions: Option[Seq[String]], scope: Option[String], apiGroups: Option[Seq[String]], resources: Option[Seq[String]])

RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.

Attributes

Companion
object
Source
RuleWithOperations.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addApiGroups(newValues: String*): RuleWithOperations

Appends new values to apiGroups

Appends new values to apiGroups

Attributes

Source
RuleWithOperations.scala
def addApiVersions(newValues: String*): RuleWithOperations

Appends new values to apiVersions

Appends new values to apiVersions

Attributes

Source
RuleWithOperations.scala
def addOperations(newValues: String*): RuleWithOperations

Appends new values to operations

Appends new values to operations

Attributes

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

Appends new values to resources

Appends new values to resources

Attributes

Source
RuleWithOperations.scala
def mapApiGroups(f: (Seq[String]) => Seq[String]): RuleWithOperations

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

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

Attributes

Source
RuleWithOperations.scala
def mapApiVersions(f: (Seq[String]) => Seq[String]): RuleWithOperations

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

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

Attributes

Source
RuleWithOperations.scala
def mapOperations(f: (Seq[String]) => Seq[String]): RuleWithOperations

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

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

Attributes

Source
RuleWithOperations.scala
def mapResources(f: (Seq[String]) => Seq[String]): RuleWithOperations

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

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

Attributes

Source
RuleWithOperations.scala
def mapScope(f: String => String): RuleWithOperations

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

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

Attributes

Source
RuleWithOperations.scala
def withApiGroups(value: Seq[String]): RuleWithOperations

Returns a new data with apiGroups set to new value

Returns a new data with apiGroups set to new value

Attributes

Source
RuleWithOperations.scala
def withApiVersions(value: Seq[String]): RuleWithOperations

Returns a new data with apiVersions set to new value

Returns a new data with apiVersions set to new value

Attributes

Source
RuleWithOperations.scala
def withOperations(value: Seq[String]): RuleWithOperations

Returns a new data with operations set to new value

Returns a new data with operations set to new value

Attributes

Source
RuleWithOperations.scala
def withResources(value: Seq[String]): RuleWithOperations

Returns a new data with resources set to new value

Returns a new data with resources set to new value

Attributes

Source
RuleWithOperations.scala
def withScope(value: String): RuleWithOperations

Returns a new data with scope set to new value

Returns a new data with scope set to new value

Attributes

Source
RuleWithOperations.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product