Documentation
¶
Index ¶
- func AddAppCollaboratorsToNamedEntities(ctx context.Context, clients *shared.ClientFactory, token string, appID string) error
- func ListWorkflows(ctx context.Context, clients *shared.ClientFactory, app types.App, ...) error
- func NewAccessCommand(clients *shared.ClientFactory) *cobra.Command
- func NewCommand(clients *shared.ClientFactory) *cobra.Command
- func NewCreateCommand(clients *shared.ClientFactory) *cobra.Command
- func NewDeleteCommand(clients *shared.ClientFactory) *cobra.Command
- func NewInfoCommand(clients *shared.ClientFactory) *cobra.Command
- func NewListCommand(clients *shared.ClientFactory) *cobra.Command
- func NewUpdateCommand(clients *shared.ClientFactory) *cobra.Command
- func ShowTriggers(clients *shared.ClientFactory, hideTriggersFlag bool) bool
- func TriggerGenerate(ctx context.Context, clients *shared.ClientFactory, app types.App) (*types.DeployedTrigger, error)
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.