Show / Hide Table of Contents

Class V1PortStatus

PortStatus represents the error condition of a service port

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

Constructors

V1PortStatus()

Declaration
public V1PortStatus()

V1PortStatus(V1PortStatus)

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

Properties

EqualityContract

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

Error

Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names

  • cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase.
Declaration
[JsonPropertyName("error")]
public string Error { get; set; }
Property Value
Type Description
string

Port

Port is the port number of the service port of which status is recorded here

Declaration
[JsonPropertyName("port")]
public int Port { get; set; }
Property Value
Type Description
int

Protocol

Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"

Declaration
[JsonPropertyName("protocol")]
public string Protocol { get; set; }
Property Value
Type Description
string

Methods

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

Equals(V1PortStatus?)

Declaration
public virtual bool Equals(V1PortStatus? other)
Parameters
Type Name Description
V1PortStatus other
Returns
Type Description
bool

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

operator ==(V1PortStatus?, V1PortStatus?)

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

operator !=(V1PortStatus?, V1PortStatus?)

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

Implements

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