system

package
v0.0.0-...-a0c28f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

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

func (smanager *SystemManager) BuildSettings(ctx context.Context, progress io.Writer) (err error)

BuildSettings sets up global settings.php configuration settings.php for the provided running instance This doesn't need to be called manually.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL