jupyter

package
v2.0.0-...-98537dd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_jupyter_JupyterServerHostService_v1_proto protoreflect.FileDescriptor
View Source
var JupyterServerHost_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Codespaces.Grpc.JupyterServerHostService.v1.JupyterServerHost",
	HandlerType: (*JupyterServerHostServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetRunningServer",
			Handler:    _JupyterServerHost_GetRunningServer_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "jupyter/JupyterServerHostService.v1.proto",
}

JupyterServerHost_ServiceDesc is the grpc.ServiceDesc for JupyterServerHost service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterJupyterServerHostServer

func RegisterJupyterServerHostServer(s grpc.ServiceRegistrar, srv JupyterServerHostServer)

Types

type GetRunningServerRequest

type GetRunningServerRequest struct {
	// contains filtered or unexported fields
}

func (*GetRunningServerRequest) Descriptor deprecated

func (*GetRunningServerRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRunningServerRequest.ProtoReflect.Descriptor instead.

func (*GetRunningServerRequest) ProtoMessage

func (*GetRunningServerRequest) ProtoMessage()

func (*GetRunningServerRequest) ProtoReflect

func (x *GetRunningServerRequest) ProtoReflect() protoreflect.Message

func (*GetRunningServerRequest) Reset

func (x *GetRunningServerRequest) Reset()

func (*GetRunningServerRequest) String

func (x *GetRunningServerRequest) String() string

type GetRunningServerResponse

type GetRunningServerResponse struct {
	Result    bool   `protobuf:"varint,1,opt,name=Result,proto3" json:"Result,omitempty"`
	Message   string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"`
	Port      string `protobuf:"bytes,3,opt,name=Port,proto3" json:"Port,omitempty"`
	ServerUrl string `protobuf:"bytes,4,opt,name=ServerUrl,proto3" json:"ServerUrl,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRunningServerResponse) Descriptor deprecated

func (*GetRunningServerResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetRunningServerResponse.ProtoReflect.Descriptor instead.

func (*GetRunningServerResponse) GetMessage

func (x *GetRunningServerResponse) GetMessage() string

func (*GetRunningServerResponse) GetPort

func (x *GetRunningServerResponse) GetPort() string

func (*GetRunningServerResponse) GetResult

func (x *GetRunningServerResponse) GetResult() bool

func (*GetRunningServerResponse) GetServerUrl

func (x *GetRunningServerResponse) GetServerUrl() string

func (*GetRunningServerResponse) ProtoMessage

func (*GetRunningServerResponse) ProtoMessage()

func (*GetRunningServerResponse) ProtoReflect

func (x *GetRunningServerResponse) ProtoReflect() protoreflect.Message

func (*GetRunningServerResponse) Reset

func (x *GetRunningServerResponse) Reset()

func (*GetRunningServerResponse) String

func (x *GetRunningServerResponse) String() string

type JupyterServerHostClient

type JupyterServerHostClient interface {
	GetRunningServer(ctx context.Context, in *GetRunningServerRequest, opts ...grpc.CallOption) (*GetRunningServerResponse, error)
}

JupyterServerHostClient is the client API for JupyterServerHost 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.

type JupyterServerHostServer

type JupyterServerHostServer interface {
	GetRunningServer(context.Context, *GetRunningServerRequest) (*GetRunningServerResponse, error)
	// contains filtered or unexported methods
}

JupyterServerHostServer is the server API for JupyterServerHost service. All implementations must embed UnimplementedJupyterServerHostServer for forward compatibility

type UnimplementedJupyterServerHostServer

type UnimplementedJupyterServerHostServer struct {
}

UnimplementedJupyterServerHostServer must be embedded to have forward compatible implementations.

func (UnimplementedJupyterServerHostServer) GetRunningServer

type UnsafeJupyterServerHostServer

type UnsafeJupyterServerHostServer interface {
	// contains filtered or unexported methods
}

UnsafeJupyterServerHostServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to JupyterServerHostServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL