Help us shape the future of Go! Take the 2026 Go Developer Survey

user

package
v0.11.796 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ADBCDriverDir added in v0.11.783

func ADBCDriverDir() (string, error)

ADBCDriverDir returns Bruin's driver directory, or "" when BRUIN_HOME is unset.

func ADBCDriverPath added in v0.11.783

func ADBCDriverPath(name string) (string, error)

ADBCDriverPath selects Bruin's manifest without changing the process-wide ADBC search path. With no override, the driver manager keeps its usual lookup.

func EnsureADBCDriverConfig added in v0.11.783

func EnsureADBCDriverConfig(name string) (config.Config, error)

EnsureADBCDriverConfig relocates Bruin-managed drivers on first use. ConfigEnv uses filesystem manifests on Windows too, rather than the user registry.

Types

type ConfigManager

type ConfigManager struct {
	// contains filtered or unexported fields
}

func NewConfigManager

func NewConfigManager(fs afero.Fs) *ConfigManager

func (*ConfigManager) EnsureAndGetBruinHomeDir added in v0.11.99

func (c *ConfigManager) EnsureAndGetBruinHomeDir() (string, error)

func (*ConfigManager) EnsureHomeDirExists

func (c *ConfigManager) EnsureHomeDirExists() error

func (*ConfigManager) EnsureVirtualenvDirExists

func (c *ConfigManager) EnsureVirtualenvDirExists() error

func (*ConfigManager) MakeVirtualenvPath

func (c *ConfigManager) MakeVirtualenvPath(dirName string) string

func (*ConfigManager) RecreateHomeDir added in v0.1.9

func (c *ConfigManager) RecreateHomeDir() error

Jump to

Keyboard shortcuts

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