Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterParserServiceServer(s grpc.ServiceRegistrar, srv ParserServiceServer)
- type Cell
- func (*Cell) Descriptor() ([]byte, []int)deprecated
- func (x *Cell) GetExecutionSummary() *CellExecutionSummary
- func (x *Cell) GetKind() CellKind
- func (x *Cell) GetLanguageId() string
- func (x *Cell) GetMetadata() map[string]string
- func (x *Cell) GetOutputs() []*CellOutput
- func (x *Cell) GetTextRange() *TextRange
- func (x *Cell) GetValue() string
- func (*Cell) ProtoMessage()
- func (x *Cell) ProtoReflect() protoreflect.Message
- func (x *Cell) Reset()
- func (x *Cell) String() string
- type CellExecutionSummary
- func (*CellExecutionSummary) Descriptor() ([]byte, []int)deprecated
- func (x *CellExecutionSummary) GetExecutionOrder() *wrapperspb.UInt32Value
- func (x *CellExecutionSummary) GetSuccess() *wrapperspb.BoolValue
- func (x *CellExecutionSummary) GetTiming() *ExecutionSummaryTiming
- func (*CellExecutionSummary) ProtoMessage()
- func (x *CellExecutionSummary) ProtoReflect() protoreflect.Message
- func (x *CellExecutionSummary) Reset()
- func (x *CellExecutionSummary) String() string
- type CellKind
- type CellOutput
- func (*CellOutput) Descriptor() ([]byte, []int)deprecated
- func (x *CellOutput) GetItems() []*CellOutputItem
- func (x *CellOutput) GetMetadata() map[string]string
- func (x *CellOutput) GetProcessInfo() *CellOutputProcessInfo
- func (*CellOutput) ProtoMessage()
- func (x *CellOutput) ProtoReflect() protoreflect.Message
- func (x *CellOutput) Reset()
- func (x *CellOutput) String() string
- type CellOutputItem
- func (*CellOutputItem) Descriptor() ([]byte, []int)deprecated
- func (x *CellOutputItem) GetData() []byte
- func (x *CellOutputItem) GetMime() string
- func (x *CellOutputItem) GetType() string
- func (*CellOutputItem) ProtoMessage()
- func (x *CellOutputItem) ProtoReflect() protoreflect.Message
- func (x *CellOutputItem) Reset()
- func (x *CellOutputItem) String() string
- type CellOutputProcessInfo
- func (*CellOutputProcessInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CellOutputProcessInfo) GetExitReason() *ProcessInfoExitReason
- func (x *CellOutputProcessInfo) GetPid() *wrapperspb.Int64Value
- func (*CellOutputProcessInfo) ProtoMessage()
- func (x *CellOutputProcessInfo) ProtoReflect() protoreflect.Message
- func (x *CellOutputProcessInfo) Reset()
- func (x *CellOutputProcessInfo) String() string
- type DeserializeRequest
- func (*DeserializeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeserializeRequest) GetOptions() *DeserializeRequestOptions
- func (x *DeserializeRequest) GetSource() []byte
- func (*DeserializeRequest) ProtoMessage()
- func (x *DeserializeRequest) ProtoReflect() protoreflect.Message
- func (x *DeserializeRequest) Reset()
- func (x *DeserializeRequest) String() string
- type DeserializeRequestOptions
- func (*DeserializeRequestOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DeserializeRequestOptions) GetIdentity() RunmeIdentity
- func (*DeserializeRequestOptions) ProtoMessage()
- func (x *DeserializeRequestOptions) ProtoReflect() protoreflect.Message
- func (x *DeserializeRequestOptions) Reset()
- func (x *DeserializeRequestOptions) String() string
- type DeserializeResponse
- func (*DeserializeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeserializeResponse) GetNotebook() *Notebook
- func (*DeserializeResponse) ProtoMessage()
- func (x *DeserializeResponse) ProtoReflect() protoreflect.Message
- func (x *DeserializeResponse) Reset()
- func (x *DeserializeResponse) String() string
- type ExecutionSummaryTiming
- func (*ExecutionSummaryTiming) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionSummaryTiming) GetEndTime() *wrapperspb.Int64Value
- func (x *ExecutionSummaryTiming) GetStartTime() *wrapperspb.Int64Value
- func (*ExecutionSummaryTiming) ProtoMessage()
- func (x *ExecutionSummaryTiming) ProtoReflect() protoreflect.Message
- func (x *ExecutionSummaryTiming) Reset()
- func (x *ExecutionSummaryTiming) String() string
- type Frontmatter
- func (*Frontmatter) Descriptor() ([]byte, []int)deprecated
- func (x *Frontmatter) GetCategory() string
- func (x *Frontmatter) GetCwd() string
- func (x *Frontmatter) GetRunme() *FrontmatterRunme
- func (x *Frontmatter) GetShell() string
- func (x *Frontmatter) GetSkipPrompts() bool
- func (x *Frontmatter) GetTag() string
- func (x *Frontmatter) GetTerminalRows() string
- func (*Frontmatter) ProtoMessage()
- func (x *Frontmatter) ProtoReflect() protoreflect.Message
- func (x *Frontmatter) Reset()
- func (x *Frontmatter) String() string
- type FrontmatterRunme
- func (*FrontmatterRunme) Descriptor() ([]byte, []int)deprecated
- func (x *FrontmatterRunme) GetId() string
- func (x *FrontmatterRunme) GetSession() *RunmeSession
- func (x *FrontmatterRunme) GetVersion() string
- func (*FrontmatterRunme) ProtoMessage()
- func (x *FrontmatterRunme) ProtoReflect() protoreflect.Message
- func (x *FrontmatterRunme) Reset()
- func (x *FrontmatterRunme) String() string
- type Notebook
- func (*Notebook) Descriptor() ([]byte, []int)deprecated
- func (x *Notebook) GetCells() []*Cell
- func (x *Notebook) GetFrontmatter() *Frontmatter
- func (x *Notebook) GetMetadata() map[string]string
- func (*Notebook) ProtoMessage()
- func (x *Notebook) ProtoReflect() protoreflect.Message
- func (x *Notebook) Reset()
- func (x *Notebook) String() string
- type ParserServiceClient
- type ParserServiceServer
- type ProcessInfoExitReason
- func (*ProcessInfoExitReason) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessInfoExitReason) GetCode() *wrapperspb.UInt32Value
- func (x *ProcessInfoExitReason) GetType() string
- func (*ProcessInfoExitReason) ProtoMessage()
- func (x *ProcessInfoExitReason) ProtoReflect() protoreflect.Message
- func (x *ProcessInfoExitReason) Reset()
- func (x *ProcessInfoExitReason) String() string
- type RunmeIdentity
- func (RunmeIdentity) Descriptor() protoreflect.EnumDescriptor
- func (x RunmeIdentity) Enum() *RunmeIdentity
- func (RunmeIdentity) EnumDescriptor() ([]byte, []int)deprecated
- func (x RunmeIdentity) Number() protoreflect.EnumNumber
- func (x RunmeIdentity) String() string
- func (RunmeIdentity) Type() protoreflect.EnumType
- type RunmeSession
- func (*RunmeSession) Descriptor() ([]byte, []int)deprecated
- func (x *RunmeSession) GetDocument() *RunmeSessionDocument
- func (x *RunmeSession) GetId() string
- func (*RunmeSession) ProtoMessage()
- func (x *RunmeSession) ProtoReflect() protoreflect.Message
- func (x *RunmeSession) Reset()
- func (x *RunmeSession) String() string
- type RunmeSessionDocument
- func (*RunmeSessionDocument) Descriptor() ([]byte, []int)deprecated
- func (x *RunmeSessionDocument) GetRelativePath() string
- func (*RunmeSessionDocument) ProtoMessage()
- func (x *RunmeSessionDocument) ProtoReflect() protoreflect.Message
- func (x *RunmeSessionDocument) Reset()
- func (x *RunmeSessionDocument) String() string
- type SerializeRequest
- func (*SerializeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SerializeRequest) GetNotebook() *Notebook
- func (x *SerializeRequest) GetOptions() *SerializeRequestOptions
- func (*SerializeRequest) ProtoMessage()
- func (x *SerializeRequest) ProtoReflect() protoreflect.Message
- func (x *SerializeRequest) Reset()
- func (x *SerializeRequest) String() string
- type SerializeRequestOptions
- func (*SerializeRequestOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SerializeRequestOptions) GetOutputs() *SerializeRequestOutputOptions
- func (x *SerializeRequestOptions) GetSession() *RunmeSession
- func (*SerializeRequestOptions) ProtoMessage()
- func (x *SerializeRequestOptions) ProtoReflect() protoreflect.Message
- func (x *SerializeRequestOptions) Reset()
- func (x *SerializeRequestOptions) String() string
- type SerializeRequestOutputOptions
- func (*SerializeRequestOutputOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SerializeRequestOutputOptions) GetEnabled() bool
- func (x *SerializeRequestOutputOptions) GetSummary() bool
- func (*SerializeRequestOutputOptions) ProtoMessage()
- func (x *SerializeRequestOutputOptions) ProtoReflect() protoreflect.Message
- func (x *SerializeRequestOutputOptions) Reset()
- func (x *SerializeRequestOutputOptions) String() string
- type SerializeResponse
- type TextRange
- type UnimplementedParserServiceServer
- type UnsafeParserServiceServer
Constants ¶
const ( ParserService_Deserialize_FullMethodName = "/runme.parser.v1.ParserService/Deserialize" ParserService_Serialize_FullMethodName = "/runme.parser.v1.ParserService/Serialize" )
Variables ¶
var ( CellKind_name = map[int32]string{ 0: "CELL_KIND_UNSPECIFIED", 1: "CELL_KIND_MARKUP", 2: "CELL_KIND_CODE", } CellKind_value = map[string]int32{ "CELL_KIND_UNSPECIFIED": 0, "CELL_KIND_MARKUP": 1, "CELL_KIND_CODE": 2, } )
Enum value maps for CellKind.
var ( RunmeIdentity_name = map[int32]string{ 0: "RUNME_IDENTITY_UNSPECIFIED", 1: "RUNME_IDENTITY_ALL", 2: "RUNME_IDENTITY_DOCUMENT", 3: "RUNME_IDENTITY_CELL", } RunmeIdentity_value = map[string]int32{ "RUNME_IDENTITY_UNSPECIFIED": 0, "RUNME_IDENTITY_ALL": 1, "RUNME_IDENTITY_DOCUMENT": 2, "RUNME_IDENTITY_CELL": 3, } )
Enum value maps for RunmeIdentity.
var File_runme_parser_v1_parser_proto protoreflect.FileDescriptor
var ParserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "runme.parser.v1.ParserService", HandlerType: (*ParserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Deserialize", Handler: _ParserService_Deserialize_Handler, }, { MethodName: "Serialize", Handler: _ParserService_Serialize_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "runme/parser/v1/parser.proto", }
ParserService_ServiceDesc is the grpc.ServiceDesc for ParserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterParserServiceServer ¶
func RegisterParserServiceServer(s grpc.ServiceRegistrar, srv ParserServiceServer)
Types ¶
type Cell ¶
type Cell struct { Kind CellKind `protobuf:"varint,1,opt,name=kind,proto3,enum=runme.parser.v1.CellKind" json:"kind,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` LanguageId string `protobuf:"bytes,3,opt,name=language_id,json=languageId,proto3" json:"language_id,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ TextRange *TextRange `protobuf:"bytes,5,opt,name=text_range,json=textRange,proto3" json:"text_range,omitempty"` Outputs []*CellOutput `protobuf:"bytes,6,rep,name=outputs,proto3" json:"outputs,omitempty"` ExecutionSummary *CellExecutionSummary `protobuf:"bytes,7,opt,name=execution_summary,json=executionSummary,proto3" json:"execution_summary,omitempty"` // contains filtered or unexported fields }
func (*Cell) Descriptor
deprecated
func (*Cell) GetExecutionSummary ¶
func (x *Cell) GetExecutionSummary() *CellExecutionSummary
func (*Cell) GetLanguageId ¶
func (*Cell) GetMetadata ¶
func (*Cell) GetOutputs ¶
func (x *Cell) GetOutputs() []*CellOutput
func (*Cell) GetTextRange ¶
func (*Cell) ProtoMessage ¶
func (*Cell) ProtoMessage()
func (*Cell) ProtoReflect ¶
func (x *Cell) ProtoReflect() protoreflect.Message
type CellExecutionSummary ¶
type CellExecutionSummary struct { ExecutionOrder *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=execution_order,json=executionOrder,proto3" json:"execution_order,omitempty"` Success *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=success,proto3" json:"success,omitempty"` Timing *ExecutionSummaryTiming `protobuf:"bytes,3,opt,name=timing,proto3" json:"timing,omitempty"` // contains filtered or unexported fields }
func (*CellExecutionSummary) Descriptor
deprecated
func (*CellExecutionSummary) Descriptor() ([]byte, []int)
Deprecated: Use CellExecutionSummary.ProtoReflect.Descriptor instead.
func (*CellExecutionSummary) GetExecutionOrder ¶
func (x *CellExecutionSummary) GetExecutionOrder() *wrapperspb.UInt32Value
func (*CellExecutionSummary) GetSuccess ¶
func (x *CellExecutionSummary) GetSuccess() *wrapperspb.BoolValue
func (*CellExecutionSummary) GetTiming ¶
func (x *CellExecutionSummary) GetTiming() *ExecutionSummaryTiming
func (*CellExecutionSummary) ProtoMessage ¶
func (*CellExecutionSummary) ProtoMessage()
func (*CellExecutionSummary) ProtoReflect ¶
func (x *CellExecutionSummary) ProtoReflect() protoreflect.Message
func (*CellExecutionSummary) Reset ¶
func (x *CellExecutionSummary) Reset()
func (*CellExecutionSummary) String ¶
func (x *CellExecutionSummary) String() string
type CellKind ¶
type CellKind int32
func (CellKind) Descriptor ¶
func (CellKind) Descriptor() protoreflect.EnumDescriptor
func (CellKind) EnumDescriptor
deprecated
func (CellKind) Number ¶
func (x CellKind) Number() protoreflect.EnumNumber
func (CellKind) Type ¶
func (CellKind) Type() protoreflect.EnumType
type CellOutput ¶
type CellOutput struct { Items []*CellOutputItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ ProcessInfo *CellOutputProcessInfo `protobuf:"bytes,3,opt,name=process_info,json=processInfo,proto3" json:"process_info,omitempty"` // contains filtered or unexported fields }
func (*CellOutput) Descriptor
deprecated
func (*CellOutput) Descriptor() ([]byte, []int)
Deprecated: Use CellOutput.ProtoReflect.Descriptor instead.
func (*CellOutput) GetItems ¶
func (x *CellOutput) GetItems() []*CellOutputItem
func (*CellOutput) GetMetadata ¶
func (x *CellOutput) GetMetadata() map[string]string
func (*CellOutput) GetProcessInfo ¶
func (x *CellOutput) GetProcessInfo() *CellOutputProcessInfo
func (*CellOutput) ProtoMessage ¶
func (*CellOutput) ProtoMessage()
func (*CellOutput) ProtoReflect ¶
func (x *CellOutput) ProtoReflect() protoreflect.Message
func (*CellOutput) Reset ¶
func (x *CellOutput) Reset()
func (*CellOutput) String ¶
func (x *CellOutput) String() string
type CellOutputItem ¶
type CellOutputItem struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Mime string `protobuf:"bytes,3,opt,name=mime,proto3" json:"mime,omitempty"` // contains filtered or unexported fields }
func (*CellOutputItem) Descriptor
deprecated
func (*CellOutputItem) Descriptor() ([]byte, []int)
Deprecated: Use CellOutputItem.ProtoReflect.Descriptor instead.
func (*CellOutputItem) GetData ¶
func (x *CellOutputItem) GetData() []byte
func (*CellOutputItem) GetMime ¶
func (x *CellOutputItem) GetMime() string
func (*CellOutputItem) GetType ¶
func (x *CellOutputItem) GetType() string
func (*CellOutputItem) ProtoMessage ¶
func (*CellOutputItem) ProtoMessage()
func (*CellOutputItem) ProtoReflect ¶
func (x *CellOutputItem) ProtoReflect() protoreflect.Message
func (*CellOutputItem) Reset ¶
func (x *CellOutputItem) Reset()
func (*CellOutputItem) String ¶
func (x *CellOutputItem) String() string
type CellOutputProcessInfo ¶
type CellOutputProcessInfo struct { ExitReason *ProcessInfoExitReason `protobuf:"bytes,1,opt,name=exit_reason,json=exitReason,proto3" json:"exit_reason,omitempty"` Pid *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"` // contains filtered or unexported fields }
func (*CellOutputProcessInfo) Descriptor
deprecated
func (*CellOutputProcessInfo) Descriptor() ([]byte, []int)
Deprecated: Use CellOutputProcessInfo.ProtoReflect.Descriptor instead.
func (*CellOutputProcessInfo) GetExitReason ¶
func (x *CellOutputProcessInfo) GetExitReason() *ProcessInfoExitReason
func (*CellOutputProcessInfo) GetPid ¶
func (x *CellOutputProcessInfo) GetPid() *wrapperspb.Int64Value
func (*CellOutputProcessInfo) ProtoMessage ¶
func (*CellOutputProcessInfo) ProtoMessage()
func (*CellOutputProcessInfo) ProtoReflect ¶
func (x *CellOutputProcessInfo) ProtoReflect() protoreflect.Message
func (*CellOutputProcessInfo) Reset ¶
func (x *CellOutputProcessInfo) Reset()
func (*CellOutputProcessInfo) String ¶
func (x *CellOutputProcessInfo) String() string
type DeserializeRequest ¶
type DeserializeRequest struct { Source []byte `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Options *DeserializeRequestOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*DeserializeRequest) Descriptor
deprecated
func (*DeserializeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeserializeRequest.ProtoReflect.Descriptor instead.
func (*DeserializeRequest) GetOptions ¶
func (x *DeserializeRequest) GetOptions() *DeserializeRequestOptions
func (*DeserializeRequest) GetSource ¶
func (x *DeserializeRequest) GetSource() []byte
func (*DeserializeRequest) ProtoMessage ¶
func (*DeserializeRequest) ProtoMessage()
func (*DeserializeRequest) ProtoReflect ¶
func (x *DeserializeRequest) ProtoReflect() protoreflect.Message
func (*DeserializeRequest) Reset ¶
func (x *DeserializeRequest) Reset()
func (*DeserializeRequest) String ¶
func (x *DeserializeRequest) String() string
type DeserializeRequestOptions ¶
type DeserializeRequestOptions struct { Identity RunmeIdentity `protobuf:"varint,1,opt,name=identity,proto3,enum=runme.parser.v1.RunmeIdentity" json:"identity,omitempty"` // contains filtered or unexported fields }
func (*DeserializeRequestOptions) Descriptor
deprecated
func (*DeserializeRequestOptions) Descriptor() ([]byte, []int)
Deprecated: Use DeserializeRequestOptions.ProtoReflect.Descriptor instead.
func (*DeserializeRequestOptions) GetIdentity ¶
func (x *DeserializeRequestOptions) GetIdentity() RunmeIdentity
func (*DeserializeRequestOptions) ProtoMessage ¶
func (*DeserializeRequestOptions) ProtoMessage()
func (*DeserializeRequestOptions) ProtoReflect ¶
func (x *DeserializeRequestOptions) ProtoReflect() protoreflect.Message
func (*DeserializeRequestOptions) Reset ¶
func (x *DeserializeRequestOptions) Reset()
func (*DeserializeRequestOptions) String ¶
func (x *DeserializeRequestOptions) String() string
type DeserializeResponse ¶
type DeserializeResponse struct { Notebook *Notebook `protobuf:"bytes,1,opt,name=notebook,proto3" json:"notebook,omitempty"` // contains filtered or unexported fields }
func (*DeserializeResponse) Descriptor
deprecated
func (*DeserializeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeserializeResponse.ProtoReflect.Descriptor instead.
func (*DeserializeResponse) GetNotebook ¶
func (x *DeserializeResponse) GetNotebook() *Notebook
func (*DeserializeResponse) ProtoMessage ¶
func (*DeserializeResponse) ProtoMessage()
func (*DeserializeResponse) ProtoReflect ¶
func (x *DeserializeResponse) ProtoReflect() protoreflect.Message
func (*DeserializeResponse) Reset ¶
func (x *DeserializeResponse) Reset()
func (*DeserializeResponse) String ¶
func (x *DeserializeResponse) String() string
type ExecutionSummaryTiming ¶
type ExecutionSummaryTiming struct { StartTime *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*ExecutionSummaryTiming) Descriptor
deprecated
func (*ExecutionSummaryTiming) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionSummaryTiming.ProtoReflect.Descriptor instead.
func (*ExecutionSummaryTiming) GetEndTime ¶
func (x *ExecutionSummaryTiming) GetEndTime() *wrapperspb.Int64Value
func (*ExecutionSummaryTiming) GetStartTime ¶
func (x *ExecutionSummaryTiming) GetStartTime() *wrapperspb.Int64Value
func (*ExecutionSummaryTiming) ProtoMessage ¶
func (*ExecutionSummaryTiming) ProtoMessage()
func (*ExecutionSummaryTiming) ProtoReflect ¶
func (x *ExecutionSummaryTiming) ProtoReflect() protoreflect.Message
func (*ExecutionSummaryTiming) Reset ¶
func (x *ExecutionSummaryTiming) Reset()
func (*ExecutionSummaryTiming) String ¶
func (x *ExecutionSummaryTiming) String() string
type Frontmatter ¶
type Frontmatter struct { Shell string `protobuf:"bytes,1,opt,name=shell,proto3" json:"shell,omitempty"` Cwd string `protobuf:"bytes,2,opt,name=cwd,proto3" json:"cwd,omitempty"` SkipPrompts bool `protobuf:"varint,3,opt,name=skip_prompts,json=skipPrompts,proto3" json:"skip_prompts,omitempty"` Runme *FrontmatterRunme `protobuf:"bytes,4,opt,name=runme,proto3" json:"runme,omitempty"` // Deprecated category in favor of Tag Category string `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"` TerminalRows string `protobuf:"bytes,6,opt,name=terminal_rows,json=terminalRows,proto3" json:"terminal_rows,omitempty"` Tag string `protobuf:"bytes,7,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*Frontmatter) Descriptor
deprecated
func (*Frontmatter) Descriptor() ([]byte, []int)
Deprecated: Use Frontmatter.ProtoReflect.Descriptor instead.
func (*Frontmatter) GetCategory ¶
func (x *Frontmatter) GetCategory() string
func (*Frontmatter) GetCwd ¶
func (x *Frontmatter) GetCwd() string
func (*Frontmatter) GetRunme ¶
func (x *Frontmatter) GetRunme() *FrontmatterRunme
func (*Frontmatter) GetShell ¶
func (x *Frontmatter) GetShell() string
func (*Frontmatter) GetSkipPrompts ¶
func (x *Frontmatter) GetSkipPrompts() bool
func (*Frontmatter) GetTag ¶ added in v3.8.0
func (x *Frontmatter) GetTag() string
func (*Frontmatter) GetTerminalRows ¶ added in v3.4.0
func (x *Frontmatter) GetTerminalRows() string
func (*Frontmatter) ProtoMessage ¶
func (*Frontmatter) ProtoMessage()
func (*Frontmatter) ProtoReflect ¶
func (x *Frontmatter) ProtoReflect() protoreflect.Message
func (*Frontmatter) Reset ¶
func (x *Frontmatter) Reset()
func (*Frontmatter) String ¶
func (x *Frontmatter) String() string
type FrontmatterRunme ¶
type FrontmatterRunme struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Session *RunmeSession `protobuf:"bytes,3,opt,name=session,proto3" json:"session,omitempty"` // contains filtered or unexported fields }
func (*FrontmatterRunme) Descriptor
deprecated
func (*FrontmatterRunme) Descriptor() ([]byte, []int)
Deprecated: Use FrontmatterRunme.ProtoReflect.Descriptor instead.
func (*FrontmatterRunme) GetId ¶
func (x *FrontmatterRunme) GetId() string
func (*FrontmatterRunme) GetSession ¶
func (x *FrontmatterRunme) GetSession() *RunmeSession
func (*FrontmatterRunme) GetVersion ¶
func (x *FrontmatterRunme) GetVersion() string
func (*FrontmatterRunme) ProtoMessage ¶
func (*FrontmatterRunme) ProtoMessage()
func (*FrontmatterRunme) ProtoReflect ¶
func (x *FrontmatterRunme) ProtoReflect() protoreflect.Message
func (*FrontmatterRunme) Reset ¶
func (x *FrontmatterRunme) Reset()
func (*FrontmatterRunme) String ¶
func (x *FrontmatterRunme) String() string
type Notebook ¶
type Notebook struct { Cells []*Cell `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ Frontmatter *Frontmatter `protobuf:"bytes,3,opt,name=frontmatter,proto3" json:"frontmatter,omitempty"` // contains filtered or unexported fields }
func (*Notebook) Descriptor
deprecated
func (*Notebook) GetFrontmatter ¶
func (x *Notebook) GetFrontmatter() *Frontmatter
func (*Notebook) GetMetadata ¶
func (*Notebook) ProtoMessage ¶
func (*Notebook) ProtoMessage()
func (*Notebook) ProtoReflect ¶
func (x *Notebook) ProtoReflect() protoreflect.Message
type ParserServiceClient ¶
type ParserServiceClient interface { Deserialize(ctx context.Context, in *DeserializeRequest, opts ...grpc.CallOption) (*DeserializeResponse, error) Serialize(ctx context.Context, in *SerializeRequest, opts ...grpc.CallOption) (*SerializeResponse, error) }
ParserServiceClient is the client API for ParserService 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 NewParserServiceClient ¶
func NewParserServiceClient(cc grpc.ClientConnInterface) ParserServiceClient
type ParserServiceServer ¶
type ParserServiceServer interface { Deserialize(context.Context, *DeserializeRequest) (*DeserializeResponse, error) Serialize(context.Context, *SerializeRequest) (*SerializeResponse, error) // contains filtered or unexported methods }
ParserServiceServer is the server API for ParserService service. All implementations must embed UnimplementedParserServiceServer for forward compatibility.
type ProcessInfoExitReason ¶
type ProcessInfoExitReason struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Code *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*ProcessInfoExitReason) Descriptor
deprecated
func (*ProcessInfoExitReason) Descriptor() ([]byte, []int)
Deprecated: Use ProcessInfoExitReason.ProtoReflect.Descriptor instead.
func (*ProcessInfoExitReason) GetCode ¶
func (x *ProcessInfoExitReason) GetCode() *wrapperspb.UInt32Value
func (*ProcessInfoExitReason) GetType ¶
func (x *ProcessInfoExitReason) GetType() string
func (*ProcessInfoExitReason) ProtoMessage ¶
func (*ProcessInfoExitReason) ProtoMessage()
func (*ProcessInfoExitReason) ProtoReflect ¶
func (x *ProcessInfoExitReason) ProtoReflect() protoreflect.Message
func (*ProcessInfoExitReason) Reset ¶
func (x *ProcessInfoExitReason) Reset()
func (*ProcessInfoExitReason) String ¶
func (x *ProcessInfoExitReason) String() string
type RunmeIdentity ¶
type RunmeIdentity int32
const ( RunmeIdentity_RUNME_IDENTITY_UNSPECIFIED RunmeIdentity = 0 // aka NONE RunmeIdentity_RUNME_IDENTITY_ALL RunmeIdentity = 1 RunmeIdentity_RUNME_IDENTITY_DOCUMENT RunmeIdentity = 2 RunmeIdentity_RUNME_IDENTITY_CELL RunmeIdentity = 3 )
func (RunmeIdentity) Descriptor ¶
func (RunmeIdentity) Descriptor() protoreflect.EnumDescriptor
func (RunmeIdentity) Enum ¶
func (x RunmeIdentity) Enum() *RunmeIdentity
func (RunmeIdentity) EnumDescriptor
deprecated
func (RunmeIdentity) EnumDescriptor() ([]byte, []int)
Deprecated: Use RunmeIdentity.Descriptor instead.
func (RunmeIdentity) Number ¶
func (x RunmeIdentity) Number() protoreflect.EnumNumber
func (RunmeIdentity) String ¶
func (x RunmeIdentity) String() string
func (RunmeIdentity) Type ¶
func (RunmeIdentity) Type() protoreflect.EnumType
type RunmeSession ¶
type RunmeSession struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Document *RunmeSessionDocument `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"` // contains filtered or unexported fields }
func (*RunmeSession) Descriptor
deprecated
func (*RunmeSession) Descriptor() ([]byte, []int)
Deprecated: Use RunmeSession.ProtoReflect.Descriptor instead.
func (*RunmeSession) GetDocument ¶
func (x *RunmeSession) GetDocument() *RunmeSessionDocument
func (*RunmeSession) GetId ¶
func (x *RunmeSession) GetId() string
func (*RunmeSession) ProtoMessage ¶
func (*RunmeSession) ProtoMessage()
func (*RunmeSession) ProtoReflect ¶
func (x *RunmeSession) ProtoReflect() protoreflect.Message
func (*RunmeSession) Reset ¶
func (x *RunmeSession) Reset()
func (*RunmeSession) String ¶
func (x *RunmeSession) String() string
type RunmeSessionDocument ¶
type RunmeSessionDocument struct { RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // contains filtered or unexported fields }
func (*RunmeSessionDocument) Descriptor
deprecated
func (*RunmeSessionDocument) Descriptor() ([]byte, []int)
Deprecated: Use RunmeSessionDocument.ProtoReflect.Descriptor instead.
func (*RunmeSessionDocument) GetRelativePath ¶
func (x *RunmeSessionDocument) GetRelativePath() string
func (*RunmeSessionDocument) ProtoMessage ¶
func (*RunmeSessionDocument) ProtoMessage()
func (*RunmeSessionDocument) ProtoReflect ¶
func (x *RunmeSessionDocument) ProtoReflect() protoreflect.Message
func (*RunmeSessionDocument) Reset ¶
func (x *RunmeSessionDocument) Reset()
func (*RunmeSessionDocument) String ¶
func (x *RunmeSessionDocument) String() string
type SerializeRequest ¶
type SerializeRequest struct { Notebook *Notebook `protobuf:"bytes,1,opt,name=notebook,proto3" json:"notebook,omitempty"` Options *SerializeRequestOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*SerializeRequest) Descriptor
deprecated
func (*SerializeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SerializeRequest.ProtoReflect.Descriptor instead.
func (*SerializeRequest) GetNotebook ¶
func (x *SerializeRequest) GetNotebook() *Notebook
func (*SerializeRequest) GetOptions ¶
func (x *SerializeRequest) GetOptions() *SerializeRequestOptions
func (*SerializeRequest) ProtoMessage ¶
func (*SerializeRequest) ProtoMessage()
func (*SerializeRequest) ProtoReflect ¶
func (x *SerializeRequest) ProtoReflect() protoreflect.Message
func (*SerializeRequest) Reset ¶
func (x *SerializeRequest) Reset()
func (*SerializeRequest) String ¶
func (x *SerializeRequest) String() string
type SerializeRequestOptions ¶
type SerializeRequestOptions struct { Outputs *SerializeRequestOutputOptions `protobuf:"bytes,1,opt,name=outputs,proto3" json:"outputs,omitempty"` Session *RunmeSession `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"` // contains filtered or unexported fields }
func (*SerializeRequestOptions) Descriptor
deprecated
func (*SerializeRequestOptions) Descriptor() ([]byte, []int)
Deprecated: Use SerializeRequestOptions.ProtoReflect.Descriptor instead.
func (*SerializeRequestOptions) GetOutputs ¶
func (x *SerializeRequestOptions) GetOutputs() *SerializeRequestOutputOptions
func (*SerializeRequestOptions) GetSession ¶
func (x *SerializeRequestOptions) GetSession() *RunmeSession
func (*SerializeRequestOptions) ProtoMessage ¶
func (*SerializeRequestOptions) ProtoMessage()
func (*SerializeRequestOptions) ProtoReflect ¶
func (x *SerializeRequestOptions) ProtoReflect() protoreflect.Message
func (*SerializeRequestOptions) Reset ¶
func (x *SerializeRequestOptions) Reset()
func (*SerializeRequestOptions) String ¶
func (x *SerializeRequestOptions) String() string
type SerializeRequestOutputOptions ¶
type SerializeRequestOutputOptions struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Summary bool `protobuf:"varint,2,opt,name=summary,proto3" json:"summary,omitempty"` // contains filtered or unexported fields }
func (*SerializeRequestOutputOptions) Descriptor
deprecated
func (*SerializeRequestOutputOptions) Descriptor() ([]byte, []int)
Deprecated: Use SerializeRequestOutputOptions.ProtoReflect.Descriptor instead.
func (*SerializeRequestOutputOptions) GetEnabled ¶
func (x *SerializeRequestOutputOptions) GetEnabled() bool
func (*SerializeRequestOutputOptions) GetSummary ¶
func (x *SerializeRequestOutputOptions) GetSummary() bool
func (*SerializeRequestOutputOptions) ProtoMessage ¶
func (*SerializeRequestOutputOptions) ProtoMessage()
func (*SerializeRequestOutputOptions) ProtoReflect ¶
func (x *SerializeRequestOutputOptions) ProtoReflect() protoreflect.Message
func (*SerializeRequestOutputOptions) Reset ¶
func (x *SerializeRequestOutputOptions) Reset()
func (*SerializeRequestOutputOptions) String ¶
func (x *SerializeRequestOutputOptions) String() string
type SerializeResponse ¶
type SerializeResponse struct { Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*SerializeResponse) Descriptor
deprecated
func (*SerializeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SerializeResponse.ProtoReflect.Descriptor instead.
func (*SerializeResponse) GetResult ¶
func (x *SerializeResponse) GetResult() []byte
func (*SerializeResponse) ProtoMessage ¶
func (*SerializeResponse) ProtoMessage()
func (*SerializeResponse) ProtoReflect ¶
func (x *SerializeResponse) ProtoReflect() protoreflect.Message
func (*SerializeResponse) Reset ¶
func (x *SerializeResponse) Reset()
func (*SerializeResponse) String ¶
func (x *SerializeResponse) String() string
type TextRange ¶
type TextRange struct { Start uint32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End uint32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*TextRange) Descriptor
deprecated
func (*TextRange) ProtoMessage ¶
func (*TextRange) ProtoMessage()
func (*TextRange) ProtoReflect ¶
func (x *TextRange) ProtoReflect() protoreflect.Message
type UnimplementedParserServiceServer ¶
type UnimplementedParserServiceServer struct{}
UnimplementedParserServiceServer 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 (UnimplementedParserServiceServer) Deserialize ¶
func (UnimplementedParserServiceServer) Deserialize(context.Context, *DeserializeRequest) (*DeserializeResponse, error)
func (UnimplementedParserServiceServer) Serialize ¶
func (UnimplementedParserServiceServer) Serialize(context.Context, *SerializeRequest) (*SerializeResponse, error)
type UnsafeParserServiceServer ¶
type UnsafeParserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeParserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ParserServiceServer will result in compilation errors.