model

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const DdevSettingsFileSignature = "#ddev-generated"

DdevSettingsFileSignature is the text we use to detect whether a settings file is managed by us. If this string is found, we assume we can replace/update the settings file.

Variables

This section is empty.

Functions

This section is empty.

Types

type DrupalConfig

type DrupalConfig struct {
	DeployName       string
	DeployURL        string
	DatabaseName     string
	DatabaseUsername string
	DatabasePassword string
	DatabaseHost     string
	DatabaseDriver   string
	DatabasePort     string
	DatabasePrefix   string
	HashSalt         string
	IsDrupal8        bool
	Signature        string
}

DrupalConfig encapsulates all the configurations for a Drupal site.

func NewDrupalConfig

func NewDrupalConfig() *DrupalConfig

NewDrupalConfig produces a DrupalConfig object with default.

type DrushConfig

type DrushConfig struct {
	DatabasePort string
	DatabaseHost string
	IsDrupal8    bool
}

DrushConfig encapsulates configuration for a drush settings file.

func NewDrushConfig

func NewDrushConfig() *DrushConfig

NewDrushConfig produces a DrushConfig object with default.

type WordpressConfig

type WordpressConfig struct {
	WPGeneric        bool
	DeployName       string
	DeployURL        string
	DatabaseName     string
	DatabaseUsername string
	DatabasePassword string
	DatabaseHost     string
	AuthKey          string
	SecureAuthKey    string
	LoggedInKey      string
	NonceKey         string
	AuthSalt         string
	SecureAuthSalt   string
	LoggedInSalt     string
	NonceSalt        string
	Docroot          string
	TablePrefix      string
	Signature        string
}

WordpressConfig encapsulates all the configurations for a WordPress site.

func NewWordpressConfig

func NewWordpressConfig() *WordpressConfig

NewWordpressConfig produces a WordpressConfig object with defaults.

Jump to

Keyboard shortcuts

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