config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 3 Imported by: 0 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildK8sDeploy

func BuildK8sDeploy(c *Config) error

Types

type Config

type Config struct {
	K8sDeploy
	ConfigBuilder.Config
}

func Build

func Build(buildVersion string) (*Config, error)

type Credentials added in v0.2.0

type Credentials struct {
	Key       string `env:"K8SDEPLOY_KEY" envDefault:""`
	Secret    string `env:"K8SDEPLOY_SECRET" envDefault:""`
	CompanyID string `env:"K8SDEPLOY_COMPANY_ID" envDefault:""`
}

type K8sDeploy

type K8sDeploy struct {
	APIAddress    string `env:"API_ADDRESS" envDefault:"https://api.k8sdeploy.dev/v1"`
	SocketAddress string `env:"SOCKET_ADDRESS" envDefault:"https://sockets.chewedfeed.com"`
	SelfUpdate    bool   `env:"K8SDEPLOY_SELF_UPDATE" envDefault:"false"`
	BuildVersion  string `env:"BUILD_VERSION" envDefault:""`

	Credentials
}

Jump to

Keyboard shortcuts

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