triggers

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNewFileTrigger

func NewNewFileTrigger() sdk.Trigger

func NewNewFolderTrigger

func NewNewFolderTrigger() sdk.Trigger

Types

type NewFileTrigger

type NewFileTrigger struct{}

func (*NewFileTrigger) Auth

func (t *NewFileTrigger) Auth() *sdkcore.AuthMetadata

func (*NewFileTrigger) Criteria

func (*NewFileTrigger) Execute

Execute performs the main action logic of newFileTrigger by processing the input context and returning a JSON response. It converts the base context input into a strongly-typed structure, executes the desired logic, and generates output. Returns a JSON output map with the resulting data or an error if operation fails. required for Pooling triggers

func (*NewFileTrigger) GetType

func (t *NewFileTrigger) GetType() sdkcore.TriggerType

func (*NewFileTrigger) Metadata added in v0.13.0

func (t *NewFileTrigger) Metadata() sdk.TriggerMetadata

func (*NewFileTrigger) Props added in v0.13.0

func (t *NewFileTrigger) Props() *smartform.FormSchema

func (*NewFileTrigger) SampleData

func (t *NewFileTrigger) SampleData() sdkcore.JSON

func (*NewFileTrigger) Start

Start initializes the newFileTrigger, required for event and webhook triggers in a lifecycle context.

func (*NewFileTrigger) Stop

Stop shuts down the newFileTrigger, cleaning up resources and performing necessary teardown operations.

type NewFolderTrigger

type NewFolderTrigger struct{}

func (*NewFolderTrigger) Auth

func (*NewFolderTrigger) Criteria

func (*NewFolderTrigger) Execute

Execute performs the main action logic of newFolderTrigger by processing the input context and returning a JSON response. It converts the base context input into a strongly-typed structure, executes the desired logic, and generates output. Returns a JSON output map with the resulting data or an error if operation fails. required for Pooling triggers

func (*NewFolderTrigger) GetType

func (t *NewFolderTrigger) GetType() sdkcore.TriggerType

func (*NewFolderTrigger) Metadata added in v0.13.0

func (t *NewFolderTrigger) Metadata() sdk.TriggerMetadata

func (*NewFolderTrigger) Props added in v0.13.0

func (t *NewFolderTrigger) Props() *smartform.FormSchema

func (*NewFolderTrigger) SampleData

func (t *NewFolderTrigger) SampleData() sdkcore.JSON

func (*NewFolderTrigger) Start

Start initializes the newFolderTrigger, required for event and webhook triggers in a lifecycle context.

func (*NewFolderTrigger) Stop

Stop shuts down the newFolderTrigger, cleaning up resources and performing necessary teardown operations.

Jump to

Keyboard shortcuts

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