Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GraphBuilder ¶
type GraphBuilder interface { // Context carries values across API boundaries. context.Context // Logger represents the ability to log messages. logr.Logger // Run runs the GraphBuilder. Run(<-chan struct{}) }
GraphBuilder analyzes directed acyclic graph defined in operation set.
func NewGraphBuilder ¶
func NewGraphBuilder( ctx context.Context, logger logr.Logger, cli client.Client, eventRecorder record.EventRecorder, scheme *runtime.Scheme, cache cache.Cache, graphBuilderCh chan diagnosisv1.OperationSet, ) GraphBuilder
NewGraphBuilder creates a new graph builder.
type NodeQueue ¶
type NodeQueue struct {
// contains filtered or unexported fields
}
NodeQueue implements a FIFO queue.
func (*NodeQueue) Dequeue ¶
Dequeue returns the graph.Node at the front of the queue and removes it from the queue.
Click to show internal directories.
Click to hide internal directories.