app

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	KubeConfigFile string
	ListenHTTPAddr string
	InstallCRDs    bool
}

Config contains configuration for workflow controller application

func NewWorkflowControllerConfig

func NewWorkflowControllerConfig() *Config

NewWorkflowControllerConfig builds and returns a workflow controller Config

func (*Config) AddFlags

func (c *Config) AddFlags(fs *pflag.FlagSet)

AddFlags add cobra flags to populate Config

type WorkflowController

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

WorkflowController contains all info to run the worklow controller app

func NewWorkflowControllerApp

func NewWorkflowControllerApp(c *Config) *WorkflowController

NewWorkflowControllerApp initializes and returns a ready to run WorkflowController and CronWorkflowController

func (*WorkflowController) Run

func (c *WorkflowController) Run()

Run executes the WorkflowController

Jump to

Keyboard shortcuts

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