config

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 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"`
	DefaultDockerImage string `json:"defaultDockerImage"`
	ToolDir            string `json:"toolDir"`
	MaxStepTimeout     int    `json:"maxStepTimeout"`
	MaxPipelineTimeout int    `json:"maxPipelineTimeout"`
}

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