docker

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDockerCompose

func CreateDockerCompose(config DockerComposeTemplateConfig) ([]byte, error)

func CreateDockerfile

func CreateDockerfile(config DockerTemplateConfig) ([]byte, error)

func CreateEntrypoint

func CreateEntrypoint(config EntrypointTemplateConfig) ([]byte, error)

func CreateNginxConfig

func CreateNginxConfig(config NginxConfigTemplateConfig) ([]byte, error)

func CreateNginxDockerfile

func CreateNginxDockerfile() []byte

Types

type DockerComposeTemplateConfig

type DockerComposeTemplateConfig struct {
	Services map[string]ci.Service
	EnvVars  []string
}

type DockerTemplateConfig

type DockerTemplateConfig struct {
	BaseImage    string
	PrepareSteps []ci.Step
	Entrypoint   string
}

type EntrypointTemplateConfig

type EntrypointTemplateConfig struct {
	RunSteps []ci.Step
}

type NginxConfigTemplateConfig

type NginxConfigTemplateConfig struct {
	Services map[string]ci.Service
}

Jump to

Keyboard shortcuts

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