Package io.fabric8.kubernetes.api.model
Class GRPCAction
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.GRPCAction
-
- All Implemented Interfaces:
Editable<GRPCActionBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GRPCAction extends Object implements Editable<GRPCActionBuilder>, KubernetesResource
GRPCAction specifies an action involving a GRPC service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GRPCAction()No args constructor for use in serializationGRPCAction(String mode, Integer port, String service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GRPCActionBuilderedit()Map<String,Object>getAdditionalProperties()StringgetMode()mode specifies the connection mode for the gRPC health probe.IntegergetPort()Port number of the gRPC service.StringgetService()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).voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMode(String mode)mode specifies the connection mode for the gRPC health probe.voidsetPort(Integer port)Port number of the gRPC service.voidsetService(String 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).GRPCActionBuildertoBuilder()
-
-
-
Method Detail
-
getMode
public String getMode()
mode specifies the connection mode for the gRPC health probe. Set to "TLS" to use TLS without certificate verification. Set to "Plaintext" to use a plaintext (insecure) connection explicitly. If not specified, the probe uses a plaintext (insecure) connection.
-
setMode
public void setMode(String mode)
mode specifies the connection mode for the gRPC health probe. Set to "TLS" to use TLS without certificate verification. Set to "Plaintext" to use a plaintext (insecure) connection explicitly. If not specified, the probe uses a plaintext (insecure) connection.
-
getPort
public Integer getPort()
Port number of the gRPC service. Number must be in the range 1 to 65535.
-
setPort
public void setPort(Integer port)
Port number of the gRPC service. Number must be in the range 1 to 65535.
-
getService
public String getService()
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.
-
setService
public void setService(String 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.
-
edit
public GRPCActionBuilder edit()
- Specified by:
editin interfaceEditable<GRPCActionBuilder>
-
toBuilder
public GRPCActionBuilder toBuilder()
-
-