internal/component: Cleanup unused general code
This commit is contained in:
parent
a5d9b1a386
commit
84974dd712
12 changed files with 127 additions and 92 deletions
|
|
@ -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",
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue