debian-forge-composer/internal/osbuildexecutor/runner-impl-host.go
Sanne Raymaekers 3db88960c2 cloud/awscloud: add ability to run a secure instance to awscloud
This instance can only contact the host, and requires this host to be
running on AWS itself with the appropriate IAM role.
2024-02-14 09:54:11 +01:00

18 lines
491 B
Go

package osbuildexecutor
import (
"io"
"github.com/osbuild/images/pkg/osbuild"
)
type hostExecutor struct{}
func (he *hostExecutor) RunOSBuild(manifest []byte, store, outputDirectory string, exports, exportPaths, checkpoints,
extraEnv []string, result bool, errorWriter io.Writer) (*osbuild.Result, error) {
return osbuild.RunOSBuild(manifest, store, outputDirectory, exports, checkpoints, extraEnv, result, errorWriter)
}
func NewHostExecutor() Executor {
return &hostExecutor{}
}