scheduler

package module
v0.0.0-...-176584a Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultProperties is a map of all valid scheduler properties with corresponding default property values
	DefaultProperties = map[string]string{
		"selected": "docker-local",
	}

	// GlobalProperties is a map of all valid global scheduler properties
	GlobalProperties = map[string]bool{
		"selected": true,
	}
)

Functions

func CommandReport

func CommandReport(appName string, format string, infoFlag string) error

CommandReport displays a scheduler report for one or more apps

func CommandSet

func CommandSet(appName string, property string, value string) error

CommandSet set or clear a scheduler property for an app

func ReportSingleApp

func ReportSingleApp(appName string, format string, infoFlag string) error

ReportSingleApp is an internal function that displays the scheduler report for one or more apps

func TriggerInstall

func TriggerInstall() error

TriggerInstall runs the install step for the scheduler plugin

func TriggerPostAppCloneSetup

func TriggerPostAppCloneSetup(oldAppName string, newAppName string) error

TriggerPostAppCloneSetup creates new scheduler files

func TriggerPostAppRenameSetup

func TriggerPostAppRenameSetup(oldAppName string, newAppName string) error

TriggerPostAppRenameSetup renames scheduler files

func TriggerPostDelete

func TriggerPostDelete(appName string) error

TriggerPostDelete destroys the scheduler property for a given app container

func TriggerSchedulerDetect

func TriggerSchedulerDetect(appName string) error

TriggerSchedulerDetect outputs a manually selected scheduler for the app

Types

This section is empty.

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

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