git

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2017 License: Apache-2.0 Imports: 9 Imported by: 1

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