MCPcopy Index your code

hub / github.com/go-task/task / types & classes

Types & classes215 in github.com/go-task/task

↓ 6 callersFuncTypetraverseFunc
func(*ast.Task) error
watch.go:219
StructCache
Cache is a help struct that allow us to call "replaceX" funcs multiple times, without having to check for error each time. The first error that happen
internal/templater/templater.go:19
StructCacheNode
taskfile/node_cache.go:13
StructCall
Call is the parameters to a task call
call.go:6
StructCheckerConfig
internal/fingerprint/task.go:12
FuncTypeCheckerOption
func(*CheckerConfig)
internal/fingerprint/task.go:11
StructChecksumChecker
ChecksumChecker validates if a task is up to date by calculating its source files checksum
internal/fingerprint/sources_checksum.go:19
FuncTypeCloseFunc
func(err error) error
internal/output/output.go:16
StructCmd
Cmd is a task command
taskfile/ast/cmd.go:11
FuncTypeColor
func() PrintFunc
internal/logger/logger.go:41
StructCompiler
compiler.go:22
InterfaceCopier
internal/deepcopy/deepcopy.go:9
FuncTypeDebugFunc
DebugFunc is a function that can be called to log debug messages.
taskrc/reader.go:13
FuncTypeDebugFunc
DebugFunc is a function that can be called to log debug messages.
taskfile/reader.go:34
StructDeduper
internal/fsnotifyext/fsnotify_dedup.go:10
StructDefer
taskfile/ast/defer.go:9
StructDep
Dep is a task dependency
taskfile/ast/dep.go:10
StructEnum
Enum represents an enum constraint for a required variable. It can either be a static list of values or a reference to another variable.
taskfile/ast/requires.go:27
StructErrInvalidPlatform
taskfile/ast/platforms.go:29
StructExecutor
An Executor is used for processing Taskfile(s) and executing the task(s) within them.
executor.go:27
InterfaceExecutorOption
An ExecutorOption is any type that can apply a configuration to an [Executor].
executor.go:22
StructExecutorTest
A ExecutorTest is a test wrapper around a [task.Executor] to make it easy to write tests for tasks. See [NewExecutorTest] for information on creating
executor_test.go:31
InterfaceExecutorTestOption
A ExecutorTestOption is a function that configures an [ExecutorTest].
executor_test.go:22
StructExperiment
experiments/experiment.go:11
StructFileNode
A FileNode is a node that reads a taskfile from the local filesystem.
taskfile/node_file.go:15
FuncTypeFilterFunc
func(task *ast.Task) bool
task.go:552
StructFor
taskfile/ast/for.go:10
StructFormatterTest
A FormatterTest is a test wrapper around a [task.Executor] to make it easy to write tests for the task formatter. See [NewFormatterTest] for informati
formatter_test.go:27
InterfaceFormatterTestOption
A FormatterTestOption is a function that configures an [FormatterTest].
formatter_test.go:18
StructGitNode
An GitNode is a node that reads a Taskfile from a remote location via Git.
taskfile/node_git.go:23
StructGlob
taskfile/ast/glob.go:9
StructGroup
internal/output/group.go:10
StructHTTPNode
An HTTPNode is a node that reads a Taskfile from a remote location via HTTP.
taskfile/node_http.go:21
FuncTypeHashFunc
func(*ast.Task) (string, error)
internal/hash/hash.go:11
StructInactiveError
experiments/errors.go:26
StructInclude
Include represents information about included taskfiles
taskfile/ast/include.go:17
TypeAliasIncludeElement
An IncludeElement is a key-value pair that is used for initializing an Includes structure.
taskfile/ast/include.go:37
StructIncludes
Includes is an ordered map of namespaces to includes.
taskfile/ast/include.go:31
StructInterleaved
internal/output/interleaved.go:9
StructInvalidValueError
experiments/errors.go:11
StructListOptions
ListOptions collects list-related options
help.go:22
StructLocation
Location describes a task's location in a taskfile
internal/editors/output.go:25
StructLocation
taskfile/ast/location.go:3
StructLogger
Logger is just a wrapper that prints stuff to STDOUT or STDERR, with optional color.
internal/logger/logger.go:132
TypeAliasMatchResult
MatchResult defines outcomes of a match, no match, exclusion or inclusion.
internal/gitignore/pattern.go:19
InterfaceMatcher
Matcher defines a global multi-pattern matcher for gitignore patterns
internal/gitignore/matcher.go:8
StructMatchingTask
MatchingTask represents a task that matches a given call. It includes the task itself and a list of wildcards that were matched.
task.go:36
StructMatrix
Matrix is an ordered map of variable names to arrays of values.
taskfile/ast/matrix.go:15
TypeAliasMatrixElement
A MatrixElement is a key-value pair that is used for initializing a Matrix structure.
taskfile/ast/matrix.go:20
StructMatrixRow
A MatrixRow list of values for a matrix key or a reference to another variable.
taskfile/ast/matrix.go:23
StructMissingVar
TaskMissingRequiredVarsError is returned when a task is missing required variables.
errors/errors_task.go:152
StructMockSourcesCheckable
MockSourcesCheckable is an autogenerated mock type for the SourcesCheckable type
internal/fingerprint/checker_mock.go:111
StructMockSourcesCheckable_Expecter
internal/fingerprint/checker_mock.go:115
StructMockSourcesCheckable_IsUpToDate_Call
MockSourcesCheckable_IsUpToDate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsUpToDate'
internal/fingerprint/checker_mock.go:150
StructMockSourcesCheckable_Kind_Call
MockSourcesCheckable_Kind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Kind'
internal/fingerprint/checker_mock.go:195
StructMockSourcesCheckable_OnError_Call
MockSourcesCheckable_OnError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnError'
internal/fingerprint/checker_mock.go:239
StructMockSourcesCheckable_Value_Call
MockSourcesCheckable_Value_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Value'
internal/fingerprint/checker_mock.go:295
StructMockStatusCheckable
MockStatusCheckable is an autogenerated mock type for the StatusCheckable type
internal/fingerprint/checker_mock.go:29
StructMockStatusCheckable_Expecter
internal/fingerprint/checker_mock.go:33
StructMockStatusCheckable_IsUpToDate_Call
MockStatusCheckable_IsUpToDate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsUpToDate'
internal/fingerprint/checker_mock.go:68
StructNamespace
Namespace wraps task list output for use in editor integrations (e.g. VSCode, etc)
internal/editors/output.go:9
InterfaceNode
taskfile/node.go:16
StructNode
taskrc/node.go:7
FuncTypeNodeOption
func(*baseNode)
taskfile/node_base.go:4
StructNoneChecker
NoneChecker is a no-op Checker. It will always report that the task is not up-to-date.
internal/fingerprint/sources_none.go:7
StructNotAllowedVar
errors/errors_task.go:184
InterfaceOutput
internal/output/output.go:12
StructOutput
Output of the Task output
taskfile/ast/output.go:10
StructOutputGroup
OutputGroup is the style options specific to the Group style.
taskfile/ast/output.go:54
InterfacePattern
Pattern defines a single gitignore pattern.
internal/gitignore/pattern.go:37
StructPlatform
Platform represents GOOS and GOARCH values
taskfile/ast/platforms.go:14
FuncTypePostProcessFn
Post-processing A PostProcessFn is a function that can be applied to the output of a test fixture before the file is written.
task_test.go:300
StructPrecondition
Precondition represents a precondition necessary for a task to run
taskfile/ast/precondition.go:12
StructPrefixed
internal/output/prefixed.go:14
FuncTypePrintFunc
func(io.Writer, string, ...any)
internal/logger/logger.go:42
TypeAliasPrompt
taskfile/ast/prompt.go:9
FuncTypePromptFunc
PromptFunc is a function that can be called to prompt the user for input.
taskfile/reader.go:36
StructPrompter
Prompter handles interactive variable prompting
internal/input/input.go:25
StructReader
A Reader will recursively read Taskfiles from a given [Node] and build a [ast.TaskRC] from them.
taskrc/reader.go:20
StructReader
A Reader will recursively read Taskfiles from a given [Node] and build a [ast.TaskfileGraph] from them.
taskfile/reader.go:43
InterfaceReaderOption
A ReaderOption is any type that can apply a configuration to a [Reader].
taskrc/reader.go:15
InterfaceReaderOption
A ReaderOption is any type that can apply a configuration to a [Reader].
taskfile/reader.go:38
StructRemote
taskrc/ast/taskrc.go:26
InterfaceRemoteNode
taskfile/node.go:27
StructRequires
Requires represents a set of required variables necessary for a task to run
taskfile/ast/requires.go:11
StructRunCommandOptions
RunCommandOptions is the options for the [RunCommand] func.
internal/execext/exec.go:23
StructSnippet
A Snippet is a syntax highlighted snippet of a Taskfile with optional padding and a line and column indicator.
taskfile/snippet.go:42
InterfaceSnippetOption
A SnippetOption is any type that can apply a configuration to a [Snippet].
taskfile/snippet.go:37
FuncTypeSorter
A Sorter is any function that sorts a set of tasks.
internal/sort/sorter.go:10
InterfaceSourcesCheckable
SourcesCheckable defines any type that can check if the sources of a task are up-to-date.
internal/fingerprint/checker.go:15
InterfaceStatusCheckable
StatusCheckable defines any type that can check if the status of a task is up-to-date.
internal/fingerprint/checker.go:10
StructStatusChecker
internal/fingerprint/status.go:12
StructStdinNode
A StdinNode is a node that reads a taskfile from the standard input stream.
taskfile/node_stdin.go:13
StructSyncBuffer
SyncBuffer is a threadsafe buffer for testing. Some times replace stdout/stderr with a buffer to capture output. stdout and stderr are threadsafe, but
task_test.go:383
StructTask
Task describes a single task
internal/editors/output.go:15
StructTask
Task represents a task
taskfile/ast/task.go:15
StructTaskCalledTooManyTimesError
TaskCalledTooManyTimesError is returned when the maximum task call limit is exceeded. This is to prevent infinite loops and cyclic dependencies.
errors/errors_task.go:104
StructTaskCancelledByUserError
TaskCancelledByUserError is returned when the user does not accept an optional prompt to continue.
errors/errors_task.go:122
StructTaskCancelledNoTerminalError
TaskCancelledNoTerminalError is returned when trying to run a task with a prompt in a non-terminal environment.
errors/errors_task.go:135
TypeAliasTaskElement
A TaskElement is a key-value pair that is used for initializing a Tasks structure.
taskfile/ast/tasks.go:26
next →1–100 of 215, ranked by callers