CustomResourceDefinitionVersion

case class CustomResourceDefinitionVersion(additionalPrinterColumns: Optional[Vector[CustomResourceColumnDefinition]], deprecated: Optional[Boolean], deprecationWarning: Optional[String], name: String, schema: Optional[CustomResourceValidation], served: Boolean, storage: Boolean, subresources: Optional[CustomResourceSubresources])

CustomResourceDefinitionVersion describes a version for CRD.

CustomResourceDefinitionVersion describes a version for CRD.

Value Params
additionalPrinterColumns

additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.

deprecated

deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.

deprecationWarning

deprecationWarning overrides the default warning returned to API clients. May only be set when deprecated is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.

name

name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at /apis/<group>/<version>/... if served is true.

served

served is a flag enabling/disabling this version from being served via REST APIs

storage

storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.

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

Value members

Concrete methods

additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.

additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.

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

def getDeprecated: IO[K8sFailure, Boolean]

deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.

deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.

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

deprecationWarning overrides the default warning returned to API clients. May only be set when deprecated is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.

deprecationWarning overrides the default warning returned to API clients. May only be set when deprecated is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.

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

def getName: IO[K8sFailure, String]

name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at /apis/<group>/<version>/... if served is true.

name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at /apis/<group>/<version>/... if served is true.

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

Gets schema.

Gets schema.

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

def getServed: IO[K8sFailure, Boolean]

served is a flag enabling/disabling this version from being served via REST APIs

served is a flag enabling/disabling this version from being served via REST APIs

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

def getStorage: IO[K8sFailure, Boolean]

storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.

storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.

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

Gets subresources.

Gets subresources.

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

Inherited methods

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