c
io.k8s.api.apiserverinternal.v1alpha1
ServerStorageVersion
Companion object ServerStorageVersion
final case class ServerStorageVersion(apiServerID: Option[String] = None, decodableVersions: Option[Seq[String]] = None, encodingVersion: Option[String] = None, servedVersions: Option[Seq[String]] = None) extends Product with Serializable
An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServerStorageVersion
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
addDecodableVersions(newValues: String*): ServerStorageVersion
Appends new values to decodableVersions
-
def
addServedVersions(newValues: String*): ServerStorageVersion
Appends new values to servedVersions
- val apiServerID: Option[String]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val decodableVersions: Option[Seq[String]]
- val encodingVersion: Option[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapApiServerID(f: (String) ⇒ String): ServerStorageVersion
if apiServerID has a value, transforms to the result of function
-
def
mapDecodableVersions(f: (Seq[String]) ⇒ Seq[String]): ServerStorageVersion
if decodableVersions has a value, transforms to the result of function
-
def
mapEncodingVersion(f: (String) ⇒ String): ServerStorageVersion
if encodingVersion has a value, transforms to the result of function
-
def
mapServedVersions(f: (Seq[String]) ⇒ Seq[String]): ServerStorageVersion
if servedVersions 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()
- val servedVersions: Option[Seq[String]]
-
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
withApiServerID(value: String): ServerStorageVersion
Returns a new data with apiServerID set to new value
-
def
withDecodableVersions(value: Seq[String]): ServerStorageVersion
Returns a new data with decodableVersions set to new value
-
def
withEncodingVersion(value: String): ServerStorageVersion
Returns a new data with encodingVersion set to new value
-
def
withServedVersions(value: Seq[String]): ServerStorageVersion
Returns a new data with servedVersions set to new value