faas-cli: github.com/openfaas/faas-cli/builder Index | Files

package builder

import "github.com/openfaas/faas-cli/builder"

Index

Package Files

build.go copy.go

Constants

const AdditionalPackageBuildArg = "ADDITIONAL_PACKAGE"

AdditionalPackageBuildArg holds the special build-arg keyname for use with build-opts. Can also be passed as a build arg hence needs to be accessed from commands

func BuildImage Uses

func BuildImage(image string, handler string, functionName string, language string, nocache bool, squash bool, shrinkwrap bool, buildArgMap map[string]string, buildOptions []string, tagMode schema.BuildFormat, buildLabelMap map[string]string) error

BuildImage construct Docker image from function parameters

func CopyFiles Uses

func CopyFiles(src, dest string) error

CopyFiles copies files from src to destination.

func GetImageTagValues Uses

func GetImageTagValues(tagType schema.BuildFormat) (branch, version string, err error)

GetImageTagValues returns the image tag format and component information determined via GIT

Package builder imports 11 packages (graph) and is imported by 2 packages. Updated 2019-10-19. Refresh now. Tools for package owners.