config

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 4 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(location string) (*Config, error)

func (*Config) GetApplicationTemplate

func (c *Config) GetApplicationTemplate() string

func (*Config) GetInfrastructureTemplate

func (c *Config) GetInfrastructureTemplate() string

func (*Config) GetPackageTemplate

func (c *Config) GetPackageTemplate() string

func (*Config) GetRunner

func (c *Config) GetRunner(runner string) (*Runner, error)

func (*Config) GetServiceTemplate

func (c *Config) GetServiceTemplate() string

func (*Config) Load

func (c *Config) Load() error

type Runner

type Runner struct {
	Cmd     string   `yaml:"cmd"`
	EnvVars []string `yaml:"env"`
	Log     log      `yaml:"log"`
}

Jump to

Keyboard shortcuts

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