triggers

package
v0.0.0-...-158bfa7 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAppCollaboratorsToNamedEntities

func AddAppCollaboratorsToNamedEntities(ctx context.Context, clients *shared.ClientFactory, token string, appID string) error

AddAppCollaboratorsToNamedEntities adds app_collaborators to named_entities list if trigger ACL is changed to named_entities

func ListWorkflows

func ListWorkflows(
	ctx context.Context,
	clients *shared.ClientFactory,
	app types.App,
	auth types.SlackAuth,
) error

ListWorkflows displays a list of valid workflow identifiers

func NewAccessCommand

func NewAccessCommand(clients *shared.ClientFactory) *cobra.Command

func NewCommand

func NewCommand(clients *shared.ClientFactory) *cobra.Command

func NewCreateCommand

func NewCreateCommand(clients *shared.ClientFactory) *cobra.Command

NewCommand creates a new Cobra command instance

func NewDeleteCommand

func NewDeleteCommand(clients *shared.ClientFactory) *cobra.Command

NewDeleteCommand creates a new Cobra command instance

func NewInfoCommand

func NewInfoCommand(clients *shared.ClientFactory) *cobra.Command

func NewListCommand

func NewListCommand(clients *shared.ClientFactory) *cobra.Command

func NewUpdateCommand

func NewUpdateCommand(clients *shared.ClientFactory) *cobra.Command

NewUpdateCommand creates a new Cobra command instance

func ShowTriggers

func ShowTriggers(clients *shared.ClientFactory, hideTriggersFlag bool) bool

ShowTriggers returns if information for TriggerGenerate should be shown

func TriggerGenerate

func TriggerGenerate(ctx context.Context, clients *shared.ClientFactory, app types.App) (*types.DeployedTrigger, error)

TriggerGenerate prompts the user to create a trigger when no triggers exist for the app provided. The prompt displays a list of trigger definition files that are available in the project. Depending on whether the user chooses to create a trigger or skip the step, the function returns the created trigger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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