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
- type RepoIdentifier
- func (i RepoIdentifier) AuthKeysPathFor() string
- func (i RepoIdentifier) BaseHomePath() string
- func (i RepoIdentifier) GitAccessPathFor(name string, write bool) string
- func (i RepoIdentifier) HomePath() string
- func (i RepoIdentifier) LoginFor() string
- func (i RepoIdentifier) RepositoryPathFor() string
- func (i RepoIdentifier) SshAccessBasePath() string
- func (i RepoIdentifier) UnitNameFor() string
- func (i RepoIdentifier) UnitPathFor() string
- type RepositoryPermission
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 ¶
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. |
Click to show internal directories.
Click to hide internal directories.