Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clients ¶
type Clients struct {
// contains filtered or unexported fields
}
Clients builds Scheduler clients and provides those clients in a round-robin fashion.
func (*Clients) All ¶
func (c *Clients) All(ctx context.Context) ([]schedulerv1pb.SchedulerClient, error)
All returns all scheduler clients.
func (*Clients) Next ¶
func (c *Clients) Next(ctx context.Context) (schedulerv1pb.SchedulerClient, error)
Next returns the next client in a round-robin manner.
Click to show internal directories.
Click to hide internal directories.