trigger

package
v0.0.0-...-ffd2651 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(blocking Blocking, hook Hook, action Action) string

Types

type Action

type Action int
const (
	Start Action = iota
	Stop
	Provision
	Unprovision
	Startstandby
	Shutdown
	SyncNodes
	SyncDRP
	SyncAll
	SyncResync
	SyncUpdate
	SyncRestore
	Run
	OnError // tasks use that as an action
	Command // tasks use that as an action
)

func (Action) String

func (t Action) String() string

type Blocking

type Blocking int
const (
	Block Blocking = iota
	NoBlock
)

func (Blocking) String

func (t Blocking) String() string

type Hook

type Hook int
const (
	Pre Hook = iota
	Post
)

func (Hook) String

func (t Hook) String() string

Jump to

Keyboard shortcuts

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