runner

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	// Runner's hash
	Hash github_com_mesg_foundation_engine_hash.Hash `protobuf:"bytes,1,opt,name=hash,proto3,customtype=github.com/mesg-foundation/engine/hash.Hash" json:"hash" hash:"-"`
	// owner of the engine of this runner
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty" hash:"name:2"`
	// instanceHash is hash of the instance that runner will handle
	InstanceHash github_com_mesg_foundation_engine_hash.Hash `` /* 136-byte string literal not displayed */
	// The address of the runner.
	Address              github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
	XXX_unrecognized     []byte                                        `json:"-"`
	XXX_sizecache        int32                                         `json:"-"`
}

Runner represents one node service's instance.

func New added in v0.20.0

func New(owner string, instanceHash hash.Hash) *Runner

New returns a new execution.

func (*Runner) Descriptor

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

func (*Runner) Equal

func (this *Runner) Equal(that interface{}) bool

func (*Runner) ProtoMessage

func (*Runner) ProtoMessage()

func (*Runner) Reset

func (m *Runner) Reset()

func (*Runner) String

func (m *Runner) String() string

func (*Runner) XXX_DiscardUnknown

func (m *Runner) XXX_DiscardUnknown()

func (*Runner) XXX_Marshal

func (m *Runner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Runner) XXX_Merge

func (m *Runner) XXX_Merge(src proto.Message)

func (*Runner) XXX_Size

func (m *Runner) XXX_Size() int

func (*Runner) XXX_Unmarshal

func (m *Runner) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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