Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assignment ¶
type Assignment struct { Path string `yaml:"path"` Method ast.AssignmentMethod `yaml:"method"` Value AssignmentValue `yaml:"value"` }
type AssignmentEnvelope ¶ added in v0.0.20
type AssignmentEnvelope struct {
Values []EnvelopeFieldValue
}
func (AssignmentEnvelope) AsIR ¶ added in v0.0.20
func (envelope AssignmentEnvelope) AsIR(schemas ast.Schemas, envelopeType ast.Type) (ast.AssignmentEnvelope, error)
type AssignmentValue ¶ added in v0.0.20
type AssignmentValue struct { Argument *ast.Argument `json:",omitempty"` Constant any `json:",omitempty"` Envelope *AssignmentEnvelope `json:",omitempty"` }
func (AssignmentValue) AsIR ¶ added in v0.0.20
func (value AssignmentValue) AsIR(schemas ast.Schemas, assignmentPath ast.Path) (ast.AssignmentValue, error)
type EnvelopeFieldValue ¶ added in v0.0.20
type EnvelopeFieldValue struct { Field string // where to assign within the struct/ref Value AssignmentValue // what to assign }
func (EnvelopeFieldValue) AsIR ¶ added in v0.0.20
func (envelopeField EnvelopeFieldValue) AsIR(schemas ast.Schemas, envelopeType ast.Type) (ast.EnvelopeFieldValue, error)
Click to show internal directories.
Click to hide internal directories.