diff options
author | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2019-08-16 13:15:35 -0700 |
---|---|---|
committer | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2019-08-28 13:47:14 -0700 |
commit | 49249e28af27e96c58c9d792ba53f295c10e7e06 (patch) | |
tree | 8a193dd03861b6627d0884df70494dd61877e017 /src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_k8splugin_client.go | |
parent | c5218d2a9d3d6ff009a87e7f1e999a8b5c0332d3 (diff) |
Adding typed client for CRD
Adding a typed client for CRD
Generated using the generate-groups.sh script from
the kubernetes/code-generator repo
Issue-ID: MULTICLOUD-675
Change-Id: I6c712980595dfed7a8b9c51f50edfc6788372dfd
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_k8splugin_client.go')
-rw-r--r-- | src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_k8splugin_client.go | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_k8splugin_client.go b/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_k8splugin_client.go new file mode 100644 index 00000000..2b719da2 --- /dev/null +++ b/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_k8splugin_client.go @@ -0,0 +1,40 @@ +/* + * Copyright 2019 Intel Corporation, Inc + * + * 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. + */ +// Code generated by client-gen. DO NOT EDIT. + +package fake + +import ( + v1alpha1 "monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1" + + rest "k8s.io/client-go/rest" + testing "k8s.io/client-go/testing" +) + +type FakeK8spluginV1alpha1 struct { + *testing.Fake +} + +func (c *FakeK8spluginV1alpha1) ResourceBundleStates(namespace string) v1alpha1.ResourceBundleStateInterface { + return &FakeResourceBundleStates{c, namespace} +} + +// RESTClient returns a RESTClient that is used to communicate +// with API server by this client implementation. +func (c *FakeK8spluginV1alpha1) RESTClient() rest.Interface { + var ret *rest.RESTClient + return ret +} |