tool_git

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TaskKindClone = "clone"
View Source
const ToolKind = "git"

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskClone

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

	TaskName string `yaml:"name"`

	tools.BaseTask `yaml:",inline"`

	URL          string `yaml:"url"`
	Path         string `yaml:"path"`
	RemoteBranch string `yaml:"remote_branch"`
	LocalBranch  string `yaml:"local_branch"`
	RemoteName   string `yaml:"remote_name"`

	ExtraArgs []string `yaml:"extra_args"`
}

func (*TaskClone) GetExecSpecs

func (*TaskClone) Key added in v0.7.0

func (c *TaskClone) Key() dukkha.TaskKey

func (*TaskClone) Kind added in v0.7.0

func (c *TaskClone) Kind() dukkha.TaskKind

func (*TaskClone) Name added in v0.7.0

func (c *TaskClone) Name() dukkha.TaskName

type Tool

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

	ToolName dukkha.ToolName `yaml:"name"`

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

func (*Tool) Init

func (t *Tool) Init(cacheFS *fshelper.OSFS) error

func (*Tool) Key added in v0.7.0

func (t *Tool) Key() dukkha.ToolKey

func (*Tool) Kind added in v0.7.0

func (t *Tool) Kind() dukkha.ToolKind

func (*Tool) Name added in v0.7.0

func (t *Tool) Name() dukkha.ToolName

Jump to

Keyboard shortcuts

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