Semaphore/db_lib/LocalApp.go

14 lines
333 B
Go
Raw Normal View History

2024-01-30 16:42:56 +01:00
package db_lib
import (
"os"
"github.com/ansible-semaphore/semaphore/pkg/task_logger"
2024-01-30 16:42:56 +01:00
)
type LocalApp interface {
SetLogger(logger task_logger.Logger) task_logger.Logger
InstallRequirements(environmentVars *[]string) error
Run(args []string, environmentVars *[]string, inputs map[string]string, cb func(*os.Process)) error
2024-01-30 16:42:56 +01:00
}