config

package
v0.6.321 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: MIT Imports: 1 Imported by: 0

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) GetBrevAuthIssuerURL added in v0.6.317

func (c ConstantsConfig) GetBrevAuthIssuerURL() string

func (ConstantsConfig) GetBrevAuthURL added in v0.6.315

func (c ConstantsConfig) GetBrevAuthURL() string

func (ConstantsConfig) GetBrevGRPCURL added in v0.6.317

func (c ConstantsConfig) GetBrevGRPCURL() string

func (ConstantsConfig) GetBrevPublicAPIURL added in v0.6.317

func (c ConstantsConfig) GetBrevPublicAPIURL() string

GetBrevPublicAPIURL returns the public REST API URL (no auth required)

func (ConstantsConfig) GetConsoleURL added in v0.6.315

func (c ConstantsConfig) GetConsoleURL() string

func (ConstantsConfig) GetDebugHTTP added in v0.6.280

func (c ConstantsConfig) GetDebugHTTP() bool

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) GetOllamaAPIURL added in v0.6.285

func (c ConstantsConfig) GetOllamaAPIURL() string

type EnvVarConfig added in v0.2.0

type EnvVarConfig struct {
	ConstantsConfig
}

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
}

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