Documentation ¶
Overview ¶
Package inventory implements a NanoCMD Workflow that updates an inventory system.
Index ¶
- Constants
- Variables
- type Option
- type Workflow
- func (w *Workflow) Config() *workflow.Config
- func (w *Workflow) Event(ctx context.Context, e *workflow.Event, id string, mdmCtx *workflow.MDMContext) error
- func (w *Workflow) Name() string
- func (w *Workflow) NewContextValue(_ string) workflow.ContextMarshaler
- func (w *Workflow) Start(ctx context.Context, step *workflow.StepStart) error
- func (w *Workflow) StepCompleted(ctx context.Context, stepResult *workflow.StepResult) error
- func (w *Workflow) StepTimeout(_ context.Context, _ *workflow.StepResult) error
Constants ¶
View Source
const WorkflowName = "io.micromdm.wf.inventory.v1"
Variables ¶
View Source
var WorkflowConfig = &workflow.Config{ AllCommandResponseRequestTypes: []string{"SecurityInfo"}, }
Functions ¶
This section is empty.
Types ¶
type Workflow ¶
type Workflow struct {
// contains filtered or unexported fields
}
Workflow is a workflow that updates inventory storage.
func (*Workflow) NewContextValue ¶
func (w *Workflow) NewContextValue(_ string) workflow.ContextMarshaler
func (*Workflow) StepCompleted ¶
func (*Workflow) StepTimeout ¶
Click to show internal directories.
Click to hide internal directories.