Documentation ¶
Index ¶
- Variables
- func CopyScriptToContainer(ctx context.Context, container forge.Container, script string) error
- func GetImageForStep(ctx context.Context, containerRuntime forge.ContainerRuntime, ...) (forge.Image, error)
- func StepToContainerConfigAndScript(step *cloudbuild.Step, home string, image forge.Image) (*forge.ContainerConfig, string, error)
- type Mapping
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultCloudBuildPath = containerfs.WorkingDir + "/cloudbuild" DefaultMapping = &Mapping{ CloudBuildPath: DefaultCloudBuildPath, } )
Functions ¶
func CopyScriptToContainer ¶
func GetImageForStep ¶
func GetImageForStep(ctx context.Context, containerRuntime forge.ContainerRuntime, step *cloudbuild.Step) (forge.Image, error)
func StepToContainerConfigAndScript ¶
func StepToContainerConfigAndScript(step *cloudbuild.Step, home string, image forge.Image) (*forge.ContainerConfig, string, error)
Types ¶
type Mapping ¶
type Mapping struct {
CloudBuildPath string
}
func (*Mapping) CopyScriptToContainer ¶
func (*Mapping) StepToContainerConfigAndScript ¶
func (m *Mapping) StepToContainerConfigAndScript(step *cloudbuild.Step, home string, image forge.Image) (*forge.ContainerConfig, string, error)
Click to show internal directories.
Click to hide internal directories.