Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PrereceiveHookTpl = `` /* 936-byte string literal not displayed */
PrereceiveHookTmpl is a pre-receive hook.
This is overridable. The following template variables are passed into it:
.GitHome: the path to Git's home directory.
Functions ¶
func Receive ¶
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.
Click to show internal directories.
Click to hide internal directories.