repository

package
v0.3.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 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 (a *AccessRepository) GetById(ctx context.Context, id string) (*domain.Access, error)

type AcmeAccountRepository added in v0.2.8

type AcmeAccountRepository struct{}

func NewAcmeAccountRepository added in v0.2.8

func NewAcmeAccountRepository() *AcmeAccountRepository

func (*AcmeAccountRepository) GetByCAAndEmail added in v0.2.8

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

func (*AcmeAccountRepository) Save added in v0.2.8

func (r *AcmeAccountRepository) Save(ca, email, key string, resource *registration.Resource) error

type CertificateRepository

type CertificateRepository struct{}

func NewCertificateRepository

func NewCertificateRepository() *CertificateRepository

func (*CertificateRepository) GetExpireSoon

func (c *CertificateRepository) GetExpireSoon(ctx context.Context) ([]domain.Certificate, error)

type SettingRepository

type SettingRepository struct{}

func NewSettingRepository

func NewSettingRepository() *SettingRepository

func (*SettingRepository) GetByName

func (s *SettingRepository) GetByName(ctx context.Context, name string) (*domain.Setting, error)

type StatisticsRepository

type StatisticsRepository struct{}

func NewStatisticsRepository

func NewStatisticsRepository() *StatisticsRepository

func (*StatisticsRepository) Get

type WorkflowOutputRepository

type WorkflowOutputRepository struct{}

func NewWorkflowOutputRepository

func NewWorkflowOutputRepository() *WorkflowOutputRepository

func (*WorkflowOutputRepository) Get

func (*WorkflowOutputRepository) GetCertificate

func (w *WorkflowOutputRepository) GetCertificate(ctx context.Context, nodeId string) (*domain.Certificate, error)

func (*WorkflowOutputRepository) Save

func (w *WorkflowOutputRepository) Save(ctx context.Context, output *domain.WorkflowOutput, certificate *domain.Certificate, cb func(id string) error) error

保存节点输出

type WorkflowRepository

type WorkflowRepository struct{}

func NewWorkflowRepository

func NewWorkflowRepository() *WorkflowRepository

func (*WorkflowRepository) Get

func (*WorkflowRepository) ListEnabledAuto

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

func (*WorkflowRepository) SaveRunLog

func (w *WorkflowRepository) SaveRunLog(ctx context.Context, log *domain.WorkflowRunLog) error

Jump to

Keyboard shortcuts

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