config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2018 License: Apache-2.0 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 {
	Name         string   `yaml:"name"` // Display name
	Selected     bool     // Selected config or not
	Status       bool     // Display or not
	Config       []Config `yaml:"config"`        // Sub-configs (recursive)
	Command      string   `yaml:"command"`       // bash command
	Container    string   `yaml:"container"`     // The name of the image from which the container is made
	ChildConfigs []Config `yaml:"child_configs"` // Able to insert insert configs structure into child configs.
}

func (*Config) ChildConfigsInsert

func (cfg *Config) ChildConfigsInsert(c *Config)

func (*Config) ChildConfigsPlaceholders

func (cfg *Config) ChildConfigsPlaceholders(name string, c Config) Config

func (*Config) Init

func (cfg *Config) Init(path string)

Jump to

Keyboard shortcuts

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