Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ChartfileName is the default Chart file name. ChartfileName = "Chart.yaml" // ChartDir is the relative directory name for the packaged chart with a pack. ChartDir = "chart" // DockerfileName is the name of the Dockerfile. DockerfileName = "Dockerfile" // ValuesfileName is the default values file name. ValuesfileName = "values.yaml" // IgnorefileName is the name of the Helm ignore file. IgnorefileName = ".helmignore" // DeploymentName is the name of the deployment file. DeploymentName = "deployment.yaml" // ServiceName is the name of the service file. ServiceName = "service.yaml" // IngressName is the name of the ingress file. IngressName = "ingress.yaml" // NotesName is the name of the NOTES.txt file. NotesName = "NOTES.txt" // HelpersName is the name of the helpers file. HelpersName = "_helpers.tpl" // TemplatesDir is the relative directory name for templates. TemplatesDir = "templates" // ChartsDir is the relative directory name for charts dependencies. ChartsDir = "charts" // HerokuLicenseName is the name of the Neroku License HerokuLicenseName = "NOTICE" // DockerignoreName is the name of the Docker ignore file DockerignoreName = ".dockerignore" )
Variables ¶
View Source
var NotFound = errors.New("Could not find a pack Q_Q")
Functions ¶
func CreateFrom ¶
CreateFrom scaffolds a directory with the src pack.
Types ¶
type Pack ¶
type Pack struct { // Chart is the Helm chart to be installed with the Pack. Chart *chart.Chart // Dockerfile is the pre-defined Dockerfile that will be installed with the Pack. Dockerfile []byte }
Pack defines a Draft Starter Pack.
Click to show internal directories.
Click to hide internal directories.