Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionTester ¶
type ConnectionTester interface {
Test(ctx context.Context, in TestConnectionInput) (TestConnectionResult, error)
}
func NewConnectionTester ¶
func NewConnectionTester(finder Finder, locator factory.ProviderLocator, logger *slog.Logger) ConnectionTester
type CreateInput ¶
type Creator ¶
func NewCreator ¶
func NewCreator(repo domain.Repository, manager *cache.TTLMapManager, logger *slog.Logger) Creator
type Deleter ¶
type Deleter interface {
Delete(ctx context.Context, gatewayID ids.GatewayID, id ids.RegistryID) error
}
func NewDeleter ¶
func NewDeleter( repo domain.Repository, manager *cache.TTLMapManager, publisher cache.EventPublisher, logger *slog.Logger, ) Deleter
type Finder ¶
type Finder interface {
FindByID(ctx context.Context, gatewayID ids.GatewayID, id ids.RegistryID) (*domain.Registry, error)
List(ctx context.Context, filter domain.ListFilter) ([]*domain.Registry, int, error)
}
func NewFinder ¶
func NewFinder(repo domain.Repository, manager *cache.TTLMapManager, logger *slog.Logger) Finder
type TestConnectionInput ¶
type TestConnectionInput struct {
GatewayID ids.GatewayID
RegistryID *ids.RegistryID
Provider string
ProviderOptions map[string]any
Auth *domain.TargetAuth
}
type TestConnectionResult ¶
type UpdateInput ¶
type Updater ¶
func NewUpdater ¶
func NewUpdater( repo domain.Repository, manager *cache.TTLMapManager, publisher cache.EventPublisher, logger *slog.Logger, ) Updater
Source Files
¶
Click to show internal directories.
Click to hide internal directories.