app

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 13 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.

func WithSettingsCheck added in v0.6.0

func WithSettingsCheck(check settingscheck.Check) RunConfigOption

Jump to

Keyboard shortcuts

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