extension

package
v0.0.0-...-07af6e5 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BrowserForwarderType

func BrowserForwarderType() interface{}

func InstanceManagementType

func InstanceManagementType() interface{}

func ObservatoryType

func ObservatoryType() interface{}

Types

type BrowserForwarder

type BrowserForwarder interface {
	DialWebsocket(url string, header http.Header) (io.ReadWriteCloser, error)
}

type ContextReceiver

type ContextReceiver interface {
	InjectContext(ctx context.Context)
}

type InstanceManagement

type InstanceManagement interface {
	features.Feature
	ListInstance(ctx context.Context) ([]string, error)
	AddInstance(ctx context.Context, name string, config []byte, configType string) error
	StartInstance(ctx context.Context, name string) error
	StopInstance(ctx context.Context, name string) error
	UntrackInstance(ctx context.Context, name string) error
}

InstanceManagement : unstable

type Observatory

type Observatory interface {
	features.Feature
	GetObservation(ctx context.Context) (proto.Message, error)
}

type PersistentStorageEngine

type PersistentStorageEngine interface {
	features.Feature
	PersistentStorageEngine()
	Put(ctx context.Context, key []byte, value []byte) error
	Get(ctx context.Context, key []byte) ([]byte, error)
	List(ctx context.Context, keyPrefix []byte) ([][]byte, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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