forked from TrueCloudLab/distribution
671184e910
Defining an interface on the implementer side is generally not best practice in Go code. There is no code in the distribution module which consumes a ManifestBuilder value so there is no need to define the interface in the distribution module. Export the concrete ManifestBuilder types and modify the constructors to return concrete values. Co-authored-by: Sebastiaan van Stijn <github@gone.nl> Signed-off-by: Cory Snider <csnider@mirantis.com> |
||
---|---|---|
.. | ||
handler.go | ||
manifests.go | ||
push.go | ||
tarfile.go |