callhook

package
v0.0.0-...-1054c60 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleContainerHook

func HandleContainerHook(lxdPath string, projectName string, instanceRef string, hook string) error

HandleContainerHook passes the callhook request to the LXD server via the UNIX socket.

func ParseArgs

func ParseArgs(args []string) (lxdPath string, projectName string, instanceRef string, hook string, cdiHooksFiles []string, err error)

ParseArgs parses callhook request into constituent parts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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