Versions in this module Expand all Collapse all v1 v1.0.0 May 31, 2023 Changes in this version + const NotebookServerService_CreateNotebookServer_FullMethodName + const NotebookServerService_DeleteNotebookServer_FullMethodName + const NotebookServerService_GetNotebookServer_FullMethodName + const NotebookServerService_ListNotebookServers_FullMethodName + const NotebookServerService_SwitchNotebookServer_FullMethodName + const NotebookServerService_UpdateNotebookServerSettings_FullMethodName + var File_internal_context_notebookserver_interface_grpc_proto_notebookserver_proto protoreflect.FileDescriptor + var NotebookServerErrorReason_name = map[int32]string + var NotebookServerErrorReason_value = map[string]int32 + var NotebookServerService_ServiceDesc = grpc.ServiceDesc + func ErrorNotebookserverNotFound(format string, args ...interface{}) *errors.Error + func ErrorNotebookserverValidateError(format string, args ...interface{}) *errors.Error + func IsNotebookserverNotFound(err error) bool + func IsNotebookserverValidateError(err error) bool + func RegisterNotebookServerServiceServer(s grpc.ServiceRegistrar, srv NotebookServerServiceServer) + type CreateNotebookServerRequest struct + Image string + ResourceSize *ResourceSize + WorkspaceID string + func (*CreateNotebookServerRequest) Descriptor() ([]byte, []int) + func (*CreateNotebookServerRequest) ProtoMessage() + func (x *CreateNotebookServerRequest) GetImage() string + func (x *CreateNotebookServerRequest) GetResourceSize() *ResourceSize + func (x *CreateNotebookServerRequest) GetWorkspaceID() string + func (x *CreateNotebookServerRequest) ProtoReflect() protoreflect.Message + func (x *CreateNotebookServerRequest) Reset() + func (x *CreateNotebookServerRequest) String() string + type CreateNotebookServerResponse struct + Id string + func (*CreateNotebookServerResponse) Descriptor() ([]byte, []int) + func (*CreateNotebookServerResponse) ProtoMessage() + func (x *CreateNotebookServerResponse) GetId() string + func (x *CreateNotebookServerResponse) ProtoReflect() protoreflect.Message + func (x *CreateNotebookServerResponse) Reset() + func (x *CreateNotebookServerResponse) String() string + type DeleteNotebookServerRequest struct + Id string + func (*DeleteNotebookServerRequest) Descriptor() ([]byte, []int) + func (*DeleteNotebookServerRequest) ProtoMessage() + func (x *DeleteNotebookServerRequest) GetId() string + func (x *DeleteNotebookServerRequest) ProtoReflect() protoreflect.Message + func (x *DeleteNotebookServerRequest) Reset() + func (x *DeleteNotebookServerRequest) String() string + type DeleteNotebookServerResponse struct + func (*DeleteNotebookServerResponse) Descriptor() ([]byte, []int) + func (*DeleteNotebookServerResponse) ProtoMessage() + func (x *DeleteNotebookServerResponse) ProtoReflect() protoreflect.Message + func (x *DeleteNotebookServerResponse) Reset() + func (x *DeleteNotebookServerResponse) String() string + type GPU struct + Card float64 + Memory int64 + Model string + func (*GPU) Descriptor() ([]byte, []int) + func (*GPU) ProtoMessage() + func (x *GPU) GetCard() float64 + func (x *GPU) GetMemory() int64 + func (x *GPU) GetModel() string + func (x *GPU) ProtoReflect() protoreflect.Message + func (x *GPU) Reset() + func (x *GPU) String() string + type GetNotebookServerRequest struct + Id string + Notebook string + WorkspaceID string + func (*GetNotebookServerRequest) Descriptor() ([]byte, []int) + func (*GetNotebookServerRequest) ProtoMessage() + func (x *GetNotebookServerRequest) GetId() string + func (x *GetNotebookServerRequest) GetNotebook() string + func (x *GetNotebookServerRequest) GetWorkspaceID() string + func (x *GetNotebookServerRequest) ProtoReflect() protoreflect.Message + func (x *GetNotebookServerRequest) Reset() + func (x *GetNotebookServerRequest) String() string + type GetNotebookServerResponse struct + AccessURL string + CreatedAt *timestamppb.Timestamp + Id string + Image string + ResourceSize *ResourceSize + Status string + UpdatedAt *timestamppb.Timestamp + func (*GetNotebookServerResponse) Descriptor() ([]byte, []int) + func (*GetNotebookServerResponse) ProtoMessage() + func (x *GetNotebookServerResponse) GetAccessURL() string + func (x *GetNotebookServerResponse) GetCreatedAt() *timestamppb.Timestamp + func (x *GetNotebookServerResponse) GetId() string + func (x *GetNotebookServerResponse) GetImage() string + func (x *GetNotebookServerResponse) GetResourceSize() *ResourceSize + func (x *GetNotebookServerResponse) GetStatus() string + func (x *GetNotebookServerResponse) GetUpdatedAt() *timestamppb.Timestamp + func (x *GetNotebookServerResponse) ProtoReflect() protoreflect.Message + func (x *GetNotebookServerResponse) Reset() + func (x *GetNotebookServerResponse) String() string + type ListNotebookServersRequest struct + WorkspaceID string + func (*ListNotebookServersRequest) Descriptor() ([]byte, []int) + func (*ListNotebookServersRequest) ProtoMessage() + func (x *ListNotebookServersRequest) GetWorkspaceID() string + func (x *ListNotebookServersRequest) ProtoReflect() protoreflect.Message + func (x *ListNotebookServersRequest) Reset() + func (x *ListNotebookServersRequest) String() string + type ListNotebookServersResponse struct + Items []*NotebookServer + func (*ListNotebookServersResponse) Descriptor() ([]byte, []int) + func (*ListNotebookServersResponse) ProtoMessage() + func (x *ListNotebookServersResponse) GetItems() []*NotebookServer + func (x *ListNotebookServersResponse) ProtoReflect() protoreflect.Message + func (x *ListNotebookServersResponse) Reset() + func (x *ListNotebookServersResponse) String() string + type NotebookServer struct + CreatedAt *timestamppb.Timestamp + Id string + Image string + ResourceSize *ResourceSize + Status string + UpdatedAt *timestamppb.Timestamp + func (*NotebookServer) Descriptor() ([]byte, []int) + func (*NotebookServer) ProtoMessage() + func (x *NotebookServer) GetCreatedAt() *timestamppb.Timestamp + func (x *NotebookServer) GetId() string + func (x *NotebookServer) GetImage() string + func (x *NotebookServer) GetResourceSize() *ResourceSize + func (x *NotebookServer) GetStatus() string + func (x *NotebookServer) GetUpdatedAt() *timestamppb.Timestamp + func (x *NotebookServer) ProtoReflect() protoreflect.Message + func (x *NotebookServer) Reset() + func (x *NotebookServer) String() string + type NotebookServerErrorReason int32 + const NotebookServerErrorReason_NOTEBOOKSERVER_NOT_FOUND + const NotebookServerErrorReason_NOTEBOOKSERVER_VALIDATE_ERROR + func (NotebookServerErrorReason) Descriptor() protoreflect.EnumDescriptor + func (NotebookServerErrorReason) EnumDescriptor() ([]byte, []int) + func (NotebookServerErrorReason) Type() protoreflect.EnumType + func (x NotebookServerErrorReason) Enum() *NotebookServerErrorReason + func (x NotebookServerErrorReason) Number() protoreflect.EnumNumber + func (x NotebookServerErrorReason) String() string + type NotebookServerServiceClient interface + CreateNotebookServer func(ctx context.Context, in *CreateNotebookServerRequest, opts ...grpc.CallOption) (*CreateNotebookServerResponse, error) + DeleteNotebookServer func(ctx context.Context, in *DeleteNotebookServerRequest, opts ...grpc.CallOption) (*DeleteNotebookServerResponse, error) + GetNotebookServer func(ctx context.Context, in *GetNotebookServerRequest, opts ...grpc.CallOption) (*GetNotebookServerResponse, error) + ListNotebookServers func(ctx context.Context, in *ListNotebookServersRequest, opts ...grpc.CallOption) (*ListNotebookServersResponse, error) + SwitchNotebookServer func(ctx context.Context, in *SwitchNotebookServerRequest, opts ...grpc.CallOption) (*SwitchNotebookServerResponse, error) + UpdateNotebookServerSettings func(ctx context.Context, in *UpdateNotebookServerSettingsRequest, ...) (*UpdateNotebookServerSettingsResponse, error) + func NewNotebookServerServiceClient(cc grpc.ClientConnInterface) NotebookServerServiceClient + type NotebookServerServiceServer interface + CreateNotebookServer func(context.Context, *CreateNotebookServerRequest) (*CreateNotebookServerResponse, error) + DeleteNotebookServer func(context.Context, *DeleteNotebookServerRequest) (*DeleteNotebookServerResponse, error) + GetNotebookServer func(context.Context, *GetNotebookServerRequest) (*GetNotebookServerResponse, error) + ListNotebookServers func(context.Context, *ListNotebookServersRequest) (*ListNotebookServersResponse, error) + SwitchNotebookServer func(context.Context, *SwitchNotebookServerRequest) (*SwitchNotebookServerResponse, error) + UpdateNotebookServerSettings func(context.Context, *UpdateNotebookServerSettingsRequest) (*UpdateNotebookServerSettingsResponse, error) + type ResourceSize struct + Cpu float64 + Disk int64 + Gpu *GPU + Memory int64 + func (*ResourceSize) Descriptor() ([]byte, []int) + func (*ResourceSize) ProtoMessage() + func (x *ResourceSize) GetCpu() float64 + func (x *ResourceSize) GetDisk() int64 + func (x *ResourceSize) GetGpu() *GPU + func (x *ResourceSize) GetMemory() int64 + func (x *ResourceSize) ProtoReflect() protoreflect.Message + func (x *ResourceSize) Reset() + func (x *ResourceSize) String() string + type SwitchNotebookServerRequest struct + Id string + Onoff bool + func (*SwitchNotebookServerRequest) Descriptor() ([]byte, []int) + func (*SwitchNotebookServerRequest) ProtoMessage() + func (x *SwitchNotebookServerRequest) GetId() string + func (x *SwitchNotebookServerRequest) GetOnoff() bool + func (x *SwitchNotebookServerRequest) ProtoReflect() protoreflect.Message + func (x *SwitchNotebookServerRequest) Reset() + func (x *SwitchNotebookServerRequest) String() string + type SwitchNotebookServerResponse struct + func (*SwitchNotebookServerResponse) Descriptor() ([]byte, []int) + func (*SwitchNotebookServerResponse) ProtoMessage() + func (x *SwitchNotebookServerResponse) ProtoReflect() protoreflect.Message + func (x *SwitchNotebookServerResponse) Reset() + func (x *SwitchNotebookServerResponse) String() string + type UnimplementedNotebookServerServiceServer struct + func (UnimplementedNotebookServerServiceServer) CreateNotebookServer(context.Context, *CreateNotebookServerRequest) (*CreateNotebookServerResponse, error) + func (UnimplementedNotebookServerServiceServer) DeleteNotebookServer(context.Context, *DeleteNotebookServerRequest) (*DeleteNotebookServerResponse, error) + func (UnimplementedNotebookServerServiceServer) GetNotebookServer(context.Context, *GetNotebookServerRequest) (*GetNotebookServerResponse, error) + func (UnimplementedNotebookServerServiceServer) ListNotebookServers(context.Context, *ListNotebookServersRequest) (*ListNotebookServersResponse, error) + func (UnimplementedNotebookServerServiceServer) SwitchNotebookServer(context.Context, *SwitchNotebookServerRequest) (*SwitchNotebookServerResponse, error) + func (UnimplementedNotebookServerServiceServer) UpdateNotebookServerSettings(context.Context, *UpdateNotebookServerSettingsRequest) (*UpdateNotebookServerSettingsResponse, error) + type UnsafeNotebookServerServiceServer interface + type UpdateNotebookServerSettingsRequest struct + Id string + Image string + ResourceSize *ResourceSize + func (*UpdateNotebookServerSettingsRequest) Descriptor() ([]byte, []int) + func (*UpdateNotebookServerSettingsRequest) ProtoMessage() + func (x *UpdateNotebookServerSettingsRequest) GetId() string + func (x *UpdateNotebookServerSettingsRequest) GetImage() string + func (x *UpdateNotebookServerSettingsRequest) GetResourceSize() *ResourceSize + func (x *UpdateNotebookServerSettingsRequest) ProtoReflect() protoreflect.Message + func (x *UpdateNotebookServerSettingsRequest) Reset() + func (x *UpdateNotebookServerSettingsRequest) String() string + type UpdateNotebookServerSettingsResponse struct + func (*UpdateNotebookServerSettingsResponse) Descriptor() ([]byte, []int) + func (*UpdateNotebookServerSettingsResponse) ProtoMessage() + func (x *UpdateNotebookServerSettingsResponse) ProtoReflect() protoreflect.Message + func (x *UpdateNotebookServerSettingsResponse) Reset() + func (x *UpdateNotebookServerSettingsResponse) String() string