hooks

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStages added in v0.7.0

func GetStages(disable map[string]struct{}) []rmconfig.RuntimeHookType

func RunHooks

func RunHooks(stage rmconfig.RuntimeHookType, protocol protocol.HooksProtocol)

Types

type Hook

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

func Register

func Register(stage rmconfig.RuntimeHookType, name, description string, hookFn HookFn) *Hook

type HookFn

type HookFn func(protocol.HooksProtocol) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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