Documentation ¶
Index ¶
- type Action
- type Arg
- type ArgModel
- type Args
- type Category
- type Config
- type Env
- type EnvModel
- type Envs
- type FileTypeValue
- type Metadata
- type NodeType
- type Options
- type RuleOperation
- type RuleOperationCollection
- type RuleValueInputType
- type ValueModel
- type Var
- type VarModel
- type VarValue
- type VarValueType
- type Vars
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arg ¶
type Arg struct { RuleOperation Payload *ArgModel `json:"payload"` }
type ArgModel ¶
type ArgModel struct { Key string `json:"key"` Value *ValueModel `json:"value"` Options Options `json:"options"` Section *int `json:"section,omitempty"` Category Category `json:"category" default:"arg"` }
type Config ¶
type Config struct {
Operations map[NodeType]*RuleOperationCollection `json:"operations"`
}
type Env ¶
type Env struct { RuleOperation Payload EnvModel `json:"payload"` }
type EnvModel ¶
type EnvModel struct { Key string `json:"key"` Value *ValueModel `json:"value"` Options Options `json:"options"` Category Category `json:"category" default:"env"` }
type FileTypeValue ¶
type RuleOperation ¶
type RuleOperation struct {
Action Action `json:"action"`
}
type RuleOperationCollection ¶
type RuleValueInputType ¶
type RuleValueInputType string
const ( Variable RuleValueInputType = "variable" Template RuleValueInputType = "template" )
type ValueModel ¶
type ValueModel struct { Payload interface{} `json:"payload"` InputType RuleValueInputType `json:"inputType"` }
type Var ¶
type Var struct { RuleOperation Payload *VarModel `json:"payload"` }
type VarValue ¶
type VarValue struct { Payload interface{} `json:"payload"` ValueType VarValueType `json:"valueType"` }
type VarValueType ¶
type VarValueType string
const ( String VarValueType = "string" StringArray VarValueType = "array" Empty VarValueType = "empty" File VarValueType = "file" )
Click to show internal directories.
Click to hide internal directories.