composefile

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package composefile holds what the compose and command plugins share about Compose files: the names Compose picks by default and how a stack is named.

Index

Constants

This section is empty.

Variables

View Source
var (
	Default  = []string{"compose.yaml", "compose.yml", "docker-compose.yaml", "docker-compose.yml"}
	Override = []string{"compose.override.yaml", "compose.override.yml", "docker-compose.override.yaml", "docker-compose.override.yml"}
)

Default and Override are the file names Compose reads without -f, in order of preference.

Functions

func StackName

func StackName(files []string) string

StackName is the suffix of the last file: docker-compose.edge.vps.yml -> edge.vps, docker-compose.yml -> default. An override file names the stack it overrides, so the last file being an override also gives default.

Types

This section is empty.

Jump to

Keyboard shortcuts

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