Documentation
¶
Index ¶
Constants ¶
View Source
const TaskKindCreate = "create"
View Source
const ToolKind = "archive"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskCreate ¶
type TaskCreate struct {
rs.BaseField `yaml:"-"`
TaskName string `yaml:"name"`
tools.BaseTask `yaml:",inline"`
// Format of the archive, one of [tar, zip]
//
// Defaults to `"zip"` when matrix.kernel is set to windows, otherwise `"tar"`
Format string `yaml:"format"`
// Compression configuration
Compression compressionSpec `yaml:"compression"`
// Output archive file
Output string `yaml:"output"`
// Files to be archived
Files []*fileFromToSpec `yaml:"files"`
}
func (*TaskCreate) GetExecSpecs ¶
func (c *TaskCreate) GetExecSpecs( rc dukkha.TaskExecContext, options dukkha.TaskMatrixExecOptions, ) ([]dukkha.TaskExecSpec, error)
func (*TaskCreate) Key ¶ added in v0.7.0
func (c *TaskCreate) Key() dukkha.TaskKey
func (*TaskCreate) Kind ¶ added in v0.7.0
func (c *TaskCreate) Kind() dukkha.TaskKind
func (*TaskCreate) Name ¶ added in v0.7.0
func (c *TaskCreate) Name() dukkha.TaskName
Click to show internal directories.
Click to hide internal directories.