compose

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command []string

Command ...

type Commands

type Commands map[string]Command

Commands ...

type Compose

type Compose struct {
	Version string

	Services map[string]Service
	//	Environments map[string]Environment
	Environment Environment

	DryRun bool
	// contains filtered or unexported fields
}

Compose ... composed infrastructure

func (*Compose) Exec

func (c *Compose) Exec(args []string) error

Exec ...

func (*Compose) List

func (c *Compose) List(args []string) error

List ... List all available command

func (*Compose) Load

func (c *Compose) Load(file string, projectDir string) error

Load ...

type Environment

type Environment []string

Environment ...

type Service

type Service struct {
	Abstract    bool
	Parent      string
	Path        string
	Commands    Commands
	Command     Command
	Environment Environment
	Variables   map[string]VariableFile
}

Service ...

type VariableFile

type VariableFile struct {
	File        string
	Environment Environment
}

VariableFile ...

Jump to

Keyboard shortcuts

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