Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFunction ¶
func AddFunction(funcs *[]FunctionInfo, s string, i1, i2 int)
Types ¶
type BooleanDefinition ¶
type BooleanDefinition struct {
}
type Definition ¶
type Definition struct {
Context []string
Mapping *MappingDefinition
Sequence *SequenceDefinition
OneOf *[]string `json:"one-of"`
AllowedValues *[]string `json:"allowed-values"`
String *StringDefinition
Number *NumberDefinition
Boolean *BooleanDefinition
Null *NullDefinition
}
type FunctionInfo ¶
type FunctionInfo struct {
// contains filtered or unexported fields
}
type MappingDefinition ¶
type MappingDefinition struct {
Properties map[string]MappingProperty
LooseKeyType string `json:"loose-key-type"`
LooseValueType string `json:"loose-value-type"`
}
type MappingProperty ¶
func (*MappingProperty) UnmarshalJSON ¶
func (s *MappingProperty) UnmarshalJSON(data []byte) error
type Node ¶
func (*Node) GetFunctions ¶
func (s *Node) GetFunctions() *[]FunctionInfo
type NullDefinition ¶
type NullDefinition struct {
}
type NumberDefinition ¶
type NumberDefinition struct {
}
type Schema ¶
type Schema struct {
Definitions map[string]Definition
}
func GetActionSchema ¶
func GetActionSchema() *Schema
func GetWorkflowSchema ¶
func GetWorkflowSchema() *Schema
func (*Schema) GetDefinition ¶
func (s *Schema) GetDefinition(name string) Definition
type SequenceDefinition ¶
type SequenceDefinition struct {
ItemType string `json:"item-type"`
}
type StringDefinition ¶
Click to show internal directories.
Click to hide internal directories.