config

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

func New

func New(profiles ...string) *Config

func (*Config) Data

func (cfg *Config) Data() map[string]interface{}

func (*Config) File added in v1.0.7

func (cfg *Config) File() string

func (*Config) Get

func (cfg *Config) Get(name string) (interface{}, bool)

func (*Config) GetEnvVarList added in v1.0.2

func (cfg *Config) GetEnvVarList() []string

func (*Config) GetEnvVars added in v1.0.2

func (cfg *Config) GetEnvVars() map[string]string

func (*Config) ManifestExists added in v1.0.8

func (cfg *Config) ManifestExists() bool

func (*Config) Raw added in v1.0.7

func (cfg *Config) Raw() ([]byte, error)

Jump to

Keyboard shortcuts

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