config

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	AuthenticationType         string `envconfig:"MIGRATION_PLANNER_AUTH" default:""`
	JwkCertURL                 string `envconfig:"MIGRATION_PLANNER_JWK_URL" default:""`
	LocalPrivateKey            string `envconfig:"MIGRATION_PLANNER_PRIVATE_KEY" default:""`
	AgentAuthenticationEnabled bool   `envconfig:"MIGRATION_PLANNER_AGENT_AUTH_ENABLED" default:"true"`
}

type Config

type Config struct {
	Database *dbConfig
	Service  *svcConfig
}

func New

func New() (*Config, error)

type Sizer added in v0.4.0

type Sizer struct {
	ServiceURL string `envconfig:"SIZER_SERVICE_URL" default:"http://migration-planner-sizer:9200"`
	Timeout    string `envconfig:"SIZER_SERVICE_TIMEOUT" default:"60s"`
}

Jump to

Keyboard shortcuts

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