package image import ( "math/rand" "github.com/osbuild/images/pkg/artifact" "github.com/osbuild/images/pkg/manifest" "github.com/osbuild/images/pkg/rpmmd" "github.com/osbuild/images/pkg/runner" ) type ImageKind interface { Name() string InstantiateManifest(m *manifest.Manifest, repos []rpmmd.RepoConfig, runner runner.Runner, rng *rand.Rand) (*artifact.Artifact, error) } type Base struct { name string } func (img Base) Name() string { return img.name } func NewBase(name string) Base { return Base{ name: name, } }