Documentation ¶
Index ¶
- func CreateBuildOptions(dockerfilePath, dockerfileContent string, ...) (*build.BuildOptions, error)
- func GetBuildArgsAndTarget(parsedConfig *config.SubstitutedConfig, ...) (map[string]string, string)
- func GetImageName(localWorkspaceFolder, prebuildHash string) string
- func NewDockerDriver(workspaceInfo *provider2.AgentWorkspaceInfo, log log.Logger) (driver.DockerDriver, error)
- func RewriteDockerfile(dockerfileContent string, extendedBuildInfo *feature.ExtendedBuildInfo) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBuildOptions ¶
func CreateBuildOptions( dockerfilePath, dockerfileContent string, parsedConfig *config.SubstitutedConfig, extendedBuildInfo *feature.ExtendedBuildInfo, imageName string, options provider.BuildOptions, prebuildHash string, ) (*build.BuildOptions, error)
func GetBuildArgsAndTarget ¶ added in v0.4.0
func GetBuildArgsAndTarget( parsedConfig *config.SubstitutedConfig, extendedBuildInfo *feature.ExtendedBuildInfo, ) (map[string]string, string)
func GetImageName ¶ added in v0.3.5
func NewDockerDriver ¶
func NewDockerDriver(workspaceInfo *provider2.AgentWorkspaceInfo, log log.Logger) (driver.DockerDriver, error)
func RewriteDockerfile ¶ added in v0.4.0
func RewriteDockerfile( dockerfileContent string, extendedBuildInfo *feature.ExtendedBuildInfo, ) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.