repository

package
v0.3.27 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessRepository

type AccessRepository struct{}

func NewAccessRepository

func NewAccessRepository() *AccessRepository

func (*AccessRepository) GetById

func (r *AccessRepository) GetById(ctx context.Context, id string) (*domain.Access, error)

type AcmeAccountRepository

type AcmeAccountRepository struct{}

func NewAcmeAccountRepository

func NewAcmeAccountRepository() *AcmeAccountRepository

func (*AcmeAccountRepository) GetByCAAndEmail

func (r *AcmeAccountRepository) GetByCAAndEmail(ca, email string) (*domain.AcmeAccount, error)

func (*AcmeAccountRepository) Save

type CertificateRepository

type CertificateRepository struct{}

func NewCertificateRepository

func NewCertificateRepository() *CertificateRepository

func (*CertificateRepository) DeleteWhere

func (r *CertificateRepository) DeleteWhere(ctx context.Context, exprs ...dbx.Expression) (int, error)

func (*CertificateRepository) GetById

func (*CertificateRepository) GetByWorkflowNodeId

func (r *CertificateRepository) GetByWorkflowNodeId(ctx context.Context, workflowNodeId string) (*domain.Certificate, error)

func (*CertificateRepository) GetByWorkflowRunIdAndNodeId

func (r *CertificateRepository) GetByWorkflowRunIdAndNodeId(ctx context.Context, workflowRunId string, workflowNodeId string) (*domain.Certificate, error)

func (*CertificateRepository) ListExpireSoon

func (r *CertificateRepository) ListExpireSoon(ctx context.Context) ([]*domain.Certificate, error)

func (*CertificateRepository) Save

type SettingsRepository

type SettingsRepository struct{}

func NewSettingsRepository

func NewSettingsRepository() *SettingsRepository

func (*SettingsRepository) GetByName

func (r *SettingsRepository) GetByName(ctx context.Context, name string) (*domain.Settings, error)

type StatisticsRepository

type StatisticsRepository struct{}

func NewStatisticsRepository

func NewStatisticsRepository() *StatisticsRepository

func (*StatisticsRepository) Get

type WorkflowLogRepository

type WorkflowLogRepository struct{}

func NewWorkflowLogRepository

func NewWorkflowLogRepository() *WorkflowLogRepository

func (*WorkflowLogRepository) ListByWorkflowRunId

func (r *WorkflowLogRepository) ListByWorkflowRunId(ctx context.Context, workflowRunId string) ([]*domain.WorkflowLog, error)

func (*WorkflowLogRepository) Save

type WorkflowOutputRepository

type WorkflowOutputRepository struct{}

func NewWorkflowOutputRepository

func NewWorkflowOutputRepository() *WorkflowOutputRepository

func (*WorkflowOutputRepository) GetByNodeId

func (r *WorkflowOutputRepository) GetByNodeId(ctx context.Context, workflowNodeId string) (*domain.WorkflowOutput, error)

func (*WorkflowOutputRepository) Save

func (*WorkflowOutputRepository) SaveWithCertificate

func (r *WorkflowOutputRepository) SaveWithCertificate(ctx context.Context, workflowOutput *domain.WorkflowOutput, certificate *domain.Certificate) (*domain.WorkflowOutput, error)

type WorkflowRepository

type WorkflowRepository struct{}

func NewWorkflowRepository

func NewWorkflowRepository() *WorkflowRepository

func (*WorkflowRepository) GetById

func (r *WorkflowRepository) GetById(ctx context.Context, id string) (*domain.Workflow, error)

func (*WorkflowRepository) ListEnabledAuto

func (r *WorkflowRepository) ListEnabledAuto(ctx context.Context) ([]*domain.Workflow, error)

func (*WorkflowRepository) Save

func (r *WorkflowRepository) Save(ctx context.Context, workflow *domain.Workflow) (*domain.Workflow, error)

type WorkflowRunRepository

type WorkflowRunRepository struct{}

func NewWorkflowRunRepository

func NewWorkflowRunRepository() *WorkflowRunRepository

func (*WorkflowRunRepository) DeleteWhere

func (r *WorkflowRunRepository) DeleteWhere(ctx context.Context, exprs ...dbx.Expression) (int, error)

func (*WorkflowRunRepository) GetById

func (*WorkflowRunRepository) Save

Jump to

Keyboard shortcuts

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