compose

package
v0.2.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseV2

func ParseV2(path string) (*project.Project, error)

ParseV2 parses version 2 compose files

func ParseV3

func ParseV3(path string) (*types.Config, error)

ParseV3 parses version 3 compose files

Types

type V1V2Loader

type V1V2Loader struct {
}

V1V2Loader loads a compoose file of versions 1 or 2

func (*V1V2Loader) ConvertToIR

func (c *V1V2Loader) ConvertToIR(composefilepath string, plan plantypes.Plan, service plantypes.Service) (ir irtypes.IR, err error)

ConvertToIR loads a compose file to IR

type V3Loader

type V3Loader struct {
}

V3Loader loads a v3 compose file

func (*V3Loader) ConvertToIR

func (c *V3Loader) ConvertToIR(composefilepath string, plan plantypes.Plan, service plantypes.Service) (irtypes.IR, error)

ConvertToIR loads an v3 compose file into IR

Jump to

Keyboard shortcuts

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