snapshot

package
v0.0.0-...-4c59792 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_gate_pb_snapshot_buffers_proto protoreflect.FileDescriptor
View Source
var File_gate_pb_snapshot_snapshot_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Buffers

type Buffers struct {
	Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	Input    []byte     `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
	Output   []byte     `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Buffers of a suspended, halted or terminated program. Contents are undefined while the program is running.

Services, Input, and Output array contents are not mutated, but the arrays may be replaced. Buffers can be reused by making shallow copies.

func (*Buffers) Descriptor deprecated

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

Deprecated: Use Buffers.ProtoReflect.Descriptor instead.

func (*Buffers) GetInput

func (x *Buffers) GetInput() []byte

func (*Buffers) GetOutput

func (x *Buffers) GetOutput() []byte

func (*Buffers) GetServices

func (x *Buffers) GetServices() []*Service

func (*Buffers) ProtoMessage

func (*Buffers) ProtoMessage()

func (*Buffers) ProtoReflect

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

func (*Buffers) Reset

func (x *Buffers) Reset()

func (*Buffers) String

func (x *Buffers) String() string

type Service

type Service struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Buffer []byte `protobuf:"bytes,2,opt,name=buffer,proto3" json:"buffer,omitempty"`
	// contains filtered or unexported fields
}

Service state representation.

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetBuffer

func (x *Service) GetBuffer() []byte

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type Snapshot

type Snapshot struct {
	Final         bool     `protobuf:"varint,1,opt,name=final,proto3" json:"final,omitempty"` // Indicates that the instance shouldn't be resumed.
	Trap          trap.ID  `protobuf:"varint,2,opt,name=trap,proto3,enum=gate.gate.trap.ID" json:"trap,omitempty"`
	Result        int32    `protobuf:"varint,3,opt,name=result,proto3" json:"result,omitempty"` // Meaningful when trap is EXIT.
	MonotonicTime uint64   `protobuf:"varint,4,opt,name=monotonic_time,json=monotonicTime,proto3" json:"monotonic_time,omitempty"`
	Breakpoints   []uint64 `protobuf:"varint,5,rep,packed,name=breakpoints,proto3" json:"breakpoints,omitempty"`
	// contains filtered or unexported fields
}

func (*Snapshot) Descriptor deprecated

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

Deprecated: Use Snapshot.ProtoReflect.Descriptor instead.

func (*Snapshot) GetBreakpoints

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

func (*Snapshot) GetFinal

func (x *Snapshot) GetFinal() bool

func (*Snapshot) GetMonotonicTime

func (x *Snapshot) GetMonotonicTime() uint64

func (*Snapshot) GetResult

func (x *Snapshot) GetResult() int32

func (*Snapshot) GetTrap

func (x *Snapshot) GetTrap() trap.ID

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) ProtoReflect

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

func (*Snapshot) Reset

func (x *Snapshot) Reset()

func (*Snapshot) String

func (x *Snapshot) String() string

Jump to

Keyboard shortcuts

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