config

package
v0.6.70 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MIT Imports: 1 Imported by: ? 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

View Source
var GlobalConfig = NewConstants()

Functions

This section is empty.

Types

type AllConfig added in v0.3.0

type AllConfig interface {
	InitConfig
	GetBrevAPIURl() string
	GetVersion() string
	GetDefaultClusterID() string
}

type ConstantsConfig added in v0.2.0

type ConstantsConfig struct{}

func NewConstants added in v0.2.0

func NewConstants() *ConstantsConfig

func (ConstantsConfig) GetBrevAPIURl added in v0.2.0

func (c ConstantsConfig) GetBrevAPIURl() string

func (ConstantsConfig) GetDefaultClusterID added in v0.2.0

func (c ConstantsConfig) GetDefaultClusterID() string

func (ConstantsConfig) GetDefaultWorkspaceClass added in v0.6.0

func (c ConstantsConfig) GetDefaultWorkspaceClass() string

func (ConstantsConfig) GetDefaultWorkspaceTemplate added in v0.6.0

func (c ConstantsConfig) GetDefaultWorkspaceTemplate() string

func (ConstantsConfig) GetSentryURL added in v0.6.56

func (c ConstantsConfig) GetSentryURL() string

func (ConstantsConfig) GetServiceMeshCoordServerURL added in v0.6.20

func (c ConstantsConfig) GetServiceMeshCoordServerURL() string

func (ConstantsConfig) GetVersion added in v0.2.0

func (c ConstantsConfig) GetVersion() string

func (*ConstantsConfig) WithEnvVars added in v0.2.0

func (c *ConstantsConfig) WithEnvVars() *EnvVarConfig

type EnvVarConfig added in v0.2.0

type EnvVarConfig struct {
	ConstantsConfig
}

func (*EnvVarConfig) WithFileConfig added in v0.2.0

func (c *EnvVarConfig) WithFileConfig() *FileConfig

type EnvVarName added in v0.1.2

type EnvVarName string // should be caps with underscore

type FileConfig added in v0.2.0

type FileConfig struct {
	EnvVarConfig
}

func (*FileConfig) WithFlags added in v0.2.0

func (c *FileConfig) WithFlags() *FlagsConfig

type FlagsConfig added in v0.2.0

type FlagsConfig struct {
	FileConfig
}

type InitConfig added in v0.3.0

type InitConfig interface{}

Jump to

Keyboard shortcuts

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