psql

package
v0.2.23 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiKeyRepository

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

func NewApiKeyRepository

func NewApiKeyRepository(db boil.ContextExecutor) *ApiKeyRepository

func (ApiKeyRepository) Destroy

func (a ApiKeyRepository) Destroy(ctx context.Context, orgID string, id domain.ApiKeyID) error

func (ApiKeyRepository) FindAll

func (a ApiKeyRepository) FindAll(
	ctx context.Context,
	orgID string,
	envID domain.EnvironmentID,
) ([]*domain.ApiKey, error)

func (ApiKeyRepository) FindBySecretKey

func (a ApiKeyRepository) FindBySecretKey(ctx context.Context, sk domain.SecretKey) (*domain.ApiKey, error)

func (ApiKeyRepository) Insert

func (a ApiKeyRepository) Insert(ctx context.Context, apiKey *domain.ApiKey) error

type ApplicationRepository

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

func NewApplicationRepository

func NewApplicationRepository(db boil.ContextExecutor) *ApplicationRepository

func (ApplicationRepository) Insert

func (o ApplicationRepository) Insert(ctx context.Context, application *domain.Application) error

type EndpointRepository

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

func NewEndpointRepository

func NewEndpointRepository(db boil.ContextExecutor) *EndpointRepository

func (EndpointRepository) ByEventTypeIdAndAppID

func (o EndpointRepository) ByEventTypeIdAndAppID(
	ctx context.Context,
	eventTypeID domain.EventTypeID,
	appID domain.ApplicationID,
) ([]*domain.Endpoint, error)

func (EndpointRepository) ByID

func (EndpointRepository) Insert

func (o EndpointRepository) Insert(ctx context.Context, endpoint *domain.Endpoint) error

type EnvironmentRepository

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

func NewEnvironmentRepository

func NewEnvironmentRepository(db boil.ContextExecutor) *EnvironmentRepository

func (EnvironmentRepository) ByID

func (EnvironmentRepository) FindAll

func (o EnvironmentRepository) FindAll(ctx context.Context, orgID string) ([]*domain.Environment, error)

func (EnvironmentRepository) Insert

type EventTypeRepository

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

func NewEventTypeRepository

func NewEventTypeRepository(db boil.ContextExecutor) *EventTypeRepository

func (EventTypeRepository) Insert

func (e EventTypeRepository) Insert(ctx context.Context, eventType *domain.EventType) error

type MemberRepository

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

func NewMemberRepository

func NewMemberRepository(db boil.ContextExecutor) *MemberRepository

func (MemberRepository) FindByEmail

func (o MemberRepository) FindByEmail(
	ctx context.Context,
	email iam.Email,
) (*iam.Member, error)

func (MemberRepository) Insert

func (o MemberRepository) Insert(ctx context.Context, member *iam.Member) error

type MessageRepository

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

func NewMessageRepository

func NewMessageRepository(db boil.ContextExecutor) *MessageRepository

func (MessageRepository) ByID

func (MessageRepository) Insert

func (o MessageRepository) Insert(ctx context.Context, message *domain.Message) error

func (MessageRepository) SaveMessageSendAttempt

func (o MessageRepository) SaveMessageSendAttempt(ctx context.Context, attempt *domain.MessageSendAttempt) error

type OrganizationRepository

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

func NewOrganizationRepository

func NewOrganizationRepository(db boil.ContextExecutor) *OrganizationRepository

func (OrganizationRepository) Insert

Jump to

Keyboard shortcuts

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