mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-24 14:12:18 +00:00
client-go/examples/fake-client: add doc.go to fix go build warnings
The fakeclient package does not have any non-test go files. This causes `go build` to give a warning: `no non-test Go files in ...`. This also causes the publishing bot to fail. This PR adds a dummy doc.go file in the package to avoid this warning. Kubernetes-commit: 764ae69671428987d77898b2d3c48c6c003e2fd4
This commit is contained in:
parent
615dfd3eb0
commit
933d577128
20
examples/fake-client/doc.go
Normal file
20
examples/fake-client/doc.go
Normal file
@ -0,0 +1,20 @@
|
||||
/*
|
||||
Copyright 2018 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.
|
||||
*/
|
||||
|
||||
// Package fakeclient contains examples on how to use fakeclient in tests.
|
||||
// Note: This file is here to avoid warnings on go build since there are no
|
||||
// non-test files in this package.
|
||||
package fakeclient
|
Loading…
Reference in New Issue
Block a user