Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueueInMem ¶
type QueueInMem struct {
// contains filtered or unexported fields
}
QueueInMem represents an in-memory command queue
func New ¶
func New(pubsub pubsub.PublishSubscriber, logger log.Logger) *QueueInMem
New creates a new in-memory command queue
func (*QueueInMem) Clear ¶
func (q *QueueInMem) Clear(_ context.Context, event mdm.CheckinEvent) error
Clear clears a command queue for the enrollment in event
func (*QueueInMem) Next ¶
Next delivers the next command from the command queue for the enrollment in resp
func (*QueueInMem) ViewQueue ¶ added in v1.12.0
func (q *QueueInMem) ViewQueue(_ context.Context, event mdm.CheckinEvent) ([]*mdm.Command, error)
View returns the command queue for the device in event
Click to show internal directories.
Click to hide internal directories.