aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/pkg.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-06 20:57:43 +0900
committerOphestra <cat@gensokyo.uk>2026-01-06 20:58:34 +0900
commit156096ac987f5ec8be8dbf65332c4d61e675f3cf (patch)
treec7f3069fc2e92715107f5ae7ae8841f638e106cf /internal/pkg/pkg.go
parentceb75538cfdaff0a37c7d614fb77aa8c75669600 (diff)
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>
Diffstat (limited to 'internal/pkg/pkg.go')
-rw-r--r--internal/pkg/pkg.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/pkg/pkg.go b/internal/pkg/pkg.go
index 00d6cf76..423aea12 100644
--- a/internal/pkg/pkg.go
+++ b/internal/pkg/pkg.go
@@ -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