pb

package
v0.0.0-...-9ccd474 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Iface_name = map[int32]string{
		0: "DEFAULT",
	}
	Iface_value = map[string]int32{
		"DEFAULT": 0,
	}
)

Enum value maps for Iface.

View Source
var (
	Op_name = map[int32]string{
		0:  "UNKNOWN",
		1:  "MODULE_LIST",
		2:  "MODULE_INFO",
		3:  "MODULE_DOWNLOAD",
		4:  "MODULE_UPLOAD",
		5:  "MODULE_SOURCE",
		6:  "MODULE_PIN",
		7:  "MODULE_UNPIN",
		8:  "CALL_EXTANT",
		9:  "CALL_UPLOAD",
		10: "CALL_SOURCE",
		11: "LAUNCH_EXTANT",
		12: "LAUNCH_UPLOAD",
		13: "LAUNCH_SOURCE",
		14: "INSTANCE_LIST",
		15: "INSTANCE_INFO",
		16: "INSTANCE_CONNECT",
		17: "INSTANCE_WAIT",
		18: "INSTANCE_KILL",
		19: "INSTANCE_SUSPEND",
		20: "INSTANCE_RESUME",
		21: "INSTANCE_SNAPSHOT",
		22: "INSTANCE_DELETE",
		23: "INSTANCE_UPDATE",
		24: "INSTANCE_DEBUG",
	}
	Op_value = map[string]int32{
		"UNKNOWN":           0,
		"MODULE_LIST":       1,
		"MODULE_INFO":       2,
		"MODULE_DOWNLOAD":   3,
		"MODULE_UPLOAD":     4,
		"MODULE_SOURCE":     5,
		"MODULE_PIN":        6,
		"MODULE_UNPIN":      7,
		"CALL_EXTANT":       8,
		"CALL_UPLOAD":       9,
		"CALL_SOURCE":       10,
		"LAUNCH_EXTANT":     11,
		"LAUNCH_UPLOAD":     12,
		"LAUNCH_SOURCE":     13,
		"INSTANCE_LIST":     14,
		"INSTANCE_INFO":     15,
		"INSTANCE_CONNECT":  16,
		"INSTANCE_WAIT":     17,
		"INSTANCE_KILL":     18,
		"INSTANCE_SUSPEND":  19,
		"INSTANCE_RESUME":   20,
		"INSTANCE_SNAPSHOT": 21,
		"INSTANCE_DELETE":   22,
		"INSTANCE_UPDATE":   23,
		"INSTANCE_DEBUG":    24,
	}
)

Enum value maps for Op.

View Source
var (
	State_name = map[int32]string{
		0: "NONEXISTENT",
		1: "RUNNING",
		2: "SUSPENDED",
		3: "HALTED",
		4: "TERMINATED",
		5: "KILLED",
	}
	State_value = map[string]int32{
		"NONEXISTENT": 0,
		"RUNNING":     1,
		"SUSPENDED":   2,
		"HALTED":      3,
		"TERMINATED":  4,
		"KILLED":      5,
	}
)

Enum value maps for State.

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",
	}
	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,
	}
)

Enum value maps for Cause.

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",
	}
	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,
	}
)

Enum value maps for DebugOp.

View Source
var File_server_api_pb_meta_proto protoreflect.FileDescriptor
View Source
var File_server_api_pb_server_proto protoreflect.FileDescriptor

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) Descriptor

func (Cause) Descriptor() protoreflect.EnumDescriptor

func (Cause) Enum

func (x Cause) Enum() *Cause

func (Cause) EnumDescriptor deprecated

func (Cause) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cause.Descriptor instead.

func (Cause) Number

func (x Cause) Number() protoreflect.EnumNumber

func (Cause) String

func (x Cause) String() string

func (Cause) Type

func (Cause) Type() protoreflect.EnumType

type DebugConfig

type DebugConfig struct {
	Breakpoints []uint64 `protobuf:"varint,1,rep,packed,name=breakpoints,proto3" json:"breakpoints,omitempty"`
	// contains filtered or unexported fields
}

func (*DebugConfig) Descriptor deprecated

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

Deprecated: Use DebugConfig.ProtoReflect.Descriptor instead.

func (*DebugConfig) GetBreakpoints

func (x *DebugConfig) GetBreakpoints() []uint64

