project

package
v1.226.0-protecode-cus... Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package project handles project.toml parsing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolvePath

func ResolvePath(descriptor, path string, utils cnbutils.BuildUtils) (string, error)

1. If "path" is a directory, check for "${path}/${descriptor}" 2. If "path" is a file, check for "${PWD}/${descriptor}"

Types

type Descriptor

type Descriptor struct {
	Exclude    *ignore.GitIgnore
	Include    *ignore.GitIgnore
	EnvVars    map[string]interface{}
	Buildpacks []string
	ProjectID  string
}

func ParseDescriptor

func ParseDescriptor(descriptorPath string, utils cnbutils.BuildUtils, httpClient piperhttp.Sender) (*Descriptor, error)

Directories

Path Synopsis
Package metadata handles generation of the project-metadata.toml
Package metadata handles generation of the project-metadata.toml

Jump to

Keyboard shortcuts

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