common

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const CurrentCliVersion = "0.5.9"

Variables

View Source
var (
	HomeDir       = os.Getenv("HOME")
	ServicesDir   = filepath.Join(HomeDir, ".ploy")
	SitesDir      = filepath.Join(ServicesDir, "sites")
	GlobalCompose = filepath.Join(ServicesDir, "docker-compose.yml")
	ProvisionsDir = filepath.Join(ServicesDir, "provisions")
	MysqlDir      = filepath.Join(ServicesDir, "database", "mysql")
	RedisDir      = filepath.Join(ServicesDir, "database", "redis")
	NginxDir      = filepath.Join(ServicesDir, "nginx")
)

Functions

func SetGlobalCompose added in v0.5.0

func SetGlobalCompose(path string)

func SetMysqlDir added in v0.5.0

func SetMysqlDir(dir string)

func SetNginxDir added in v0.5.0

func SetNginxDir(dir string)

func SetProvisionsDir added in v0.5.0

func SetProvisionsDir(dir string)

func SetRedisDir added in v0.5.0

func SetRedisDir(dir string)

func SetServicesDir added in v0.5.0

func SetServicesDir(dir string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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