func (*DebugConfig) ProtoMessage

func (*DebugConfig) ProtoMessage()

func (*DebugConfig) ProtoReflect

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

func (*DebugConfig) Reset

func (x *DebugConfig) Reset()

func (*DebugConfig) String

func (x *DebugConfig) String() string

type DebugOp

type DebugOp int32
const (
	DebugOp_CONFIG_GET        DebugOp = 0
	DebugOp_CONFIG_SET        DebugOp = 1
	DebugOp_CONFIG_UNION      DebugOp = 2
	DebugOp_CONFIG_COMPLEMENT DebugOp = 3
	DebugOp_READ_GLOBALS      DebugOp = 4
	DebugOp_READ_MEMORY       DebugOp = 5
	DebugOp_READ_STACK        DebugOp = 6
)

func (DebugOp) Descriptor

func (DebugOp) Descriptor() protoreflect.EnumDescriptor

func (DebugOp) Enum

func (x DebugOp) Enum() *DebugOp

func (DebugOp) EnumDescriptor deprecated

func (DebugOp) EnumDescriptor() ([]byte, []int)

Deprecated: Use DebugOp.Descriptor instead.

func (DebugOp) Number

func (x DebugOp) Number() protoreflect.EnumNumber

func (DebugOp) String

func (x DebugOp) String() string

func (DebugOp) Type

func (DebugOp) Type() protoreflect.EnumType

type DebugRequest

type DebugRequest struct {
	Op     DebugOp      `protobuf:"varint,1,opt,name=op,proto3,enum=gate.server.DebugOp" json:"op,omitempty"`
	Config *DebugConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	Addr   uint64       `protobuf:"varint,3,opt,name=addr,proto3" json:"addr,omitempty"`
	Size   uint64       `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*DebugRequest) Descriptor deprecated

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

Deprecated: Use DebugRequest.ProtoReflect.Descriptor instead.

func (*DebugRequest) GetAddr

func (x *DebugRequest) GetAddr() uint64

func (*DebugRequest) GetConfig

func (x *DebugRequest) GetConfig() *DebugConfig

func (*DebugRequest) GetOp

func (x *DebugRequest) GetOp() DebugOp

func (*DebugRequest) GetSize

func (x *DebugRequest) GetSize() uint64

func (*DebugRequest) ProtoMessage

func (*DebugRequest) ProtoMessage()

func (*DebugRequest) ProtoReflect

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

func (*DebugRequest) Reset

func (x *DebugRequest) Reset()

func (*DebugRequest) String

func (x *DebugRequest) String() string

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,proto3" json:"status,omitempty"`
	Config *DebugConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
	Data   []byte       `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DebugResponse) Descriptor deprecated

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

Deprecated: Use DebugResponse.ProtoReflect.Descriptor instead.

func (*DebugResponse) GetConfig

func (x *DebugResponse) GetConfig() *DebugConfig

func (*DebugResponse) GetData

func (x *DebugResponse) GetData() []byte

func (*DebugResponse) GetModule

func (x *DebugResponse) GetModule() string

func (*DebugResponse) GetStatus

func (x *DebugResponse) GetStatus() *Status

func (*DebugResponse) ProtoMessage

func (*DebugResponse) ProtoMessage()

func (*DebugResponse) ProtoReflect

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

func (*DebugResponse) Reset

func (x *DebugResponse) Reset()

func (*DebugResponse) String

func (x *DebugResponse) String() string

type Features

type Features struct {
	Scope         []string `protobuf:"bytes,1,rep,name=scope,proto3" json:"scope,omitempty"`
	ModuleSources []string `protobuf:"bytes,2,rep,name=module_sources,json=moduleSources,proto3" json:"module_sources,omitempty"`
	// contains filtered or unexported fields
}

func (*Features) Descriptor deprecated

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

Deprecated: Use Features.ProtoReflect.Descriptor instead.

func (*Features) GetModuleSources

func (x *Features) GetModuleSources() []string

func (*Features) GetScope

func (x *Features) GetScope() []string

func (*Features) ProtoMessage

func (*Features) ProtoMessage()

func (*Features) ProtoReflect

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

func (*Features) Reset

func (x *Features) Reset()

func (*Features) String

func (x *Features) String() string

type Iface

type Iface int32
const (
	Iface_DEFAULT Iface = 0
)

func (Iface) Descriptor

func (Iface) Descriptor() protoreflect.EnumDescriptor

func (Iface) Enum

func (x Iface) Enum() *Iface

func (Iface) EnumDescriptor deprecated

func (Iface) EnumDescriptor() ([]byte, []int)

Deprecated: Use Iface.Descriptor instead.

func (Iface) Number

func (x Iface) Number() protoreflect.EnumNumber

func (Iface) String

func (x Iface) String() string

func (Iface) Type

func (Iface) Type() protoreflect.EnumType

type InstanceInfo

type InstanceInfo struct {
	Instance  string   `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	Module    string   `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
	Status    *Status  `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Transient bool     `protobuf:"varint,4,opt,name=transient,proto3" json:"transient,omitempty"`
	Debugging bool     `protobuf:"varint,5,opt,name=debugging,proto3" json:"debugging,omitempty"`
	Tags      []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceInfo) Descriptor deprecated

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

