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