final case class RuleWithOperations(operations: Option[Seq[String]] = None, apiVersions: Option[Seq[String]] = None, scope: Option[String] = None, apiGroups: Option[Seq[String]] = None, resources: Option[Seq[String]] = None) extends Product with Serializable
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
- Source
- RuleWithOperations.scala
- Alphabetic
- By Inheritance
- RuleWithOperations
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
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
-
def
addApiGroups(newValues: String*): RuleWithOperations
Appends new values to apiGroups
-
def
addApiVersions(newValues: String*): RuleWithOperations
Appends new values to apiVersions
-
def
addOperations(newValues: String*): RuleWithOperations
Appends new values to operations
-
def
addResources(newValues: String*): RuleWithOperations
Appends new values to resources
- val apiGroups: Option[Seq[String]]
- val apiVersions: Option[Seq[String]]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapApiGroups(f: (Seq[String]) ⇒ Seq[String]): RuleWithOperations
if apiGroups has a value, transforms to the result of function
-
def
mapApiVersions(f: (Seq[String]) ⇒ Seq[String]): RuleWithOperations
if apiVersions has a value, transforms to the result of function
-
def
mapOperations(f: (Seq[String]) ⇒ Seq[String]): RuleWithOperations
if operations has a value, transforms to the result of function
-
def
mapResources(f: (Seq[String]) ⇒ Seq[String]): RuleWithOperations
if resources has a value, transforms to the result of function
-
def
mapScope(f: (String) ⇒ String): RuleWithOperations
if scope has a value, transforms to the result of function
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val operations: Option[Seq[String]]
- val resources: Option[Seq[String]]
- val scope: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()
-
def
withApiGroups(value: Seq[String]): RuleWithOperations
Returns a new data with apiGroups set to new value
-
def
withApiVersions(value: Seq[String]): RuleWithOperations
Returns a new data with apiVersions set to new value
-
def
withOperations(value: Seq[String]): RuleWithOperations
Returns a new data with operations set to new value
-
def
withResources(value: Seq[String]): RuleWithOperations
Returns a new data with resources set to new value
-
def
withScope(value: String): RuleWithOperations
Returns a new data with scope set to new value