Documentation ¶
Index ¶
- Variables
- func AddOverwrites(server *objects.Server, overwrites map[string]objects.Overwrite)
- func CheckScriptPath(filepath string) error
- func DeleteServer(serverName string) error
- func FileExist(filepath string) bool
- func GetFileList(directoryPath string) ([]os.FileInfo, error)
- func GetServer(serverID string, overwrites map[string]objects.Overwrite) (server objects.Server, err error)
- func GetServers(overwrites map[string]objects.Overwrite) ([]objects.Server, error)
- func LoadFromFile(s interface{}, filepath string) error
- func LoadOverwrites(overwrites interface{}) error
- func LoadScripts(scripts map[string]objects.Script) error
- func RemoveServer(serverID string) error
- func RunScript(scriptPath string, server objects.Server, scriptID string, timeout int) error
- func SaveOverwrites(overwrites interface{}) error
- func ServerExist(serverID string) bool
- func UpdateServer(server objects.Server) (writeerr error)
- func WriteStructToFile(s interface{}, filepath string, appendToFile bool) (err error)
- func WriteToFile(filepath string, content string, appendToFile bool, filemode os.FileMode) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SyncOutputMutex sync.Mutex
)
Functions ¶
func AddOverwrites ¶
func CheckScriptPath ¶
func DeleteServer ¶
func GetServers ¶
func LoadFromFile ¶
func LoadOverwrites ¶
func LoadOverwrites(overwrites interface{}) error
func RemoveServer ¶
func SaveOverwrites ¶
func SaveOverwrites(overwrites interface{}) error
func ServerExist ¶
func UpdateServer ¶
func WriteStructToFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.