Class V1APIGroup
APIGroup contains the name, the supported versions, and the preferred version of
a group.
Assembly: KubernetesClient.dll
Syntax
[KubernetesEntity(Group = "", Kind = "APIGroup", ApiVersion = "v1", PluralName = "")]
public record V1APIGroup : IKubernetesObject, IEquatable<V1APIGroup>
Constructors
View Source
V1APIGroup()
Declaration
View Source
V1APIGroup(V1APIGroup)
Declaration
protected V1APIGroup(V1APIGroup original)
Parameters
Fields
View Source
KubeApiVersion
Declaration
public const string KubeApiVersion = "v1"
Field Value
View Source
KubeGroup
Declaration
public const string KubeGroup = ""
Field Value
View Source
KubeKind
Declaration
public const string KubeKind = "APIGroup"
Field Value
View Source
KubePluralName
Declaration
public const string KubePluralName = ""
Field Value
Properties
View Source
ApiVersion
Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Kind
Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
View Source
Name
name is the name of the group.
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
View Source
PreferredVersion
preferredVersion is the version preferred by the API server, which probably is
the storage version.
Declaration
[JsonPropertyName("preferredVersion")]
public V1GroupVersionForDiscovery PreferredVersion { get; set; }
Property Value
View Source
ServerAddressByClientCIDRs
a map of client CIDR to server address that is serving this group. This is to
help clients reach servers in the most network-efficient way possible. Clients
can use the appropriate server address as per the CIDR that they match. In case
of multiple matches, clients should use the longest matching CIDR. The server
returns only those CIDRs that it thinks that the client can match. For example:
the master will return an internal IP CIDR only, if the client reaches the
server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip
header or request.RemoteAddr (in that order) to get the client IP.
Declaration
[JsonPropertyName("serverAddressByClientCIDRs")]
public IList<V1ServerAddressByClientCIDR> ServerAddressByClientCIDRs { get; set; }
Property Value
View Source
Versions
versions are the versions supported in this group.
Declaration
[JsonPropertyName("versions")]
public IList<V1GroupVersionForDiscovery> Versions { 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(V1APIGroup?)
Declaration
public virtual bool Equals(V1APIGroup? 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 ==(V1APIGroup?, V1APIGroup?)
Declaration
public static bool operator ==(V1APIGroup? left, V1APIGroup? right)
Parameters
Returns
View Source
operator !=(V1APIGroup?, V1APIGroup?)
Declaration
public static bool operator !=(V1APIGroup? left, V1APIGroup? right)
Parameters
Returns
Implements
Extension Methods