final case class NodeConfigStatus(active: Option[NodeConfigSource] = None, assigned: Option[NodeConfigSource] = None, error: Option[String] = None, lastKnownGood: Option[NodeConfigSource] = None) extends Product with Serializable
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
- Source
- NodeConfigStatus.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NodeConfigStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new NodeConfigStatus(active: Option[NodeConfigSource] = None, assigned: Option[NodeConfigSource] = None, error: Option[String] = None, lastKnownGood: Option[NodeConfigSource] = None)
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
- val active: Option[NodeConfigSource]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val assigned: Option[NodeConfigSource]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val error: Option[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastKnownGood: Option[NodeConfigSource]
-
def
mapActive(f: (NodeConfigSource) ⇒ NodeConfigSource): NodeConfigStatus
if active has a value, transforms to the result of function
-
def
mapAssigned(f: (NodeConfigSource) ⇒ NodeConfigSource): NodeConfigStatus
if assigned has a value, transforms to the result of function
-
def
mapError(f: (String) ⇒ String): NodeConfigStatus
if error has a value, transforms to the result of function
-
def
mapLastKnownGood(f: (NodeConfigSource) ⇒ NodeConfigSource): NodeConfigStatus
if lastKnownGood 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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withActive(value: NodeConfigSource): NodeConfigStatus
Returns a new data with active set to new value
-
def
withAssigned(value: NodeConfigSource): NodeConfigStatus
Returns a new data with assigned set to new value
-
def
withError(value: String): NodeConfigStatus
Returns a new data with error set to new value
-
def
withLastKnownGood(value: NodeConfigSource): NodeConfigStatus
Returns a new data with lastKnownGood set to new value