composer

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IgnoreDependencies = types.IgnoreDependencies
View Source
var IncludeDependents = types.IncludeDependents

Functions

This section is empty.

Types

type AlternativeVolumes added in v0.1.3

type AlternativeVolumes []string

type Duration added in v0.1.3

type Duration = types.Duration

type Networks added in v0.1.3

type Networks = types.Networks

type Project added in v0.1.3

type Project struct {
	*types.Project

	Sources SourceConfigs
	// contains filtered or unexported fields
}

func New added in v0.1.3

func New(ctx context.Context, projectPath, name string) (*Project, error)

func (*Project) Build added in v0.1.4

func (p *Project) Build(ctx context.Context, services []string) error

func (*Project) Down added in v0.1.4

func (p *Project) Down(ctx context.Context, deleteVolumes bool) error

func (*Project) IsRunning added in v0.1.4

func (p *Project) IsRunning(ctx context.Context) (bool, error)

func (*Project) ListServices added in v0.1.4

func (p *Project) ListServices(ctx context.Context) ([]serviceInfo, error)

func (*Project) Up added in v0.1.4

func (p *Project) Up(ctx context.Context) error

func (*Project) Validate added in v0.1.4

func (p *Project) Validate() error

func (*Project) WithSelectedServices added in v0.1.3

func (p *Project) WithSelectedServices(names []string, options ...types.DependencyOption) (*Project, error)

type SourceConfig

type SourceConfig struct {
	URL            string   `yaml:"url"`
	Branch         string   `yaml:"branch"`
	SparseCheckout []string `yaml:"sparseCheckout"`
	Environment    []string `yaml:"environment"`
}

type SourceConfigs

type SourceConfigs map[string]SourceConfig

Jump to

Keyboard shortcuts

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