Documentation ¶
Index ¶
Constants ¶
View Source
const ( TransformKindUnmarshal = "Unmarshal" TransformKindMarshal = "Marshal" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomContext ¶
type Decoder ¶
type Decoder struct { Decoded interface{} `velty:"-"` // contains filtered or unexported fields }
type State ¶
type State struct { Ctx CustomContext ExpandState *expand.State }
type Transform ¶
type Transform struct { ParamName string `json:",omitempty" yaml:",omitempty"` Kind string `json:",omitempty" yaml:",omitempty"` Path string `json:",omitempty" yaml:",omitempty"` Codec string `json:",omitempty" yaml:",omitempty"` Source string `json:",omitempty" yaml:",omitempty"` SourceURL string `json:",omitempty" yaml:",omitempty"` Transformer string `json:",omitempty" yaml:",omitempty"` // contains filtered or unexported fields }
func (*Transform) UnmarshalerInto ¶
func (t *Transform) UnmarshalerInto() json.UnmarshalerInto
type TransformIndex ¶
type TransformIndex map[string]Transforms
type Transforms ¶
type Transforms []*Transform
func (Transforms) FilterByKind ¶
func (t Transforms) FilterByKind(kind string) Transforms
func (Transforms) Index ¶
func (t Transforms) Index() map[string]*Transform
Click to show internal directories.
Click to hide internal directories.