git

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clone

type Clone struct {
	Git
	util.FileSystem
}

func (*Clone) Download

func (c *Clone) Download(request *api.Request) error

Download downloads the application source code from the GIT repository and checkout the Ref specified in the request.

type Git

type Git interface {
	ValidCloneSpec(source string) bool
	Clone(source, target string) error
	Checkout(repo, ref string) error
}

Git is an interface used by main STI code to extract/checkout git repositories

func New

func New() Git

New returns a new instance of the default implementation of the Git interface

Jump to

Keyboard shortcuts

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