config

package
v0.0.0-...-b81d1be Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package config provides a centralized entrypoint for the application parameters.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Global is a struct that contains the global configuration.
	Global global
	// GitHub is a struct that contains the configuration for GitHub.
	GitHub github
	// Promotion is a struct that contains the configuration for promotion.
	Promotion promotion
	// Service is a struct that contains the configuration for the service mode.
	Service service
	// Lambda is a struct that contains the configuration for the lambda mode.
	Lambda lambda
)

Functions

func LoadFromFile

func LoadFromFile(path string) error

LoadFromFile loads the configuration from a file.

func SetDefaults

func SetDefaults() error

SetDefaults sets the default values for the configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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