runtimeInfra

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: EPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeCmdRepo

type RuntimeCmdRepo struct {
	// contains filtered or unexported fields
}

func NewRuntimeCmdRepo

func NewRuntimeCmdRepo(
	persistentDbSvc *internalDbInfra.PersistentDatabaseService,
) *RuntimeCmdRepo

func (*RuntimeCmdRepo) CreatePhpVirtualHost

func (repo *RuntimeCmdRepo) CreatePhpVirtualHost(hostname valueObject.Fqdn) error

func (*RuntimeCmdRepo) DisablePhpModule

func (repo *RuntimeCmdRepo) DisablePhpModule(
	phpVersion valueObject.PhpVersion,
	module entity.PhpModule,
) error

func (*RuntimeCmdRepo) EnablePhpModule

func (repo *RuntimeCmdRepo) EnablePhpModule(
	phpVersion valueObject.PhpVersion,
	module entity.PhpModule,
) error

func (*RuntimeCmdRepo) UpdatePhpModules

func (repo *RuntimeCmdRepo) UpdatePhpModules(
	hostname valueObject.Fqdn,
	modules []entity.PhpModule,
) error

func (*RuntimeCmdRepo) UpdatePhpSettings

func (repo *RuntimeCmdRepo) UpdatePhpSettings(
	hostname valueObject.Fqdn,
	settings []entity.PhpSetting,
) error

func (*RuntimeCmdRepo) UpdatePhpVersion

func (repo *RuntimeCmdRepo) UpdatePhpVersion(
	hostname valueObject.Fqdn,
	version valueObject.PhpVersion,
) error

type RuntimeQueryRepo

type RuntimeQueryRepo struct {
}

func (RuntimeQueryRepo) GetVirtualHostPhpConfFilePath

func (repo RuntimeQueryRepo) GetVirtualHostPhpConfFilePath(
	hostname valueObject.Fqdn,
) (vhostPhpConfFilePath valueObject.UnixFilePath, err error)

func (RuntimeQueryRepo) ReadPhpConfigs

func (repo RuntimeQueryRepo) ReadPhpConfigs(
	hostname valueObject.Fqdn,
) (phpConfigs entity.PhpConfigs, err error)

func (RuntimeQueryRepo) ReadPhpModules

func (repo RuntimeQueryRepo) ReadPhpModules(
	version valueObject.PhpVersion,
) (phpModules []entity.PhpModule, err error)

func (RuntimeQueryRepo) ReadPhpSettings

func (repo RuntimeQueryRepo) ReadPhpSettings(
	hostname valueObject.Fqdn,
) (phpSettings []entity.PhpSetting, err error)

func (RuntimeQueryRepo) ReadPhpVersion

func (repo RuntimeQueryRepo) ReadPhpVersion(
	hostname valueObject.Fqdn,
) (phpVersion entity.PhpVersion, err error)

func (RuntimeQueryRepo) ReadPhpVersionsInstalled

func (repo RuntimeQueryRepo) ReadPhpVersionsInstalled() (
	phpVersions []valueObject.PhpVersion, err error,
)

Jump to

Keyboard shortcuts

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