Documentation ¶
Index ¶
- func TagFieldOrder(root *ast.File)
- type Value
- func (val *Value) CueValue() cue.Value
- func (val *Value) Error() error
- func (val *Value) Field(label string) (cue.Value, error)
- func (val *Value) FillObject(x interface{}, paths ...string) error
- func (val *Value) FillRaw(x string, paths ...string) error
- func (val *Value) LookupValue(paths ...string) (*Value, error)
- func (val *Value) MakeValue(s string) (*Value, error)
- func (val *Value) StepByFields(handle func(name string, in *Value) (bool, error)) error
- func (val *Value) StepByList(handle func(name string, in *Value) (bool, error)) error
- func (val *Value) String() (string, error)
- func (val *Value) UnmarshalTo(x interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
Value is an object with cue.runtime and vendors
func (*Value) FillObject ¶
FillObject unify the value with object x at the given path.
func (*Value) LookupValue ¶
LookupValue reports the value at a path starting from val
func (*Value) StepByFields ¶
StepByFields process the fields in order
func (*Value) StepByList ¶
StepByList process item in list.
func (*Value) UnmarshalTo ¶
UnmarshalTo unmarshal value into golang object
Click to show internal directories.
Click to hide internal directories.