integrationStore

package
v0.0.0-...-27c9e6d Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntegrationStore

type IntegrationStore interface {
	AddIntegration(ctx context.Context, accountId string, integration models.Integration) error
	DeleteIntegration(ctx context.Context, accountId string, integrationName string) error
	CheckTasksForIntegration(ctx context.Context, accountId string, integrationName string) (bool, error)
	CheckTriggersForIntegration(ctx context.Context, accountId string, integrationName string) (bool, error)
	GetIntegrationsByType(ctx context.Context, accountId, integrationType, projectName string) ([]models.Integration, error)
	GetAllintegrations(ctx context.Context, accountId, projectName string) ([]models.Integration, error)
	GetIntegrationByName(ctx context.Context, accountId, name string) (models.Integration, error)
	GetIntegrationForThirdPartyUser(ctx context.Context, accountId, tpAccountId, integrationType string) (models.Integration, error)
	UpdateIntegration(ctx context.Context, accountId, integrationName string, integration models.Integration) error
}

func New

func New(db *db.DB) IntegrationStore

Jump to

Keyboard shortcuts

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