mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
408 B
19 lines
408 B
package fake
|
|
|
|
import (
|
|
"k8s.io/kubernetes/pkg/client/clientset_generated/release_1_5/fake"
|
|
"k8s.io/kubernetes/pkg/runtime"
|
|
)
|
|
|
|
type ClientSets struct {
|
|
*fake.Clientset
|
|
ExtensionClient *FakeExtensionClient
|
|
}
|
|
|
|
func NewFakeClient(objects ...runtime.Object) *ClientSets {
|
|
return &ClientSets{
|
|
Clientset: fake.NewSimpleClientset(objects...),
|
|
ExtensionClient: NewFakeExtensionClient(objects...),
|
|
}
|
|
}
|