ObjectFieldSelector

case class ObjectFieldSelector(apiVersion: Optional[String], fieldPath: String)

ObjectFieldSelector selects an APIVersioned field of an object.

Value Params
apiVersion

Version of the schema the FieldPath is written in terms of, defaults to "v1".

fieldPath

Path of the field to select in the specified API version.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getApiVersion: IO[K8sFailure, String]

Version of the schema the FieldPath is written in terms of, defaults to "v1".

Version of the schema the FieldPath is written in terms of, defaults to "v1".

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getFieldPath: IO[K8sFailure, String]

Path of the field to select in the specified API version.

Path of the field to select in the specified API version.

This effect always succeeds, it is safe to use the field fieldPath directly.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product