Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultConfigDirTemplate = "%s/config/%s"
)
Variables ¶
View Source
var RegisterPackage = installer.RegisterPackage
RegisterPackage registers an interest in producing an image based on the provide package.
Functions ¶
This section is empty.
Types ¶
type Option ¶
func WithConfigDirTemplate ¶
WithConfigDirTemplate lets you change the configuration directory template. This value will be used to produce the fill file path of manifest files. And used like sprintf(dir, rootDir, name). By default:
- dir this value will be "%s/config/%s".
- rootDir is the directory of the caller to New.
- name is provided in a list for install
func WithImages ¶
func WithRootDir ¶
Click to show internal directories.
Click to hide internal directories.