Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeStaticFilename ¶
NormalizeStaticFilename will take various variations of a filename and normalize it to what is listed in the staticFile name cache on the Bundle struct.
func Write ¶
func Write(tenantConfigBytes []byte, modules []os.File, staticFiles map[string]os.File, targetPath string) error
Write writes a module bundle based loosely on https://golang.org/src/archive/zip/example_test.go staticFiles should be a map of *relative* filepaths to their associated files, with or without the `static/` prefix.
Types ¶
Click to show internal directories.
Click to hide internal directories.