Documentation ¶
Index ¶
- Variables
- func AddInstance(ctx context.Context, i wasm.Instance) types.SFID
- func AddInstanceByID(ctx context.Context, id types.SFID, i wasm.Instance)
- func DelInstance(ctx context.Context, id types.SFID) error
- func GetConsumer(id types.SFID) wasm.Instance
- func GetInstanceState(id types.SFID) (enums.InstanceState, bool)
- func NewInstance(ctx context.Context, path string, id types.SFID) error
- func StartInstance(ctx context.Context, id types.SFID) error
- func StopInstance(ctx context.Context, id types.SFID) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("instance not found")
)
Functions ¶
func GetInstanceState ¶
func GetInstanceState(id types.SFID) (enums.InstanceState, bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.