CustomResourceDefinitionNames class

CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition.

Constructors

CustomResourceDefinitionNames({List<String>? categories, required String kind, String? listKind, required String plural, List<String>? shortNames, String? singular})
The main constructor.
const
CustomResourceDefinitionNames.fromJson(Map<String, dynamic> json)
Creates a CustomResourceDefinitionNames from JSON data.

Properties

categories List<String>?
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.
final
hashCode int
The hash code for this object.
no setterinherited
kind 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.
final
listKind String?
ListKind is the serialized kind of the list for this resource. Defaults to "kindList".
final
plural 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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortNames List<String>?
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.
final
singular String?
Singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased kind.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a CustomResourceDefinitionNames instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<CustomResourceDefinitionNames>
Creates a list of CustomResourceDefinitionNames from JSON data.