{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.1.1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\n## Types\n\n```go\ntype BuildSpecFactory func() (io.Reader, error)\n```\n\n```go\ntype PrelaunchFunc func() error\n```\n\n```go\ntype VM interface {\n\tDeploy(ctxt context.Context, ccid ccintf.CCID, args []string, env []string, reader io.Reader) error\n\tStart(ctxt context.Context, ccid ccintf.CCID, args []string, env []string, filesToUpload map[string][]byte, builder BuildSpecFactory, preLaunchFunc PrelaunchFunc) error\n\tStop(ctxt context.Context, ccid ccintf.CCID, timeout uint, dontkill bool, dontremove bool) error\n\tDestroy(ctxt context.Context, ccid ccintf.CCID, force bool, noprune bool) error\n\tGetVMName(ccID ccintf.CCID, format func(string) (string, error)) (string, error)\n}\n```\nVM is an abstract virtual image for supporting arbitrary virual machines\n\n","path":"github.com/eric-erki/https-hyperledger.org/core/container/api","name":"api","synopsis":"","isRedistributable":true}
