git

package
v0.0.0-...-9aee857 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2015 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PrereceiveHookTpl = `` /* 936-byte string literal not displayed */

PrereceiveHookTpl is a pre-receive hook script.

This is overridable. The following template variables are passed into it:

.GitHome: the path to Git's home directory.

Functions

func Receive

func Receive(c cookoo.Context, p *cookoo.Params) (interface{}, cookoo.Interrupt)

Receive receives a Git repo. This will only work for git-receive-pack.

Params:

  • operation (string): e.g. git-receive-pack
  • repoName (string): The repository name, in the form '/REPO.git'.
  • channel (ssh.Channel): The channel.
  • request (*ssh.Request): The channel.
  • gitHome (string): Defaults to /home/git.
  • fingerprint (string): The fingerprint of the user's SSH key.
  • user (string): The name of the Deis user.

Returns:

  • nothing

Types

This section is empty.

Jump to

Keyboard shortcuts

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