Documentation
¶
Index ¶
- type AccessRepository
- type AcmeAccountRepository
- type CertificateRepository
- type SettingRepository
- type StatisticsRepository
- type WorkflowOutputRepository
- func (w *WorkflowOutputRepository) Get(ctx context.Context, nodeId string) (*domain.WorkflowOutput, error)
- func (w *WorkflowOutputRepository) GetCertificate(ctx context.Context, nodeId string) (*domain.Certificate, error)
- func (w *WorkflowOutputRepository) Save(ctx context.Context, output *domain.WorkflowOutput, ...) error
- type WorkflowRepository
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
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
type StatisticsRepository ¶
type StatisticsRepository struct{}
func NewStatisticsRepository ¶
func NewStatisticsRepository() *StatisticsRepository
func (*StatisticsRepository) Get ¶
func (r *StatisticsRepository) Get(ctx context.Context) (*domain.Statistics, error)
type WorkflowOutputRepository ¶
type WorkflowOutputRepository struct{}
func NewWorkflowOutputRepository ¶
func NewWorkflowOutputRepository() *WorkflowOutputRepository
func (*WorkflowOutputRepository) Get ¶
func (w *WorkflowOutputRepository) Get(ctx context.Context, nodeId string) (*domain.WorkflowOutput, error)
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) ListEnabledAuto ¶
func (*WorkflowRepository) SaveRunLog ¶
func (w *WorkflowRepository) SaveRunLog(ctx context.Context, log *domain.WorkflowRunLog) error
Click to show internal directories.
Click to hide internal directories.