script

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommand

func RunCommand(timeout int, scriptType string, args ...string) (out []byte, err error)

func StartScriptScheduler

func StartScriptScheduler(scriptDirs string, scriptType string, report *reporter.Reporter)

Types

type FileScanner

type FileScanner struct {
	// contains filtered or unexported fields
}

func (*FileScanner) GetAllFiles

func (s *FileScanner) GetAllFiles(root string) []string

type Scheduler

type Scheduler struct {
	// contains filtered or unexported fields
}

func NewScheduler

func NewScheduler(s *Script, r *reporter.Reporter) *Scheduler

func (*Scheduler) Start

func (s *Scheduler) Start()

func (*Scheduler) Stop

func (s *Scheduler) Stop()

type Script

type Script struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL