Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NodeFetcher ¶
NodeFetcher builds up the node list form a source e.g. kubernetes pods
type Scheduler ¶
type Scheduler interface { NodeBindings(context.Context, *pb.NodeBindingRequest) (*pb.NodeBindingResponse, error) BindStream(*pb.Stream) (*pb.Binding, error) Optimise() error Observe() error }
Scheduler basic structure of a scheduler
func NewScheduler ¶
func NewScheduler(nf NodeFetcher, sf StreamFetcher) Scheduler
NewScheduler constructs a new scheduler which can assign streams work nodes
type StreamFetcher ¶
StreamFetcher provides intereface to fetch stream lists
Click to show internal directories.
Click to hide internal directories.