git

package
v0.0.0-...-99f3a87 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2014 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Provides API and CLI wrappers to create, delete, and export Git repositories on this system and provide SSH access to them.

Index

Constants

View Source
const RepoIdentifierPrefix = "git-"
View Source
const RepositoryPermissionType = "repository"
View Source
const ResourceTypeRepository = "repo"

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoIdentifier

type RepoIdentifier containers.Identifier

func NewIdentifierFromUser

func NewIdentifierFromUser(u *user.User) (RepoIdentifier, error)

func (RepoIdentifier) AuthKeysPathFor

func (i RepoIdentifier) AuthKeysPathFor() string

func (RepoIdentifier) BaseHomePath

func (i RepoIdentifier) BaseHomePath() string

func (RepoIdentifier) GitAccessPathFor

func (i RepoIdentifier) GitAccessPathFor(name string, write bool) string

func (RepoIdentifier) HomePath

func (i RepoIdentifier) HomePath() string

func (RepoIdentifier) LoginFor

func (i RepoIdentifier) LoginFor() string

func (RepoIdentifier) RepositoryPathFor

func (i RepoIdentifier) RepositoryPathFor() string

func (RepoIdentifier) SshAccessBasePath

func (i RepoIdentifier) SshAccessBasePath() string

func (RepoIdentifier) UnitNameFor

func (i RepoIdentifier) UnitNameFor() string

func (RepoIdentifier) UnitPathFor

func (i RepoIdentifier) UnitPathFor() string

type RepositoryPermission

type RepositoryPermission struct {
	Id    string
	Write bool
}

Directories

Path Synopsis
The gear 'create-repo' extension.
The gear 'create-repo' extension.
Provides http request and handlers for git repo operations.
Provides http request and handlers for git repo operations.
remote
Provides remote execution glue for http git job requests.
Provides remote execution glue for http git job requests.
Provides requests for git jobs.
Provides requests for git jobs.
linux
Provides linux implementations of git jobs.
Provides linux implementations of git jobs.

Jump to

Keyboard shortcuts

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