Show / Hide Table of Contents

Class V1alpha1ServerStorageVersion

An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.

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

Constructors

V1alpha1ServerStorageVersion()

Declaration
public V1alpha1ServerStorageVersion()

V1alpha1ServerStorageVersion(V1alpha1ServerStorageVersion)

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

Properties

ApiServerID

apiServerID is the ID of the reporting API server.

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

DecodableVersions

decodableVersions are the encoding versions the API server can handle to decode. The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.

Declaration
[JsonPropertyName("decodableVersions")]
public IList<string> DecodableVersions { get; set; }
Property Value
Type Description
IList<string>

EncodingVersion

encodingVersion the API server encodes the object to when persisting it in the backend (e.g., etcd).

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

EqualityContract

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

ServedVersions

servedVersions lists all versions the API server can serve. DecodableVersions must include all ServedVersions.

Declaration
[JsonPropertyName("servedVersions")]
public IList<string> ServedVersions { get; set; }
Property Value
Type Description
IList<string>

Methods

Equals(object?)

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

Equals(V1alpha1ServerStorageVersion?)

Declaration
public virtual bool Equals(V1alpha1ServerStorageVersion? other)
Parameters
Type Name Description
V1alpha1ServerStorageVersion other
Returns
Type Description
bool

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

operator ==(V1alpha1ServerStorageVersion?, V1alpha1ServerStorageVersion?)

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

operator !=(V1alpha1ServerStorageVersion?, V1alpha1ServerStorageVersion?)

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

Implements

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