app

package
v1.13.5 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2019 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Overview

Package app implements a Server object for running the scheduler.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSchedulerCommand

func NewSchedulerCommand() *cobra.Command

NewSchedulerCommand creates a *cobra.Command object with default parameters

func NewSchedulerConfig added in v1.11.0

func NewSchedulerConfig(s schedulerserverconfig.CompletedConfig) (*factory.Config, error)

NewSchedulerConfig creates the scheduler configuration. This is exposed for use by tests.

func Run added in v1.11.0

func Run(cc schedulerserverconfig.CompletedConfig, stopCh <-chan struct{}) error

Run executes the scheduler based on the given configuration. It only return on error or when stopCh is closed.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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