Deprecated: Use InstanceInfo.ProtoReflect.Descriptor instead.

func (*InstanceInfo) GetDebugging

func (x *InstanceInfo) GetDebugging() bool

func (*InstanceInfo) GetInstance

func (x *InstanceInfo) GetInstance() string

func (*InstanceInfo) GetModule

func (x *InstanceInfo) GetModule() string

func (*InstanceInfo) GetStatus

func (x *InstanceInfo) GetStatus() *Status

func (*InstanceInfo) GetTags

func (x *InstanceInfo) GetTags() []string

func (*InstanceInfo) GetTransient

func (x *InstanceInfo) GetTransient() bool

func (*InstanceInfo) ProtoMessage

func (*InstanceInfo) ProtoMessage()

func (*InstanceInfo) ProtoReflect

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

func (*InstanceInfo) Reset

func (x *InstanceInfo) Reset()

func (*InstanceInfo) String

func (x *InstanceInfo) String() string

type InstanceUpdate

type InstanceUpdate struct {
	Persist bool     `protobuf:"varint,1,opt,name=persist,proto3" json:"persist,omitempty"`
	Tags    []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceUpdate) Descriptor deprecated

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

Deprecated: Use InstanceUpdate.ProtoReflect.Descriptor instead.

func (*InstanceUpdate) GetPersist

func (x *InstanceUpdate) GetPersist() bool

func (*InstanceUpdate) GetTags

func (x *InstanceUpdate) GetTags() []string

func (*InstanceUpdate) ProtoMessage

func (*InstanceUpdate) ProtoMessage()

func (*InstanceUpdate) ProtoReflect

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

func (*InstanceUpdate) Reset

func (x *InstanceUpdate) Reset()

func (*InstanceUpdate) String

func (x *InstanceUpdate) String() string

type Instances

type Instances struct {
	Instances []*InstanceInfo `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// contains filtered or unexported fields
}

func (*Instances) Descriptor deprecated

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

Deprecated: Use Instances.ProtoReflect.Descriptor instead.

func (*Instances) GetInstances

func (x *Instances) GetInstances() []*InstanceInfo

func (*Instances) ProtoMessage

func (*Instances) ProtoMessage()

func (*Instances) ProtoReflect

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

func (*Instances) Reset

func (x *Instances) Reset()

func (*Instances) String

func (x *Instances) String() string

type InvokeOptions

type InvokeOptions struct {
	DebugLog string `protobuf:"bytes,1,opt,name=debug_log,json=debugLog,proto3" json:"debug_log,omitempty"`
	// contains filtered or unexported fields
}

func (*InvokeOptions) Descriptor deprecated

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

Deprecated: Use InvokeOptions.ProtoReflect.Descriptor instead.

func (*InvokeOptions) GetDebugLog

func (x *InvokeOptions) GetDebugLog() string

func (*InvokeOptions) ProtoMessage

func (*InvokeOptions) ProtoMessage()

func (*InvokeOptions) ProtoReflect

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

func (*InvokeOptions) Reset

func (x *InvokeOptions) Reset()

func (*InvokeOptions) String

func (x *InvokeOptions) String() string

type LaunchOptions

type LaunchOptions struct {
	Invoke    *InvokeOptions `protobuf:"bytes,1,opt,name=invoke,proto3" json:"invoke,omitempty"`
	Function  string         `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"`
	Instance  string         `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
	Transient bool           `protobuf:"varint,4,opt,name=transient,proto3" json:"transient,omitempty"`
	Suspend   bool           `protobuf:"varint,5,opt,name=suspend,proto3" json:"suspend,omitempty"`
	Tags      []string       `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*LaunchOptions) Descriptor deprecated

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

