Skip to content

Commit

Permalink
apis/event: add MetaDigestKey
Browse files Browse the repository at this point in the history
This to support RFC-0005 in eventing.

Signed-off-by: Hidde Beydals <hello@hidde.co>
  • Loading branch information
hiddeco committed Feb 10, 2023
1 parent e1160e9 commit 7053ad7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apis/event/v1beta1/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ const (
// MetaRevisionKey is the key used to hold the source artifact revision.
MetaRevisionKey string = "revision"
// MetaChecksumKey is the key used to hold the source artifact checksum.
// Deprecated: in favor of MetaDigestKey.
MetaChecksumKey string = "checksum"
// MetaDigestKey is the key used to hold the source artifact digest.
MetaDigestKey string = "digest"
// MetaCommitStatusKey is the key used to signal a Git commit status event.
MetaCommitStatusKey string = "commit_status"
// MetaCommitStatusUpdateValue is the value of MetaCommitStatusKey
Expand Down

0 comments on commit 7053ad7

Please sign in to comment.