Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitRepo ¶
func InitRepo(dir string) *git2.Repository
func InitRepoWithCommit ¶
func InitRepoWithCommit(dir string) (plumbing.Hash, *git2.Repository)
Types ¶
type Config ¶
type Config struct { VCS *VCSConfig `yaml:"vcs"` CI *CIConfig `yaml:"ci"` Registry *RegistryConfig `yaml:"registry"` Environments map[string]Environment `yaml:"environments"` AvailableCI []ci.CI AvailableRegistries []registry.Registry }
func InitEmptyConfig ¶
func InitEmptyConfig() *Config
func (*Config) CurrentEnvironment ¶
func (c *Config) CurrentEnvironment(environment string) (*Environment, error)
func (*Config) CurrentRegistry ¶
func (*Config) CurrentVCS ¶
type Environment ¶
type RegistryConfig ¶
Click to show internal directories.
Click to hide internal directories.