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

View Source

V1alpha1ServerStorageVersion()

Declaration
public V1alpha1ServerStorageVersion()
View Source

V1alpha1ServerStorageVersion(V1alpha1ServerStorageVersion)

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

Properties

View Source

ApiServerID

The ID of the reporting API server.

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

DecodableVersions

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>
View Source

EncodingVersion

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

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

EqualityContract

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

ServedVersions

The API server can serve these versions. DecodableVersions must include all ServedVersions.

Declaration
[JsonPropertyName("servedVersions")]
public IList<string> ServedVersions { get; set; }
Property Value
Type Description
IList<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(V1alpha1ServerStorageVersion?)

Declaration
public virtual bool Equals(V1alpha1ServerStorageVersion? other)
Parameters
Type Name Description
V1alpha1ServerStorageVersion 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 ==(V1alpha1ServerStorageVersion?, V1alpha1ServerStorageVersion?)

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

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>
  • View Source
In this article
Back to top Generated by DocFX