settings

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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

Code generated from Pkl module `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.LoggerConfig `pkl:"logger"`

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

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

	StartGCAfterMessageProcess bool `pkl:"startGCAfterMessageProcess"`
}

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.HealthcheckConfig`.
Code generated from Pkl module `com.pipelaner.settings.healthcheck.HealthcheckConfig`.
Code generated from Pkl module `com.pipelaner.settings.logger.LoggerConfig`.
Code generated from Pkl module `com.pipelaner.settings.logger.LoggerConfig`.
logformat
Code generated from Pkl module `com.pipelaner.settings.logger.LoggerConfig`.
Code generated from Pkl module `com.pipelaner.settings.logger.LoggerConfig`.
loglevel
Code generated from Pkl module `com.pipelaner.settings.logger.LoggerConfig`.
Code generated from Pkl module `com.pipelaner.settings.logger.LoggerConfig`.
Code generated from Pkl module `com.pipelaner.settings.metrics.MetricsConfig`.
Code generated from Pkl module `com.pipelaner.settings.metrics.MetricsConfig`.

Jump to

Keyboard shortcuts

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