scheduler

package
v0.2.40 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ConfigMapConfigFileName file name of the ConfigMap for the 'config' configuration
	ConfigMapConfigFileName = "config-cm.yaml"

	// ConfigMapPluginsFileName file name of the ConfigMap for the 'plugins' configuration
	ConfigMapPluginsFileName = "plugins-cm.yaml"

	// ConfigKey the name of key in the ConfigMap for the configuration of the `config`
	ConfigKey = "config.yaml"

	// PluginsKey the name of key in the ConfigMap for the configuration of the `plugins`
	PluginsKey = "plugins.yaml"
)

Variables

This section is empty.

Functions

func EvaluateTemplate added in v0.0.323

func EvaluateTemplate(templateText string, requirements *jxcore.RequirementsConfig) (string, error)

EvaluateTemplate evaluates the go template for the given value

Types

type Options

type Options struct {
	Dir           string
	OutDir        string
	SourceRepoDir string
	SchedulerDir  []string
	Namespace     string
	InRepoConfig  bool
}

LabelOptions the options for the command

func NewCmdScheduler

func NewCmdScheduler() (*cobra.Command, *Options)

NewCmdScheduler creates a command object for the command

func (*Options) Run

func (o *Options) Run() error

Jump to

Keyboard shortcuts

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