CustomResourceDefinitionVersion

com.coralogix.zio.k8s.model.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion
See theCustomResourceDefinitionVersion companion object
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.

Value parameters

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.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

Gets schema.

Gets schema.

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

Attributes

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.

Attributes

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.

Attributes

Gets subresources.

Gets subresources.

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

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product