app

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: Apache-2.0 Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(opts ...RunConfigOption)

Types

type ReadinessConfig

type ReadinessConfig struct {
	IntervalInSeconds uint8
	ProbeFunc         func(ctx context.Context, input *pkg.HookInput) error
}

type RunConfigOption

type RunConfigOption func(c *config)

RunConfigOption is a function that modifies the configuration for Run.

func WithReadiness

func WithReadiness(cfg *ReadinessConfig) RunConfigOption

WithLogLevel sets the log level for the application.

Jump to

Keyboard shortcuts

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