Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
Options configure runtime
type Runtime ¶
type Runtime interface { // ID returns runtime ID ID() string // Name returns runtime name Name() string // Version returns runtime version Version() string // Metadata returns runtime metadata Metadata() map[string]string // Init initializes runtime Init(...Option) error // Start starts the runtime Start(ctx context.Context) error // Stop shuts down the runtime Stop(context.Context) error // String describes runtime String() string }
Runtime is a service runtime manager
func NewRuntime ¶
NewRuntime creates new local runtime and returns it
Click to show internal directories.
Click to hide internal directories.