Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadInConfig ¶
Types ¶
type Config ¶
type Config struct { GithubUser string `json:"github_user"` SourceDir string `json:"source_dir"` GitlabUser string `json:"gitlab_user"` GitlabURL string `json:"gitlab_url"` }
var DevctlConfig *Config
type ProjectConfigStruct ¶
type ProjectConfigStruct struct { Node Version Go Version Python Version Scripts map[string]utilities.RunCommand DockerCompose interface{} `json:"docker-compose"` DockerComposeFile string `json:"docker-compose-file"` Services []interface{} Dependencies struct { Install []string Brew struct { Install []string } Aptget struct { Install []string } `json:"apt-get"` } }
var ProjectConfig *ProjectConfigStruct
TODO: make this work
func (*ProjectConfigStruct) ParseFile ¶
func (c *ProjectConfigStruct) ParseFile(paths ...string) (err error)
func (*ProjectConfigStruct) ParseFileDefault ¶
func (c *ProjectConfigStruct) ParseFileDefault() error
func (*ProjectConfigStruct) ParseJson ¶
func (c *ProjectConfigStruct) ParseJson(data string)
func (*ProjectConfigStruct) ParseYaml ¶
func (c *ProjectConfigStruct) ParseYaml(data string)
func (*ProjectConfigStruct) ProjectName ¶
func (c *ProjectConfigStruct) ProjectName() (string, error)
Click to show internal directories.
Click to hide internal directories.