destinations

package
v0.0.0-...-d761283 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PaginateDestinationsParams

type PaginateDestinationsParams struct {
	Page  int
	Limit int
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(
	env *config.Env, dbgen *dbgen.Queries, ints *integration.Integration,
	webhooksService *webhooks.Service,
) *Service

func (*Service) CreateDestination

func (*Service) DeleteDestination

func (s *Service) DeleteDestination(
	ctx context.Context, id uuid.UUID,
) error

func (*Service) GetAllDestinations

func (s *Service) GetAllDestinations(
	ctx context.Context,
) ([]dbgen.DestinationsServiceGetAllDestinationsRow, error)

func (*Service) GetDestination

func (*Service) GetDestinationsQty

func (*Service) TestAllDestinations

func (s *Service) TestAllDestinations()

func (*Service) TestDestination

func (s *Service) TestDestination(
	accessKey, secretKey, region, endpoint, bucketName string,
) error

func (*Service) TestDestinationAndStoreResult

func (s *Service) TestDestinationAndStoreResult(
	ctx context.Context, destinationID uuid.UUID,
) error

func (*Service) UpdateDestination

Jump to

Keyboard shortcuts

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