compose

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyArgs

func ApplyArgs(root *yaml.Node, toApply map[string]string) ([]logger.Entry, error)

func CreateServiceByExtension

func CreateServiceByExtension(referencedComposeFilePath string, serviceName string, args map[string]string) types.ServiceConfig

func ExtractNamedServiceVolumes

func ExtractNamedServiceVolumes(service map[string]any) ([]types.ServiceVolumeConfig, error)

func InsertService

func InsertService(p *types.Project, svc types.ServiceConfig) error

func ReadNode

func ReadNode(composeFile io.Reader) (*yaml.Node, error)

func ReadProject

func ReadProject(targetProjectFile string) (*types.Project, error)

func RegisterVolumes

func RegisterVolumes(targetProject *types.Project, volumes []types.ServiceVolumeConfig)

func RemoveService

func RemoveService(project *yaml.Node, serviceName string) error

func WriteNode

func WriteNode(project *yaml.Node, target io.Writer) error

func WriteProject

func WriteProject(project *types.Project, targetComposeFile string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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