Help us shape the future of Go! Take the 2026 Go Developer Survey

scm

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, factory Factory)

Types

type Commitable

type Commitable interface {
	CommitHash() string
}

type Factory

type Factory func(config map[string]interface{}) (Scm, error)

type Scm

type Scm interface {
	Fetch(ctx pipeline.Context, workdir, ref string) error
}

func New

func New(name string, config map[string]interface{}) (Scm, error)

type ScmStep

type ScmStep struct {
	Config map[string]interface{}
	Ref    string
}

func (*ScmStep) Execute

func (s *ScmStep) Execute(ctx pipeline.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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