Do a large chunk of the move to go

This commit moves a huge chunk of the code to go. The TODO.md document
indicates what is left to be done.
This commit is contained in:
Tom Wiesing 2022-08-14 10:57:59 +02:00
parent db2ad9b4bd
commit 7b38fdd801
No known key found for this signature in database
93 changed files with 4689 additions and 645 deletions

16
env/stack_ssh.go vendored Normal file
View file

@ -0,0 +1,16 @@
package env
import "github.com/FAU-CDI/wisski-distillery/internal/stack"
func (dis *Distillery) SSHStack() stack.Installable {
// TODO: Ensure that .env is copied if needed
return dis.asCoreStack(stack.Installable{
Stack: stack.Stack{
Name: "sql",
},
})
}
func (dis *Distillery) SSHStackPath() string {
return dis.SSHStack().Dir
}