loader

package
v1.46.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 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
	EnvFileNames     []string
	IsInternalLoader bool
	// contains filtered or unexported fields
}

func (*LoaderOptions) AddAdmitter added in v0.65.0

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

func (*LoaderOptions) DisableDotenv added in v1.9.0

func (o *LoaderOptions) DisableDotenv(disabled bool)

func (*LoaderOptions) WithTuiDisabled added in v1.9.0

func (o *LoaderOptions) WithTuiDisabled(disabled bool)

Jump to

Keyboard shortcuts

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