Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plan ¶ added in v1.6.1
type Plan struct {
// Roots is a 0-indexed list of root actions.
Roots []int `json:"roots,omitempty"`
// Exchanges is a 0-indexed list of exchange actions.
Exchanges []int `json:"exchanges,omitempty"`
// Types specifies the type number of each exchange Point.
// The client may use this to further optimize the plan
// or raise exceptions.
Types []int `json:"types,omitempty"`
// Steps contains the optimal sequence of actions needed to execute the given pipelines.
Steps []PlanStep `json:"steps,omitempty"`
}
func (*Plan) GetExchanges ¶ added in v1.6.1
type PlanStep ¶ added in v1.6.1
type PlanStep struct {
// Input is the node number representing the input to this step.
//
// The node number is 1-indexed, therefore equal to one greater
// than the slice index. A value of 0 indicates the step has no
// inputs, and that it is a root.
Input int `json:"input,omitempty"`
nuggit.Action `json:"action,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.