pack

package
v0.0.0-...-7f7efcf Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: BSD-2-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TgzType    = "tgz"
	RpmType    = "rpm"
	DebType    = "deb"
	DockerType = "docker"
)

Variables

This section is empty.

Functions

func FillCtx

func FillCtx(ctx *context.Ctx, preOrPostInstScriptIsSet bool) error

func Run

func Run(ctx *context.Ctx) error

Run packs application into project.PackType distributable

func Validate

func Validate(ctx *context.Ctx) error

Types

type CachePathParams

type CachePathParams struct {
	Path        string `yaml:"path,omitempty"`
	Key         string `yaml:"key,omitempty"`
	KeyPath     string `yaml:"key-path,omitempty"`
	AlwaysCache bool   `yaml:"always-cache,omitempty"`
}

type CachePaths

type CachePaths map[string]string

type CachePathsParams

type CachePathsParams []CachePathParams

type SystemdUnitParams

type SystemdUnitParams struct {
	FdLimit           *int `yaml:"fd-limit"`
	StateboardFdLimit *int `yaml:"stateboard-fd-limit"`

	InstanceEnv   UnitEnvArgs `yaml:"instance-env"`
	StateboardEnv UnitEnvArgs `yaml:"stateboard-env"`
}

type UnitEnvArgs

type UnitEnvArgs map[string]interface{}

Jump to

Keyboard shortcuts

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