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
V1alpha1ServerStorageVersion
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
Properties
View Source
ApiServerID
The ID of the reporting API server.
Declaration
[JsonPropertyName("apiServerID")]
public string ApiServerID { get; set; }
Property Value
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
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
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
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
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1alpha1ServerStorageVersion?)
Declaration
public virtual bool Equals(V1alpha1ServerStorageVersion? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1alpha1ServerStorageVersion?, V1alpha1ServerStorageVersion?)
Declaration
public static bool operator ==(V1alpha1ServerStorageVersion? left, V1alpha1ServerStorageVersion? right)
Parameters
Returns
View Source
operator !=(V1alpha1ServerStorageVersion?, V1alpha1ServerStorageVersion?)
Declaration
public static bool operator !=(V1alpha1ServerStorageVersion? left, V1alpha1ServerStorageVersion? right)
Parameters
Returns
Implements