forked from security/hakurei
internal/pkg: known checksum exec artifact
This optionally attaches an output checksum to an execArtifact and enables host networking for the resulting container. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -185,6 +185,9 @@ const (
|
||||
KindTar
|
||||
// KindExec is the kind of [Artifact] returned by [NewExec].
|
||||
KindExec
|
||||
// KindExecNet is the kind of [Artifact] returned by [NewExec] but with a
|
||||
// non-nil checksum.
|
||||
KindExecNet
|
||||
)
|
||||
|
||||
// Ident returns a deterministic identifier for the supplied params and
|
||||
|
||||
Reference in New Issue
Block a user