trigger

package
v3.0.0-rc72 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
	SyncSplit
	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