api.go 353 Bytes
Newer Older
songlinfeng's avatar
songlinfeng committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
# Copyright (c) 2024, HCUOpt CORPORATION.  All rights reserved.
**/

package engine

// Interface defines the API for a runtime config updater.
type Interface interface {
	DefaultRuntime() string
	AddRuntime(string, string, bool, ...map[string]interface{}) error
	Set(string, interface{})
	RemoveRuntime(string) error
	Save(string) (int64, error)
}