hooks

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package hooks has the version setup hooks related functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHook

func AddHook(hook string)

AddHook adds a new hook to be triggered. It would be a script or a command (command use is not implemented yet)

func ExecuteHook

func ExecuteHook(hook string)

ExecuteHook executes a hook

func ListHooks

func ListHooks() []string

ListHooks lists all configured hooks

Types

This section is empty.

Jump to

Keyboard shortcuts

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