{"modulePath":"github.com/mudler/moby","version":"v1.13.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package bundlefile\n\n## Functions\n\n```go\nfunc Print(out io.Writer, bundle *Bundlefile) error\n```\nPrint writes the contents of the bundlefile to the output writer as human readable json\n\n## Types\n\n```go\ntype Bundlefile struct {\n\tVersion  string\n\tServices map[string]Service\n}\n```\nBundlefile stores the contents of a bundlefile\n\n```go\nfunc LoadFile(reader io.Reader) (*Bundlefile, error)\n```\nLoadFile loads a bundlefile from a path to the file\n\n```go\ntype Port struct {\n\tProtocol string\n\tPort     uint32\n}\n```\nPort is a port as defined in a bundlefile\n\n```go\ntype Service struct {\n\tImage      string\n\tCommand    []string          `json:\",omitempty\"`\n\tArgs       []string          `json:\",omitempty\"`\n\tEnv        []string          `json:\",omitempty\"`\n\tLabels     map[string]string `json:\",omitempty\"`\n\tPorts      []Port            `json:\",omitempty\"`\n\tWorkingDir *string           `json:\",omitempty\"`\n\tUser       *string           `json:\",omitempty\"`\n\tNetworks   []string          `json:\",omitempty\"`\n}\n```\nService is a service from a bundlefile\n\n","path":"github.com/mudler/moby/cli/command/bundlefile","name":"bundlefile","synopsis":"","isRedistributable":true}
