compose

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(files []string, opts ...Options) (*types.Project, error)

Load parses one or more Compose files (merged left-to-right) and returns the project.

func TopologicalOrder

func TopologicalOrder(project *types.Project) ([]string, error)

TopologicalOrder returns service names in dependency order (dependencies first).

Types

type Options

type Options struct {
	ProjectName string
	EnvFile     string
	Profiles    []string
}

Options controls how a compose file is loaded.

Jump to

Keyboard shortcuts

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