Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/go-task/task
/ types & classes
Types & classes
215 in github.com/go-task/task
⨍
Functions
992
◇
Types & classes
215
↓ 6 callers
FuncType
traverseFunc
func(*ast.Task) error
watch.go:219
Struct
Cache
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
Struct
CacheNode
taskfile/node_cache.go:13
Struct
Call
Call is the parameters to a task call
call.go:6
Struct
CheckerConfig
internal/fingerprint/task.go:12
FuncType
CheckerOption
func(*CheckerConfig)
internal/fingerprint/task.go:11
Struct
ChecksumChecker
ChecksumChecker validates if a task is up to date by calculating its source files checksum
internal/fingerprint/sources_checksum.go:19
FuncType
CloseFunc
func(err error) error
internal/output/output.go:16
Struct
Cmd
Cmd is a task command
taskfile/ast/cmd.go:11
FuncType
Color
func() PrintFunc
internal/logger/logger.go:41
Struct
Compiler
compiler.go:22
Interface
Copier
internal/deepcopy/deepcopy.go:9
FuncType
DebugFunc
DebugFunc is a function that can be called to log debug messages.
taskrc/reader.go:13
FuncType
DebugFunc
DebugFunc is a function that can be called to log debug messages.
taskfile/reader.go:34
Struct
Deduper
internal/fsnotifyext/fsnotify_dedup.go:10
Struct
Defer
taskfile/ast/defer.go:9
Struct
Dep
Dep is a task dependency
taskfile/ast/dep.go:10
Struct
Enum
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
Struct
ErrInvalidPlatform
taskfile/ast/platforms.go:29
Struct
Executor
An Executor is used for processing Taskfile(s) and executing the task(s) within them.
executor.go:27
Interface
ExecutorOption
An ExecutorOption is any type that can apply a configuration to an [Executor].
executor.go:22
Struct
ExecutorTest
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
Interface
ExecutorTestOption
A ExecutorTestOption is a function that configures an [ExecutorTest].
executor_test.go:22
Struct
Experiment
experiments/experiment.go:11
Struct
FileNode
A FileNode is a node that reads a taskfile from the local filesystem.
taskfile/node_file.go:15
FuncType
FilterFunc
func(task *ast.Task) bool
task.go:552
Struct
For
taskfile/ast/for.go:10
Struct
FormatterTest
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
Interface
FormatterTestOption
A FormatterTestOption is a function that configures an [FormatterTest].
formatter_test.go:18
Struct
GitNode
An GitNode is a node that reads a Taskfile from a remote location via Git.
taskfile/node_git.go:23
Struct
Glob
taskfile/ast/glob.go:9
Struct
Group
internal/output/group.go:10
Struct
HTTPNode
An HTTPNode is a node that reads a Taskfile from a remote location via HTTP.
taskfile/node_http.go:21
FuncType
HashFunc
func(*ast.Task) (string, error)
internal/hash/hash.go:11
Struct
InactiveError
experiments/errors.go:26
Struct
Include
Include represents information about included taskfiles
taskfile/ast/include.go:17
TypeAlias
IncludeElement
An IncludeElement is a key-value pair that is used for initializing an Includes structure.
taskfile/ast/include.go:37
Struct
Includes
Includes is an ordered map of namespaces to includes.
taskfile/ast/include.go:31
Struct
Interleaved
internal/output/interleaved.go:9
Struct
InvalidValueError
experiments/errors.go:11
Struct
ListOptions
ListOptions collects list-related options
help.go:22
Struct
Location
Location describes a task's location in a taskfile
internal/editors/output.go:25
Struct
Location
taskfile/ast/location.go:3
Struct
Logger
Logger is just a wrapper that prints stuff to STDOUT or STDERR, with optional color.
internal/logger/logger.go:132
TypeAlias
MatchResult
MatchResult defines outcomes of a match, no match, exclusion or inclusion.
internal/gitignore/pattern.go:19
Interface
Matcher
Matcher defines a global multi-pattern matcher for gitignore patterns
internal/gitignore/matcher.go:8
Struct
MatchingTask
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
Struct
Matrix
Matrix is an ordered map of variable names to arrays of values.
taskfile/ast/matrix.go:15
TypeAlias
MatrixElement
A MatrixElement is a key-value pair that is used for initializing a Matrix structure.
taskfile/ast/matrix.go:20
Struct
MatrixRow
A MatrixRow list of values for a matrix key or a reference to another variable.
taskfile/ast/matrix.go:23
Struct
MissingVar
TaskMissingRequiredVarsError is returned when a task is missing required variables.
errors/errors_task.go:152
Struct
MockSourcesCheckable
MockSourcesCheckable is an autogenerated mock type for the SourcesCheckable type
internal/fingerprint/checker_mock.go:111
Struct
MockSourcesCheckable_Expecter
internal/fingerprint/checker_mock.go:115
Struct
MockSourcesCheckable_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
Struct
MockSourcesCheckable_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
Struct
MockSourcesCheckable_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
Struct
MockSourcesCheckable_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
Struct
MockStatusCheckable
MockStatusCheckable is an autogenerated mock type for the StatusCheckable type
internal/fingerprint/checker_mock.go:29
Struct
MockStatusCheckable_Expecter
internal/fingerprint/checker_mock.go:33
Struct
MockStatusCheckable_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
Struct
Namespace
Namespace wraps task list output for use in editor integrations (e.g. VSCode, etc)
internal/editors/output.go:9
Interface
Node
taskfile/node.go:16
Struct
Node
taskrc/node.go:7
FuncType
NodeOption
func(*baseNode)
taskfile/node_base.go:4
Struct
NoneChecker
NoneChecker is a no-op Checker. It will always report that the task is not up-to-date.
internal/fingerprint/sources_none.go:7
Struct
NotAllowedVar
errors/errors_task.go:184
Interface
Output
internal/output/output.go:12
Struct
Output
Output of the Task output
taskfile/ast/output.go:10
Struct
OutputGroup
OutputGroup is the style options specific to the Group style.
taskfile/ast/output.go:54
Interface
Pattern
Pattern defines a single gitignore pattern.
internal/gitignore/pattern.go:37
Struct
Platform
Platform represents GOOS and GOARCH values
taskfile/ast/platforms.go:14
FuncType
PostProcessFn
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
Struct
Precondition
Precondition represents a precondition necessary for a task to run
taskfile/ast/precondition.go:12
Struct
Prefixed
internal/output/prefixed.go:14
FuncType
PrintFunc
func(io.Writer, string, ...any)
internal/logger/logger.go:42
TypeAlias
Prompt
taskfile/ast/prompt.go:9
FuncType
PromptFunc
PromptFunc is a function that can be called to prompt the user for input.
taskfile/reader.go:36
Struct
Prompter
Prompter handles interactive variable prompting
internal/input/input.go:25
Struct
Reader
A Reader will recursively read Taskfiles from a given [Node] and build a [ast.TaskRC] from them.
taskrc/reader.go:20
Struct
Reader
A Reader will recursively read Taskfiles from a given [Node] and build a [ast.TaskfileGraph] from them.
taskfile/reader.go:43
Interface
ReaderOption
A ReaderOption is any type that can apply a configuration to a [Reader].
taskrc/reader.go:15
Interface
ReaderOption
A ReaderOption is any type that can apply a configuration to a [Reader].
taskfile/reader.go:38
Struct
Remote
taskrc/ast/taskrc.go:26
Interface
RemoteNode
taskfile/node.go:27
Struct
Requires
Requires represents a set of required variables necessary for a task to run
taskfile/ast/requires.go:11
Struct
RunCommandOptions
RunCommandOptions is the options for the [RunCommand] func.
internal/execext/exec.go:23
Struct
Snippet
A Snippet is a syntax highlighted snippet of a Taskfile with optional padding and a line and column indicator.
taskfile/snippet.go:42
Interface
SnippetOption
A SnippetOption is any type that can apply a configuration to a [Snippet].
taskfile/snippet.go:37
FuncType
Sorter
A Sorter is any function that sorts a set of tasks.
internal/sort/sorter.go:10
Interface
SourcesCheckable
SourcesCheckable defines any type that can check if the sources of a task are up-to-date.
internal/fingerprint/checker.go:15
Interface
StatusCheckable
StatusCheckable defines any type that can check if the status of a task is up-to-date.
internal/fingerprint/checker.go:10
Struct
StatusChecker
internal/fingerprint/status.go:12
Struct
StdinNode
A StdinNode is a node that reads a taskfile from the standard input stream.
taskfile/node_stdin.go:13
Struct
SyncBuffer
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
Struct
Task
Task describes a single task
internal/editors/output.go:15
Struct
Task
Task represents a task
taskfile/ast/task.go:15
Struct
TaskCalledTooManyTimesError
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
Struct
TaskCancelledByUserError
TaskCancelledByUserError is returned when the user does not accept an optional prompt to continue.
errors/errors_task.go:122
Struct
TaskCancelledNoTerminalError
TaskCancelledNoTerminalError is returned when trying to run a task with a prompt in a non-terminal environment.
errors/errors_task.go:135
TypeAlias
TaskElement
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