Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LagoonDockerCompose ¶
type LagoonDockerCompose struct {
LagoonProject string `yaml:"x-lagoon-project"`
}
LagoonDockerCompose represents the docker-compose.yml file contents for a Lagoon project.
type LagoonProject ¶
type LagoonProject struct { Dir string Name string Environment string DockerComposeYaml string `yaml:"docker-compose-yaml"` }
LagoonProject represets the information of a Lagoon project.
func GetLocalProject ¶
func GetLocalProject() (LagoonProject, error)
GetLocalProject returns the current Lagoon app detected.
func (*LagoonProject) ReadConfig ¶
func (project *LagoonProject) ReadConfig() error
ReadConfig reads the configuration files of a Lagoon project.
Click to show internal directories.
Click to hide internal directories.