 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func GetContextObject[T any](o *Options) *T
- func NewMapKeyError(msg string, core CoreModeler, node mapKeyNodeGetter, key string) error
- func NewMapValueError(msg string, core CoreModeler, node mapValueNodeGetter, key string) error
- func NewNodeError(msg string, node *yaml.Node) error
- func NewSliceError(msg string, core CoreModeler, node sliceNodeGetter, index int) error
- func NewValueError(msg string, core CoreModeler, node valueNodeGetter) error
- type CoreModeler
- type Error
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContextObject ¶
func NewMapKeyError ¶ added in v0.2.1
func NewMapKeyError(msg string, core CoreModeler, node mapKeyNodeGetter, key string) error
func NewMapValueError ¶ added in v0.2.1
func NewMapValueError(msg string, core CoreModeler, node mapValueNodeGetter, key string) error
func NewNodeError ¶ added in v0.2.1
func NewSliceError ¶ added in v0.2.1
func NewSliceError(msg string, core CoreModeler, node sliceNodeGetter, index int) error
func NewValueError ¶ added in v0.2.1
func NewValueError(msg string, core CoreModeler, node valueNodeGetter) error
Types ¶
type CoreModeler ¶ added in v0.2.1
type CoreModeler interface {
	GetRootNode() *yaml.Node
}
    type Error ¶
Error represents a validation error and the line and column where it occurred TODO allow getting the JSON path for line/column for validation errors
 Click to show internal directories. 
   Click to hide internal directories.