Kubernetes::GRPCAction
Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object
GRPCAction specifies an action involving a GRPC service.
Constructors
new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance methods
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.
Macros
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion