Skip to content

Commit

Permalink
added dummy import
Browse files Browse the repository at this point in the history
These dummy imports are needed to ensure that generated project
have direct depencies on these packages so that 'dep ensure'
can vendor these right after 'init' step.
  • Loading branch information
droot committed May 9, 2018
1 parent ac35586 commit 0eb9105
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkg/signals/dummy_imports.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

// The signals package contains libraries for handling signals to shutdown the system.
package signals

// dummy imports to ensure that `dep ensure` can vendor the required
// dependencies after `kubebuilder init` step.
import (
_ "github.com/emicklei/go-restful"
_ "github.com/go-openapi/spec"
_ "github.com/onsi/ginkgo"
_ "github.com/spf13/pflag"
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
_ "sigs.k8s.io/testing_frameworks/integration"
)

0 comments on commit 0eb9105

Please sign in to comment.