Help us shape the future of Go! Take the 2026 Go Developer Survey

mapper

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2026 License: MIT, MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Builds

func Builds(services types.Services, cfg *c2qtypes.Config) []c2qtypes.QuadletUnit

func Container

func Container(svc types.ServiceConfig, cfg *c2qtypes.Config) []c2qtypes.Directive

func ExtractBuildExtensions added in v0.4.0

func ExtractBuildExtensions(svc types.ServiceConfig, cfg *c2qtypes.Config) []c2qtypes.Directive

func ExtractContainerExtensions added in v0.4.0

func ExtractContainerExtensions(svc types.ServiceConfig, cfg *c2qtypes.Config) []c2qtypes.Directive

func ExtractImageExtensions added in v0.4.0

func ExtractImageExtensions(svc types.ServiceConfig, cfg *c2qtypes.Config) []c2qtypes.Directive

func ExtractNetworkExtensions added in v0.4.0

func ExtractNetworkExtensions(name string, nc types.NetworkConfig, cfg *c2qtypes.Config) []c2qtypes.Directive

func ExtractSystemdExtensions added in v0.4.0

func ExtractSystemdExtensions(svc types.ServiceConfig, cfg *c2qtypes.Config) (service []c2qtypes.Directive, unit []c2qtypes.Directive)

func ExtractVolumeExtensions added in v0.4.0

func ExtractVolumeExtensions(name string, vc types.VolumeConfig, cfg *c2qtypes.Config) []c2qtypes.Directive

func Healthcheck

func Healthcheck(svc types.ServiceConfig, cfg *c2qtypes.Config) []c2qtypes.Directive

func Images

func Images(services types.Services, cfg *c2qtypes.Config) []c2qtypes.QuadletUnit

func MergeDirectives added in v0.4.0

func MergeDirectives(base, override []c2qtypes.Directive) []c2qtypes.Directive

func Networks

func Networks(networks types.Networks, cfg *c2qtypes.Config) []c2qtypes.QuadletUnit

func PatchDockerfileFROM

func PatchDockerfileFROM(r io.Reader, skipNormalize bool) ([]byte, error)

func PremapSecrets

func PremapSecrets(svc *types.ServiceConfig, secrets types.Secrets, configs types.Configs, cfg *c2qtypes.Config) []c2qtypes.Directive

func SecurityOpts

func SecurityOpts(opts []string, serviceName string, cfg *c2qtypes.Config) []c2qtypes.Directive

func Service

func Service(svc types.ServiceConfig, cfg *c2qtypes.Config) []c2qtypes.Directive

func Unit

func UnitService

func UnitService(svc types.ServiceConfig, cfg *c2qtypes.Config) []c2qtypes.Directive

func Volumes

func Volumes(volumes types.Volumes, cfg *c2qtypes.Config) []c2qtypes.QuadletUnit

Types

This section is empty.

Jump to

Keyboard shortcuts

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