drupal

package
v0.0.0-...-4c37742 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckContainer

func CheckContainer() error

CheckContainer ...

func CheckLocal

func CheckLocal()

CheckLocal ...

func CheckSettings

func CheckSettings(checks string)

CheckSettings checks that Drupal is ready to run in the Tokaido environment

func ConfigureSSH

func ConfigureSSH()

ConfigureSSH - Configure `~/.ssh/config` and `~/.ssh/tok_config` to be ready for ssh access

func CreateSettingsTok

func CreateSettingsTok()

CreateSettingsTok - Generate a `settings.tok.php` file

func GenerateRandomHashSalt

func GenerateRandomHashSalt() (string, error)

GenerateRandomHashSalt returns a securely generated random string. It will return an error if the system's secure random number generator fails to function correctly, in which case the caller should not continue.

func GetDrupalVersion

func GetDrupalVersion() string

GetDrupalVersion ...

func Hash

func Hash()

Hash is run from the command line and prints out a valid Drupal hash salt

func Purge

func Purge()

Purge will empty the Varnish cache and run a drush cache-rebuild

func SettingsPath

func SettingsPath() string

SettingsPath returns the full system path to the Drupal settings file

func SettingsTokPath

func SettingsTokPath() string

SettingsTokPath returns the full system path to the Tokaido settings file

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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