actions

package
v0.0.0-...-3d20527 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2019 License: Apache-2.0 Imports: 6 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCounter

func NewCounter(name string) prometheus.Counter

func RegisterAction

func RegisterAction(kind string, action ActionFactory)

Types

type Action

type Action interface {
	Apply(multistep.StateBag)
}

func BuildActionsFromConfiguration

func BuildActionsFromConfiguration(config *viper.Viper) []Action

type ActionFactory

type ActionFactory interface {
	BuildAction(config map[string]interface{}) Action
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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