config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigFile

func GetConfigFile() string

func GetConfigHome

func GetConfigHome() (string, error)

Types

type Config

type Config struct {
	WorkDir          string `json:"workDir"`
	DefaultImage     string `json:"defaultImage"`
	OutputDir        string `json:"outputDir"`
	DockerVersion    string `json:"dockerVersion"`
	HostDockerDaemon string `json:"hostDockerDaemon"`
	ToolDir          string `json:"toolDir"`
}

func LoadConfig

func LoadConfig() (*Config, error)

func NewConfig

func NewConfig() *Config

func (*Config) Persistent

func (c *Config) Persistent() error

Jump to

Keyboard shortcuts

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