Skip to content

Commit c346f34

Browse files
committed
BUILD/MAJOR: client-native: upgrade client-native to v5
1 parent 1f986da commit c346f34

File tree

588 files changed

+808
-690
lines changed

Some content is hidden

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

588 files changed

+808
-690
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ or if you prefer to run it directly (not in docker)
1616
make generate-native
1717
```
1818

19-
`make generate-native` must also be used if you are using local client-native on disk (you have `replace github.com/haproxytech/client-native/v4 => ../client-native` in go.mod file)
19+
`make generate-native` must also be used if you are using local client-native on disk (you have `replace github.com/haproxytech/client-native/v5 => ../client-native` in go.mod file)
2020

2121
This command generates some of the files in this project, which are marked with // Code generated by go-swagger; DO NOT EDIT.
2222
comments at the top of the files. These are not to be edited, as they are overwritten when specification is changed and the above-mentioned command is run. If you want to change those files, please change the specification where necessary and then generate them again.

adapters/adapters.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ import (
2222
"strconv"
2323
"strings"
2424

25-
clientnative "github.com/haproxytech/client-native/v4"
26-
"github.com/haproxytech/client-native/v4/configuration"
27-
"github.com/haproxytech/client-native/v4/models"
25+
clientnative "github.com/haproxytech/client-native/v5"
26+
"github.com/haproxytech/client-native/v5/configuration"
27+
"github.com/haproxytech/client-native/v5/models"
2828
"github.com/haproxytech/dataplaneapi/log"
2929
)
3030

client-native/cn.go

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

9-
"github.com/haproxytech/client-native/v4/configuration"
10-
configuration_options "github.com/haproxytech/client-native/v4/configuration/options"
11-
runtime_api "github.com/haproxytech/client-native/v4/runtime"
12-
runtime_options "github.com/haproxytech/client-native/v4/runtime/options"
13-
parser "github.com/haproxytech/config-parser/v4"
14-
"github.com/haproxytech/config-parser/v4/types"
9+
"github.com/haproxytech/client-native/v5/configuration"
10+
configuration_options "github.com/haproxytech/client-native/v5/configuration/options"
11+
runtime_api "github.com/haproxytech/client-native/v5/runtime"
12+
runtime_options "github.com/haproxytech/client-native/v5/runtime/options"
13+
parser "github.com/haproxytech/config-parser/v5"
14+
"github.com/haproxytech/config-parser/v5/types"
1515

1616
dataplaneapi_config "github.com/haproxytech/dataplaneapi/configuration"
1717
"github.com/haproxytech/dataplaneapi/log"

cmd/dataplaneapi/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import (
2626
"github.com/go-openapi/runtime/security"
2727
flags "github.com/jessevdk/go-flags"
2828

29-
"github.com/haproxytech/client-native/v4/models"
30-
"github.com/haproxytech/client-native/v4/storage"
29+
"github.com/haproxytech/client-native/v5/models"
30+
"github.com/haproxytech/client-native/v5/storage"
3131
"github.com/haproxytech/dataplaneapi"
3232
"github.com/haproxytech/dataplaneapi/configuration"
3333
"github.com/haproxytech/dataplaneapi/log"

configuration/cluster_sync.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ import (
3434
"time"
3535

3636
"github.com/google/renameio"
37-
client_native "github.com/haproxytech/client-native/v4"
38-
"github.com/haproxytech/config-parser/v4/types"
37+
client_native "github.com/haproxytech/client-native/v5"
38+
"github.com/haproxytech/config-parser/v5/types"
3939
jsoniter "github.com/json-iterator/go"
4040

4141
"github.com/haproxytech/dataplaneapi/log"

configuration/configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
"sync"
2727

2828
petname "github.com/dustinkirkland/golang-petname"
29-
"github.com/haproxytech/client-native/v4/models"
29+
"github.com/haproxytech/client-native/v5/models"
3030
"github.com/haproxytech/dataplaneapi/log"
3131
jsoniter "github.com/json-iterator/go"
3232
)

configuration/configuration_storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
package configuration
1717

1818
import (
19-
"github.com/haproxytech/client-native/v4/models"
19+
"github.com/haproxytech/client-native/v5/models"
2020
"github.com/jessevdk/go-flags"
2121

2222
dpapilog "github.com/haproxytech/dataplaneapi/log"

configuration/map_sync.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import (
2323
"sync"
2424
"time"
2525

26-
client_native "github.com/haproxytech/client-native/v4"
27-
"github.com/haproxytech/client-native/v4/models"
26+
client_native "github.com/haproxytech/client-native/v5"
27+
"github.com/haproxytech/client-native/v5/models"
2828
"github.com/haproxytech/dataplaneapi/log"
2929
)
3030

configuration/map_sync_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"strconv"
2020
"testing"
2121

22-
"github.com/haproxytech/client-native/v4/models"
22+
"github.com/haproxytech/client-native/v5/models"
2323
)
2424

2525
func data(differentAtIndex ...int) (fileEntries models.MapEntries, runtimeEntries models.MapEntries) {

configuration/misc.go

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

3030
"github.com/go-openapi/strfmt"
3131
"github.com/google/renameio"
32-
"github.com/haproxytech/client-native/v4/misc"
33-
"github.com/haproxytech/client-native/v4/storage"
32+
"github.com/haproxytech/client-native/v5/misc"
33+
"github.com/haproxytech/client-native/v5/storage"
3434
jsoniter "github.com/json-iterator/go"
3535
)
3636

0 commit comments

Comments
 (0)