Documentation ¶
Index ¶
- Constants
- Variables
- 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
- func (*CreateNotebookServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNotebookServerRequest) GetImage() string
- func (x *CreateNotebookServerRequest) GetResourceSize() *ResourceSize
- func (x *CreateNotebookServerRequest) GetWorkspaceID() string
- func (*CreateNotebookServerRequest) ProtoMessage()
- func (x *CreateNotebookServerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNotebookServerRequest) Reset()
- func (x *CreateNotebookServerRequest) String() string
- type CreateNotebookServerResponse
- func (*CreateNotebookServerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNotebookServerResponse) GetId() string
- func (*CreateNotebookServerResponse) ProtoMessage()
- func (x *CreateNotebookServerResponse) ProtoReflect() protoreflect.Message
- func (x *CreateNotebookServerResponse) Reset()
- func (x *CreateNotebookServerResponse) String() string
- type DeleteNotebookServerRequest
- func (*DeleteNotebookServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNotebookServerRequest) GetId() string
- func (*DeleteNotebookServerRequest) ProtoMessage()
- func (x *DeleteNotebookServerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNotebookServerRequest) Reset()
- func (x *DeleteNotebookServerRequest) String() string
- type DeleteNotebookServerResponse
- func (*DeleteNotebookServerResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteNotebookServerResponse) ProtoMessage()
- func (x *DeleteNotebookServerResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteNotebookServerResponse) Reset()
- func (x *DeleteNotebookServerResponse) String() string
- type GPU
- type GetNotebookServerRequest
- func (*GetNotebookServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotebookServerRequest) GetId() string
- func (x *GetNotebookServerRequest) GetNotebook() string
- func (x *GetNotebookServerRequest) GetWorkspaceID() string
- func (*GetNotebookServerRequest) ProtoMessage()
- func (x *GetNotebookServerRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotebookServerRequest) Reset()
- func (x *GetNotebookServerRequest) String() string
- type GetNotebookServerResponse
- func (*GetNotebookServerResponse) Descriptor() ([]byte, []int)deprecated
- 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 (*GetNotebookServerResponse) ProtoMessage()
- func (x *GetNotebookServerResponse) ProtoReflect() protoreflect.Message
- func (x *GetNotebookServerResponse) Reset()
- func (x *GetNotebookServerResponse) String() string
- type ListNotebookServersRequest
- func (*ListNotebookServersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNotebookServersRequest) GetWorkspaceID() string
- func (*ListNotebookServersRequest) ProtoMessage()
- func (x *ListNotebookServersRequest) ProtoReflect() protoreflect.Message
- func (x *ListNotebookServersRequest) Reset()
- func (x *ListNotebookServersRequest) String() string
- type ListNotebookServersResponse
- func (*ListNotebookServersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNotebookServersResponse) GetItems() []*NotebookServer
- func (*ListNotebookServersResponse) ProtoMessage()
- func (x *ListNotebookServersResponse) ProtoReflect() protoreflect.Message
- func (x *ListNotebookServersResponse) Reset()
- func (x *ListNotebookServersResponse) String() string
- type NotebookServer
- func (*NotebookServer) Descriptor() ([]byte, []int)deprecated
- 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 (*NotebookServer) ProtoMessage()
- func (x *NotebookServer) ProtoReflect() protoreflect.Message
- func (x *NotebookServer) Reset()
- func (x *NotebookServer) String() string
- type NotebookServerErrorReason
- func (NotebookServerErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x NotebookServerErrorReason) Enum() *NotebookServerErrorReason
- func (NotebookServerErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x NotebookServerErrorReason) Number() protoreflect.EnumNumber
- func (x NotebookServerErrorReason) String() string
- func (NotebookServerErrorReason) Type() protoreflect.EnumType
- type NotebookServerServiceClient
- type NotebookServerServiceServer
- type ResourceSize
- func (*ResourceSize) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceSize) GetCpu() float64
- func (x *ResourceSize) GetDisk() int64
- func (x *ResourceSize) GetGpu() *GPU
- func (x *ResourceSize) GetMemory() int64
- func (*ResourceSize) ProtoMessage()
- func (x *ResourceSize) ProtoReflect() protoreflect.Message
- func (x *ResourceSize) Reset()
- func (x *ResourceSize) String() string
- type SwitchNotebookServerRequest
- func (*SwitchNotebookServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchNotebookServerRequest) GetId() string
- func (x *SwitchNotebookServerRequest) GetOnoff() bool
- func (*SwitchNotebookServerRequest) ProtoMessage()
- func (x *SwitchNotebookServerRequest) ProtoReflect() protoreflect.Message
- func (x *SwitchNotebookServerRequest) Reset()
- func (x *SwitchNotebookServerRequest) String() string
- type SwitchNotebookServerResponse
- func (*SwitchNotebookServerResponse) Descriptor() ([]byte, []int)deprecated
- func (*SwitchNotebookServerResponse) ProtoMessage()
- func (x *SwitchNotebookServerResponse) ProtoReflect() protoreflect.Message
- func (x *SwitchNotebookServerResponse) Reset()
- func (x *SwitchNotebookServerResponse) String() string
- type UnimplementedNotebookServerServiceServer
- 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
- type UpdateNotebookServerSettingsRequest
- func (*UpdateNotebookServerSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNotebookServerSettingsRequest) GetId() string
- func (x *UpdateNotebookServerSettingsRequest) GetImage() string
- func (x *UpdateNotebookServerSettingsRequest) GetResourceSize() *ResourceSize
- func (*UpdateNotebookServerSettingsRequest) ProtoMessage()
- func (x *UpdateNotebookServerSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNotebookServerSettingsRequest) Reset()
- func (x *UpdateNotebookServerSettingsRequest) String() string
- type UpdateNotebookServerSettingsResponse
- func (*UpdateNotebookServerSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateNotebookServerSettingsResponse) ProtoMessage()
- func (x *UpdateNotebookServerSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateNotebookServerSettingsResponse) Reset()
- func (x *UpdateNotebookServerSettingsResponse) String() string
Constants ¶
const ( NotebookServerService_CreateNotebookServer_FullMethodName = "/proto.NotebookServerService/CreateNotebookServer" NotebookServerService_GetNotebookServer_FullMethodName = "/proto.NotebookServerService/GetNotebookServer" NotebookServerService_UpdateNotebookServerSettings_FullMethodName = "/proto.NotebookServerService/UpdateNotebookServerSettings" NotebookServerService_DeleteNotebookServer_FullMethodName = "/proto.NotebookServerService/DeleteNotebookServer" NotebookServerService_SwitchNotebookServer_FullMethodName = "/proto.NotebookServerService/SwitchNotebookServer" NotebookServerService_ListNotebookServers_FullMethodName = "/proto.NotebookServerService/ListNotebookServers" )
Variables ¶
var ( NotebookServerErrorReason_name = map[int32]string{ 0: "NOTEBOOKSERVER_NOT_FOUND", 1: "NOTEBOOKSERVER_VALIDATE_ERROR", } NotebookServerErrorReason_value = map[string]int32{ "NOTEBOOKSERVER_NOT_FOUND": 0, "NOTEBOOKSERVER_VALIDATE_ERROR": 1, } )
Enum value maps for NotebookServerErrorReason.
var File_internal_context_notebookserver_interface_grpc_proto_notebookserver_proto protoreflect.FileDescriptor
var NotebookServerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.NotebookServerService", HandlerType: (*NotebookServerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateNotebookServer", Handler: _NotebookServerService_CreateNotebookServer_Handler, }, { MethodName: "GetNotebookServer", Handler: _NotebookServerService_GetNotebookServer_Handler, }, { MethodName: "UpdateNotebookServerSettings", Handler: _NotebookServerService_UpdateNotebookServerSettings_Handler, }, { MethodName: "DeleteNotebookServer", Handler: _NotebookServerService_DeleteNotebookServer_Handler, }, { MethodName: "SwitchNotebookServer", Handler: _NotebookServerService_SwitchNotebookServer_Handler, }, { MethodName: "ListNotebookServers", Handler: _NotebookServerService_ListNotebookServers_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "internal/context/notebookserver/interface/grpc/proto/notebookserver.proto", }
NotebookServerService_ServiceDesc is the grpc.ServiceDesc for NotebookServerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNotebookServerServiceServer ¶
func RegisterNotebookServerServiceServer(s grpc.ServiceRegistrar, srv NotebookServerServiceServer)
Types ¶
type CreateNotebookServerRequest ¶
type CreateNotebookServerRequest struct { WorkspaceID string `protobuf:"bytes,1,opt,name=workspaceID,proto3" json:"workspaceID,omitempty"` Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` ResourceSize *ResourceSize `protobuf:"bytes,3,opt,name=resourceSize,proto3" json:"resourceSize,omitempty"` // contains filtered or unexported fields }
func (*CreateNotebookServerRequest) Descriptor
deprecated
func (*CreateNotebookServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNotebookServerRequest.ProtoReflect.Descriptor instead.
func (*CreateNotebookServerRequest) GetImage ¶
func (x *CreateNotebookServerRequest) GetImage() string
func (*CreateNotebookServerRequest) GetResourceSize ¶
func (x *CreateNotebookServerRequest) GetResourceSize() *ResourceSize
func (*CreateNotebookServerRequest) GetWorkspaceID ¶
func (x *CreateNotebookServerRequest) GetWorkspaceID() string
func (*CreateNotebookServerRequest) ProtoMessage ¶
func (*CreateNotebookServerRequest) ProtoMessage()
func (*CreateNotebookServerRequest) ProtoReflect ¶
func (x *CreateNotebookServerRequest) ProtoReflect() protoreflect.Message
func (*CreateNotebookServerRequest) Reset ¶
func (x *CreateNotebookServerRequest) Reset()
func (*CreateNotebookServerRequest) String ¶
func (x *CreateNotebookServerRequest) String() string
type CreateNotebookServerResponse ¶
type CreateNotebookServerResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateNotebookServerResponse) Descriptor
deprecated
func (*CreateNotebookServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateNotebookServerResponse.ProtoReflect.Descriptor instead.
func (*CreateNotebookServerResponse) GetId ¶
func (x *CreateNotebookServerResponse) GetId() string
func (*CreateNotebookServerResponse) ProtoMessage ¶
func (*CreateNotebookServerResponse) ProtoMessage()
func (*CreateNotebookServerResponse) ProtoReflect ¶
func (x *CreateNotebookServerResponse) ProtoReflect() protoreflect.Message
func (*CreateNotebookServerResponse) Reset ¶
func (x *CreateNotebookServerResponse) Reset()
func (*CreateNotebookServerResponse) String ¶
func (x *CreateNotebookServerResponse) String() string
type DeleteNotebookServerRequest ¶
type DeleteNotebookServerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteNotebookServerRequest) Descriptor
deprecated
func (*DeleteNotebookServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNotebookServerRequest.ProtoReflect.Descriptor instead.
func (*DeleteNotebookServerRequest) GetId ¶
func (x *DeleteNotebookServerRequest) GetId() string
func (*DeleteNotebookServerRequest) ProtoMessage ¶
func (*DeleteNotebookServerRequest) ProtoMessage()
func (*DeleteNotebookServerRequest) ProtoReflect ¶
func (x *DeleteNotebookServerRequest) ProtoReflect() protoreflect.Message
func (*DeleteNotebookServerRequest) Reset ¶
func (x *DeleteNotebookServerRequest) Reset()
func (*DeleteNotebookServerRequest) String ¶
func (x *DeleteNotebookServerRequest) String() string
type DeleteNotebookServerResponse ¶
type DeleteNotebookServerResponse struct {
// contains filtered or unexported fields
}
func (*DeleteNotebookServerResponse) Descriptor
deprecated
func (*DeleteNotebookServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNotebookServerResponse.ProtoReflect.Descriptor instead.
func (*DeleteNotebookServerResponse) ProtoMessage ¶
func (*DeleteNotebookServerResponse) ProtoMessage()
func (*DeleteNotebookServerResponse) ProtoReflect ¶
func (x *DeleteNotebookServerResponse) ProtoReflect() protoreflect.Message
func (*DeleteNotebookServerResponse) Reset ¶
func (x *DeleteNotebookServerResponse) Reset()
func (*DeleteNotebookServerResponse) String ¶
func (x *DeleteNotebookServerResponse) String() string
type GPU ¶
type GPU struct { Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` Card float64 `protobuf:"fixed64,2,opt,name=card,proto3" json:"card,omitempty"` Memory int64 `protobuf:"varint,3,opt,name=memory,proto3" json:"memory,omitempty"` // contains filtered or unexported fields }
func (*GPU) Descriptor
deprecated
func (*GPU) ProtoMessage ¶
func (*GPU) ProtoMessage()
func (*GPU) ProtoReflect ¶
func (x *GPU) ProtoReflect() protoreflect.Message
type GetNotebookServerRequest ¶
type GetNotebookServerRequest struct { WorkspaceID string `protobuf:"bytes,1,opt,name=workspaceID,proto3" json:"workspaceID,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Notebook string `protobuf:"bytes,3,opt,name=notebook,proto3" json:"notebook,omitempty"` // contains filtered or unexported fields }
func (*GetNotebookServerRequest) Descriptor
deprecated
func (*GetNotebookServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotebookServerRequest.ProtoReflect.Descriptor instead.
func (*GetNotebookServerRequest) GetId ¶
func (x *GetNotebookServerRequest) GetId() string
func (*GetNotebookServerRequest) GetNotebook ¶
func (x *GetNotebookServerRequest) GetNotebook() string
func (*GetNotebookServerRequest) GetWorkspaceID ¶
func (x *GetNotebookServerRequest) GetWorkspaceID() string
func (*GetNotebookServerRequest) ProtoMessage ¶
func (*GetNotebookServerRequest) ProtoMessage()
func (*GetNotebookServerRequest) ProtoReflect ¶
func (x *GetNotebookServerRequest) ProtoReflect() protoreflect.Message
func (*GetNotebookServerRequest) Reset ¶
func (x *GetNotebookServerRequest) Reset()
func (*GetNotebookServerRequest) String ¶
func (x *GetNotebookServerRequest) String() string
type GetNotebookServerResponse ¶
type GetNotebookServerResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` ResourceSize *ResourceSize `protobuf:"bytes,3,opt,name=resourceSize,proto3" json:"resourceSize,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` AccessURL string `protobuf:"bytes,7,opt,name=accessURL,proto3" json:"accessURL,omitempty"` // contains filtered or unexported fields }
func (*GetNotebookServerResponse) Descriptor
deprecated
func (*GetNotebookServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNotebookServerResponse.ProtoReflect.Descriptor instead.
func (*GetNotebookServerResponse) GetAccessURL ¶
func (x *GetNotebookServerResponse) GetAccessURL() string
func (*GetNotebookServerResponse) GetCreatedAt ¶
func (x *GetNotebookServerResponse) GetCreatedAt() *timestamppb.Timestamp
func (*GetNotebookServerResponse) GetId ¶
func (x *GetNotebookServerResponse) GetId() string
func (*GetNotebookServerResponse) GetImage ¶
func (x *GetNotebookServerResponse) GetImage() string
func (*GetNotebookServerResponse) GetResourceSize ¶
func (x *GetNotebookServerResponse) GetResourceSize() *ResourceSize
func (*GetNotebookServerResponse) GetStatus ¶
func (x *GetNotebookServerResponse) GetStatus() string
func (*GetNotebookServerResponse) GetUpdatedAt ¶
func (x *GetNotebookServerResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*GetNotebookServerResponse) ProtoMessage ¶
func (*GetNotebookServerResponse) ProtoMessage()
func (*GetNotebookServerResponse) ProtoReflect ¶
func (x *GetNotebookServerResponse) ProtoReflect() protoreflect.Message
func (*GetNotebookServerResponse) Reset ¶
func (x *GetNotebookServerResponse) Reset()
func (*GetNotebookServerResponse) String ¶
func (x *GetNotebookServerResponse) String() string
type ListNotebookServersRequest ¶
type ListNotebookServersRequest struct { WorkspaceID string `protobuf:"bytes,1,opt,name=workspaceID,proto3" json:"workspaceID,omitempty"` // contains filtered or unexported fields }
func (*ListNotebookServersRequest) Descriptor
deprecated
func (*ListNotebookServersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNotebookServersRequest.ProtoReflect.Descriptor instead.
func (*ListNotebookServersRequest) GetWorkspaceID ¶
func (x *ListNotebookServersRequest) GetWorkspaceID() string
func (*ListNotebookServersRequest) ProtoMessage ¶
func (*ListNotebookServersRequest) ProtoMessage()
func (*ListNotebookServersRequest) ProtoReflect ¶
func (x *ListNotebookServersRequest) ProtoReflect() protoreflect.Message
func (*ListNotebookServersRequest) Reset ¶
func (x *ListNotebookServersRequest) Reset()
func (*ListNotebookServersRequest) String ¶
func (x *ListNotebookServersRequest) String() string
type ListNotebookServersResponse ¶
type ListNotebookServersResponse struct { Items []*NotebookServer `protobuf:"bytes,1,rep,name=Items,proto3" json:"Items,omitempty"` // contains filtered or unexported fields }
func (*ListNotebookServersResponse) Descriptor
deprecated
func (*ListNotebookServersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNotebookServersResponse.ProtoReflect.Descriptor instead.
func (*ListNotebookServersResponse) GetItems ¶
func (x *ListNotebookServersResponse) GetItems() []*NotebookServer
func (*ListNotebookServersResponse) ProtoMessage ¶
func (*ListNotebookServersResponse) ProtoMessage()
func (*ListNotebookServersResponse) ProtoReflect ¶
func (x *ListNotebookServersResponse) ProtoReflect() protoreflect.Message
func (*ListNotebookServersResponse) Reset ¶
func (x *ListNotebookServersResponse) Reset()
func (*ListNotebookServersResponse) String ¶
func (x *ListNotebookServersResponse) String() string
type NotebookServer ¶
type NotebookServer struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` ResourceSize *ResourceSize `protobuf:"bytes,3,opt,name=resourceSize,proto3" json:"resourceSize,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*NotebookServer) Descriptor
deprecated
func (*NotebookServer) Descriptor() ([]byte, []int)
Deprecated: Use NotebookServer.ProtoReflect.Descriptor instead.
func (*NotebookServer) GetCreatedAt ¶
func (x *NotebookServer) GetCreatedAt() *timestamppb.Timestamp
func (*NotebookServer) GetId ¶
func (x *NotebookServer) GetId() string
func (*NotebookServer) GetImage ¶
func (x *NotebookServer) GetImage() string
func (*NotebookServer) GetResourceSize ¶
func (x *NotebookServer) GetResourceSize() *ResourceSize
func (*NotebookServer) GetStatus ¶
func (x *NotebookServer) GetStatus() string
func (*NotebookServer) GetUpdatedAt ¶
func (x *NotebookServer) GetUpdatedAt() *timestamppb.Timestamp
func (*NotebookServer) ProtoMessage ¶
func (*NotebookServer) ProtoMessage()
func (*NotebookServer) ProtoReflect ¶
func (x *NotebookServer) ProtoReflect() protoreflect.Message
func (*NotebookServer) Reset ¶
func (x *NotebookServer) Reset()
func (*NotebookServer) String ¶
func (x *NotebookServer) String() string
type NotebookServerErrorReason ¶
type NotebookServerErrorReason int32
const ( NotebookServerErrorReason_NOTEBOOKSERVER_NOT_FOUND NotebookServerErrorReason = 0 NotebookServerErrorReason_NOTEBOOKSERVER_VALIDATE_ERROR NotebookServerErrorReason = 1 )
func (NotebookServerErrorReason) Descriptor ¶
func (NotebookServerErrorReason) Descriptor() protoreflect.EnumDescriptor
func (NotebookServerErrorReason) Enum ¶
func (x NotebookServerErrorReason) Enum() *NotebookServerErrorReason
func (NotebookServerErrorReason) EnumDescriptor
deprecated
func (NotebookServerErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotebookServerErrorReason.Descriptor instead.
func (NotebookServerErrorReason) Number ¶
func (x NotebookServerErrorReason) Number() protoreflect.EnumNumber
func (NotebookServerErrorReason) String ¶
func (x NotebookServerErrorReason) String() string
func (NotebookServerErrorReason) Type ¶
func (NotebookServerErrorReason) Type() protoreflect.EnumType
type NotebookServerServiceClient ¶
type NotebookServerServiceClient interface { CreateNotebookServer(ctx context.Context, in *CreateNotebookServerRequest, opts ...grpc.CallOption) (*CreateNotebookServerResponse, error) GetNotebookServer(ctx context.Context, in *GetNotebookServerRequest, opts ...grpc.CallOption) (*GetNotebookServerResponse, error) UpdateNotebookServerSettings(ctx context.Context, in *UpdateNotebookServerSettingsRequest, opts ...grpc.CallOption) (*UpdateNotebookServerSettingsResponse, error) DeleteNotebookServer(ctx context.Context, in *DeleteNotebookServerRequest, opts ...grpc.CallOption) (*DeleteNotebookServerResponse, error) SwitchNotebookServer(ctx context.Context, in *SwitchNotebookServerRequest, opts ...grpc.CallOption) (*SwitchNotebookServerResponse, error) ListNotebookServers(ctx context.Context, in *ListNotebookServersRequest, opts ...grpc.CallOption) (*ListNotebookServersResponse, error) }
NotebookServerServiceClient is the client API for NotebookServerService 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.
func NewNotebookServerServiceClient ¶
func NewNotebookServerServiceClient(cc grpc.ClientConnInterface) NotebookServerServiceClient
type NotebookServerServiceServer ¶
type NotebookServerServiceServer interface { CreateNotebookServer(context.Context, *CreateNotebookServerRequest) (*CreateNotebookServerResponse, error) GetNotebookServer(context.Context, *GetNotebookServerRequest) (*GetNotebookServerResponse, error) UpdateNotebookServerSettings(context.Context, *UpdateNotebookServerSettingsRequest) (*UpdateNotebookServerSettingsResponse, error) DeleteNotebookServer(context.Context, *DeleteNotebookServerRequest) (*DeleteNotebookServerResponse, error) SwitchNotebookServer(context.Context, *SwitchNotebookServerRequest) (*SwitchNotebookServerResponse, error) ListNotebookServers(context.Context, *ListNotebookServersRequest) (*ListNotebookServersResponse, error) // contains filtered or unexported methods }
NotebookServerServiceServer is the server API for NotebookServerService service. All implementations must embed UnimplementedNotebookServerServiceServer for forward compatibility
type ResourceSize ¶
type ResourceSize struct { Cpu float64 `protobuf:"fixed64,1,opt,name=cpu,proto3" json:"cpu,omitempty"` Memory int64 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"` Disk int64 `protobuf:"varint,3,opt,name=disk,proto3" json:"disk,omitempty"` Gpu *GPU `protobuf:"bytes,4,opt,name=gpu,proto3" json:"gpu,omitempty"` // contains filtered or unexported fields }
func (*ResourceSize) Descriptor
deprecated
func (*ResourceSize) Descriptor() ([]byte, []int)
Deprecated: Use ResourceSize.ProtoReflect.Descriptor instead.
func (*ResourceSize) GetCpu ¶
func (x *ResourceSize) GetCpu() float64
func (*ResourceSize) GetDisk ¶
func (x *ResourceSize) GetDisk() int64
func (*ResourceSize) GetGpu ¶
func (x *ResourceSize) GetGpu() *GPU
func (*ResourceSize) GetMemory ¶
func (x *ResourceSize) GetMemory() int64
func (*ResourceSize) ProtoMessage ¶
func (*ResourceSize) ProtoMessage()
func (*ResourceSize) ProtoReflect ¶
func (x *ResourceSize) ProtoReflect() protoreflect.Message
func (*ResourceSize) Reset ¶
func (x *ResourceSize) Reset()
func (*ResourceSize) String ¶
func (x *ResourceSize) String() string
type SwitchNotebookServerRequest ¶
type SwitchNotebookServerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Onoff bool `protobuf:"varint,2,opt,name=onoff,proto3" json:"onoff,omitempty"` // contains filtered or unexported fields }
func (*SwitchNotebookServerRequest) Descriptor
deprecated
func (*SwitchNotebookServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use SwitchNotebookServerRequest.ProtoReflect.Descriptor instead.
func (*SwitchNotebookServerRequest) GetId ¶
func (x *SwitchNotebookServerRequest) GetId() string
func (*SwitchNotebookServerRequest) GetOnoff ¶
func (x *SwitchNotebookServerRequest) GetOnoff() bool
func (*SwitchNotebookServerRequest) ProtoMessage ¶
func (*SwitchNotebookServerRequest) ProtoMessage()
func (*SwitchNotebookServerRequest) ProtoReflect ¶
func (x *SwitchNotebookServerRequest) ProtoReflect() protoreflect.Message
func (*SwitchNotebookServerRequest) Reset ¶
func (x *SwitchNotebookServerRequest) Reset()
func (*SwitchNotebookServerRequest) String ¶
func (x *SwitchNotebookServerRequest) String() string
type SwitchNotebookServerResponse ¶
type SwitchNotebookServerResponse struct {
// contains filtered or unexported fields
}
func (*SwitchNotebookServerResponse) Descriptor
deprecated
func (*SwitchNotebookServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use SwitchNotebookServerResponse.ProtoReflect.Descriptor instead.
func (*SwitchNotebookServerResponse) ProtoMessage ¶
func (*SwitchNotebookServerResponse) ProtoMessage()
func (*SwitchNotebookServerResponse) ProtoReflect ¶
func (x *SwitchNotebookServerResponse) ProtoReflect() protoreflect.Message
func (*SwitchNotebookServerResponse) Reset ¶
func (x *SwitchNotebookServerResponse) Reset()
func (*SwitchNotebookServerResponse) String ¶
func (x *SwitchNotebookServerResponse) String() string
type UnimplementedNotebookServerServiceServer ¶
type UnimplementedNotebookServerServiceServer struct { }
UnimplementedNotebookServerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedNotebookServerServiceServer) CreateNotebookServer ¶
func (UnimplementedNotebookServerServiceServer) CreateNotebookServer(context.Context, *CreateNotebookServerRequest) (*CreateNotebookServerResponse, error)
func (UnimplementedNotebookServerServiceServer) DeleteNotebookServer ¶
func (UnimplementedNotebookServerServiceServer) DeleteNotebookServer(context.Context, *DeleteNotebookServerRequest) (*DeleteNotebookServerResponse, error)
func (UnimplementedNotebookServerServiceServer) GetNotebookServer ¶
func (UnimplementedNotebookServerServiceServer) GetNotebookServer(context.Context, *GetNotebookServerRequest) (*GetNotebookServerResponse, error)
func (UnimplementedNotebookServerServiceServer) ListNotebookServers ¶
func (UnimplementedNotebookServerServiceServer) ListNotebookServers(context.Context, *ListNotebookServersRequest) (*ListNotebookServersResponse, error)
func (UnimplementedNotebookServerServiceServer) SwitchNotebookServer ¶
func (UnimplementedNotebookServerServiceServer) SwitchNotebookServer(context.Context, *SwitchNotebookServerRequest) (*SwitchNotebookServerResponse, error)
func (UnimplementedNotebookServerServiceServer) UpdateNotebookServerSettings ¶
func (UnimplementedNotebookServerServiceServer) UpdateNotebookServerSettings(context.Context, *UpdateNotebookServerSettingsRequest) (*UpdateNotebookServerSettingsResponse, error)
type UnsafeNotebookServerServiceServer ¶
type UnsafeNotebookServerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNotebookServerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotebookServerServiceServer will result in compilation errors.
type UpdateNotebookServerSettingsRequest ¶
type UpdateNotebookServerSettingsRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` ResourceSize *ResourceSize `protobuf:"bytes,3,opt,name=resourceSize,proto3" json:"resourceSize,omitempty"` // contains filtered or unexported fields }
func (*UpdateNotebookServerSettingsRequest) Descriptor
deprecated
func (*UpdateNotebookServerSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNotebookServerSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateNotebookServerSettingsRequest) GetId ¶
func (x *UpdateNotebookServerSettingsRequest) GetId() string
func (*UpdateNotebookServerSettingsRequest) GetImage ¶
func (x *UpdateNotebookServerSettingsRequest) GetImage() string
func (*UpdateNotebookServerSettingsRequest) GetResourceSize ¶
func (x *UpdateNotebookServerSettingsRequest) GetResourceSize() *ResourceSize
func (*UpdateNotebookServerSettingsRequest) ProtoMessage ¶
func (*UpdateNotebookServerSettingsRequest) ProtoMessage()
func (*UpdateNotebookServerSettingsRequest) ProtoReflect ¶
func (x *UpdateNotebookServerSettingsRequest) ProtoReflect() protoreflect.Message
func (*UpdateNotebookServerSettingsRequest) Reset ¶
func (x *UpdateNotebookServerSettingsRequest) Reset()
func (*UpdateNotebookServerSettingsRequest) String ¶
func (x *UpdateNotebookServerSettingsRequest) String() string
type UpdateNotebookServerSettingsResponse ¶
type UpdateNotebookServerSettingsResponse struct {
// contains filtered or unexported fields
}
func (*UpdateNotebookServerSettingsResponse) Descriptor
deprecated
func (*UpdateNotebookServerSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNotebookServerSettingsResponse.ProtoReflect.Descriptor instead.
func (*UpdateNotebookServerSettingsResponse) ProtoMessage ¶
func (*UpdateNotebookServerSettingsResponse) ProtoMessage()
func (*UpdateNotebookServerSettingsResponse) ProtoReflect ¶
func (x *UpdateNotebookServerSettingsResponse) ProtoReflect() protoreflect.Message
func (*UpdateNotebookServerSettingsResponse) Reset ¶
func (x *UpdateNotebookServerSettingsResponse) Reset()
func (*UpdateNotebookServerSettingsResponse) String ¶
func (x *UpdateNotebookServerSettingsResponse) String() string