Documentation ¶
Index ¶
- type SystemManager
- func (smanager *SystemManager) Apply(ctx context.Context, progress io.Writer, system models.System) (err error)
- func (smanager *SystemManager) ApplyInitial(ctx context.Context, progress io.Writer, system models.System) error
- func (smanager *SystemManager) BuildSettings(ctx context.Context, progress io.Writer) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemManager ¶
type SystemManager struct { ingredient.Base // contains filtered or unexported fields }
SystemManager applies a specific system configuration
func (*SystemManager) Apply ¶
func (smanager *SystemManager) Apply(ctx context.Context, progress io.Writer, system models.System) (err error)
Apply applies the given system configuration to this instance and (re-)starts the system.
func (*SystemManager) ApplyInitial ¶
func (smanager *SystemManager) ApplyInitial(ctx context.Context, progress io.Writer, system models.System) error
ApplyInitial builds the base image, but does not start it
func (*SystemManager) BuildSettings ¶
BuildSettings sets up global settings.php configuration settings.php for the provided running instance This doesn't need to be called manually.
Click to show internal directories.
Click to hide internal directories.