templates

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Laravel10BeforeComposer = Template{
	Name:  "laravel-10-before-composer",
	Embed: embedLaravel10BeforeComposer,
	Modes: map[string]os.FileMode{
		"laravel-10-before-composer/docker/app/rootfs/entrypoint":                     0755,
		"laravel-10-before-composer/docker/app/rootfs/etc/s6/app/nginx/run":           0755,
		"laravel-10-before-composer/docker/app/rootfs/etc/s6/app/php-fpm/run":         0755,
		"laravel-10-before-composer/docker/app/rootfs/etc/s6/worker/cron/run":         0755,
		"laravel-10-before-composer/docker/app/rootfs/etc/s6/worker/queue-runner/run": 0755,
		"laravel-10-before-composer/docker/app/rootfs/health-check":                   0755,
		"laravel-10-before-composer/docker/hot/rootfs/entrypoint":                     0755,
	},
}
View Source
var Laravel20AfterComposer = Template{
	Name:  "laravel-20-after-composer",
	Embed: embedLaravel20AfterComposer,
	Modes: map[string]os.FileMode{},
}

Functions

This section is empty.

Types

type Template

type Template struct {
	Name  string
	Embed embed.FS
	Modes map[string]os.FileMode
}

func (Template) Generate

func (t Template) Generate(appConfig appconfig.AppConfig) error

func (Template) GetMode

func (t Template) GetMode(path string) os.FileMode

Jump to

Keyboard shortcuts

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