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"`
// HasConflict is true if one of the operations in this spec
// was previously used in another spec. This indicates
// that two nodes from distinct specs relate to the same
// operation.
HasConflict bool
// 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.