Versions in this module Expand all Collapse all v0 v0.4.0 Dec 19, 2025 Changes in this version + type BasicFunctionInfo struct + Max int + Min int + Name string + func (f BasicFunctionInfo) Check(args []exprparser.Node) error + func (f BasicFunctionInfo) GetName() string type FunctionInfo + Check func(args []exprparser.Node) error + GetName func() string + type Location struct + Column int + Line int type Node + RestrictEval bool + func (s *Node) GetNestedNode(path ...string) *Node + func (s *Node) GetVariables() []string + func (s *Node) ValidateExpression(node *yaml.Node, allowedVars map[string]struct{}, ...) bool + type OddFunctionInfo struct + func (f OddFunctionInfo) Check(args []exprparser.Node) error type Schema + func GetGiteaWorkflowSchema() *Schema + type ValidationError struct + Kind ValidationKind + Message string + func (e ValidationError) Error() string + type ValidationErrorCollection struct + Collections []ValidationErrorCollection + Errors []ValidationError + func AsValidationErrorCollection(err error) *ValidationErrorCollection + func (c *ValidationErrorCollection) AddError(err ValidationError) + func (c ValidationErrorCollection) Error() string + type ValidationKind int + const ValidationKindFatal + const ValidationKindInvalidProperty + const ValidationKindMismatched + const ValidationKindMissingProperty + const ValidationKindWarning v0.3.5 Sep 13, 2025 v0.3.4 Aug 4, 2025 v0.3.3 May 21, 2025 v0.3.2 Mar 29, 2025 v0.3.1 Mar 29, 2025 v0.3.0 Feb 1, 2025 Changes in this version + func AddFunction(funcs *[]FunctionInfo, s string, i1, i2 int) + type BooleanDefinition struct + type Definition struct + AllowedValues *[]string + Boolean *BooleanDefinition + Context []string + Mapping *MappingDefinition + Null *NullDefinition + Number *NumberDefinition + OneOf *[]string + Sequence *SequenceDefinition + String *StringDefinition + type FunctionInfo struct + type MappingDefinition struct + LooseKeyType string + LooseValueType string + Properties map[string]MappingProperty + type MappingProperty struct + Required bool + Type string + func (s *MappingProperty) UnmarshalJSON(data []byte) error + type Node struct + Context []string + Definition string + Schema *Schema + func (s *Node) GetFunctions() *[]FunctionInfo + func (s *Node) UnmarshalYAML(node *yaml.Node) error + type NullDefinition struct + type NumberDefinition struct + type Schema struct + Definitions map[string]Definition + func GetActionSchema() *Schema + func GetWorkflowSchema() *Schema + func (s *Schema) GetDefinition(name string) Definition + type SequenceDefinition struct + ItemType string + type StringDefinition struct + Constant string + IsExpression bool