settings

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated from Pkl module `com.pipelaner.settings.settings`. DO NOT EDIT.

Code generated from Pkl module `com.pipelaner.settings.settings`. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	Logger logger.Config `pkl:"logger"`

	HealthCheck *healthcheck.Config `pkl:"healthCheck"`

	Metrics *metrics.Config `pkl:"metrics"`

	Migrations *[]migrations.Migration `pkl:"migrations"`

	StartGCAfterMessageProcess bool `pkl:"startGCAfterMessageProcess"`

	GracefulShutdownDelay pkl.Duration `pkl:"gracefulShutdownDelay"`

	Pprof *pprof.Config `pkl:"pprof"`
}

func Load

func Load(ctx context.Context, evaluator pkl.Evaluator, source *pkl.ModuleSource) (Settings, error)

Load loads the pkl module at the given source and evaluates it with the given evaluator into a Settings

func LoadFromPath

func LoadFromPath(ctx context.Context, path string) (ret Settings, err error)

LoadFromPath loads the pkl module at the given path and evaluates it into a Settings

Directories

Path Synopsis
Code generated from Pkl module `com.pipelaner.settings.healthcheck.config`.
Code generated from Pkl module `com.pipelaner.settings.healthcheck.config`.
Code generated from Pkl module `com.pipelaner.settings.logger.config`.
Code generated from Pkl module `com.pipelaner.settings.logger.config`.
logformat
Code generated from Pkl module `com.pipelaner.settings.logger.config`.
Code generated from Pkl module `com.pipelaner.settings.logger.config`.
loglevel
Code generated from Pkl module `com.pipelaner.settings.logger.config`.
Code generated from Pkl module `com.pipelaner.settings.logger.config`.
Code generated from Pkl module `com.pipelaner.settings.metrics.config`.
Code generated from Pkl module `com.pipelaner.settings.metrics.config`.
Code generated from Pkl module `com.pipelaner.settings.migrations.config`.
Code generated from Pkl module `com.pipelaner.settings.migrations.config`.
driver
Code generated from Pkl module `com.pipelaner.settings.migrations.config`.
Code generated from Pkl module `com.pipelaner.settings.migrations.config`.
Code generated from Pkl module `com.pipelaner.settings.pprof.config`.
Code generated from Pkl module `com.pipelaner.settings.pprof.config`.

Jump to

Keyboard shortcuts

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