compose

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package compose provides Docker Compose file parsing and handling

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LabelConverter added in v0.9.0

func LabelConverter(labels types.Labels) []string

LabelConverter converts compose-style labels to unit labels.

func NameResolver added in v0.9.0

func NameResolver(definedName, keyName string) string

NameResolver resolves resource names from compose configs.

func OptionsConverter added in v0.9.0

func OptionsConverter(opts map[string]string) []string

OptionsConverter converts driver options to unit options.

func ParseComposeFile

func ParseComposeFile(path string) (*types.Project, error)

ParseComposeFile parses a Docker Compose file at the specified path.

func ReadProjects

func ReadProjects(path string) ([]*types.Project, error)

ReadProjects reads all Docker Compose projects from a directory path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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