Documentation
¶
Index ¶
- func HandleConnectorApprovalRequired(ctx context.Context, clients *shared.ClientFactory, token string, err error) error
- func HandleConnectorNotInstalled(ctx context.Context, clients *shared.ClientFactory, token string, err error) (attemptInstall bool)
- func ManifestValidate(ctx context.Context, clients *shared.ClientFactory, app types.App, ...) (bool, slackerror.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleConnectorApprovalRequired ¶
func HandleConnectorApprovalRequired(ctx context.Context, clients *shared.ClientFactory, token string, err error) error
HandleConnectorNotInstalled looks for Errors related to connectors requiring approval, ultimately it prompts the user to send the approval request. Note that this function will also clean up the related required approval errors in order to provide a clean output to the end user.
func HandleConnectorNotInstalled ¶
func HandleConnectorNotInstalled(ctx context.Context, clients *shared.ClientFactory, token string, err error) (attemptInstall bool)
HandleConnectorNotInstalled attempts install the certified app associated with any connector_not_installed error And returns true if it attempted to install any single app
func ManifestValidate ¶
func ManifestValidate(ctx context.Context, clients *shared.ClientFactory, app types.App, token string) (bool, slackerror.Warnings, error)
ManifestValidate validates the manifest from the project "get-manifest" hook
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.