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 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
Create creates a new project at dest from given starter kit
func (*StarterKit) Install ¶ added in v1.0.4
func (sk *StarterKit) Install(dest string) error
Install installs a starterkit at existing project
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.