CustomResourceDefinitionNamesArgs

data class CustomResourceDefinitionNamesArgs(val categories: Output<List<String>>? = null, val kind: Output<String>, val listKind: Output<String>? = null, val plural: Output<String>, val shortNames: Output<List<String>>? = null, val singular: Output<String>? = null) : ConvertibleToJava<CustomResourceDefinitionNamesArgs>

CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition

Constructors

Link copied to clipboard
constructor(categories: Output<List<String>>? = null, kind: Output<String>, listKind: Output<String>? = null, plural: Output<String>, shortNames: Output<List<String>>? = null, singular: Output<String>? = null)

Properties

Link copied to clipboard
val categories: Output<List<String>>? = null

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.

Link copied to clipboard
val kind: Output<String>

kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the kind attribute in API calls.

Link copied to clipboard
val listKind: Output<String>? = null

listKind is the serialized kind of the list for this resource. Defaults to "kindList".

Link copied to clipboard
val plural: Output<String>

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.

Link copied to clipboard
val shortNames: Output<List<String>>? = null

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.

Link copied to clipboard
val singular: Output<String>? = null

singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased kind.

Functions

Link copied to clipboard
open override fun toJava(): CustomResourceDefinitionNamesArgs