mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-24 01:54:23 +00:00
copy config.yaml to docker image enable external usage of dashboard package gofmt fix comment use packr for assets add gobuffalo/packr dependency add dependencies fix pointer issues add output-file option
19 lines
407 B
Go
19 lines
407 B
Go
package builder
|
|
|
|
var tmpl = `// Code generated by github.com/gobuffalo/packr. DO NOT EDIT.
|
|
|
|
package {{.Name}}
|
|
|
|
import "github.com/gobuffalo/packr"
|
|
|
|
// You can use the "packr clean" command to clean up this,
|
|
// and any other packr generated files.
|
|
func init() {
|
|
{{- range $box := .Boxes }}
|
|
{{- range .Files }}
|
|
packr.PackJSONBytes("{{$box.Name}}", "{{.Name}}", "{{.Contents}}")
|
|
{{- end }}
|
|
{{- end }}
|
|
}
|
|
`
|