config

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuilderVar

type BuilderVar struct {
	Name        string `yaml:"name"`
	Description string `yaml:"description"`
	VarType     string `yaml:"type"`
}

type BuilderVarDefault added in v0.0.23

type BuilderVarDefault struct {
	Name         string `yaml:"name"`
	Value        string `yaml:"value"`
	ReferenceVar string `yaml:"referenceVar"`
}

type DraftConfig

type DraftConfig struct {
	NameOverrides    []FileNameOverride  `yaml:"nameOverrides"`
	Variables        []BuilderVar        `yaml:"variables"`
	VariableDefaults []BuilderVarDefault `yaml:"variableDefaults"`
	// contains filtered or unexported fields
}

TODO: remove Name Overrides since we don't need them anymore

func (*DraftConfig) GetNameOverride

func (d *DraftConfig) GetNameOverride(path string) string

type FileNameOverride

type FileNameOverride struct {
	Path   string `yaml:"path"`
	Prefix string `yaml:"prefix"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