Documentation
¶
Index ¶
- Constants
- type EnvironmentItemModel
- func (env *EnvironmentItemModel) FillMissingDefaults() error
- func (env EnvironmentItemModel) GetKeyValuePair() (string, string, error)
- func (env EnvironmentItemModel) GetOptions() (EnvironmentItemOptionsModel, error)
- func (env *EnvironmentItemModel) Normalize() error
- func (env EnvironmentItemModel) NormalizeValidateFillDefaults() error
- func (env EnvironmentItemModel) Validate() error
- type EnvironmentItemOptionsModel
- type EnvsJSONListModel
- type EnvsYMLModel
Constants ¶
View Source
const ( // DefaultIsExpand ... DefaultIsExpand = true //DefaultIsRequired ... DefaultIsRequired = false // DefaultIsDontChangeValue ... DefaultIsDontChangeValue = false // DefaultIsTemplate ... DefaultIsTemplate = false // DefaultSkipIfEmpty ... DefaultSkipIfEmpty = false )
View Source
const (
// OptionsKey ...
OptionsKey = "opts"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironmentItemModel ¶
type EnvironmentItemModel map[string]interface{}
EnvironmentItemModel ...
func (*EnvironmentItemModel) FillMissingDefaults ¶
func (env *EnvironmentItemModel) FillMissingDefaults() error
FillMissingDefaults ...
func (EnvironmentItemModel) GetKeyValuePair ¶
func (env EnvironmentItemModel) GetKeyValuePair() (string, string, error)
GetKeyValuePair ...
func (EnvironmentItemModel) GetOptions ¶
func (env EnvironmentItemModel) GetOptions() (EnvironmentItemOptionsModel, error)
GetOptions ...
func (*EnvironmentItemModel) Normalize ¶
func (env *EnvironmentItemModel) Normalize() error
Normalize ...
func (EnvironmentItemModel) NormalizeValidateFillDefaults ¶
func (env EnvironmentItemModel) NormalizeValidateFillDefaults() error
NormalizeValidateFillDefaults ...
func (EnvironmentItemModel) Validate ¶
func (env EnvironmentItemModel) Validate() error
Validate ...
type EnvironmentItemOptionsModel ¶
type EnvironmentItemOptionsModel struct {
// These fields are processed by envman at envman run
IsExpand *bool `json:"is_expand,omitempty" yaml:"is_expand,omitempty"`
SkipIfEmpty *bool `json:"skip_if_empty,omitempty" yaml:"skip_if_empty,omitempty"`
// These fields used only by bitrise
Title *string `json:"title,omitempty" yaml:"title,omitempty"`
Description *string `json:"description,omitempty" yaml:"description,omitempty"`
Summary *string `json:"summary,omitempty" yaml:"summary,omitempty"`
ValueOptions []string `json:"value_options,omitempty" yaml:"value_options,omitempty"`
IsRequired *bool `json:"is_required,omitempty" yaml:"is_required,omitempty"`
IsDontChangeValue *bool `json:"is_dont_change_value,omitempty" yaml:"is_dont_change_value,omitempty"`
IsTemplate *bool `json:"is_template,omitempty" yaml:"is_template,omitempty"`
}
EnvironmentItemOptionsModel ...
func (*EnvironmentItemOptionsModel) ParseFromInterfaceMap ¶
func (envSerModel *EnvironmentItemOptionsModel) ParseFromInterfaceMap(input map[string]interface{}) error
ParseFromInterfaceMap ...
type EnvsJSONListModel ¶
EnvsJSONListModel ...
func NewEnvJSONList ¶
func NewEnvJSONList(jsonStr string) (EnvsJSONListModel, error)
NewEnvJSONList ...
type EnvsYMLModel ¶
type EnvsYMLModel struct {
Envs []EnvironmentItemModel `yaml:"envs"`
}
EnvsYMLModel ...
Click to show internal directories.
Click to hide internal directories.