Documentation
¶
Index ¶
- func Push[E any](ctx context.Context, log *slog.Logger, client valkeygo.Client, ...) error
- func Wait[E any](ctx context.Context, log *slog.Logger, client valkeygo.Client, ...) <-chan E
- type Queue
- func (q *Queue) PushMachineAllocation(ctx context.Context, machineId string, ...) error
- func (q *Queue) PushMachineCommand(ctx context.Context, partition string, command task.MachineBMCCommandPayload) error
- func (q *Queue) PushMachineCommandDone(ctx context.Context, commandId string, command task.BMCCommandDonePayload) error
- func (q *Queue) WaitMachineAllocation(ctx context.Context, machineId string) <-chan task.MachineAllocationPayload
- func (q *Queue) WaitMachineCommand(ctx context.Context, partition string) <-chan task.MachineBMCCommandPayload
- func (q *Queue) WaitMachineCommandDone(ctx context.Context, commandId string) <-chan task.BMCCommandDonePayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
func (*Queue) PushMachineAllocation ¶
func (*Queue) PushMachineCommand ¶
func (*Queue) PushMachineCommandDone ¶
func (*Queue) WaitMachineAllocation ¶
func (*Queue) WaitMachineCommand ¶
func (*Queue) WaitMachineCommandDone ¶
Click to show internal directories.
Click to hide internal directories.