jx: github.com/jenkins-x/jx/pkg/draft Index | Files

package draft

import "github.com/jenkins-x/jx/pkg/draft"


Package Files


func DoPackDetection Uses

func DoPackDetection(home draftpath.Home, out io.Writer, dir string) (string, error)

DoPackDetection performs pack detection across all the packs available in $(draft home)/packs in alphabetical order, returning the pack dirpath and any errors that occurred during the pack detection.

func DoPackDetectionForBuildPack Uses

func DoPackDetectionForBuildPack(out io.Writer, dir string, packDir string) (string, error)

DoPackDetectionForBuildPack performs detection of the language based on a sepcific build pack

Package draft imports 10 packages (graph) and is imported by 1 packages. Updated 2019-06-25. Refresh now. Tools for package owners.