Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OverrideValue ¶
func (*OverrideValue) ToString ¶
func (o *OverrideValue) ToString() string
ToString generate string value from key value. For example, `{Key: "hoge", Value: "fuga"}` is converted to `hoge=fuga`.
type TemplateVariable ¶
type TemplateVariable struct {
CommitSHA1 string
}
TemplateVariable defines variables to replace template in override values.
func (*TemplateVariable) ReplaceVariables ¶
func (t *TemplateVariable) ReplaceVariables(text string) (string, error)
ReplaceVariables replaces all variables in provided text.
func (*TemplateVariable) ReplaceVariablesAll ¶
func (t *TemplateVariable) ReplaceVariablesAll(text []string) ([]string, error)
ReplaceVariablesAll replaces all variables in provided text list.
Click to show internal directories.
Click to hide internal directories.