Event Source Instance Commands

Manage event source instances using the CLI

Event Source Instance Commands

Manage event source instances that are running instances of event sources. Can be shortened to esi.

Usage

weikio eventsourceinstance [command] [options]
# or use the alias
weikio esi [command] [options]

Subcommands

ls

List all event source instances.

Usage:

weikio eventsourceinstance ls
# or
weikio esi ls

Example:

weikio eventsourceinstance ls

add

Add a new event source instance.

Usage:

weikio eventsourceinstance add <EventSourceType> <InstanceConfig>

Arguments:

NameRequiredDescription
EventSourceTypeYesType of event source
InstanceConfigYesConfiguration for the instance

Example:

weikio eventsourceinstance add FileWatcher '{"path": "/data/inbox"}'

delete

Delete an event source instance.

Usage:

weikio eventsourceinstance delete <InstanceId>

Arguments:

NameRequiredDescription
InstanceIdYesID of the instance to delete

Example:

weikio eventsourceinstance delete my-instance