Deprecated: Use LaunchOptions.ProtoReflect.Descriptor instead.

func (*LaunchOptions) GetFunction

func (x *LaunchOptions) GetFunction() string

func (*LaunchOptions) GetInstance

func (x *LaunchOptions) GetInstance() string

func (*LaunchOptions) GetInvoke

func (x *LaunchOptions) GetInvoke() *InvokeOptions

func (*LaunchOptions) GetSuspend

func (x *LaunchOptions) GetSuspend() bool

func (*LaunchOptions) GetTags

func (x *LaunchOptions) GetTags() []string

func (*LaunchOptions) GetTransient

func (x *LaunchOptions) GetTransient() bool

func (*LaunchOptions) ProtoMessage

func (*LaunchOptions) ProtoMessage()

func (*LaunchOptions) ProtoReflect

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

func (*LaunchOptions) Reset

func (x *LaunchOptions) Reset()

func (*LaunchOptions) String

func (x *LaunchOptions) String() string

type Meta

type Meta struct {
	Iface     Iface  `protobuf:"varint,1,opt,name=iface,proto3,enum=gate.server.Iface" json:"iface,omitempty"`
	Req       uint64 `protobuf:"varint,2,opt,name=req,proto3" json:"req,omitempty"`
	Addr      string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"`
	Op        Op     `protobuf:"varint,4,opt,name=op,proto3,enum=gate.server.Op" json:"op,omitempty"`
	Principal string `protobuf:"bytes,5,opt,name=principal,proto3" json:"principal,omitempty"`
	// contains filtered or unexported fields
}

func (*Meta) Descriptor deprecated

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

Deprecated: Use Meta.ProtoReflect.Descriptor instead.

func (*Meta) GetAddr

func (x *Meta) GetAddr() string

func (*Meta) GetIface

func (x *Meta) GetIface() Iface

func (*Meta) GetOp

func (x *Meta) GetOp() Op

func (*Meta) GetPrincipal

func (x *Meta) GetPrincipal() string

func (*Meta) GetReq

func (x *Meta) GetReq() uint64

func (*Meta) ProtoMessage

func (*Meta) ProtoMessage()

func (*Meta) ProtoReflect

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

func (*Meta) Reset

func (x *Meta) Reset()

func (*Meta) String

func (x *Meta) String() string

type ModuleInfo

type ModuleInfo struct {
	Id   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*ModuleInfo) Descriptor deprecated

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

Deprecated: Use ModuleInfo.ProtoReflect.Descriptor instead.

func (*ModuleInfo) GetId

func (x *ModuleInfo) GetId() string

func (*ModuleInfo) GetTags

func (x *ModuleInfo) GetTags() []string

func (*ModuleInfo) ProtoMessage

func (*ModuleInfo) ProtoMessage()

func (*ModuleInfo) ProtoReflect

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

func (*ModuleInfo) Reset

func (x *ModuleInfo) Reset()

func (*ModuleInfo) String

func (x *ModuleInfo) String() string

type ModuleOptions

type ModuleOptions struct {
	Pin  bool     `protobuf:"varint,1,opt,name=pin,proto3" json:"pin,omitempty"`
	Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*ModuleOptions) Descriptor deprecated

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

Deprecated: Use ModuleOptions.ProtoReflect.Descriptor instead.

func (*ModuleOptions) GetPin

func (x *ModuleOptions) GetPin() bool

func (*ModuleOptions) GetTags

func (x *ModuleOptions) GetTags() []string

func (*ModuleOptions) ProtoMessage

func (*ModuleOptions) ProtoMessage()

func (*ModuleOptions) ProtoReflect

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

func (*ModuleOptions) Reset

func (x *ModuleOptions) Reset()

func (*ModuleOptions) String

func (x *ModuleOptions) String() string

type Modules

