case class GRPCAction(port: Int, service: Optional[String] = Optional.Absent) extends Product with Serializable
- port
Port number of the gRPC service. Number must be in the range 1 to 65535.
- 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.
- Alphabetic
- By Inheritance
- GRPCAction
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
GRPCAction(port: Int, service: Optional[String] = Optional.Absent)
- port
Port number of the gRPC service. Number must be in the range 1 to 65535.
- 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.
Value Members
-
def
getPort: IO[K8sFailure, Int]
Port number of the gRPC service.
Port number of the gRPC service. Number must be in the range 1 to 65535.
This effect always succeeds, it is safe to use the field port directly.
-
def
getService: IO[K8sFailure, String]
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).
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val port: Int
- val service: Optional[String]