io.k8s.apiextensionsapiserver.pkg.apis.apiextensions.v1
CustomResourceDefinitionNames
Companion object CustomResourceDefinitionNames
case class CustomResourceDefinitionNames(plural: String, kind: String, categories: Option[Seq[String]] = None, listKind: Option[String] = None, shortNames: Option[Seq[String]] = None, singular: Option[String] = None) extends Product with Serializable
CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition
- plural
plural is the plural name of the resource to serve. The custom resources are served under
/apis/<group>/<version>/.../<plural>. Must match the name of the CustomResourceDefinition (in the form<names.plural>.<group>). Must be all lowercase.- kind
kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the
kindattribute in API calls.- categories
categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like
kubectl get all.- listKind
listKind is the serialized kind of the list for this resource. Defaults to "
kindList".- shortNames
shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like
kubectl get <shortname>. It must be all lowercase.- singular
singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased
kind
- Alphabetic
- By Inheritance
- CustomResourceDefinitionNames
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CustomResourceDefinitionNames(plural: String, kind: String, categories: Option[Seq[String]] = None, listKind: Option[String] = None, shortNames: Option[Seq[String]] = None, singular: Option[String] = None)
- plural
plural is the plural name of the resource to serve. The custom resources are served under
/apis/<group>/<version>/.../<plural>. Must match the name of the CustomResourceDefinition (in the form<names.plural>.<group>). Must be all lowercase.- kind
kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the
kindattribute in API calls.- categories
categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like
kubectl get all.- listKind
listKind is the serialized kind of the list for this resource. Defaults to "
kindList".- shortNames
shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like
kubectl get <shortname>. It must be all lowercase.- singular
singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased
kind
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val categories: Option[Seq[String]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val kind: String
- val listKind: Option[String]
- 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 plural: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val shortNames: Option[Seq[String]]
- val singular: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated