Skip to content

Commit 3824cee

Browse files
author
Phillip Wittrock
authored
Merge pull request #237 from pwittrock/imports
Add pkg/imports for linking dependencies from projects
2 parents 64e953e + c89a843 commit 3824cee

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

pkg/imports/imports.go

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
Copyright 2018 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+
/*
18+
Package imports ensures that when "dep ensure" is run after creating a new kubebuilder project, it
19+
will fetch all of the dependencies needed for the project.
20+
*/
21+
package imports
22+
23+
import (
24+
_ "github.com/emicklei/go-restful"
25+
_ "github.com/go-openapi/spec"
26+
_ "github.com/onsi/ginkgo"
27+
_ "github.com/spf13/pflag"
28+
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
29+
_ "sigs.k8s.io/testing_frameworks/integration"
30+
)

0 commit comments

Comments
 (0)