Semaphore/db_lib/LocalApp.go
2024-10-21 11:03:12 +00:00

14 lines
333 B
Go

package db_lib
import (
"os"
"github.com/ansible-semaphore/semaphore/pkg/task_logger"
)
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
}