Documentation
¶
Index ¶
Constants ¶
const (
SSHProxyService_GetVersionInfo_FullMethodName = "/sshproxy.v1.SSHProxyService/GetVersionInfo"
)
Variables ¶
var File_sshproxy_v1_sshproxy_proto protoreflect.FileDescriptor
var SSHProxyService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sshproxy.v1.SSHProxyService", HandlerType: (*SSHProxyServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetVersionInfo", Handler: _SSHProxyService_GetVersionInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sshproxy/v1/sshproxy.proto", }
SSHProxyService_ServiceDesc is the grpc.ServiceDesc for SSHProxyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSSHProxyServiceServer ¶
func RegisterSSHProxyServiceServer(s grpc.ServiceRegistrar, srv SSHProxyServiceServer)
Types ¶
type SSHProxyServiceClient ¶
type SSHProxyServiceClient interface {
// GetVersionInfo returns build and version metadata for this service: its
// released semantic version, the git commit it was built from, and a short
// description of what the service does.
GetVersionInfo(ctx context.Context, in *v1.GetVersionInfoRequest, opts ...grpc.CallOption) (*v1.GetVersionInfoResponse, error)
}
SSHProxyServiceClient is the client API for SSHProxyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
SSHProxyService is the control-plane gRPC API of the ssh-proxy gateway.
func NewSSHProxyServiceClient ¶
func NewSSHProxyServiceClient(cc grpc.ClientConnInterface) SSHProxyServiceClient
type SSHProxyServiceServer ¶
type SSHProxyServiceServer interface {
// GetVersionInfo returns build and version metadata for this service: its
// released semantic version, the git commit it was built from, and a short
// description of what the service does.
GetVersionInfo(context.Context, *v1.GetVersionInfoRequest) (*v1.GetVersionInfoResponse, error)
// contains filtered or unexported methods
}
SSHProxyServiceServer is the server API for SSHProxyService service. All implementations must embed UnimplementedSSHProxyServiceServer for forward compatibility.
SSHProxyService is the control-plane gRPC API of the ssh-proxy gateway.
type UnimplementedSSHProxyServiceServer ¶
type UnimplementedSSHProxyServiceServer struct{}
UnimplementedSSHProxyServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSSHProxyServiceServer) GetVersionInfo ¶
func (UnimplementedSSHProxyServiceServer) GetVersionInfo(context.Context, *v1.GetVersionInfoRequest) (*v1.GetVersionInfoResponse, error)
type UnsafeSSHProxyServiceServer ¶
type UnsafeSSHProxyServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSSHProxyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SSHProxyServiceServer will result in compilation errors.