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

V1GRPCAction()

Declaration
public V1GRPCAction()

V1GRPCAction(V1GRPCAction)

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

Properties

EqualityContract

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

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

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

Equals(object?)

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

Equals(V1GRPCAction?)

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

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

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