Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandExecutor ¶
type CommandExecutor struct {
buildcontext.BuildContext
// contains filtered or unexported fields
}
func NewCommandExecutor ¶
func NewCommandExecutor( buildContext buildcontext.BuildContext, buildStorage storage.StorageProvider, proxy *proxy.SandboxProxy, ) *CommandExecutor
type Copy ¶
type Copy struct {
FilesStorage storage.StorageProvider
CacheScope string
}
func (*Copy) Execute ¶
func (c *Copy) Execute( ctx context.Context, logger logger.Logger, _ zapcore.Level, proxy *proxy.SandboxProxy, sandboxID string, _ string, step *templatemanager.TemplateStep, cmdMetadata metadata.Context, ) (metadata.Context, error)
Note: The temporary files in the /tmp directory are cleaned up automatically on sandbox restart because the /tmp is mounted as a tmpfs and deleted on restart.
Click to show internal directories.
Click to hide internal directories.