test

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendCommandEvent

func SendCommandEvent(
	ctx context.Context,
	eventer MDMCommandEventer,
	filePath string,
	id string,
	commandUUID string,
) error

Types

type CollectedStep

type CollectedStep struct {
	WorkflowName string
	*workflow.StepEnqueueing
}

type CollectingStepEnqueur

type CollectingStepEnqueur struct {
	// contains filtered or unexported fields
}

func NewCollectingStepEnqueur

func NewCollectingStepEnqueur(next workflow.StepEnqueuer) *CollectingStepEnqueur

func (*CollectingStepEnqueur) EnqueueStep

func (*CollectingStepEnqueur) Steps

func (c *CollectingStepEnqueur) Steps() []CollectedStep

type MDMCommandEventer

type MDMCommandEventer interface {
	MDMCommandResponseEvent(ctx context.Context, id string, uuid string, raw []byte, mdmContext *workflow.MDMContext) error
}

type NullEnqueuer

type NullEnqueuer struct{}

NullEnqueuer is an enqueuer that doesn't do anything.

func (*NullEnqueuer) Enqueue

func (n *NullEnqueuer) Enqueue(_ context.Context, _ []string, _ []byte) error

Enqueue does nothing and returns nil.

func (*NullEnqueuer) SupportsMultiCommands

func (n *NullEnqueuer) SupportsMultiCommands() bool

SupportsMultiCommands returns true.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL