Documentation ¶
Index ¶
Constants ¶
View Source
const DockerfileName string = "Dockerfile"
DockerfileName: Default dockerfile name used in starterkits
Variables ¶
View Source
var ErrStarterKitNotFoundInRepo = errors.New("starterkit not found")
ErrStarterKitNotFoundInRepo is the error returned when a starterkit is not found in a starterkits
Functions ¶
func CheckForLatestVersion ¶ added in v1.0.1
func CheckForLatestVersion()
CheckForLatestVersion checks for latest releases
Types ¶
type GitHooks ¶ added in v1.0.1
type GitHooks struct { Home Home URL string Dir string // hooks directory name at source/remote Out io.Writer }
func (*GitHooks) Add ¶ added in v1.0.1
func (gitHook *GitHooks) Add()
Add downloads git hooks to vega home
func (*GitHooks) InstallGlobally ¶ added in v1.0.2
func (gitHook *GitHooks) InstallGlobally()
InstallGlobally installs Git Hooks as Global Git Hooks
type Home ¶
type Home string
This builds paths relative to a Vega Home directory.
func (Home) StarterKits ¶
type StarterKit ¶
StarterKit represents a starterkit repository.
func (*StarterKit) Create ¶
func (sk *StarterKit) Create(dest string) error
type StarterKitRepo ¶
type StarterKitRepo struct { Name string Path string // local absolute path to repo Home Home URL string Dir string // starterkits directory name at source/remote }
func RepoList ¶
func RepoList(path string) ([]StarterKitRepo, error)
RepoList list of all the local Repositories
func (*StarterKitRepo) Add ¶
func (repo *StarterKitRepo) Add()
Add adds repo and starterkits to vega
func (StarterKitRepo) Delete ¶
func (repo StarterKitRepo) Delete()
Delete deletes the starterkit repo
func (*StarterKitRepo) Find ¶
func (repo *StarterKitRepo) Find(name string) ([]StarterKit, error)
Find returns the starterkits matching with the given name
func (*StarterKitRepo) StarterKitList ¶
func (repo *StarterKitRepo) StarterKitList() (StarterKits, error)
StarterKitList Gets the list of all StarterKits for given repo.
type StarterKitRepos ¶
type StarterKitRepos []StarterKitRepo
type StarterKits ¶
type StarterKits []StarterKit
Click to show internal directories.
Click to hide internal directories.