Documentation ¶
Index ¶
- Constants
- Variables
- type Cause
- type DebugConfig
- func (*DebugConfig) Descriptor() ([]byte, []int)
- func (m *DebugConfig) Marshal() (dAtA []byte, err error)
- func (m *DebugConfig) MarshalTo(dAtA []byte) (int, error)
- func (*DebugConfig) ProtoMessage()
- func (m *DebugConfig) Reset()
- func (m *DebugConfig) Size() (n int)
- func (m *DebugConfig) String() string
- func (m *DebugConfig) Unmarshal(dAtA []byte) error
- func (m *DebugConfig) XXX_DiscardUnknown()
- func (m *DebugConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DebugConfig) XXX_Merge(src proto.Message)
- func (m *DebugConfig) XXX_Size() int
- func (m *DebugConfig) XXX_Unmarshal(b []byte) error
- type DebugOp
- type DebugRequest
- func (*DebugRequest) Descriptor() ([]byte, []int)
- func (m *DebugRequest) Marshal() (dAtA []byte, err error)
- func (m *DebugRequest) MarshalTo(dAtA []byte) (int, error)
- func (*DebugRequest) ProtoMessage()
- func (m *DebugRequest) Reset()
- func (m *DebugRequest) Size() (n int)
- func (m *DebugRequest) String() string
- func (m *DebugRequest) Unmarshal(dAtA []byte) error
- func (m *DebugRequest) XXX_DiscardUnknown()
- func (m *DebugRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DebugRequest) XXX_Merge(src proto.Message)
- func (m *DebugRequest) XXX_Size() int
- func (m *DebugRequest) XXX_Unmarshal(b []byte) error
- type DebugResponse
- func (*DebugResponse) Descriptor() ([]byte, []int)
- func (m *DebugResponse) Marshal() (dAtA []byte, err error)
- func (m *DebugResponse) MarshalTo(dAtA []byte) (int, error)
- func (*DebugResponse) ProtoMessage()
- func (m *DebugResponse) Reset()
- func (m *DebugResponse) Size() (n int)
- func (m *DebugResponse) String() string
- func (m *DebugResponse) Unmarshal(dAtA []byte) error
- func (m *DebugResponse) XXX_DiscardUnknown()
- func (m *DebugResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DebugResponse) XXX_Merge(src proto.Message)
- func (m *DebugResponse) XXX_Size() int
- func (m *DebugResponse) XXX_Unmarshal(b []byte) error
- type InstanceStatus
- func (*InstanceStatus) Descriptor() ([]byte, []int)
- func (m *InstanceStatus) Marshal() (dAtA []byte, err error)
- func (m *InstanceStatus) MarshalTo(dAtA []byte) (int, error)
- func (*InstanceStatus) ProtoMessage()
- func (m *InstanceStatus) Reset()
- func (m *InstanceStatus) Size() (n int)
- func (m *InstanceStatus) String() string
- func (m *InstanceStatus) Unmarshal(dAtA []byte) error
- func (m *InstanceStatus) XXX_DiscardUnknown()
- func (m *InstanceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InstanceStatus) XXX_Merge(src proto.Message)
- func (m *InstanceStatus) XXX_Size() int
- func (m *InstanceStatus) XXX_Unmarshal(b []byte) error
- type Instances
- func (*Instances) Descriptor() ([]byte, []int)
- func (x Instances) Len() int
- func (x Instances) Less(i, j int) bool
- func (m *Instances) Marshal() (dAtA []byte, err error)
- func (m *Instances) MarshalTo(dAtA []byte) (int, error)
- func (*Instances) ProtoMessage()
- func (m *Instances) Reset()
- func (m *Instances) Size() (n int)
- func (m *Instances) String() string
- func (x Instances) Swap(i, j int)
- func (m *Instances) Unmarshal(dAtA []byte) error
- func (m *Instances) XXX_DiscardUnknown()
- func (m *Instances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Instances) XXX_Merge(src proto.Message)
- func (m *Instances) XXX_Size() int
- func (m *Instances) XXX_Unmarshal(b []byte) error
- type ModuleRef
- func (*ModuleRef) Descriptor() ([]byte, []int)
- func (m *ModuleRef) Marshal() (dAtA []byte, err error)
- func (m *ModuleRef) MarshalTo(dAtA []byte) (int, error)
- func (*ModuleRef) ProtoMessage()
- func (m *ModuleRef) Reset()
- func (m *ModuleRef) Size() (n int)
- func (m *ModuleRef) String() string
- func (m *ModuleRef) Unmarshal(dAtA []byte) error
- func (m *ModuleRef) XXX_DiscardUnknown()
- func (m *ModuleRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ModuleRef) XXX_Merge(src proto.Message)
- func (m *ModuleRef) XXX_Size() int
- func (m *ModuleRef) XXX_Unmarshal(b []byte) error
- type ModuleRefs
- func (*ModuleRefs) Descriptor() ([]byte, []int)
- func (x ModuleRefs) Len() int
- func (x ModuleRefs) Less(i, j int) bool
- func (m *ModuleRefs) Marshal() (dAtA []byte, err error)
- func (m *ModuleRefs) MarshalTo(dAtA []byte) (int, error)
- func (*ModuleRefs) ProtoMessage()
- func (m *ModuleRefs) Reset()
- func (m *ModuleRefs) Size() (n int)
- func (m *ModuleRefs) String() string
- func (x ModuleRefs) Swap(i, j int)
- func (m *ModuleRefs) Unmarshal(dAtA []byte) error
- func (m *ModuleRefs) XXX_DiscardUnknown()
- func (m *ModuleRefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ModuleRefs) XXX_Merge(src proto.Message)
- func (m *ModuleRefs) XXX_Size() int
- func (m *ModuleRefs) XXX_Unmarshal(b []byte) error
- type State
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m *Status) Marshal() (dAtA []byte, err error)
- func (m *Status) MarshalTo(dAtA []byte) (int, error)
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) Size() (n int)
- func (m *Status) String() string
- func (m *Status) Unmarshal(dAtA []byte) error
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const ( ModuleRefSource = "sha384" ModuleRefHash = crypto.SHA384 )
View Source
const ( StateRunning = State_RUNNING StateSuspended = State_SUSPENDED StateHalted = State_HALTED StateTerminated = State_TERMINATED StateKilled = State_KILLED )
View Source
const ( CauseNormal = Cause_NORMAL CauseUnreachable = Cause_UNREACHABLE CauseCallStackExhausted = Cause_CALL_STACK_EXHAUSTED CauseMemoryAccessOutOfBounds = Cause_MEMORY_ACCESS_OUT_OF_BOUNDS CauseIndirectCallIndexOutOfBounds = Cause_INDIRECT_CALL_INDEX_OUT_OF_BOUNDS CauseIndirectCallSignatureMismatch = Cause_INDIRECT_CALL_SIGNATURE_MISMATCH CauseIntegerDivideByZero = Cause_INTEGER_DIVIDE_BY_ZERO CauseIntegerOverflow = Cause_INTEGER_OVERFLOW CauseBreakpoint = Cause_BREAKPOINT CauseABIDeficiency = Cause_ABI_DEFICIENCY CauseABIViolation = Cause_ABI_VIOLATION CauseInternal = Cause_INTERNAL )
View Source
const ( DebugOpConfigGet = DebugOp_CONFIG_GET DebugOpConfigSet = DebugOp_CONFIG_SET DebugOpConfigUnion = DebugOp_CONFIG_UNION DebugOpConfigComplement = DebugOp_CONFIG_COMPLEMENT DebugOpReadGlobals = DebugOp_READ_GLOBALS DebugOpReadMemory = DebugOp_READ_MEMORY DebugOpReadStack = DebugOp_READ_STACK )
Variables ¶
View Source
var ( ErrInvalidLengthServerapi = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowServerapi = fmt.Errorf("proto: integer overflow") )
View Source
var Cause_name = map[int32]string{
0: "NORMAL",
3: "UNREACHABLE",
4: "CALL_STACK_EXHAUSTED",
5: "MEMORY_ACCESS_OUT_OF_BOUNDS",
6: "INDIRECT_CALL_INDEX_OUT_OF_BOUNDS",
7: "INDIRECT_CALL_SIGNATURE_MISMATCH",
8: "INTEGER_DIVIDE_BY_ZERO",
9: "INTEGER_OVERFLOW",
10: "BREAKPOINT",
27: "ABI_DEFICIENCY",
28: "ABI_VIOLATION",
29: "INTERNAL",
}
View Source
var Cause_value = map[string]int32{
"NORMAL": 0,
"UNREACHABLE": 3,
"CALL_STACK_EXHAUSTED": 4,
"MEMORY_ACCESS_OUT_OF_BOUNDS": 5,
"INDIRECT_CALL_INDEX_OUT_OF_BOUNDS": 6,
"INDIRECT_CALL_SIGNATURE_MISMATCH": 7,
"INTEGER_DIVIDE_BY_ZERO": 8,
"INTEGER_OVERFLOW": 9,
"BREAKPOINT": 10,
"ABI_DEFICIENCY": 27,
"ABI_VIOLATION": 28,
"INTERNAL": 29,
}
View Source
var DebugOp_name = map[int32]string{
0: "CONFIG_GET",
1: "CONFIG_SET",
2: "CONFIG_UNION",
3: "CONFIG_COMPLEMENT",
4: "READ_GLOBALS",
5: "READ_MEMORY",
6: "READ_STACK",
}
View Source
var DebugOp_value = map[string]int32{
"CONFIG_GET": 0,
"CONFIG_SET": 1,
"CONFIG_UNION": 2,
"CONFIG_COMPLEMENT": 3,
"READ_GLOBALS": 4,
"READ_MEMORY": 5,
"READ_STACK": 6,
}
View Source
var State_name = map[int32]string{
0: "NONEXISTENT",
1: "RUNNING",
2: "SUSPENDED",
3: "HALTED",
4: "TERMINATED",
5: "KILLED",
}
View Source
var State_value = map[string]int32{
"NONEXISTENT": 0,
"RUNNING": 1,
"SUSPENDED": 2,
"HALTED": 3,
"TERMINATED": 4,
"KILLED": 5,
}
Functions ¶
This section is empty.
Types ¶
type Cause ¶
type Cause int32
const ( Cause_NORMAL Cause = 0 Cause_UNREACHABLE Cause = 3 Cause_CALL_STACK_EXHAUSTED Cause = 4 Cause_MEMORY_ACCESS_OUT_OF_BOUNDS Cause = 5 Cause_INDIRECT_CALL_INDEX_OUT_OF_BOUNDS Cause = 6 Cause_INDIRECT_CALL_SIGNATURE_MISMATCH Cause = 7 Cause_INTEGER_DIVIDE_BY_ZERO Cause = 8 Cause_INTEGER_OVERFLOW Cause = 9 Cause_BREAKPOINT Cause = 10 Cause_ABI_DEFICIENCY Cause = 27 Cause_ABI_VIOLATION Cause = 28 Cause_INTERNAL Cause = 29 )
func (Cause) EnumDescriptor ¶
type DebugConfig ¶
type DebugConfig struct { DebugInfo bool `protobuf:"varint,1,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"` Breakpoints manifest.Breakpoints `protobuf:"bytes,2,opt,name=breakpoints" json:"breakpoints"` }
func (*DebugConfig) Descriptor ¶
func (*DebugConfig) Descriptor() ([]byte, []int)
func (*DebugConfig) Marshal ¶
func (m *DebugConfig) Marshal() (dAtA []byte, err error)
func (*DebugConfig) ProtoMessage ¶
func (*DebugConfig) ProtoMessage()
func (*DebugConfig) Reset ¶
func (m *DebugConfig) Reset()
func (*DebugConfig) Size ¶
func (m *DebugConfig) Size() (n int)
func (*DebugConfig) String ¶
func (m *DebugConfig) String() string
func (*DebugConfig) Unmarshal ¶
func (m *DebugConfig) Unmarshal(dAtA []byte) error
func (*DebugConfig) XXX_DiscardUnknown ¶
func (m *DebugConfig) XXX_DiscardUnknown()
func (*DebugConfig) XXX_Marshal ¶
func (m *DebugConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DebugConfig) XXX_Merge ¶
func (dst *DebugConfig) XXX_Merge(src proto.Message)
func (*DebugConfig) XXX_Size ¶
func (m *DebugConfig) XXX_Size() int
func (*DebugConfig) XXX_Unmarshal ¶
func (m *DebugConfig) XXX_Unmarshal(b []byte) error
type DebugRequest ¶
type DebugRequest struct { Op DebugOp `protobuf:"varint,1,opt,name=op,proto3,enum=serverapi.DebugOp" json:"op,omitempty"` Config DebugConfig `protobuf:"bytes,2,opt,name=config" json:"config"` Addr uint64 `protobuf:"varint,3,opt,name=addr,proto3" json:"addr,omitempty"` Size_ uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` }
func (*DebugRequest) Descriptor ¶
func (*DebugRequest) Descriptor() ([]byte, []int)
func (*DebugRequest) Marshal ¶
func (m *DebugRequest) Marshal() (dAtA []byte, err error)
func (*DebugRequest) ProtoMessage ¶
func (*DebugRequest) ProtoMessage()
func (*DebugRequest) Reset ¶
func (m *DebugRequest) Reset()
func (*DebugRequest) Size ¶
func (m *DebugRequest) Size() (n int)
func (*DebugRequest) String ¶
func (m *DebugRequest) String() string
func (*DebugRequest) Unmarshal ¶
func (m *DebugRequest) Unmarshal(dAtA []byte) error
func (*DebugRequest) XXX_DiscardUnknown ¶
func (m *DebugRequest) XXX_DiscardUnknown()
func (*DebugRequest) XXX_Marshal ¶
func (m *DebugRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DebugRequest) XXX_Merge ¶
func (dst *DebugRequest) XXX_Merge(src proto.Message)
func (*DebugRequest) XXX_Size ¶
func (m *DebugRequest) XXX_Size() int
func (*DebugRequest) XXX_Unmarshal ¶
func (m *DebugRequest) XXX_Unmarshal(b []byte) error
type DebugResponse ¶
type DebugResponse struct { Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` Status Status `protobuf:"bytes,2,opt,name=status" json:"status"` Config DebugConfig `protobuf:"bytes,3,opt,name=config" json:"config"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` }
func (*DebugResponse) Descriptor ¶
func (*DebugResponse) Descriptor() ([]byte, []int)
func (*DebugResponse) Marshal ¶
func (m *DebugResponse) Marshal() (dAtA []byte, err error)
func (*DebugResponse) ProtoMessage ¶
func (*DebugResponse) ProtoMessage()
func (*DebugResponse) Reset ¶
func (m *DebugResponse) Reset()
func (*DebugResponse) Size ¶
func (m *DebugResponse) Size() (n int)
func (*DebugResponse) String ¶
func (m *DebugResponse) String() string
func (*DebugResponse) Unmarshal ¶
func (m *DebugResponse) Unmarshal(dAtA []byte) error
func (*DebugResponse) XXX_DiscardUnknown ¶
func (m *DebugResponse) XXX_DiscardUnknown()
func (*DebugResponse) XXX_Marshal ¶
func (m *DebugResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DebugResponse) XXX_Merge ¶
func (dst *DebugResponse) XXX_Merge(src proto.Message)
func (*DebugResponse) XXX_Size ¶
func (m *DebugResponse) XXX_Size() int
func (*DebugResponse) XXX_Unmarshal ¶
func (m *DebugResponse) XXX_Unmarshal(b []byte) error
type InstanceStatus ¶
type InstanceStatus struct { Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` Status Status `protobuf:"bytes,2,opt,name=status" json:"status"` Transient bool `protobuf:"varint,3,opt,name=transient,proto3" json:"transient,omitempty"` Debugging bool `protobuf:"varint,4,opt,name=debugging,proto3" json:"debugging,omitempty"` }
func (*InstanceStatus) Descriptor ¶
func (*InstanceStatus) Descriptor() ([]byte, []int)
func (*InstanceStatus) Marshal ¶
func (m *InstanceStatus) Marshal() (dAtA []byte, err error)
func (*InstanceStatus) ProtoMessage ¶
func (*InstanceStatus) ProtoMessage()
func (*InstanceStatus) Reset ¶
func (m *InstanceStatus) Reset()
func (*InstanceStatus) Size ¶
func (m *InstanceStatus) Size() (n int)
func (*InstanceStatus) String ¶
func (m *InstanceStatus) String() string
func (*InstanceStatus) Unmarshal ¶
func (m *InstanceStatus) Unmarshal(dAtA []byte) error
func (*InstanceStatus) XXX_DiscardUnknown ¶
func (m *InstanceStatus) XXX_DiscardUnknown()
func (*InstanceStatus) XXX_Marshal ¶
func (m *InstanceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InstanceStatus) XXX_Merge ¶
func (dst *InstanceStatus) XXX_Merge(src proto.Message)
func (*InstanceStatus) XXX_Size ¶
func (m *InstanceStatus) XXX_Size() int
func (*InstanceStatus) XXX_Unmarshal ¶
func (m *InstanceStatus) XXX_Unmarshal(b []byte) error
type Instances ¶
type Instances struct {
Instances []InstanceStatus `protobuf:"bytes,1,rep,name=instances" json:"instances"`
}
func (*Instances) Descriptor ¶
func (*Instances) ProtoMessage ¶
func (*Instances) ProtoMessage()
func (*Instances) XXX_DiscardUnknown ¶
func (m *Instances) XXX_DiscardUnknown()
func (*Instances) XXX_Marshal ¶
func (*Instances) XXX_Unmarshal ¶
type ModuleRef ¶
type ModuleRef struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*ModuleRef) Descriptor ¶
func (*ModuleRef) ProtoMessage ¶
func (*ModuleRef) ProtoMessage()
func (*ModuleRef) XXX_DiscardUnknown ¶
func (m *ModuleRef) XXX_DiscardUnknown()
func (*ModuleRef) XXX_Marshal ¶
func (*ModuleRef) XXX_Unmarshal ¶
type ModuleRefs ¶
type ModuleRefs struct {
Modules []ModuleRef `protobuf:"bytes,1,rep,name=modules" json:"modules"`
}
func (*ModuleRefs) Descriptor ¶
func (*ModuleRefs) Descriptor() ([]byte, []int)
func (ModuleRefs) Len ¶
func (x ModuleRefs) Len() int
func (ModuleRefs) Less ¶
func (x ModuleRefs) Less(i, j int) bool
func (*ModuleRefs) Marshal ¶
func (m *ModuleRefs) Marshal() (dAtA []byte, err error)
func (*ModuleRefs) ProtoMessage ¶
func (*ModuleRefs) ProtoMessage()
func (*ModuleRefs) Reset ¶
func (m *ModuleRefs) Reset()
func (*ModuleRefs) Size ¶
func (m *ModuleRefs) Size() (n int)
func (*ModuleRefs) String ¶
func (m *ModuleRefs) String() string
func (ModuleRefs) Swap ¶
func (x ModuleRefs) Swap(i, j int)
func (*ModuleRefs) Unmarshal ¶
func (m *ModuleRefs) Unmarshal(dAtA []byte) error
func (*ModuleRefs) XXX_DiscardUnknown ¶
func (m *ModuleRefs) XXX_DiscardUnknown()
func (*ModuleRefs) XXX_Marshal ¶
func (m *ModuleRefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModuleRefs) XXX_Merge ¶
func (dst *ModuleRefs) XXX_Merge(src proto.Message)
func (*ModuleRefs) XXX_Size ¶
func (m *ModuleRefs) XXX_Size() int
func (*ModuleRefs) XXX_Unmarshal ¶
func (m *ModuleRefs) XXX_Unmarshal(b []byte) error
type Status ¶
type Status struct { State State `protobuf:"varint,1,opt,name=state,proto3,enum=serverapi.State" json:"state,omitempty"` Cause Cause `protobuf:"varint,2,opt,name=cause,proto3,enum=serverapi.Cause" json:"cause,omitempty"` Result int32 `protobuf:"varint,3,opt,name=result,proto3" json:"result,omitempty"` Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` }
func (*Status) Descriptor ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) XXX_DiscardUnknown ¶
func (m *Status) XXX_DiscardUnknown()
func (*Status) XXX_Marshal ¶
func (*Status) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.