repository

package
v0.0.0-...-648df55 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Overview

Package repository includes functions to manage GIT-based repositories

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRepo

func AddRepo(name string, source string) error

AddRepo will add a new rackspec repository to rackjobber

func CreateRepoStoreDir

func CreateRepoStoreDir() error

CreateRepoStoreDir creates the repository directory for RackJobber

func GetRepoStorePath

func GetRepoStorePath() (*string, error)

GetRepoStorePath returns the path to the repository store directory.

func GetSpecificRepoPath

func GetSpecificRepoPath(repoName string) (*string, error)

GetSpecificRepoPath will return the path to a specific Repository Directory

func ListRepos

func ListRepos() (*map[string]string, error)

ListRepos will make a map of all Repos connected to RackJobber with their Git URL

func PushSpecToRepo

func PushSpecToRepo(repoName string) error

PushSpecToRepo pushes a rackspec to a specific repository

func RemoveRepo

func RemoveRepo(name string) error

RemoveRepo will remove a rackspec repository from rackjobber

func UpdateRepos

func UpdateRepos() error

UpdateRepos will update all repositories

Types

This section is empty.

Jump to

Keyboard shortcuts

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