compose

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2018 License: Apache-2.0 Imports: 23 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"
	// LabelControllerType defines the type of controller to be created
	LabelControllerType = "kompose.controller.type"

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

Variables

This section is empty.

Functions

func ParseVols

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