Skip to content
This repository was archived by the owner on Jun 22, 2023. It is now read-only.

Commit a953022

Browse files
committed
Add e2e test cases to test controller validation process
Signed-off-by: Vu Dinh <vudinh@outlook.com>
1 parent 114c40d commit a953022

File tree

3 files changed

+409
-2
lines changed

3 files changed

+409
-2
lines changed

go.mod

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ module github.com/kcp-dev/catalog
33
go 1.19
44

55
require (
6+
github.com/kcp-dev/apimachinery v0.0.0-20220912132244-efe716c18e43
67
github.com/kcp-dev/kcp v0.9.1
78
github.com/kcp-dev/kcp/pkg/apis v0.9.1
89
github.com/kcp-dev/logicalcluster/v2 v2.0.0-alpha.3
910
github.com/onsi/ginkgo/v2 v2.1.4
1011
github.com/onsi/gomega v1.19.0
12+
github.com/stretchr/testify v1.7.1
1113
k8s.io/api v0.25.0
14+
k8s.io/apiextensions-apiserver v0.25.0
1215
k8s.io/apimachinery v0.25.0
1316
k8s.io/client-go v0.25.0
1417
k8s.io/klog/v2 v2.70.1
@@ -47,13 +50,13 @@ require (
4750
github.com/imdario/mergo v0.3.12 // indirect
4851
github.com/josharian/intern v1.0.0 // indirect
4952
github.com/json-iterator/go v1.1.12 // indirect
50-
github.com/kcp-dev/apimachinery v0.0.0-20220912132244-efe716c18e43 // indirect
5153
github.com/mailru/easyjson v0.7.6 // indirect
5254
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
5355
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
5456
github.com/modern-go/reflect2 v1.0.2 // indirect
5557
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
5658
github.com/pkg/errors v0.9.1 // indirect
59+
github.com/pmezard/go-difflib v1.0.0 // indirect
5760
github.com/prometheus/client_golang v1.12.2 // indirect
5861
github.com/prometheus/client_model v0.2.0 // indirect
5962
github.com/prometheus/common v0.32.1 // indirect
@@ -75,7 +78,6 @@ require (
7578
gopkg.in/inf.v0 v0.9.1 // indirect
7679
gopkg.in/yaml.v2 v2.4.0 // indirect
7780
gopkg.in/yaml.v3 v3.0.1 // indirect
78-
k8s.io/apiextensions-apiserver v0.25.0 // indirect
7981
k8s.io/apiserver v0.24.3 // indirect
8082
k8s.io/component-base v0.25.0 // indirect
8183
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect

go.sum

+1
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5
503503
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
504504
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
505505
github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY=
506+
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
506507
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
507508
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
508509
github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=

0 commit comments

Comments
 (0)