runtime

package
v0.0.0-...-fc7dab2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	Has(key interface{}) bool
	Get(key interface{}) (interface{}, error)
	Set(key interface{}, val interface{})
	Clear()
}

type InMemoryStore

type InMemoryStore interface {
	Store
	Backend
}

type Runtime

type Runtime interface {
	App() pkg.App
	NodeManager() pkg.NodeManager
	CliParser() pkg.CliParser
	RegisterService(string, service.Service)
	Services() []service.Service
	ServicePolicyByName(string) service.ServicePolicy
	ServiceByName(string) service.Service
	EncKeyStore() InMemoryStore
}

type Store

type Store interface {
	RegisterFallback(handler Store_FallbackHandler)
}

type Store_FallbackHandler

type Store_FallbackHandler func(key interface{}) (interface{}, error)

Jump to

Keyboard shortcuts

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