debian-forge-composer/internal/remotefile/spec.go
Gianluca Zuccarelli b7e7bafb2e internal/remotefile: create a remote file resolver
Create a resolver to fetch the contents of a
remote file which can be used at build time.
The initial usecase for this resolver is to
resolve remote gpgkeys but the resolver has
been made more generic for general files.
2023-03-16 09:55:39 +00:00

9 lines
201 B
Go

package remotefile
import "github.com/osbuild/osbuild-composer/internal/worker/clienterrors"
type Spec struct {
URL string
Content []byte
ResolutionError *clienterrors.Error
}