archive

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

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:"-"`

	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 include into archive
	Files []*archiveFileSpec `yaml:"files"`
}

func (*TaskCreate) GetExecSpecs

type Tool

type Tool struct {
	rs.BaseField `yaml:"-"`

	tools.BaseTool `yaml:",inline"`
}

func (*Tool) Init

func (t *Tool) Init(kind dukkha.ToolKind, cacheDir string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL