Show / Hide Table of Contents

Class V1GRPCAction

GRPCAction specifies an action involving a GRPC service.

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

Constructors

View Source

V1GRPCAction()

Declaration
public V1GRPCAction()
View Source

V1GRPCAction(V1GRPCAction)

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

Properties

View Source

EqualityContract

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

Port

Port number of the gRPC service. Number must be in the range 1 to 65535.

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

Service

Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

If this is not specified, the default behavior is defined by gRPC.

Declaration
[JsonPropertyName("service")]
public string Service { 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(V1GRPCAction?)

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

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

operator !=(V1GRPCAction?, V1GRPCAction?)

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

Implements

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