Documentation ¶
Index ¶
- type ApiKeyRepository
- func (a ApiKeyRepository) Destroy(ctx context.Context, orgID string, id domain.ApiKeyID) error
- func (a ApiKeyRepository) FindAll(ctx context.Context, orgID string, envID domain.EnvironmentID) ([]*domain.ApiKey, error)
- func (a ApiKeyRepository) FindBySecretKey(ctx context.Context, sk domain.SecretKey) (*domain.ApiKey, error)
- func (a ApiKeyRepository) Insert(ctx context.Context, apiKey *domain.ApiKey) error
- type ApplicationRepository
- type EndpointRepository
- func (o EndpointRepository) ByEventTypeIdAndAppID(ctx context.Context, eventTypeID domain.EventTypeID, ...) ([]*domain.Endpoint, error)
- func (o EndpointRepository) ByID(ctx context.Context, id domain.EndpointID) (*domain.Endpoint, error)
- func (o EndpointRepository) Insert(ctx context.Context, endpoint *domain.Endpoint) error
- type EnvironmentRepository
- func (o EnvironmentRepository) ByID(ctx context.Context, id domain.EnvironmentID) (*domain.Environment, error)
- func (o EnvironmentRepository) FindAll(ctx context.Context, orgID string) ([]*domain.Environment, error)
- func (o EnvironmentRepository) Insert(ctx context.Context, env *domain.Environment) error
- type EventTypeRepository
- type MemberRepository
- type MessageRepository
- type OrganizationRepository
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) FindAll ¶
func (a ApiKeyRepository) FindAll( ctx context.Context, orgID string, envID domain.EnvironmentID, ) ([]*domain.ApiKey, error)
func (ApiKeyRepository) FindBySecretKey ¶
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 (o EndpointRepository) ByID(ctx context.Context, id domain.EndpointID) (*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 (o EnvironmentRepository) ByID(ctx context.Context, id domain.EnvironmentID) (*domain.Environment, error)
func (EnvironmentRepository) FindAll ¶
func (o EnvironmentRepository) FindAll(ctx context.Context, orgID string) ([]*domain.Environment, error)
func (EnvironmentRepository) Insert ¶
func (o EnvironmentRepository) Insert(ctx context.Context, env *domain.Environment) error
type EventTypeRepository ¶
type EventTypeRepository struct {
// contains filtered or unexported fields
}
func NewEventTypeRepository ¶
func NewEventTypeRepository(db boil.ContextExecutor) *EventTypeRepository
type MemberRepository ¶
type MemberRepository struct {
// contains filtered or unexported fields
}
func NewMemberRepository ¶
func NewMemberRepository(db boil.ContextExecutor) *MemberRepository
func (MemberRepository) FindByEmail ¶
type MessageRepository ¶
type MessageRepository struct {
// contains filtered or unexported fields
}
func NewMessageRepository ¶
func NewMessageRepository(db boil.ContextExecutor) *MessageRepository
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 ¶
func (o OrganizationRepository) Insert(ctx context.Context, org *iam.Organization) error
Click to show internal directories.
Click to hide internal directories.