Documentation ¶
Overview ¶
Package repository includes functions to manage GIT-based repositories
Index ¶
- func AddRepo(name string, source string) error
- func CreateRepoStoreDir() error
- func GetRepoStorePath() (*string, error)
- func GetSpecificRepoPath(repoName string) (*string, error)
- func ListRepos() (*map[string]string, error)
- func PushSpecToRepo(repoName string) error
- func RemoveRepo(name string) error
- func UpdateRepos() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRepoStoreDir ¶
func CreateRepoStoreDir() error
CreateRepoStoreDir creates the repository directory for RackJobber
func GetRepoStorePath ¶
GetRepoStorePath returns the path to the repository store directory.
func GetSpecificRepoPath ¶
GetSpecificRepoPath will return the path to a specific Repository Directory
func PushSpecToRepo ¶
PushSpecToRepo pushes a rackspec to a specific repository
func RemoveRepo ¶
RemoveRepo will remove a rackspec repository from rackjobber
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.