projecttoml

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProjectTomlPath = "./project.toml"
)

Variables

This section is empty.

Functions

func DoesProjectFileExist

func DoesProjectFileExist(filePath string) bool

func GetBuildEnvVars

func GetBuildEnvVars(project *ProjectToml) (map[string]string, error)

Types

type Build

type Build struct {
	Env []map[string]string
}

type Buildpacks

type Buildpacks struct {
	Build Build
}

type Io

type Io struct {
	Buildpacks Buildpacks
}

type ProjectToml

type ProjectToml struct {
	Io    Io
	Build Build
}

func GetProjectFile

func GetProjectFile(filePath string) (*ProjectToml, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