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

View Source

V1PortStatus()

Declaration
public V1PortStatus()
View Source

V1PortStatus(V1PortStatus)

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

Properties

View Source

EqualityContract

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

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
View Source

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
View Source

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

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(V1PortStatus?)

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

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

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>
  • View Source
In this article
Back to top Generated by DocFX