shell_operator

package
v1.0.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: Apache-2.0 Imports: 18 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WorkingDir string
	TempDir    string

	// The hostname is the same as the pod name. Can be used for API requests.
	Hostname string

	TasksQueue *task.TasksQueue

	HookManager hook.HookManager

	ScheduleManager schedule_manager.ScheduleManager
	ScheduledHooks  schedule_hook.ScheduledHooksStorage

	KubeEventsManager kube_events_manager.KubeEventsManager
	KubeEventsHooks   kube_event_hook.KubeEventsHooksController

	MetricsStorage *metrics_storage.MetricStorage

	// ManagersEventsHandlerStopCh is the channel object for stopping infinite loop of the ManagersEventsHandler.
	ManagersEventsHandlerStopCh chan struct{}
)
View Source
var (
	QueueIsEmptyDelay = 3 * time.Second
	FailedHookDelay   = 5 * time.Second
)

Functions

func CreateOnStartupTasks

func CreateOnStartupTasks()

func Init added in v1.0.11

func Init() (err error)

Start is an implementation of a start command

func InitHttpServer

func InitHttpServer(listenAddr *net.TCPAddr)

func ManagersEventsHandler

func ManagersEventsHandler()

func Run

func Run()

func RunMetrics

func RunMetrics()

func TasksRunner

func TasksRunner()

Types

This section is empty.

Jump to

Keyboard shortcuts

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