Update dependencies
This commit is contained in:
parent
0c888eab1c
commit
9b30223b09
26 changed files with 35 additions and 35 deletions
|
|
@ -8,8 +8,8 @@ import (
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/cli"
|
"github.com/FAU-CDI/wisski-distillery/internal/cli"
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
|
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
|
||||||
"github.com/tkw1536/goprogram/exit"
|
"github.com/tkw1536/goprogram/exit"
|
||||||
"github.com/tkw1536/goprogram/status"
|
|
||||||
"github.com/tkw1536/pkglib/collection"
|
"github.com/tkw1536/pkglib/collection"
|
||||||
|
"github.com/tkw1536/pkglib/status"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BlindUpdate is the 'blind_update' command
|
// BlindUpdate is the 'blind_update' command
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/cli"
|
"github.com/FAU-CDI/wisski-distillery/internal/cli"
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
|
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
|
||||||
"github.com/tkw1536/goprogram/exit"
|
"github.com/tkw1536/goprogram/exit"
|
||||||
"github.com/tkw1536/goprogram/status"
|
"github.com/tkw1536/pkglib/status"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Cron is the 'cron' command
|
// Cron is the 'cron' command
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import (
|
||||||
wstatus "github.com/FAU-CDI/wisski-distillery/internal/status"
|
wstatus "github.com/FAU-CDI/wisski-distillery/internal/status"
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
|
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
|
||||||
"github.com/tkw1536/goprogram/exit"
|
"github.com/tkw1536/goprogram/exit"
|
||||||
"github.com/tkw1536/goprogram/status"
|
"github.com/tkw1536/pkglib/status"
|
||||||
)
|
)
|
||||||
|
|
||||||
// DrupalUser is the 'drupal_user' setting
|
// DrupalUser is the 'drupal_user' setting
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/cli"
|
"github.com/FAU-CDI/wisski-distillery/internal/cli"
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
|
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
|
||||||
"github.com/tkw1536/goprogram/exit"
|
"github.com/tkw1536/goprogram/exit"
|
||||||
"github.com/tkw1536/goprogram/status"
|
"github.com/tkw1536/pkglib/status"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Cron is the 'cron' command
|
// Cron is the 'cron' command
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
|
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
|
||||||
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
|
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
|
||||||
"github.com/tkw1536/goprogram/exit"
|
"github.com/tkw1536/goprogram/exit"
|
||||||
"github.com/tkw1536/goprogram/status"
|
"github.com/tkw1536/pkglib/status"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SystemPause is the 'system_pause' command
|
// SystemPause is the 'system_pause' command
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import (
|
||||||
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
|
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
|
||||||
"github.com/tkw1536/goprogram/exit"
|
"github.com/tkw1536/goprogram/exit"
|
||||||
"github.com/tkw1536/goprogram/parser"
|
"github.com/tkw1536/goprogram/parser"
|
||||||
"github.com/tkw1536/goprogram/status"
|
"github.com/tkw1536/pkglib/status"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SystemUpdate is the 'system_update' command
|
// SystemUpdate is the 'system_update' command
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
|
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
|
||||||
|
|
||||||
"github.com/tkw1536/goprogram/exit"
|
"github.com/tkw1536/goprogram/exit"
|
||||||
"github.com/tkw1536/goprogram/status"
|
"github.com/tkw1536/pkglib/status"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Cron is the 'cron' command
|
// Cron is the 'cron' command
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"github.com/FAU-CDI/wisski-distillery/cmd"
|
"github.com/FAU-CDI/wisski-distillery/cmd"
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/cli"
|
"github.com/FAU-CDI/wisski-distillery/internal/cli"
|
||||||
"github.com/tkw1536/goprogram/exit"
|
"github.com/tkw1536/goprogram/exit"
|
||||||
"github.com/tkw1536/goprogram/stream"
|
"github.com/tkw1536/pkglib/stream"
|
||||||
)
|
)
|
||||||
|
|
||||||
var wdcli = wisski_distillery.NewProgram()
|
var wdcli = wisski_distillery.NewProgram()
|
||||||
|
|
@ -95,7 +95,7 @@ func main() {
|
||||||
// we don't need to even bother with the rest of the program
|
// we don't need to even bother with the rest of the program
|
||||||
// just immediatly return a custom error message.
|
// just immediatly return a custom error message.
|
||||||
if len(os.Args) == 1 {
|
if len(os.Args) == 1 {
|
||||||
streams.Die(errNoArgumentsProvided)
|
exit.Die(streams, errNoArgumentsProvided)
|
||||||
errNoArgumentsProvided.Return()
|
errNoArgumentsProvided.Return()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
@ -105,7 +105,7 @@ func main() {
|
||||||
err := func() error {
|
err := func() error {
|
||||||
params, err := cli.ParamsFromEnv()
|
params, err := cli.ParamsFromEnv()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return streams.Die(err)
|
return exit.Die(streams, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return wdcli.Main(streams, params, os.Args[1:])
|
return wdcli.Main(streams, params, os.Args[1:])
|
||||||
|
|
|
||||||
4
go.mod
4
go.mod
|
|
@ -15,8 +15,8 @@ require (
|
||||||
github.com/pkg/errors v0.9.1
|
github.com/pkg/errors v0.9.1
|
||||||
github.com/pquerna/otp v1.4.0
|
github.com/pquerna/otp v1.4.0
|
||||||
github.com/rs/zerolog v1.29.0
|
github.com/rs/zerolog v1.29.0
|
||||||
github.com/tkw1536/goprogram v0.3.3
|
github.com/tkw1536/goprogram v0.3.4
|
||||||
github.com/tkw1536/pkglib v0.0.0-20230309112229-8571d9173163
|
github.com/tkw1536/pkglib v0.0.0-20230315183422-bdc7380721a8
|
||||||
github.com/yuin/goldmark v1.5.4
|
github.com/yuin/goldmark v1.5.4
|
||||||
github.com/yuin/goldmark-meta v1.1.0
|
github.com/yuin/goldmark-meta v1.1.0
|
||||||
golang.org/x/crypto v0.7.0
|
golang.org/x/crypto v0.7.0
|
||||||
|
|
|
||||||
8
go.sum
8
go.sum
|
|
@ -113,10 +113,10 @@ github.com/tdewolff/minify v2.3.6+incompatible/go.mod h1:9Ov578KJUmAWpS6NeZwRZyT
|
||||||
github.com/tdewolff/parse v2.3.4+incompatible h1:x05/cnGwIMf4ceLuDMBOdQ1qGniMoxpP46ghf0Qzh38=
|
github.com/tdewolff/parse v2.3.4+incompatible h1:x05/cnGwIMf4ceLuDMBOdQ1qGniMoxpP46ghf0Qzh38=
|
||||||
github.com/tdewolff/parse v2.3.4+incompatible/go.mod h1:8oBwCsVmUkgHO8M5iCzSIDtpzXOT0WXX9cWhz+bIzJQ=
|
github.com/tdewolff/parse v2.3.4+incompatible/go.mod h1:8oBwCsVmUkgHO8M5iCzSIDtpzXOT0WXX9cWhz+bIzJQ=
|
||||||
github.com/tdewolff/test v1.0.7 h1:8Vs0142DmPFW/bQeHRP3MV19m1gvndjUb1sn8yy74LM=
|
github.com/tdewolff/test v1.0.7 h1:8Vs0142DmPFW/bQeHRP3MV19m1gvndjUb1sn8yy74LM=
|
||||||
github.com/tkw1536/goprogram v0.3.3 h1:5MWoniR/sXk/rb+LNiW01SlrR8kUuzbaPBNgGUSweis=
|
github.com/tkw1536/goprogram v0.3.4 h1:Fl9YadnL5E9DGiROY/i4ODyi5PVPySvpe7G7KmZV8XY=
|
||||||
github.com/tkw1536/goprogram v0.3.3/go.mod h1:mzbobl44pmYw5VmXajqcFkytOUkYiP+EoMi0MK9PSMI=
|
github.com/tkw1536/goprogram v0.3.4/go.mod h1:pdhpcH0vbPFF+iaV3i3Ty+J0Fpv6QFn83e3LWbH09eQ=
|
||||||
github.com/tkw1536/pkglib v0.0.0-20230309112229-8571d9173163 h1:1s1uCeBiQFzsSY6Do7NUHfk6n40gDwdTVZPuCS0oAbc=
|
github.com/tkw1536/pkglib v0.0.0-20230315183422-bdc7380721a8 h1:pVlqKX/6wzoNlP53rLqvhU+rZzBNh8Id2Kl1HEsQP4g=
|
||||||
github.com/tkw1536/pkglib v0.0.0-20230309112229-8571d9173163/go.mod h1:R+8tKMAkSXC1+XGzxNUKx2DnPJqObycYeo4PKjWYkMg=
|
github.com/tkw1536/pkglib v0.0.0-20230315183422-bdc7380721a8/go.mod h1:RjPEyRcq+g1GMd3D/o7d9WCtVNXY4QZyFRs9hLlZbew=
|
||||||
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
|
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
|
||||||
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb h1:zGWFAtiMcyryUHoUjUJX0/lt1H2+i2Ka2n+D3DImSNo=
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb h1:zGWFAtiMcyryUHoUjUJX0/lt1H2+i2Ka2n+D3DImSNo=
|
||||||
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ import (
|
||||||
|
|
||||||
"github.com/FAU-CDI/wisski-distillery/pkg/fsx"
|
"github.com/FAU-CDI/wisski-distillery/pkg/fsx"
|
||||||
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
|
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
|
||||||
"github.com/tkw1536/goprogram/status"
|
"github.com/tkw1536/pkglib/status"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -84,7 +84,7 @@ func (backup *Backup) run(ctx context.Context, progress io.Writer, exporter *Exp
|
||||||
st.Start()
|
st.Start()
|
||||||
defer st.Stop()
|
defer st.Stop()
|
||||||
|
|
||||||
errors := status.Group[component.Backupable, error]{
|
errors, _ := status.Group[component.Backupable, error]{
|
||||||
PrefixString: func(item component.Backupable, index int) string {
|
PrefixString: func(item component.Backupable, index int) string {
|
||||||
return fmt.Sprintf("[backup %q]: ", item.Name())
|
return fmt.Sprintf("[backup %q]: ", item.Name())
|
||||||
},
|
},
|
||||||
|
|
@ -131,7 +131,7 @@ func (backup *Backup) run(ctx context.Context, progress io.Writer, exporter *Exp
|
||||||
}
|
}
|
||||||
|
|
||||||
// make a backup of the snapshots
|
// make a backup of the snapshots
|
||||||
backup.InstanceSnapshots = status.Group[*wisski.WissKI, Snapshot]{
|
backup.InstanceSnapshots, _ = status.Group[*wisski.WissKI, Snapshot]{
|
||||||
PrefixString: func(item *wisski.WissKI, index int) string {
|
PrefixString: func(item *wisski.WissKI, index int) string {
|
||||||
return fmt.Sprintf("[snapshot %q]: ", item.Slug)
|
return fmt.Sprintf("[snapshot %q]: ", item.Slug)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import (
|
||||||
"github.com/FAU-CDI/wisski-distillery/pkg/fsx"
|
"github.com/FAU-CDI/wisski-distillery/pkg/fsx"
|
||||||
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
|
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
|
||||||
"github.com/FAU-CDI/wisski-distillery/pkg/targz"
|
"github.com/FAU-CDI/wisski-distillery/pkg/targz"
|
||||||
"github.com/tkw1536/goprogram/status"
|
"github.com/tkw1536/pkglib/status"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ExportTask describes a task that makes either a [Backup] or a [Snapshot].
|
// ExportTask describes a task that makes either a [Backup] or a [Snapshot].
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,8 @@ import (
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
|
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient/locker"
|
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient/locker"
|
||||||
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
|
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
|
||||||
"github.com/tkw1536/goprogram/status"
|
|
||||||
"github.com/tkw1536/pkglib/collection"
|
"github.com/tkw1536/pkglib/collection"
|
||||||
|
"github.com/tkw1536/pkglib/status"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -113,7 +113,7 @@ func (snapshot *Snapshot) makeParts(ctx context.Context, progress io.Writer, sna
|
||||||
|
|
||||||
results := make(map[string]error, len(comps))
|
results := make(map[string]error, len(comps))
|
||||||
|
|
||||||
errors := status.Group[component.Snapshotable, error]{
|
errors, _ := status.Group[component.Snapshotable, error]{
|
||||||
PrefixString: func(item component.Snapshotable, index int) string {
|
PrefixString: func(item component.Snapshotable, index int) string {
|
||||||
return fmt.Sprintf("[snapshot %q]: ", item.Name())
|
return fmt.Sprintf("[snapshot %q]: ", item.Name())
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,8 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/gorilla/websocket"
|
"github.com/gorilla/websocket"
|
||||||
"github.com/tkw1536/goprogram/status"
|
|
||||||
"github.com/tkw1536/pkglib/httpx"
|
"github.com/tkw1536/pkglib/httpx"
|
||||||
|
"github.com/tkw1536/pkglib/status"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ActionMap handles a set of WebSocket actions
|
// ActionMap handles a set of WebSocket actions
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/dis/component"
|
"github.com/FAU-CDI/wisski-distillery/internal/dis/component"
|
||||||
"github.com/tkw1536/goprogram/stream"
|
"github.com/tkw1536/pkglib/stream"
|
||||||
)
|
)
|
||||||
|
|
||||||
var errSQLBackup = errors.New("`SQLBackup': mysqldump returned non-zero exit code")
|
var errSQLBackup = errors.New("`SQLBackup': mysqldump returned non-zero exit code")
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import (
|
||||||
|
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/dis/component"
|
"github.com/FAU-CDI/wisski-distillery/internal/dis/component"
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/models"
|
"github.com/FAU-CDI/wisski-distillery/internal/models"
|
||||||
"github.com/tkw1536/goprogram/stream"
|
"github.com/tkw1536/pkglib/stream"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (*SQL) SnapshotNeedsRunning() bool { return false }
|
func (*SQL) SnapshotNeedsRunning() bool { return false }
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,8 @@ import (
|
||||||
|
|
||||||
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
|
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
|
||||||
"github.com/tkw1536/goprogram/exit"
|
"github.com/tkw1536/goprogram/exit"
|
||||||
"github.com/tkw1536/goprogram/stream"
|
|
||||||
"github.com/tkw1536/pkglib/sqlx"
|
"github.com/tkw1536/pkglib/sqlx"
|
||||||
|
"github.com/tkw1536/pkglib/stream"
|
||||||
"github.com/tkw1536/pkglib/timex"
|
"github.com/tkw1536/pkglib/timex"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import (
|
||||||
"github.com/FAU-CDI/wisski-distillery/pkg/fsx"
|
"github.com/FAU-CDI/wisski-distillery/pkg/fsx"
|
||||||
"github.com/FAU-CDI/wisski-distillery/pkg/unpack"
|
"github.com/FAU-CDI/wisski-distillery/pkg/unpack"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"github.com/tkw1536/goprogram/stream"
|
"github.com/tkw1536/pkglib/stream"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Stack represents a 'docker compose' stack living in a specific directory
|
// Stack represents a 'docker compose' stack living in a specific directory
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ package phpx
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/tkw1536/goprogram/stream"
|
"github.com/tkw1536/pkglib/stream"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Executor represents anything that can spawn
|
// Executor represents anything that can spawn
|
||||||
|
|
|
||||||
|
|
@ -11,11 +11,11 @@ import (
|
||||||
|
|
||||||
_ "embed"
|
_ "embed"
|
||||||
|
|
||||||
"github.com/tkw1536/goprogram/stream"
|
|
||||||
"github.com/tkw1536/pkglib/collection"
|
"github.com/tkw1536/pkglib/collection"
|
||||||
"github.com/tkw1536/pkglib/contextx"
|
"github.com/tkw1536/pkglib/contextx"
|
||||||
"github.com/tkw1536/pkglib/lazy"
|
"github.com/tkw1536/pkglib/lazy"
|
||||||
"github.com/tkw1536/pkglib/nobufio"
|
"github.com/tkw1536/pkglib/nobufio"
|
||||||
|
"github.com/tkw1536/pkglib/stream"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Server represents a server that executes PHP code.
|
// Server represents a server that executes PHP code.
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/status"
|
"github.com/FAU-CDI/wisski-distillery/internal/status"
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient"
|
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient"
|
||||||
"github.com/tkw1536/goprogram/exit"
|
"github.com/tkw1536/goprogram/exit"
|
||||||
"github.com/tkw1536/goprogram/stream"
|
"github.com/tkw1536/pkglib/stream"
|
||||||
)
|
)
|
||||||
|
|
||||||
var errCronFailed = exit.Error{
|
var errCronFailed = exit.Error{
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient"
|
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient"
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient/mstore"
|
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient/mstore"
|
||||||
"github.com/tkw1536/goprogram/exit"
|
"github.com/tkw1536/goprogram/exit"
|
||||||
"github.com/tkw1536/goprogram/stream"
|
"github.com/tkw1536/pkglib/stream"
|
||||||
)
|
)
|
||||||
|
|
||||||
var errBlindUpdateFailed = exit.Error{
|
var errBlindUpdateFailed = exit.Error{
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient"
|
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient"
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient/barrel"
|
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient/barrel"
|
||||||
"github.com/alessio/shellescape"
|
"github.com/alessio/shellescape"
|
||||||
"github.com/tkw1536/goprogram/stream"
|
"github.com/tkw1536/pkglib/stream"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Provisioner provides provisioning for a barrel
|
// Provisioner provides provisioning for a barrel
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package barrel
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/tkw1536/goprogram/stream"
|
"github.com/tkw1536/pkglib/stream"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Shell executes a shell command inside the instance.
|
// Shell executes a shell command inside the instance.
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import (
|
||||||
|
|
||||||
"github.com/FAU-CDI/wisski-distillery/internal/phpx"
|
"github.com/FAU-CDI/wisski-distillery/internal/phpx"
|
||||||
"github.com/alessio/shellescape"
|
"github.com/alessio/shellescape"
|
||||||
"github.com/tkw1536/goprogram/stream"
|
"github.com/tkw1536/pkglib/stream"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NewServer returns a new server that can execute code within this distillery.
|
// NewServer returns a new server that can execute code within this distillery.
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/rs/zerolog"
|
"github.com/rs/zerolog"
|
||||||
"github.com/tkw1536/goprogram/stream"
|
"github.com/tkw1536/pkglib/stream"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CommandError is returned by Exec when a command could not be executed.
|
// CommandError is returned by Exec when a command could not be executed.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue