Marek Siarkowicz
43c1631f26
tests: Use cmp.Equal to avoid mutating arguments
2022-02-01 16:47:18 +01:00
Chao Chen
b5e4c2d3c4
client/v2: remove unsafe json-iterator/reflect2
2021-11-09 11:16:40 -08:00
Vladimir Ermakov
49a8aa7f49
run fix.sh
...
To fix dependencies.
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2021-10-13 14:08:27 +03:00
Haimantika Mitra
c10d50c4b3
Replace github.com/form3tech-oss/jwt-go with https://github.com/golang-jwt/jwt
...
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Made required adjustments to the go.sum file
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Changed go.sum file in the server directory
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Removed the white space
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Made required changes
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Trying to fix the fails
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Removed error
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Fixed bill-of-materials.json file
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Changed go.mod with recent version
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Newer version changes
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Changes to etcdutl directory
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
2021-08-03 13:49:47 +05:30
Piotr Tabor
ea8b9e6c18
Improve output of the 'functional' tests
...
- Use go testing infrastructure, such that logs are printed only in
case of failure.
- Split the test into multiple sub-round and sub-round-testcases such
that tree of execution reflects the logic.
- Use 'development' loggers that are formatting the output to be human
readable.
2021-05-31 15:31:48 +02:00
Piotr Tabor
c09aca1ba4
Split etcdctl into etcdctl (public API access) & etcdutl (direct surgery on files)
...
Motivation is as follows:
- etcdctl we only depend on clientv3 APIs, no dependencies of bolt, backend, mvcc, file-layout
- etcdctl can be officially supported across wide range of versions, while etcdutl is pretty specific to file format at particular version.
it's step towards desired modules layout, documented in: https://etcd.io/docs/next/dev-internal/modules/
2021-05-17 11:54:03 +02:00
Lili Cosic
1a718a958e
Add initial Tracing with OpenTelemetry
2021-05-10 10:44:40 +02:00
Sam Batschelet
82b2d5c67d
server: add support for log rotation
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-05-07 08:39:51 -04:00
Piotr Tabor
d7d110b5a8
mvcc/backend tests: Refactor: Do not mix testing&prod code.
2021-04-21 09:43:13 +02:00
Piotr Tabor
3bb7acc8cf
Migrate dependencies pkg/foo -> client/pkg/foo
2021-04-07 00:38:47 +02:00
Piotr Tabor
45fb7b41d6
Update dep: github.com/golang/protobuf v1.3.5 -> v1.5.1
...
Thanks to https://go-review.googlesource.com/c/protobuf/+/300869/ its
feasible now.
2021-03-24 22:27:12 +01:00
Piotr Tabor
f7a2389992
Update version of certifi/gocertifi to get rid of WTF Public license
...
Seems old versions of https://github.com/certifi/gocertifi where
categorized as "Do What The F*ck You Want To Public License".
Update to newer version that is explicit `Mozilla Public License` 2.0 (MPL 2.0).
2021-03-04 09:48:34 +01:00
Piotr Tabor
0b75fede64
Replace client/v3/balancer with standard components: resolver + round_robin LB
...
This commit significantly reduces volume of custom code
in etcd client v3, while preserving full existing functionality.
2021-02-08 18:50:31 +01:00
Dan Lorenc
5b90402082
Switch from dgrijalva/jwt-go to form3tech-oss/jwt-go.
...
dgrijalva/jwt-go has been abandoned and contains several serious
security issues. Most projects are now switching to the form3tech fork.
See https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515 for
info on the issues.
Signed-off-by: Dan Lorenc <dlorenc@google.com>
2021-01-10 08:04:20 -06:00
Piotr Tabor
6c1efd6ba5
server: Update go.mod
2020-10-26 13:02:32 +01:00
Piotr Tabor
df48e499ea
etcdctl: Make etcdctl a module (go.mod, LICENSE)
2020-10-20 12:07:27 +02:00
Piotr Tabor
cf795c0ae6
client/v3: Create and update go.mod
2020-10-20 10:09:12 +02:00
Piotr Tabor
bea5f379bc
raft: Make raft a module
...
Establishing a module: Creating a go.mod files
2020-10-16 09:15:48 +02:00
Piotr Tabor
b7f0f52a16
*: Refresh of dependencies ( #12399 )
...
This PR focuses on dependencies that have new stable versions.
2020-10-15 15:32:00 -07:00
Piotr Tabor
45e4306508
client: Move client to client/v2 as a module.
...
We make v2 client code a module go.etcd.io/etcd/client/v2.
Pretty mechanical change that can be summarized as:
mkdir client/v2
cd client/v2 && git mod init go.etcd.io/etcd/client/v2
git mv client/*.go client/v2/
find -name '*.go' | xargs sed -i --follow-symlinks 's|/v3/client["]|/client/v2\"|g'
+ fixing changelog, bom, go.mod etc.
2020-10-15 14:39:43 +02:00
Piotr Tabor
f408939aa1
bom: Update bill-of-materials generation logic (and refresh bom).
2020-10-13 07:50:08 +02:00
Piotr Tabor
313087f8c5
./test,./scripts: Update go.sum and bill-of-materials generation logic (and refresh bom).
2020-10-07 15:38:39 +02:00
Piotr Tabor
997961ebfd
bom: Update bill of materials to reflect the new module.
2020-10-06 12:28:40 +02:00
Tobias Klauser
add86bbd1a
pkg/fileutil: use fcntl syscall wrappers from golang.org/x/sys/unix ( #12316 )
...
Direct syscalls using syscall.Syscall(SYS_*, ...) should no longer be
used on darwin, see [1]. Instead, use the fcntl libSystem wrappers
provided by the golang.org/x/sys/unix package which implement the same
functionality.
[1] https://golang.org/doc/go1.12#darwin
2020-09-24 23:02:32 -07:00
Brandon Philips
03248a9045
bill-of-materials: updates for /etcd/v3 packaging
...
bill-of-materials:
- update to new package names
test/updatebom.sh scripts:
- Update to the right package names
- Don't add bom tool to go.mod
2020-04-28 00:57:52 +00:00
jingyih
09304a4d82
vendor: remove capnslog
...
Clean up capnslog from etcd code base. Remove its dependency.
2020-02-12 12:33:16 -08:00
poslua
fd2dddb39f
vendor: bump go-systemd to v22.0.0 to fix mod tidy error ( #11387 )
2019-12-04 18:47:14 -08:00
Gyuho Lee
bc95b1fa84
bill-of-materials: update
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-07-29 21:41:47 -07:00
Gyuho Lee
46166ad733
vendor: update
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-07-24 14:09:50 -07:00
rohitsardesai83
42a7ea6d33
etcd: Replace ghodss/yaml with sigs.k8s.io/yaml
...
To remove the dependency on ghodss/yaml. Replaced this dependency with sigs.k8s.io/yaml.
This wil help to remove the ghodss/yaml dependency from main kubernetes repository.
xref: https://github.com/kubernetes/kubernetes/issues/77024
2019-05-02 12:34:36 +05:30
Davanum Srinivas
290ac75869
*: update bill-of-materials
...
Change-Id: Ibfa24e28cacd58388f7606a945c8ac35e1c34580
2019-04-23 16:54:44 -04:00
Jingyi Hu
affaa36190
bill-of-materials: fix test failure
...
Re-generated bill-of-materials.json.
2019-03-19 22:07:00 -04:00
Joe Betz
2338f747bf
vendor: Add dependency on google/uuid for safe UUID generation
...
etcd currently generates a few UUID style identifiers using approaches like `fmt.Sprintf("client-%s", strconv.FormatInt(time.Now().UnixNano(), 36))`.
But these can collide on machine architectures with larger timestamp steps (see https://github.com/etcd-io/etcd/issues/10035 ).
2018-10-22 14:06:24 -07:00
Gyuho Lee
7d21cb24e9
bill-of-materials.json: regenerate
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-09-21 02:13:56 -07:00
Gyuho Lee
474cc300c9
bill-of-materials: regenerate with "go.etcd.io/bbolt"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-29 13:33:05 -07:00
Gyuho Lee
8f3900ffe1
bill-of-materials.json: regenerate
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 18:43:18 -07:00
Jingyi Hu
30662940f4
vendor: add go-grpc-middleware
...
Rebased to master PR #9994 . Fixed a Go format issue in
v3rpc/interceptor.go. Updated vendor to include go-grpc-middleware.
2018-08-10 13:15:35 -07:00
Joe Betz
05c57a0ea4
integration: Fix unit test failures from new grpc LB changes, fix bom
2018-06-15 13:41:28 -07:00
Gyuho Lee
1bca5ae20a
bill-of-materials: regenerate
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-13 10:49:38 -07:00
Gyuho Lee
67645ebc66
bill-of-materials.json: regenerate without "bitbucket.org/ww/goautoneg"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-10 18:38:01 -07:00
Gyuho Lee
cf0a138d83
bill-of-materials.json: regeneratea for "bitbucket.org/ww/goautoneg"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-10 15:58:20 -07:00
Gyuho Lee
471c6070f2
bill-of-materials.json: regenerate
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-09 13:42:24 -07:00
Gyuho Lee
c483c050cf
bill-of-materials.json: update
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-03-30 12:07:36 -07:00
Gyuho Lee
4d1a95c18b
bill-of-materials: regenerate
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-07 21:31:13 -08:00
Iwasaki Yudai
0cdf5b2d58
vendor: add github.com/tmc/grpc-websocket-proxy
...
Updating golang.org/x/net as well so that a new dependency
github.com/sirupsen/logrus can be compiled on Windows environments.
2017-10-06 15:14:01 -07:00
Anthony Romano
603f84bb6d
vendor: cockroachdb/cmux -> soheilhy/cmux
...
Official release is ahead of the fork.
2017-08-22 09:59:59 -07:00
Gyu-Ho Lee
9fee4b77de
bill-of-materials: update 'grpc' LICENSE
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-27 10:47:24 -07:00
Gyu-Ho Lee
89ced7c0c9
bill-of-materials.json: regenerate with 'coreos/bbolt'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-05 14:35:25 -07:00
Gyu-Ho Lee
0d0c0f3959
bill-of-materials: add google.golang.org/genproto
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-15 16:41:23 -07:00
Gyu-Ho Lee
a7c33d48de
bill-of-materials: regenerate with multi licenses
...
Fix https://github.com/coreos/etcd/issues/8086 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-13 10:25:29 -07:00