Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildRecord ¶
type BuildRecord struct {
Steps []*StepRecord `hcl:"step,expand"`
}
type Record ¶
type Record struct { Values []*ValueRecord `hcl:"value"` Builds map[string]*BuildRecord `hcl:"build"` }
type StepRecord ¶
type StepRecord struct { Type string `hcl:",key"` Url string Image string Cmd string Dir string Username string Password string DecodedFields []string `hcl:",decodedFields"` }
func (*StepRecord) HasParameter ¶
func (sr *StepRecord) HasParameter(s string) bool
type ValueEngine ¶
type ValueEngine struct {
// contains filtered or unexported fields
}
func NewValueEngine ¶
func NewValueEngine() *ValueEngine
func (*ValueEngine) AddValue ¶
func (ve *ValueEngine) AddValue(vr *ValueRecord)
func (*ValueEngine) EnvVars ¶
func (ve *ValueEngine) EnvVars() []string
func (*ValueEngine) HasValue ¶
func (ve *ValueEngine) HasValue(name string) bool
func (*ValueEngine) ResolveValues ¶
func (ve *ValueEngine) ResolveValues(astring string) (string, error)
func (*ValueEngine) ValidateValue ¶
func (ve *ValueEngine) ValidateValue(astring string) error
Click to show internal directories.
Click to hide internal directories.