Show / Hide Table of Contents

Class VersionInfo

Info contains versioning information. how we'll want to distribute that information.

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

Constructors

View Source

VersionInfo()

Declaration
public VersionInfo()
View Source

VersionInfo(VersionInfo)

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

Properties

View Source

BuildDate

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

Compiler

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

EmulationMajor

EmulationMajor is the major version of the emulation version

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

EmulationMinor

EmulationMinor is the minor version of the emulation version

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

EqualityContract

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

GitCommit

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

GitTreeState

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

GitVersion

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

GoVersion

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

Major

Major is the major version of the binary version

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

MinCompatibilityMajor

MinCompatibilityMajor is the major version of the minimum compatibility version

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

MinCompatibilityMinor

MinCompatibilityMinor is the minor version of the minimum compatibility version

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

Minor

Minor is the minor version of the binary version

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

Platform

Declaration
[JsonPropertyName("platform")]
public string Platform { 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(VersionInfo?)

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

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

operator !=(VersionInfo?, VersionInfo?)

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

Implements

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