struct
Kubernetes::CustomResourceDefinitionNames
- Kubernetes::CustomResourceDefinitionNames
- Struct
- Value
- Object
Overview
CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#categories : Array(String) | Nil
categories is a list of grouped resources this custom resource belongs to (e.g.
-
#categories=(categories : Array(String) | Nil)
categories is a list of grouped resources this custom resource belongs to (e.g.
-
#kind : String | Nil
kind is the serialized kind of the resource.
-
#kind=(kind : String | Nil)
kind is the serialized kind of the resource.
-
#list_kind : String | Nil
listKind is the serialized kind of the list for this resource.
-
#list_kind=(list_kind : String | Nil)
listKind is the serialized kind of the list for this resource.
-
#plural : String | Nil
plural is the plural name of the resource to serve.
-
#plural=(plural : String | Nil)
plural is the plural name of the resource to serve.
-
#short_names : Array(String) | Nil
shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like
kubectl get <shortname>. -
#short_names=(short_names : Array(String) | Nil)
shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like
kubectl get <shortname>. -
#singular : String | Nil
singular is the singular name of the resource.
-
#singular=(singular : String | Nil)
singular is the singular name of the resource.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
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.
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.
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.
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.
listKind is the serialized kind of the list for this resource. Defaults to "#kindList".
listKind is the serialized kind of the list for this resource. Defaults to "#kindList".
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.
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.
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.
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.