flyctl

package
v0.5.16 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 10 Imported by: 2 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

View Source
const (
	ConfigAPIToken        = "access_token"
	ConfigAPIBaseURL      = "api_base_url"
	ConfigFlapsBaseUrl    = "flaps_base_url"
	ConfigAppName         = "app"
	ConfigVerboseOutput   = "verbose"
	ConfigBuiltinsfile    = "builtins_file"
	ConfigGQLErrorLogging = "gqlerrorlogging"
	ConfigInstaller       = "installer"
	BuildKitNodeID        = "buildkit_node_id"

	ConfigWireGuardState      = "wire_guard_state"
	ConfigWireGuardWebsockets = "wire_guard_websockets"
	ConfigWireGuardTokenMode  = "wire_guard_token_mode"
	ConfigAppSecretsMinvers   = "app_secrets_minvers"

	ConfigRegistryHost = "registry_host"
)
View Source
const NSRoot = "flyctl"

Variables

This section is empty.

Functions

func ConfigDir

func ConfigDir() string

ConfigDir - Returns Directory holding the Config file

func ConfigFilePath added in v0.0.233

func ConfigFilePath() string

ConfigFilePath - returns the path to the config file

func InitConfig

func InitConfig()

InitConfig - Initialises config file for Viper

Types

type Config

type Config interface {
	GetString(key string) string
	GetBool(key string) bool
	GetStringSlice(key string) []string
	GetInt(key string) int
	IsSet(key string) bool
	Set(key string, value any)
}
var FlyConfig Config = ConfigNS(NSRoot)

func ConfigNS

func ConfigNS(ns string) Config

Jump to

Keyboard shortcuts

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