internal/stack: Cleanup API
This commit cleans up the internal stack API to prepare it for an eventual move to using a native docker client.
This commit is contained in:
parent
7b38fdd801
commit
5d906169f4
15 changed files with 96 additions and 65 deletions
6
env/stack_ssh.go
vendored
6
env/stack_ssh.go
vendored
|
|
@ -4,11 +4,7 @@ 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",
|
||||
},
|
||||
})
|
||||
return dis.asCoreStack("ssh", stack.Installable{})
|
||||
}
|
||||
|
||||
func (dis *Distillery) SSHStackPath() string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue