internal/component: Cleanup unused general code

This commit is contained in:
Tom Wiesing 2022-09-21 12:00:36 +02:00
parent a5d9b1a386
commit 84974dd712
No known key found for this signature in database
12 changed files with 127 additions and 92 deletions

View file

@ -23,11 +23,19 @@ func (Triplestore) Name() string {
return "triplestore"
}
func (ts Triplestore) Path() string {
return filepath.Join(ts.Core.Config.DeployRoot, "core", ts.Name())
}
func (Triplestore) Context(parent component.InstallationContext) component.InstallationContext {
return parent
}
//go:embed all:triplestore
var resources embed.FS
func (ts Triplestore) Stack(env environment.Environment) component.StackWithResources {
return ts.ComponentBase.MakeStack(env, component.StackWithResources{
func (ts *Triplestore) Stack(env environment.Environment) component.StackWithResources {
return component.MakeStack(ts, env, component.StackWithResources{
Resources: resources,
ContextPath: "triplestore",