mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-15 17:11:30 +00:00
refactor: move exoscale client to cloud providers
This commit is contained in:
+1
-1
@@ -20,10 +20,10 @@ import (
|
||||
"net/netip"
|
||||
"strings"
|
||||
|
||||
"github.com/mulgadc/spinifex/spinifex/cloud/exoscale"
|
||||
"github.com/mulgadc/spinifex/spinifex/foundation/aws/errors"
|
||||
"github.com/mulgadc/spinifex/spinifex/foundation/state/kvstore"
|
||||
"github.com/mulgadc/spinifex/spinifex/network/external"
|
||||
"github.com/mulgadc/spinifex/spinifex/providers/cloud/exoscale"
|
||||
)
|
||||
|
||||
// MarkerPrefix starts the description of every EIP this package creates.
|
||||
|
||||
+1
-1
@@ -12,10 +12,10 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/mulgadc/spinifex/spinifex/cloud/exoscale"
|
||||
"github.com/mulgadc/spinifex/spinifex/foundation/aws/errors"
|
||||
"github.com/mulgadc/spinifex/spinifex/foundation/state/kvstore"
|
||||
"github.com/mulgadc/spinifex/spinifex/network/external"
|
||||
"github.com/mulgadc/spinifex/spinifex/providers/cloud/exoscale"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
+1
-1
@@ -8,9 +8,9 @@ import (
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/mulgadc/spinifex/internal/testkit"
|
||||
"github.com/mulgadc/spinifex/spinifex/cloud/exoscale"
|
||||
"github.com/mulgadc/spinifex/spinifex/foundation/state/kvstore"
|
||||
"github.com/mulgadc/spinifex/spinifex/network/external"
|
||||
"github.com/mulgadc/spinifex/spinifex/providers/cloud/exoscale"
|
||||
)
|
||||
|
||||
func TestKVStore_UnwrittenPoolIsNotFound(t *testing.T) {
|
||||
|
||||
+1
-1
@@ -7,8 +7,8 @@ import (
|
||||
|
||||
"github.com/nats-io/nats.go/jetstream"
|
||||
|
||||
"github.com/mulgadc/spinifex/spinifex/cloud/exoscale"
|
||||
"github.com/mulgadc/spinifex/spinifex/network/external"
|
||||
"github.com/mulgadc/spinifex/spinifex/providers/cloud/exoscale"
|
||||
)
|
||||
|
||||
// FromPoolConfig builds a live allocator for one source="exoscale" pool and
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/mulgadc/spinifex/spinifex/cloud/exoscale"
|
||||
"github.com/mulgadc/spinifex/spinifex/providers/cloud/exoscale"
|
||||
)
|
||||
|
||||
// The Fake is what every exonet test is measured against, so these pin the
|
||||
Vendored
Reference in New Issue
Block a user