bundle

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
}

Bundle is docker bundle file loader, implements Loader interface

func (*Bundle) LoadFile

func (b *Bundle) LoadFile(files []string) (kobject.KomposeObject, error)

LoadFile loads dab file into KomposeObject

type Bundlefile added in v0.1.2

type Bundlefile struct {
	Version  string
	Services map[string]Service
}

Bundlefile stores the contents of a bundlefile

type Port added in v0.1.2

type Port struct {
	Protocol string
	Port     uint32
}

Port is a port as defined in a bundlefile

type Service added in v0.1.2

type Service struct {
	Image      string
	Command    []string          `json:",omitempty"`
	Args       []string          `json:",omitempty"`
	Env        []string          `json:",omitempty"`
	Labels     map[string]string `json:",omitempty"`
	Ports      []Port            `json:",omitempty"`
	WorkingDir *string           `json:",omitempty"`
	User       *string           `json:",omitempty"`
	Networks   []string          `json:",omitempty"`
}

Service is a service from a bundlefile

Jump to

Keyboard shortcuts

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