Files
mesh-host/internal/registryforms/registryforms.go
T

14 lines
881 B
Go

// Package registryforms is how the node-engine reads an artifact's reference: the registry clients' reference forms
// (novox/hq ADR 0605 §9, ADR 0634 §4), with the two registry seats' names from their contracts. The forms are the
// registry clients' (mesh-delivery's contracts), not mesh-sdk's; this package only gives them the seats' names.
package registryforms
import (
"git.novox.be/novox/mesh-delivery/contracts/go/clients/containerimageregistryclient/reference"
containerimageregistry "git.novox.be/novox/mesh-delivery/contracts/go/seats/containerimageregistry"
ociartifactregistry "git.novox.be/novox/mesh-delivery/contracts/go/seats/ociartifactregistry"
)
// Forms reads, records and routes a reference in the registry seat's form and the older artifact-store one.
var Forms = reference.Seats{Image: containerimageregistry.Seat, Object: ociartifactregistry.Seat}