binary

package
v0.0.71 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppRootPath = "/app"
)

Variables

View Source
var (
	NodejsExclude = []string{"**/.yarn/cache", "**/.pnp.*"}
)

Functions

func GenerateBackendConfFromMap

func GenerateBackendConfFromMap(ctx context.Context, backends map[string]*BackendDefinition, placeholder bool) ([]byte, error)

func NodejsBuilder

func NodejsBuilder(env cfg.Context, loc pkggraph.Location, config *schema.ImageBuildPlan_NodejsBuild, assets assets.AvailableBuildAssets, isFocus bool) (build.Spec, error)

func PackageManagerCLI

func PackageManagerCLI(pkgMgr schema.NodejsIntegration_NodePkgMgr) (string, error)

Types

type BackendDefinition

type BackendDefinition struct {
	Managed   string   `json:"managed,omitempty"`
	Unmanaged []string `json:"unmanaged,omitempty"`
}

Jump to

Keyboard shortcuts

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