loader

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultFileNames = []string{
	"compose.yml",
	"compose.yaml",
	"process-compose.yml",
	"process-compose.yaml",
}

DefaultFileNames defines the Compose file names for auto-discovery (in order of preference)

View Source
var DefaultOverrideFileNames = []string{
	"compose.override.yml",
	"compose.override.yaml",
	"process-compose.override.yml",
	"process-compose.override.yaml",
}

DefaultOverrideFileNames defines the Compose override file names for auto-discovery (in order of preference)

Functions

func Load

func Load(opts *LoaderOptions) (*types.Project, error)

Types

type LoaderOptions

type LoaderOptions struct {
	FileNames []string
	// contains filtered or unexported fields
}

func (*LoaderOptions) AddAdmitter added in v0.65.0

func (o *LoaderOptions) AddAdmitter(adm ...admitter.Admitter)

Jump to

Keyboard shortcuts

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