Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultDrupalVersion = "^9.0.0"
DefaultDrupalVersion is the default drupal version
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { ingredient.Base Dependencies struct { Barrel *barrel.Barrel Bookkeeping *bookkeeping.Bookkeeping SystemManager *system.SystemManager Composer *composer.Composer Drush *drush.Drush Adapters *extras.Adapters Settings *extras.Settings } }
Manager manages a profile applied to specific WissKI instances.
func (*Manager) Provision ¶
func (manager *Manager) Provision(ctx context.Context, progress io.Writer, system models.System, flags Profile) error
Provision provisions this instance with the given flags.
Provision assumes that the instance does not yet exist, and may fail with an existing instance.
Provision applies defaults to flags, to ensure some values are set
type Profile ¶
type Profile struct { Drupal string // Version of Drupal to use WissKI string // Version of WissKI to use InstallModules []string // Modules to be installed (but not neccessarily enabled) EnableModules []string // Modules to be installed and enabled }
Profile represents a profile applied to a WissKI instance of the Distillery.
func (*Profile) ApplyDefaults ¶
func (profile *Profile) ApplyDefaults()
ApplyDefaults applies the default settings to missing profile settings.
Click to show internal directories.
Click to hide internal directories.