manager

package
v0.26.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HookAttr

func HookAttr(hooks map[string]map[string]interface{}, hook string, attr string) (interface{}, error)

func HookAttrBool

func HookAttrBool(hooks map[string]map[string]interface{}, hook string, attr string) (bool, error)

func HookAttrString

func HookAttrString(hooks map[string]map[string]interface{}, hook string, attr string) (string, error)

Types

type Manager

type Manager struct {
	Logger     logr.Logger
	Collection collection.Service
	Watcher    watcher.Service
	Pipelines  *pipeline.Registry
	Hooks      map[string]map[string]interface{}
}

Manager carries workflow and activity dependencies.

func NewManager

func NewManager(logger logr.Logger, colsvc collection.Service, wsvc watcher.Service, pipelines *pipeline.Registry, hooks map[string]map[string]interface{}) *Manager

NewManager returns a pointer to a new Manager.

Jump to

Keyboard shortcuts

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