Documentation ¶
Index ¶
- Variables
- func AddJob(server objects.Server) error
- func CheckScriptPath(path string) error
- func CompleteJob(workerID string, jobID string) error
- func EnrollServer(server objects.Server) error
- func GetFilteredServersList(groups []string, properties map[string]string) ([]objects.Server, error)
- func GetJob(workerID string) (job objects.Job, err error)
- func GetJobQueueLength() float64
- func GetRunningJobInfo(jobID string) objects.Job
- func GetServer(serverID string) (server objects.Server, err error)
- func GetServerCount() float64
- func GetServers() ([]objects.Server, error)
- func GetStatus(serverID string) (inQueue bool, active bool, workerID string)
- func GetWorkingQueueLength() float64
- func Initialize(backend string)
- func InitializeAuthentication()
- func InitializeQueue()
- func IsServerActive(server objects.Server) bool
- func IsServerIDActive(serverID string) bool
- func LoadAuthentication() error
- func LoadOverwrites() error
- func LoadScripts() error
- func RemoveServer(serverID string) error
- func RunScript(scriptPath string, server objects.Server, scriptID string, timeout int) error
- func SaveOverwrites() error
- func ServerExist(server objects.Server) bool
- func StopJob(job objects.Job) error
- func StopJobID(jobID string) error
- func UpdateServer(server objects.Server) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Backend string Users map[string]objects.User Scripts map[string]objects.Script SyncGetInventoryMutex sync.Mutex )
View Source
var (
Overwrites map[string]objects.Overwrite
)
Functions ¶
func CheckScriptPath ¶
func CompleteJob ¶
func EnrollServer ¶
func GetFilteredServersList ¶
func GetJobQueueLength ¶
func GetJobQueueLength() float64
func GetRunningJobInfo ¶
func GetServerCount ¶
func GetServerCount() float64
func GetServers ¶
func GetWorkingQueueLength ¶
func GetWorkingQueueLength() float64
func Initialize ¶
func Initialize(backend string)
func InitializeAuthentication ¶
func InitializeAuthentication()
func InitializeQueue ¶
func InitializeQueue()
func IsServerActive ¶
func IsServerIDActive ¶
func LoadAuthentication ¶
func LoadAuthentication() error
func LoadOverwrites ¶
func LoadOverwrites() error
func LoadScripts ¶
func LoadScripts() error
func RemoveServer ¶
func SaveOverwrites ¶
func SaveOverwrites() error
func ServerExist ¶
func UpdateServer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.