package bundlefile
import "github.com/dotcloud/docker/cli/command/bundlefile"
Index ¶
Functions ¶
func Print ¶
func Print(out io.Writer, bundle *Bundlefile) error
Print writes the contents of the bundlefile to the output writer as human readable json
Types ¶
type Bundlefile ¶
Bundlefile stores the contents of a bundlefile
func LoadFile ¶
func LoadFile(reader io.Reader) (*Bundlefile, error)
LoadFile loads a bundlefile from a path to the file
type Port ¶
Port is a port as defined in a bundlefile
type Service ¶
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
Source Files ¶
- Version
- v1.13.0-rc2
- Published
- Nov 23, 2016
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 1 minute ago –
Tools for package owners.