ResourceFieldSelector

case class ResourceFieldSelector(containerName: Optional[String], divisor: Optional[Quantity], resource: String)

ResourceFieldSelector represents container resources (cpu, memory) and their output format

ResourceFieldSelector represents container resources (cpu, memory) and their output format

Value Params
containerName

Container name: required for volumes, optional for env vars

resource

Required: resource to select

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

Value members

Concrete methods

def getContainerName: IO[K8sFailure, String]

Container name: required for volumes, optional for env vars

Container name: required for volumes, optional for env vars

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

Gets divisor.

Gets divisor.

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

def getResource: IO[K8sFailure, String]

Required: resource to select

Required: resource to select

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

Inherited methods

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