supbapis

package
v0.0.0-...-5fda629 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MulanPSL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assume

type Assume interface {
	Done() uint64
	Cancel()
}

type Recorder

type Recorder interface {
	WriteAssume(key string, value []byte) (Assume, error)

	//Write(key string, value []byte) error
	Read(key string) ([]byte, error)

	DeleteAssume(key string) (Assume, error)

	WatchKey(key string) clientv3.WatchChan
	WatchPrefix(prefix string) clientv3.WatchChan
}

type Runner

type Runner interface {
	Run(compose *compose.Containers) (*compose.RunningBaseInfo, error)
	Remove(compose *compose.Containers) error

	Stop(compose *compose.Containers) error
	Restart(compose *compose.Containers) error
}

Jump to

Keyboard shortcuts

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