type Modules struct {
	Modules []*ModuleInfo `protobuf:"bytes,1,rep,name=modules,proto3" json:"modules,omitempty"`
	// contains filtered or unexported fields
}

func (*Modules) Descriptor deprecated

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

Deprecated: Use Modules.ProtoReflect.Descriptor instead.

func (*Modules) GetModules

func (x *Modules) GetModules() []*ModuleInfo

func (*Modules) ProtoMessage

func (*Modules) ProtoMessage()

func (*Modules) ProtoReflect

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

func (*Modules) Reset

func (x *Modules) Reset()

func (*Modules) String

func (x *Modules) String() string

type Op

type Op int32
const (
	Op_UNKNOWN           Op = 0
	Op_MODULE_LIST       Op = 1
	Op_MODULE_INFO       Op = 2
	Op_MODULE_DOWNLOAD   Op = 3
	Op_MODULE_UPLOAD     Op = 4
	Op_MODULE_SOURCE     Op = 5
	Op_MODULE_PIN        Op = 6
	Op_MODULE_UNPIN      Op = 7
	Op_CALL_EXTANT       Op = 8
	Op_CALL_UPLOAD       Op = 9
	Op_CALL_SOURCE       Op = 10
	Op_LAUNCH_EXTANT     Op = 11
	Op_LAUNCH_UPLOAD     Op = 12
	Op_LAUNCH_SOURCE     Op = 13
	Op_INSTANCE_LIST     Op = 14
	Op_INSTANCE_INFO     Op = 15
	Op_INSTANCE_CONNECT  Op = 16
	Op_INSTANCE_WAIT     Op = 17
	Op_INSTANCE_KILL     Op = 18
	Op_INSTANCE_SUSPEND  Op = 19
	Op_INSTANCE_RESUME   Op = 20
	Op_INSTANCE_SNAPSHOT Op = 21
	Op_INSTANCE_DELETE   Op = 22
	Op_INSTANCE_UPDATE   Op = 23
	Op_INSTANCE_DEBUG    Op = 24
)

func (Op) Descriptor

func (Op) Descriptor() protoreflect.EnumDescriptor

func (Op) Enum

func (x Op) Enum() *Op

func (Op) EnumDescriptor deprecated

func (Op) EnumDescriptor() ([]byte, []int)

Deprecated: Use Op.Descriptor instead.

func (Op) Number

func (x Op) Number() protoreflect.EnumNumber

func (Op) String

func (x Op) String() string

func (Op) Type

func (Op) Type() protoreflect.EnumType

type ResumeOptions

type ResumeOptions struct {
	Invoke   *InvokeOptions `protobuf:"bytes,1,opt,name=invoke,proto3" json:"invoke,omitempty"`
	Function string         `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"`
	// contains filtered or unexported fields
}

func (*ResumeOptions) Descriptor deprecated

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

Deprecated: Use ResumeOptions.ProtoReflect.Descriptor instead.

func (*ResumeOptions) GetFunction

func (x *ResumeOptions) GetFunction() string

func (*ResumeOptions) GetInvoke

func (x *ResumeOptions) GetInvoke() *InvokeOptions

func (*ResumeOptions) ProtoMessage

func (*ResumeOptions) ProtoMessage()

func (*ResumeOptions) ProtoReflect

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

func (*ResumeOptions) Reset

func (x *ResumeOptions) Reset()

func (*ResumeOptions) String

func (x *ResumeOptions) String() string

type State

type State int32
const (
	State_NONEXISTENT State = 0
	State_RUNNING     State = 1
	State_SUSPENDED   State = 2
	State_HALTED      State = 3
	State_TERMINATED  State = 4
	State_KILLED      State = 5
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

func (State) EnumDescriptor() ([]byte, []int)

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

type Status

type Status struct {
	State  State  `protobuf:"varint,1,opt,name=state,proto3,enum=gate.server.State" json:"state,omitempty"`
	Cause  Cause  `protobuf:"varint,2,opt,name=cause,proto3,enum=gate.server.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"`
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetCause

func (x *Status) GetCause() Cause

func (*Status) GetError

func (x *Status) GetError() string

func (*Status) GetResult

func (x *Status) GetResult() int32

func (*Status) GetState

func (x *Status) GetState() State

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

Jump to

Keyboard shortcuts

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