runtime

package
v0.2020100406381601793... Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_microglot_runtime_v1_messages_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Configuration added in v0.2020091510191600165183.2020091510251600165515

type Configuration struct {

	// The instance of SelectorService to use when loading a system.
	Selector *Instance `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
	// contains filtered or unexported fields
}

Configuration is loaded by the runtime in order to load the necessary core components.

func (*Configuration) Descriptor deprecated added in v0.2020091510191600165183.2020091510251600165515

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

Deprecated: Use Configuration.ProtoReflect.Descriptor instead.

func (*Configuration) GetSelector added in v0.2020091510191600165183.2020091510251600165515

func (x *Configuration) GetSelector() *Instance

func (*Configuration) ProtoMessage added in v0.2020091510191600165183.2020091510251600165515

func (*Configuration) ProtoMessage()

func (*Configuration) ProtoReflect added in v0.2020091510191600165183.2020091510251600165515

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

func (*Configuration) Reset added in v0.2020091510191600165183.2020091510251600165515

func (x *Configuration) Reset()

func (*Configuration) String added in v0.2020091510191600165183.2020091510251600165515

func (x *Configuration) String() string

type Instance added in v0.2020042519191587842380.0

type Instance struct {

	// A URI that represents the implementation to load. The URI protocol will
	// determine the specific loading strategy. For example, most file URIs like
	// file:///path/to/file will be loaded from the local file system. See the
	// LoaderService for more details.
	Implementation string `protobuf:"bytes,1,opt,name=implementation,proto3" json:"implementation,omitempty"`
	// The implementation specific configuration values as required by the
	// factory being used to create an instance. See the FactoryService for
	// details on how configuration values are managed.
	Config *any.Any `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

Runtime instances are similar to selection instances but are not allowed to have dependencies. These special kinds of instances are reserved for the core components that define the runtime and are loaded before the runtime is capable of loading dependencies.

func (*Instance) Descriptor deprecated added in v0.2020042519191587842380.0

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetConfig added in v0.2020042519191587842380.0

func (x *Instance) GetConfig() *any.Any

func (*Instance) GetImplementation added in v0.2020042519191587842380.0

func (x *Instance) GetImplementation() string

func (*Instance) ProtoMessage added in v0.2020042519191587842380.0

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect added in v0.2020042519191587842380.0

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

func (*Instance) Reset added in v0.2020042519191587842380.0

func (x *Instance) Reset()

func (*Instance) String added in v0.2020042519191587842380.0

func (x *Instance) String() string

Jump to

Keyboard shortcuts

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