File tree Expand file tree Collapse file tree 5 files changed +60
-0
lines changed Expand file tree Collapse file tree 5 files changed +60
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ go_library(
68
68
"//test/e2e/framework/providers/azure:go_default_library" ,
69
69
"//test/e2e/framework/providers/gce:go_default_library" ,
70
70
"//test/e2e/framework/providers/kubemark:go_default_library" ,
71
+ "//test/e2e/framework/providers/openstack:go_default_library" ,
71
72
"//test/e2e/framework/testfiles:go_default_library" ,
72
73
"//test/e2e/manifest:go_default_library" ,
73
74
"//test/utils:go_default_library" ,
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ import (
50
50
_ "k8s.io/kubernetes/test/e2e/framework/providers/azure"
51
51
_ "k8s.io/kubernetes/test/e2e/framework/providers/gce"
52
52
_ "k8s.io/kubernetes/test/e2e/framework/providers/kubemark"
53
+ _ "k8s.io/kubernetes/test/e2e/framework/providers/openstack"
53
54
)
54
55
55
56
var (
Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ filegroup(
170
170
"//test/e2e/framework/providers/azure:all-srcs" ,
171
171
"//test/e2e/framework/providers/gce:all-srcs" ,
172
172
"//test/e2e/framework/providers/kubemark:all-srcs" ,
173
+ "//test/e2e/framework/providers/openstack:all-srcs" ,
173
174
"//test/e2e/framework/testfiles:all-srcs" ,
174
175
"//test/e2e/framework/timer:all-srcs" ,
175
176
"//test/e2e/framework/viperconfig:all-srcs" ,
Original file line number Diff line number Diff line change
1
+ load ("@io_bazel_rules_go//go:def.bzl" , "go_library" )
2
+
3
+ go_library (
4
+ name = "go_default_library" ,
5
+ srcs = ["openstack.go" ],
6
+ importpath = "k8s.io/kubernetes/test/e2e/framework/providers/openstack" ,
7
+ visibility = ["//visibility:public" ],
8
+ deps = ["//test/e2e/framework:go_default_library" ],
9
+ )
10
+
11
+ filegroup (
12
+ name = "package-srcs" ,
13
+ srcs = glob (["**" ]),
14
+ tags = ["automanaged" ],
15
+ visibility = ["//visibility:private" ],
16
+ )
17
+
18
+ filegroup (
19
+ name = "all-srcs" ,
20
+ srcs = [":package-srcs" ],
21
+ tags = ["automanaged" ],
22
+ visibility = ["//visibility:public" ],
23
+ )
Original file line number Diff line number Diff line change
1
+ /*
2
+ Copyright 2019 The Kubernetes Authors.
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ */
16
+
17
+ package openstack
18
+
19
+ import (
20
+ "k8s.io/kubernetes/test/e2e/framework"
21
+ )
22
+
23
+ func init () {
24
+ framework .RegisterProvider ("openstack" , newProvider )
25
+ }
26
+
27
+ func newProvider () (framework.ProviderInterface , error ) {
28
+ return & Provider {}, nil
29
+ }
30
+
31
+ // Provider is a structure to handle OpenStack clouds for e2e testing
32
+ type Provider struct {
33
+ framework.NullProvider
34
+ }
You can’t perform that action at this time.
0 commit comments