Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompleteOperation ¶
type CompleteOperation interface {
Execute(ctx context.Context, vaultPath string, taskName string) error
}
func NewCompleteOperation ¶
func NewCompleteOperation( storage storage.Storage, ) CompleteOperation
NewCompleteOperation creates a new complete operation.
type DeferOperation ¶
type DeferOperation interface {
Execute(ctx context.Context, vaultPath string, taskName string, dateStr string) error
}
func NewDeferOperation ¶
func NewDeferOperation( storage storage.Storage, ) DeferOperation
NewDeferOperation creates a new defer operation.
type LintIssue ¶
type LintIssue struct {
FilePath string
IssueType IssueType
Description string
Fixable bool
Fixed bool
}
LintIssue represents a single lint issue found in a file.
type LintOperation ¶
type LintOperation interface {
Execute(ctx context.Context, vaultPath string, tasksDir string, fix bool) error
}
func NewLintOperation ¶
func NewLintOperation() LintOperation
NewLintOperation creates a new lint operation.
type ListOperation ¶
type ListOperation interface {
Execute(
ctx context.Context,
vaultPath string,
pagesDir string,
statusFilter []domain.TaskStatus,
showAll bool,
) error
}
func NewListOperation ¶
func NewListOperation( storage storage.Storage, ) ListOperation
NewListOperation creates a new list operation.
type SearchOperation ¶
type SearchOperation interface {
Execute(ctx context.Context, vaultPath string, scopeDir string, query string, topK int) error
}
func NewSearchOperation ¶
func NewSearchOperation() SearchOperation
NewSearchOperation creates a new search operation.
type UpdateOperation ¶
type UpdateOperation interface {
Execute(ctx context.Context, vaultPath string, taskName string) error
}
func NewUpdateOperation ¶
func NewUpdateOperation( storage storage.Storage, ) UpdateOperation
NewUpdateOperation creates a new update operation.
Click to show internal directories.
Click to hide internal directories.