Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { ID NodeID `json:"id"` Spec flux.OperationSpec `json:"spec"` Source NodeSource `json:"source"` }
Node denotes a single operation in a query.
type NodeSource ¶
type NodeSource struct {
Stack []interpreter.StackEntry `json:"stack"`
}
NodeSource specifies the source location that created an operation.
type Spec ¶
type Spec struct { Operations []*Node `json:"operations"` Edges []Edge `json:"edges"` Resources flux.ResourceManagement `json:"resources"` Now time.Time `json:"now"` // contains filtered or unexported fields }
Spec specifies a query.
func (*Spec) Children ¶
Children returns a list of children for a given operation. If the query is invalid no children will be returned.
Click to show internal directories.
Click to hide internal directories.