git

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Repo   *git.Repository
	Commit plumbing.Hash
}

func (*Context) CommitHash

func (c *Context) CommitHash() string

type Git

type Git struct {
	Options *Options
}

func (*Git) Fetch

func (g *Git) Fetch(ctx pipeline.Context, workdir, refName string) error

type Options

type Options struct {
	Repository string `mapstructure:"repository"`
	Ref        string `mapstructure:"ref"`
}

Jump to

Keyboard shortcuts

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