file

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfiguration

type AppConfiguration struct {
	Info     Info                      `yaml:"info"`
	EnvGraph []environment.Environment `yaml:"environmentGraph"`
	YamlKeys []string                  `yaml:"yamlKeys"`
}

func (*AppConfiguration) UpdateAppConfiguration

func (a *AppConfiguration) UpdateAppConfiguration()

type AppConfigurationFile

type AppConfigurationFile struct {
	Path             string
	Name             string
	Info             Info
	EnvironmentGraph []environment.Environment
	YamlKeys         []string
	ByteContent      []byte
	StringContent    string
}

LodestarFile

func NewAppConfigurationFile

func NewAppConfigurationFile(path string) (*AppConfigurationFile, error)

func (*AppConfigurationFile) GetByteContent

func (a *AppConfigurationFile) GetByteContent() []byte

func (*AppConfigurationFile) GetEnvironment

func (a *AppConfigurationFile) GetEnvironment(environment string) (*environment.Environment, error)

func (*AppConfigurationFile) GetStringContent

func (a *AppConfigurationFile) GetStringContent() string

func (*AppConfigurationFile) Output

func (a *AppConfigurationFile) Output() error

func (*AppConfigurationFile) Print

func (a *AppConfigurationFile) Print()

type Info

type Info struct {
	Name        string `yaml:"name"`
	Type        string `yaml:"type"`
	Description string `yaml:"description"`
	RepoUrl     string `yaml:"repoUrl"`
	Target      string `yaml:"target"`
	StatePath   string `yaml:"statePath"`
}

Jump to

Keyboard shortcuts

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