Skip to content

Commit ef73210

Browse files
committed
rename grid client
1 parent 0c4a82b commit ef73210

File tree

108 files changed

+322
-820
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+322
-820
lines changed

.github/workflows/grid3-go-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Grid3 Go Integration tests
22

33
defaults:
44
run:
5-
working-directory: grid3-go
5+
working-directory: grid-client
66
on:
77
schedule:
88
- cron: "0 6 * * *"

.github/workflows/grid3-go-lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: Grid3 Go lint
33
on:
44
push:
55
paths:
6-
- grid3-go/**
6+
- grid-client/**
77
workflow_dispatch:
88

99
defaults:
1010
run:
11-
working-directory: grid3-go
11+
working-directory: grid-client
1212

1313
jobs:
1414
lint:
@@ -31,13 +31,13 @@ jobs:
3131
uses: golangci/golangci-lint-action@v3
3232
with:
3333
args: --timeout 3m --verbose
34-
working-directory: grid3-go
34+
working-directory: grid-client
3535

3636
- name: staticcheck
3737
uses: dominikh/staticcheck-action@v1.3.0
3838
with:
3939
version: "2022.1.3"
40-
working-directory: grid3-go
40+
working-directory: grid-client
4141
env:
4242
GO111MODULE: on
4343

.github/workflows/grid3-go-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: Grid3 Go Testing
33
on:
44
push:
55
paths:
6-
- grid3-go/**
6+
- grid-client/**
77
workflow_dispatch:
88

99
defaults:
1010
run:
11-
working-directory: grid3-go
11+
working-directory: grid-client
1212

1313
jobs:
1414
test:

grid-cli/cmd/cancel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"github.com/rs/zerolog/log"
66
"github.com/spf13/cobra"
77
"github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/config"
8-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/deployer"
8+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/deployer"
99
)
1010

1111
// cancelCmd represents the cancel command

grid-cli/cmd/deploy_gateway_fqdn.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
command "github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/cmd"
88
"github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/config"
99
"github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/filters"
10-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/deployer"
11-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
10+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/deployer"
11+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1212
)
1313

1414
// deployGatewayFQDNCmd represents the deploy gateway fqdn command

grid-cli/cmd/deploy_gateway_name.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
command "github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/cmd"
88
"github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/config"
99
"github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/filters"
10-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/deployer"
11-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
10+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/deployer"
11+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1212
)
1313

1414
// deployGatewayNameCmd represents the deploy gateway name command

grid-cli/cmd/deploy_kubernetes.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
command "github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/cmd"
1111
"github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/config"
1212
"github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/filters"
13-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/deployer"
14-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
13+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/deployer"
14+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1515
)
1616

1717
var k8sFlist = "https://hub.grid.tf/tf-official-apps/threefoldtech-k3s-latest.flist"

grid-cli/cmd/deploy_vm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
command "github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/cmd"
1111
"github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/config"
1212
"github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/filters"
13-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/deployer"
14-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
13+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/deployer"
14+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1515
)
1616

1717
var ubuntuFlist = "https://hub.grid.tf/tf-official-apps/threefoldtech-ubuntu-22.04.flist"

grid-cli/cmd/get_gateway_fqdn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/spf13/cobra"
99
command "github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/cmd"
1010
"github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/config"
11-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/deployer"
11+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/deployer"
1212
)
1313

1414
// getGatewayFQDNCmd represents the get gateway fqdn command

grid-cli/cmd/get_gateway_name.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/spf13/cobra"
99
command "github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/cmd"
1010
"github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/config"
11-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/deployer"
11+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/deployer"
1212
)
1313

1414
// getGatewayNameCmd represents the get gateway name command

grid-cli/cmd/get_kubernetes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/spf13/cobra"
99
command "github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/cmd"
1010
"github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/config"
11-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/deployer"
11+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/deployer"
1212
)
1313

1414
// getKubernetesCmd represents the get kubernetes command

grid-cli/cmd/get_vm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/spf13/cobra"
99
command "github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/cmd"
1010
"github.com/threefoldtech/tfgrid-sdk-go/grid-cli/internal/config"
11-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/deployer"
11+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/deployer"
1212
)
1313

1414
// getVMCmd represents the get vm command

grid-cli/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/spf13/cobra v1.7.0
1010
github.com/stretchr/testify v1.8.2
1111
github.com/threefoldtech/tfgrid-sdk-go/grid-proxy v0.0.0-20230412141347-0aa6b571f6b4
12-
github.com/threefoldtech/tfgrid-sdk-go/grid3-go v0.0.0-20230412141347-0aa6b571f6b4
12+
github.com/threefoldtech/tfgrid-sdk-go/grid-client v0.0.0-20230412141347-0aa6b571f6b4
1313
github.com/threefoldtech/zos v0.5.6-0.20230321103809-44426c1a69c7
1414
)
1515

grid-cli/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ github.com/threefoldtech/substrate-client v0.1.5 h1:yYmWaJCMoJO0ieaO6eu3vIK0ageh
114114
github.com/threefoldtech/substrate-client v0.1.5/go.mod h1:ys/GJLeLmNX8E36UFMeR0yZC5Lo4PufYtfwsVX8H/AM=
115115
github.com/threefoldtech/tfgrid-sdk-go/grid-proxy v0.0.0-20230412141347-0aa6b571f6b4 h1:ZQxigfzoFUKQcH5hWugSDXf3Xpt9qs5L0JO76lMevc8=
116116
github.com/threefoldtech/tfgrid-sdk-go/grid-proxy v0.0.0-20230412141347-0aa6b571f6b4/go.mod h1:9nP78LCW1LjiUjD4S9jqZbPBJs7lRH2jwiNueL1utfg=
117-
github.com/threefoldtech/tfgrid-sdk-go/grid3-go v0.0.0-20230412141347-0aa6b571f6b4 h1:2WHl5+CuMLdXwrTeDSBxF5AF6tNnp9JfjqAYCWf/Z/0=
118-
github.com/threefoldtech/tfgrid-sdk-go/grid3-go v0.0.0-20230412141347-0aa6b571f6b4/go.mod h1:CglbVbSLdIZcNVY/s4sJziykDEZhP8XPBXswcgglsjI=
117+
github.com/threefoldtech/tfgrid-sdk-go/grid-client v0.0.0-20230412141347-0aa6b571f6b4 h1:2WHl5+CuMLdXwrTeDSBxF5AF6tNnp9JfjqAYCWf/Z/0=
118+
github.com/threefoldtech/tfgrid-sdk-go/grid-client v0.0.0-20230412141347-0aa6b571f6b4/go.mod h1:CglbVbSLdIZcNVY/s4sJziykDEZhP8XPBXswcgglsjI=
119119
github.com/threefoldtech/zos v0.5.6-0.20230321103809-44426c1a69c7 h1:L6L9Nxwl5yqoLM956FQ+NGxBLLTgFMWlw5xIFXb2k/Y=
120120
github.com/threefoldtech/zos v0.5.6-0.20230321103809-44426c1a69c7/go.mod h1:l+VG8dujgdsmqQlfmgTtev8n7as5FImMbYZHQN9TtXU=
121121
github.com/tklauser/go-sysconf v0.3.9 h1:JeUVdAOWhhxVcU6Eqr/ATFHgXk/mmiItdKeJPev3vTo=

grid-cli/internal/cmd/deploy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88

99
"github.com/pkg/errors"
1010
"github.com/rs/zerolog/log"
11-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/deployer"
12-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
11+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/deployer"
12+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1313
"github.com/threefoldtech/zos/pkg/gridtypes"
1414
)
1515

grid-cli/internal/cmd/get.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"fmt"
77
"strconv"
88

9-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/deployer"
10-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
9+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/deployer"
10+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1111
)
1212

1313
var (

grid-cli/internal/filters/filters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"fmt"
55
"strings"
66

7+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
78
"github.com/threefoldtech/tfgrid-sdk-go/grid-proxy/pkg/client"
89
"github.com/threefoldtech/tfgrid-sdk-go/grid-proxy/pkg/types"
9-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
1010
)
1111

1212
func GetAvailableNode(client client.Client, filter types.NodeFilter) (uint32, error) {
File renamed without changes.
File renamed without changes.
File renamed without changes.

grid3-go/README.md renamed to grid-client/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Grid3_client_go
22

3-
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/cd6e18aac6be404ab89ec160b4b36671)](https://www.codacy.com/gh/threefoldtech/tfgrid-sdk-go/grid3-go/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=threefoldtech/tfgrid-sdk-go/grid3-go&amp;utm_campaign=Badge_Grade) <a href='https://github.com/jpoles1/gopherbadger' target='_blank'>![gopherbadger-tag-do-not-edit](https://img.shields.io/badge/Go%20Coverage-64.8%25-brightgreen.svg?longCache=true&style=flat)</a> [![Testing](https://github.com/threefoldtech/tfgrid-sdk-go/grid3-go/actions/workflows/test.yml/badge.svg?branch=development)](https://github.com/threefoldtech/tfgrid-sdk-go/grid3-go/actions/workflows/test.yml) [![Testing](https://github.com/threefoldtech/tfgrid-sdk-go/grid3-go/actions/workflows/lint.yml/badge.svg?branch=development)](https://github.com/threefoldtech/tfgrid-sdk-go/grid3-go/actions/workflows/lint.yml) [![Dependabot](https://badgen.net/badge/Dependabot/enabled/green?icon=dependabot)](https://dependabot.com/)
3+
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/cd6e18aac6be404ab89ec160b4b36671)](https://www.codacy.com/gh/threefoldtech/tfgrid-sdk-go/grid-client/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=threefoldtech/tfgrid-sdk-go/grid-client&amp;utm_campaign=Badge_Grade) <a href='https://github.com/jpoles1/gopherbadger' target='_blank'>![gopherbadger-tag-do-not-edit](https://img.shields.io/badge/Go%20Coverage-64.8%25-brightgreen.svg?longCache=true&style=flat)</a> [![Testing](https://github.com/threefoldtech/tfgrid-sdk-go/grid-client/actions/workflows/test.yml/badge.svg?branch=development)](https://github.com/threefoldtech/tfgrid-sdk-go/grid-client/actions/workflows/test.yml) [![Testing](https://github.com/threefoldtech/tfgrid-sdk-go/grid-client/actions/workflows/lint.yml/badge.svg?branch=development)](https://github.com/threefoldtech/tfgrid-sdk-go/grid-client/actions/workflows/lint.yml) [![Dependabot](https://badgen.net/badge/Dependabot/enabled/green?icon=dependabot)](https://dependabot.com/)
44

55
Grid3_client_go is a go client created to interact with threefold grid. It should manage CRUD operations for deployments on the grid.
66

@@ -14,8 +14,8 @@ This is a simple example to deploy a VM with a network.
1414

1515
```go
1616
import (
17-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/deployer"
18-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
17+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/deployer"
18+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1919
)
2020

2121
// Create Threefold plugin client
@@ -74,7 +74,7 @@ err = tfPluginClient.DeploymentDeployer.Cancel(ctx, &dl)
7474
err = tfPluginClient.NetworkDeployer.Cancel(ctx, &network)
7575
```
7676

77-
Refer to [integration examples](https://github.com/threefoldtech/tfgrid-sdk-go/grid3-go/tree/development/integration_tests) directory for more examples.
77+
Refer to [integration examples](https://github.com/threefoldtech/tfgrid-sdk-go/grid-client/tree/development/integration_tests) directory for more examples.
7878

7979
## Run tests
8080

grid3-go/deployer/deployer.go renamed to grid-client/deployer/deployer.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import (
1010
"github.com/cenkalti/backoff"
1111
"github.com/pkg/errors"
1212
"github.com/rs/zerolog/log"
13-
proxy "github.com/threefoldtech/grid_proxy_server/pkg/client"
14-
proxyTypes "github.com/threefoldtech/grid_proxy_server/pkg/types"
1513
"github.com/threefoldtech/substrate-client"
16-
client "github.com/threefoldtech/tfgrid-sdk-go/grid3-go/node"
17-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/subi"
14+
client "github.com/threefoldtech/tfgrid-sdk-go/grid-client/node"
15+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/subi"
16+
proxy "github.com/threefoldtech/tfgrid-sdk-go/grid-proxy/pkg/client"
17+
proxyTypes "github.com/threefoldtech/tfgrid-sdk-go/grid-proxy/pkg/types"
1818
"github.com/threefoldtech/zos/pkg/gridtypes"
1919
"github.com/threefoldtech/zos/pkg/gridtypes/zos"
2020
)

grid3-go/deployer/deployer_test.go renamed to grid-client/deployer/deployer_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ import (
1111
"github.com/golang/mock/gomock"
1212
"github.com/rs/zerolog/log"
1313
"github.com/stretchr/testify/assert"
14-
proxyTypes "github.com/threefoldtech/grid_proxy_server/pkg/types"
1514
"github.com/threefoldtech/substrate-client"
16-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/mocks"
17-
client "github.com/threefoldtech/tfgrid-sdk-go/grid3-go/node"
18-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/subi"
19-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
15+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/mocks"
16+
client "github.com/threefoldtech/tfgrid-sdk-go/grid-client/node"
17+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/subi"
18+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
19+
proxyTypes "github.com/threefoldtech/tfgrid-sdk-go/grid-proxy/pkg/types"
2020
"github.com/threefoldtech/zos/pkg/gridtypes"
2121
"github.com/threefoldtech/zos/pkg/gridtypes/zos"
2222
)

grid3-go/deployer/deployment_deployer.go renamed to grid-client/deployer/deployment_deployer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/pkg/errors"
99
"github.com/rs/zerolog/log"
10-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
10+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1111
"github.com/threefoldtech/zos/pkg/gridtypes"
1212
"github.com/threefoldtech/zos/pkg/gridtypes/zos"
1313
)

grid3-go/deployer/deployment_deployer_test.go renamed to grid-client/deployer/deployment_deployer_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import (
1313
"github.com/golang/mock/gomock"
1414
"github.com/stretchr/testify/assert"
1515
"github.com/threefoldtech/substrate-client"
16-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/mocks"
17-
client "github.com/threefoldtech/tfgrid-sdk-go/grid3-go/node"
18-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
16+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/mocks"
17+
client "github.com/threefoldtech/tfgrid-sdk-go/grid-client/node"
18+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1919
"github.com/threefoldtech/zos/pkg/gridtypes"
2020
"github.com/threefoldtech/zos/pkg/gridtypes/zos"
2121
)

grid3-go/deployer/deployment_utils_test.go renamed to grid-client/deployer/deployment_utils_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"testing"
66

77
"github.com/stretchr/testify/assert"
8-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
8+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
99
"github.com/threefoldtech/zos/pkg/gridtypes"
1010
"github.com/threefoldtech/zos/pkg/gridtypes/zos"
1111
)

grid3-go/deployer/gateway_fqdn_deployer.go renamed to grid-client/deployer/gateway_fqdn_deployer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"fmt"
77

88
"github.com/pkg/errors"
9-
client "github.com/threefoldtech/tfgrid-sdk-go/grid3-go/node"
10-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
9+
client "github.com/threefoldtech/tfgrid-sdk-go/grid-client/node"
10+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1111
"github.com/threefoldtech/zos/pkg/gridtypes"
1212
)
1313

grid3-go/deployer/gateway_fqdn_deployer_test.go renamed to grid-client/deployer/gateway_fqdn_deployer_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111
"github.com/golang/mock/gomock"
1212
"github.com/pkg/errors"
1313
"github.com/stretchr/testify/assert"
14-
proxyTypes "github.com/threefoldtech/grid_proxy_server/pkg/types"
1514
"github.com/threefoldtech/substrate-client"
16-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/mocks"
17-
client "github.com/threefoldtech/tfgrid-sdk-go/grid3-go/node"
18-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
15+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/mocks"
16+
client "github.com/threefoldtech/tfgrid-sdk-go/grid-client/node"
17+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
18+
proxyTypes "github.com/threefoldtech/tfgrid-sdk-go/grid-proxy/pkg/types"
1919
"github.com/threefoldtech/zos/pkg/gridtypes"
2020
"github.com/threefoldtech/zos/pkg/gridtypes/zos"
2121
)

grid3-go/deployer/gateway_name_deployer.go renamed to grid-client/deployer/gateway_name_deployer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"context"
66

77
"github.com/pkg/errors"
8-
client "github.com/threefoldtech/tfgrid-sdk-go/grid3-go/node"
9-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
8+
client "github.com/threefoldtech/tfgrid-sdk-go/grid-client/node"
9+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1010
"github.com/threefoldtech/zos/pkg/gridtypes"
1111
)
1212

grid3-go/deployer/gateway_name_deployer_test.go renamed to grid-client/deployer/gateway_name_deployer_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212
"github.com/pkg/errors"
1313
"github.com/stretchr/testify/assert"
1414
"github.com/threefoldtech/substrate-client"
15-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/mocks"
16-
client "github.com/threefoldtech/tfgrid-sdk-go/grid3-go/node"
17-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
15+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/mocks"
16+
client "github.com/threefoldtech/tfgrid-sdk-go/grid-client/node"
17+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1818
"github.com/threefoldtech/zos/pkg/gridtypes"
1919
"github.com/threefoldtech/zos/pkg/gridtypes/zos"
2020
)

grid3-go/deployer/k8s_deployer.go renamed to grid-client/deployer/k8s_deployer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010

1111
"github.com/pkg/errors"
1212
zerolog "github.com/rs/zerolog/log"
13-
client "github.com/threefoldtech/tfgrid-sdk-go/grid3-go/node"
14-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
13+
client "github.com/threefoldtech/tfgrid-sdk-go/grid-client/node"
14+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1515
"github.com/threefoldtech/zos/pkg/gridtypes"
1616
"github.com/threefoldtech/zos/pkg/gridtypes/zos"
1717
)

grid3-go/deployer/k8s_deployer_test.go renamed to grid-client/deployer/k8s_deployer_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import (
1111
"github.com/pkg/errors"
1212
"github.com/stretchr/testify/assert"
1313
"github.com/threefoldtech/substrate-client"
14-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/mocks"
15-
client "github.com/threefoldtech/tfgrid-sdk-go/grid3-go/node"
16-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/subi"
17-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
14+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/mocks"
15+
client "github.com/threefoldtech/tfgrid-sdk-go/grid-client/node"
16+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/subi"
17+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1818
"github.com/threefoldtech/zos/pkg/gridtypes"
1919
)
2020

grid3-go/deployer/network_deployer.go renamed to grid-client/deployer/network_deployer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"github.com/pkg/errors"
99
"github.com/rs/zerolog/log"
1010
"github.com/threefoldtech/substrate-client"
11-
client "github.com/threefoldtech/tfgrid-sdk-go/grid3-go/node"
12-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
11+
client "github.com/threefoldtech/tfgrid-sdk-go/grid-client/node"
12+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1313
"github.com/threefoldtech/zos/pkg/gridtypes"
1414
"github.com/threefoldtech/zos/pkg/gridtypes/zos"
1515
"golang.zx2c4.com/wireguard/wgctrl/wgtypes"

grid3-go/deployer/network_deployer_test.go renamed to grid-client/deployer/network_deployer_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88

99
"github.com/golang/mock/gomock"
1010
"github.com/stretchr/testify/assert"
11-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/mocks"
12-
client "github.com/threefoldtech/tfgrid-sdk-go/grid3-go/node"
13-
"github.com/threefoldtech/tfgrid-sdk-go/grid3-go/workloads"
11+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/mocks"
12+
client "github.com/threefoldtech/tfgrid-sdk-go/grid-client/node"
13+
"github.com/threefoldtech/tfgrid-sdk-go/grid-client/workloads"
1414
"github.com/threefoldtech/zos/pkg/gridtypes"
1515
"github.com/threefoldtech/zos/pkg/gridtypes/zos"
1616
)

0 commit comments

Comments
 (0)