hooks

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandPostHook

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

CommandPostHook executes given commands when a certificate has been updated.

func NewCommandPostHook

func NewCommandPostHook(commands []string) (*CommandPostHook, error)

func (*CommandPostHook) Invoke

func (hook *CommandPostHook) Invoke() error

type NopHook

type NopHook struct {
}

NopHook does nothing and is used if no (valid) hook provided was given.

func (*NopHook) Invoke

func (hook *NopHook) Invoke() error

Jump to

Keyboard shortcuts

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