-
Notifications
You must be signed in to change notification settings - Fork 20
/
fake_nsx.vmware.com_client.go
59 lines (45 loc) · 1.73 KB
/
fake_nsx.vmware.com_client.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* Copyright © 2023 VMware, Inc. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0 */
// Code generated by client-gen. DO NOT EDIT.
package fake
import (
v1alpha1 "github.com/vmware-tanzu/nsx-operator/pkg/client/clientset/versioned/typed/nsx.vmware.com/v1alpha1"
rest "k8s.io/client-go/rest"
testing "k8s.io/client-go/testing"
)
type FakeNsxV1alpha1 struct {
*testing.Fake
}
func (c *FakeNsxV1alpha1) IPPools(namespace string) v1alpha1.IPPoolInterface {
return &FakeIPPools{c, namespace}
}
func (c *FakeNsxV1alpha1) NSXServiceAccounts(namespace string) v1alpha1.NSXServiceAccountInterface {
return &FakeNSXServiceAccounts{c, namespace}
}
func (c *FakeNsxV1alpha1) SecurityPolicies(namespace string) v1alpha1.SecurityPolicyInterface {
return &FakeSecurityPolicies{c, namespace}
}
func (c *FakeNsxV1alpha1) StaticRoutes(namespace string) v1alpha1.StaticRouteInterface {
return &FakeStaticRoutes{c, namespace}
}
func (c *FakeNsxV1alpha1) Subnets(namespace string) v1alpha1.SubnetInterface {
return &FakeSubnets{c, namespace}
}
func (c *FakeNsxV1alpha1) SubnetPorts(namespace string) v1alpha1.SubnetPortInterface {
return &FakeSubnetPorts{c, namespace}
}
func (c *FakeNsxV1alpha1) SubnetSets(namespace string) v1alpha1.SubnetSetInterface {
return &FakeSubnetSets{c, namespace}
}
func (c *FakeNsxV1alpha1) VPCs(namespace string) v1alpha1.VPCInterface {
return &FakeVPCs{c, namespace}
}
func (c *FakeNsxV1alpha1) VPCNetworkConfigurations() v1alpha1.VPCNetworkConfigurationInterface {
return &FakeVPCNetworkConfigurations{c}
}
// RESTClient returns a RESTClient that is used to communicate
// with API server by this client implementation.
func (c *FakeNsxV1alpha1) RESTClient() rest.Interface {
var ret *rest.RESTClient
return ret
}