{"modulePath":"github.com/coder/envbuilder","version":"v1.3.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package envbuilder\n\n## Variables\n\n```go\nvar ErrNoFallbackImage = errors.New(\"no fallback image has been specified\")\n```\nErrNoFallbackImage is returned when no fallback image has been specified.\n\n## Functions\n\n```go\nfunc Run(ctx context.Context, opts options.Options, preExec ...func()) error\n```\nRun runs the envbuilder. Logger is the logf to use for all operations. Filesystem is the filesystem to use for all operations. Defaults to the host filesystem. preExec are any functions that should be called before exec'ing the init command. This is useful for ensuring that defers get run.\n\n```go\nfunc RunCacheProbe(ctx context.Context, opts options.Options) (v1.Image, error)\n```\nRunCacheProbe performs a 'dry-run' build of the image and checks that all of the resulting layers are present in options.CacheRepo.\n\n## Types\n\n```go\ntype DockerConfig = configfile.ConfigFile\n```\nDockerConfig represents the Docker configuration file.\n\n","path":"github.com/coder/envbuilder","name":"envbuilder","synopsis":"","isRedistributable":true}
