Show / Hide Table of Contents

Class V1CustomResourceDefinitionNames

CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition

Inheritance
object
V1CustomResourceDefinitionNames
Implements
IEquatable<V1CustomResourceDefinitionNames>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1CustomResourceDefinitionNames : IEquatable<V1CustomResourceDefinitionNames>

Constructors

View Source

V1CustomResourceDefinitionNames()

Declaration
public V1CustomResourceDefinitionNames()
View Source

V1CustomResourceDefinitionNames(V1CustomResourceDefinitionNames)

Declaration
protected V1CustomResourceDefinitionNames(V1CustomResourceDefinitionNames original)
Parameters
Type Name Description
V1CustomResourceDefinitionNames original

Properties

View Source

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.

Declaration
[JsonPropertyName("categories")]
public IList<string> Categories { get; set; }
Property Value
Type Description
IList<string>
View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

Kind

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.

Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
Type Description
string
View Source

ListKind

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

Declaration
[JsonPropertyName("listKind")]
public string ListKind { get; set; }
Property Value
Type Description
string
View Source

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.

Declaration
[JsonPropertyName("plural")]
public string Plural { get; set; }
Property Value
Type Description
string
View Source

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.

Declaration
[JsonPropertyName("shortNames")]
public IList<string> ShortNames { get; set; }
Property Value
Type Description
IList<string>
View Source

Singular

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

Declaration
[JsonPropertyName("singular")]
public string Singular { get; set; }
Property Value
Type Description
string

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1CustomResourceDefinitionNames?)

Declaration
public virtual bool Equals(V1CustomResourceDefinitionNames? other)
Parameters
Type Name Description
V1CustomResourceDefinitionNames other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1CustomResourceDefinitionNames?, V1CustomResourceDefinitionNames?)

Declaration
public static bool operator ==(V1CustomResourceDefinitionNames? left, V1CustomResourceDefinitionNames? right)
Parameters
Type Name Description
V1CustomResourceDefinitionNames left
V1CustomResourceDefinitionNames right
Returns
Type Description
bool
View Source

operator !=(V1CustomResourceDefinitionNames?, V1CustomResourceDefinitionNames?)

Declaration
public static bool operator !=(V1CustomResourceDefinitionNames? left, V1CustomResourceDefinitionNames? right)
Parameters
Type Name Description
V1CustomResourceDefinitionNames left
V1CustomResourceDefinitionNames right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX