app

package
v0.0.0-...-651df9d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2021 License: MIT Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL