utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package utils contains small shared helpers used by plugins.

Today it primarily provides hook execution utilities used by the reconciler to run shell scripts from deployment hook directories.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteHooks

func ExecuteHooks(ctx context.Context, dir string, env []string, logger *slog.Logger, timeout time.Duration) error

ExecuteHooks runs all executable scripts in a specific directory in lexical order.

Each script receives its own timeout budget derived from the parent context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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