compose

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2018 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LabelServiceType defines the type of service to be created
	LabelServiceType = "kompose.service.type"
	// LabelServiceExpose defines if the service needs to be made accessible from outside the cluster or not
	LabelServiceExpose = "kompose.service.expose"
	// LabelServiceExposeTLSSecret  provides the name of the TLS secret to use with the Kubernetes ingress controller
	LabelServiceExposeTLSSecret = "kompose.service.expose.tls-secret"

	// ServiceTypeHeadless...
	ServiceTypeHeadless = "Headless"
)

Variables

This section is empty.

Functions

func ParseVols added in v1.1.0

func ParseVols(volNames []string, svcName string) ([]kobject.Volumes, error)

ParseVols parse volumes

Types

type Compose

type Compose struct {
}

Compose is docker compose file loader, implements Loader interface

func (*Compose) LoadFile

func (c *Compose) LoadFile(files []string) (kobject.KomposeObject, error)

LoadFile loads a compose file into KomposeObject

Jump to

Keyboard shortcuts

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