Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeIPPools
- func (c *FakeIPPools) Create(ctx context.Context, iPPool *v1alpha1.IPPool, opts v1.CreateOptions) (result *v1alpha1.IPPool, err error)
- func (c *FakeIPPools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIPPools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIPPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IPPool, err error)
- func (c *FakeIPPools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IPPoolList, err error)
- func (c *FakeIPPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IPPool, err error)
- func (c *FakeIPPools) Update(ctx context.Context, iPPool *v1alpha1.IPPool, opts v1.UpdateOptions) (result *v1alpha1.IPPool, err error)
- func (c *FakeIPPools) UpdateStatus(ctx context.Context, iPPool *v1alpha1.IPPool, opts v1.UpdateOptions) (*v1alpha1.IPPool, error)
- func (c *FakeIPPools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNSXServiceAccounts
- func (c *FakeNSXServiceAccounts) Create(ctx context.Context, nSXServiceAccount *v1alpha1.NSXServiceAccount, ...) (result *v1alpha1.NSXServiceAccount, err error)
- func (c *FakeNSXServiceAccounts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNSXServiceAccounts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNSXServiceAccounts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NSXServiceAccount, err error)
- func (c *FakeNSXServiceAccounts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NSXServiceAccountList, err error)
- func (c *FakeNSXServiceAccounts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NSXServiceAccount, err error)
- func (c *FakeNSXServiceAccounts) Update(ctx context.Context, nSXServiceAccount *v1alpha1.NSXServiceAccount, ...) (result *v1alpha1.NSXServiceAccount, err error)
- func (c *FakeNSXServiceAccounts) UpdateStatus(ctx context.Context, nSXServiceAccount *v1alpha1.NSXServiceAccount, ...) (*v1alpha1.NSXServiceAccount, error)
- func (c *FakeNSXServiceAccounts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNsxV1alpha1
- func (c *FakeNsxV1alpha1) IPPools(namespace string) v1alpha1.IPPoolInterface
- func (c *FakeNsxV1alpha1) NSXServiceAccounts(namespace string) v1alpha1.NSXServiceAccountInterface
- func (c *FakeNsxV1alpha1) RESTClient() rest.Interface
- func (c *FakeNsxV1alpha1) SecurityPolicies(namespace string) v1alpha1.SecurityPolicyInterface
- func (c *FakeNsxV1alpha1) StaticRoutes(namespace string) v1alpha1.StaticRouteInterface
- func (c *FakeNsxV1alpha1) SubnetPorts(namespace string) v1alpha1.SubnetPortInterface
- func (c *FakeNsxV1alpha1) SubnetSets(namespace string) v1alpha1.SubnetSetInterface
- func (c *FakeNsxV1alpha1) Subnets(namespace string) v1alpha1.SubnetInterface
- func (c *FakeNsxV1alpha1) VPCNetworkConfigurations() v1alpha1.VPCNetworkConfigurationInterface
- func (c *FakeNsxV1alpha1) VPCs(namespace string) v1alpha1.VPCInterface
- type FakeSecurityPolicies
- func (c *FakeSecurityPolicies) Create(ctx context.Context, securityPolicy *v1alpha1.SecurityPolicy, ...) (result *v1alpha1.SecurityPolicy, err error)
- func (c *FakeSecurityPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSecurityPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSecurityPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SecurityPolicy, err error)
- func (c *FakeSecurityPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SecurityPolicyList, err error)
- func (c *FakeSecurityPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SecurityPolicy, err error)
- func (c *FakeSecurityPolicies) Update(ctx context.Context, securityPolicy *v1alpha1.SecurityPolicy, ...) (result *v1alpha1.SecurityPolicy, err error)
- func (c *FakeSecurityPolicies) UpdateStatus(ctx context.Context, securityPolicy *v1alpha1.SecurityPolicy, ...) (*v1alpha1.SecurityPolicy, error)
- func (c *FakeSecurityPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeStaticRoutes
- func (c *FakeStaticRoutes) Create(ctx context.Context, staticRoute *v1alpha1.StaticRoute, opts v1.CreateOptions) (result *v1alpha1.StaticRoute, err error)
- func (c *FakeStaticRoutes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeStaticRoutes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeStaticRoutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.StaticRoute, err error)
- func (c *FakeStaticRoutes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.StaticRouteList, err error)
- func (c *FakeStaticRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.StaticRoute, err error)
- func (c *FakeStaticRoutes) Update(ctx context.Context, staticRoute *v1alpha1.StaticRoute, opts v1.UpdateOptions) (result *v1alpha1.StaticRoute, err error)
- func (c *FakeStaticRoutes) UpdateStatus(ctx context.Context, staticRoute *v1alpha1.StaticRoute, opts v1.UpdateOptions) (*v1alpha1.StaticRoute, error)
- func (c *FakeStaticRoutes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSubnetPorts
- func (c *FakeSubnetPorts) Create(ctx context.Context, subnetPort *v1alpha1.SubnetPort, opts v1.CreateOptions) (result *v1alpha1.SubnetPort, err error)
- func (c *FakeSubnetPorts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSubnetPorts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSubnetPorts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SubnetPort, err error)
- func (c *FakeSubnetPorts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubnetPortList, err error)
- func (c *FakeSubnetPorts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SubnetPort, err error)
- func (c *FakeSubnetPorts) Update(ctx context.Context, subnetPort *v1alpha1.SubnetPort, opts v1.UpdateOptions) (result *v1alpha1.SubnetPort, err error)
- func (c *FakeSubnetPorts) UpdateStatus(ctx context.Context, subnetPort *v1alpha1.SubnetPort, opts v1.UpdateOptions) (*v1alpha1.SubnetPort, error)
- func (c *FakeSubnetPorts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSubnetSets
- func (c *FakeSubnetSets) Create(ctx context.Context, subnetSet *v1alpha1.SubnetSet, opts v1.CreateOptions) (result *v1alpha1.SubnetSet, err error)
- func (c *FakeSubnetSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSubnetSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSubnetSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SubnetSet, err error)
- func (c *FakeSubnetSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubnetSetList, err error)
- func (c *FakeSubnetSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SubnetSet, err error)
- func (c *FakeSubnetSets) Update(ctx context.Context, subnetSet *v1alpha1.SubnetSet, opts v1.UpdateOptions) (result *v1alpha1.SubnetSet, err error)
- func (c *FakeSubnetSets) UpdateStatus(ctx context.Context, subnetSet *v1alpha1.SubnetSet, opts v1.UpdateOptions) (*v1alpha1.SubnetSet, error)
- func (c *FakeSubnetSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSubnets
- func (c *FakeSubnets) Create(ctx context.Context, subnet *v1alpha1.Subnet, opts v1.CreateOptions) (result *v1alpha1.Subnet, err error)
- func (c *FakeSubnets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSubnets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSubnets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Subnet, err error)
- func (c *FakeSubnets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubnetList, err error)
- func (c *FakeSubnets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Subnet, err error)
- func (c *FakeSubnets) Update(ctx context.Context, subnet *v1alpha1.Subnet, opts v1.UpdateOptions) (result *v1alpha1.Subnet, err error)
- func (c *FakeSubnets) UpdateStatus(ctx context.Context, subnet *v1alpha1.Subnet, opts v1.UpdateOptions) (*v1alpha1.Subnet, error)
- func (c *FakeSubnets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVPCNetworkConfigurations
- func (c *FakeVPCNetworkConfigurations) Create(ctx context.Context, vPCNetworkConfiguration *v1alpha1.VPCNetworkConfiguration, ...) (result *v1alpha1.VPCNetworkConfiguration, err error)
- func (c *FakeVPCNetworkConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVPCNetworkConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVPCNetworkConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VPCNetworkConfiguration, err error)
- func (c *FakeVPCNetworkConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VPCNetworkConfigurationList, err error)
- func (c *FakeVPCNetworkConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VPCNetworkConfiguration, err error)
- func (c *FakeVPCNetworkConfigurations) Update(ctx context.Context, vPCNetworkConfiguration *v1alpha1.VPCNetworkConfiguration, ...) (result *v1alpha1.VPCNetworkConfiguration, err error)
- func (c *FakeVPCNetworkConfigurations) UpdateStatus(ctx context.Context, vPCNetworkConfiguration *v1alpha1.VPCNetworkConfiguration, ...) (*v1alpha1.VPCNetworkConfiguration, error)
- func (c *FakeVPCNetworkConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVPCs
- func (c *FakeVPCs) Create(ctx context.Context, vPC *v1alpha1.VPC, opts v1.CreateOptions) (result *v1alpha1.VPC, err error)
- func (c *FakeVPCs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVPCs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVPCs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VPC, err error)
- func (c *FakeVPCs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VPCList, err error)
- func (c *FakeVPCs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VPC, err error)
- func (c *FakeVPCs) Update(ctx context.Context, vPC *v1alpha1.VPC, opts v1.UpdateOptions) (result *v1alpha1.VPC, err error)
- func (c *FakeVPCs) UpdateStatus(ctx context.Context, vPC *v1alpha1.VPC, opts v1.UpdateOptions) (*v1alpha1.VPC, error)
- func (c *FakeVPCs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeIPPools ¶
type FakeIPPools struct { Fake *FakeNsxV1alpha1 // contains filtered or unexported fields }
FakeIPPools implements IPPoolInterface
func (*FakeIPPools) Create ¶
func (c *FakeIPPools) Create(ctx context.Context, iPPool *v1alpha1.IPPool, opts v1.CreateOptions) (result *v1alpha1.IPPool, err error)
Create takes the representation of a iPPool and creates it. Returns the server's representation of the iPPool, and an error, if there is any.
func (*FakeIPPools) Delete ¶
func (c *FakeIPPools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the iPPool and deletes it. Returns an error if one occurs.
func (*FakeIPPools) DeleteCollection ¶
func (c *FakeIPPools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIPPools) Get ¶
func (c *FakeIPPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IPPool, err error)
Get takes name of the iPPool, and returns the corresponding iPPool object, and an error if there is any.
func (*FakeIPPools) List ¶
func (c *FakeIPPools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IPPoolList, err error)
List takes label and field selectors, and returns the list of IPPools that match those selectors.
func (*FakeIPPools) Patch ¶
func (c *FakeIPPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IPPool, err error)
Patch applies the patch and returns the patched iPPool.
func (*FakeIPPools) Update ¶
func (c *FakeIPPools) Update(ctx context.Context, iPPool *v1alpha1.IPPool, opts v1.UpdateOptions) (result *v1alpha1.IPPool, err error)
Update takes the representation of a iPPool and updates it. Returns the server's representation of the iPPool, and an error, if there is any.
func (*FakeIPPools) UpdateStatus ¶
func (c *FakeIPPools) UpdateStatus(ctx context.Context, iPPool *v1alpha1.IPPool, opts v1.UpdateOptions) (*v1alpha1.IPPool, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIPPools) Watch ¶
func (c *FakeIPPools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested iPPools.
type FakeNSXServiceAccounts ¶
type FakeNSXServiceAccounts struct { Fake *FakeNsxV1alpha1 // contains filtered or unexported fields }
FakeNSXServiceAccounts implements NSXServiceAccountInterface
func (*FakeNSXServiceAccounts) Create ¶
func (c *FakeNSXServiceAccounts) Create(ctx context.Context, nSXServiceAccount *v1alpha1.NSXServiceAccount, opts v1.CreateOptions) (result *v1alpha1.NSXServiceAccount, err error)
Create takes the representation of a nSXServiceAccount and creates it. Returns the server's representation of the nSXServiceAccount, and an error, if there is any.
func (*FakeNSXServiceAccounts) Delete ¶
func (c *FakeNSXServiceAccounts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nSXServiceAccount and deletes it. Returns an error if one occurs.
func (*FakeNSXServiceAccounts) DeleteCollection ¶
func (c *FakeNSXServiceAccounts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNSXServiceAccounts) Get ¶
func (c *FakeNSXServiceAccounts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NSXServiceAccount, err error)
Get takes name of the nSXServiceAccount, and returns the corresponding nSXServiceAccount object, and an error if there is any.
func (*FakeNSXServiceAccounts) List ¶
func (c *FakeNSXServiceAccounts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NSXServiceAccountList, err error)
List takes label and field selectors, and returns the list of NSXServiceAccounts that match those selectors.
func (*FakeNSXServiceAccounts) Patch ¶
func (c *FakeNSXServiceAccounts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NSXServiceAccount, err error)
Patch applies the patch and returns the patched nSXServiceAccount.
func (*FakeNSXServiceAccounts) Update ¶
func (c *FakeNSXServiceAccounts) Update(ctx context.Context, nSXServiceAccount *v1alpha1.NSXServiceAccount, opts v1.UpdateOptions) (result *v1alpha1.NSXServiceAccount, err error)
Update takes the representation of a nSXServiceAccount and updates it. Returns the server's representation of the nSXServiceAccount, and an error, if there is any.
func (*FakeNSXServiceAccounts) UpdateStatus ¶
func (c *FakeNSXServiceAccounts) UpdateStatus(ctx context.Context, nSXServiceAccount *v1alpha1.NSXServiceAccount, opts v1.UpdateOptions) (*v1alpha1.NSXServiceAccount, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNSXServiceAccounts) Watch ¶
func (c *FakeNSXServiceAccounts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nSXServiceAccounts.
type FakeNsxV1alpha1 ¶
func (*FakeNsxV1alpha1) IPPools ¶
func (c *FakeNsxV1alpha1) IPPools(namespace string) v1alpha1.IPPoolInterface
func (*FakeNsxV1alpha1) NSXServiceAccounts ¶
func (c *FakeNsxV1alpha1) NSXServiceAccounts(namespace string) v1alpha1.NSXServiceAccountInterface
func (*FakeNsxV1alpha1) RESTClient ¶
func (c *FakeNsxV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeNsxV1alpha1) SecurityPolicies ¶
func (c *FakeNsxV1alpha1) SecurityPolicies(namespace string) v1alpha1.SecurityPolicyInterface
func (*FakeNsxV1alpha1) StaticRoutes ¶
func (c *FakeNsxV1alpha1) StaticRoutes(namespace string) v1alpha1.StaticRouteInterface
func (*FakeNsxV1alpha1) SubnetPorts ¶
func (c *FakeNsxV1alpha1) SubnetPorts(namespace string) v1alpha1.SubnetPortInterface
func (*FakeNsxV1alpha1) SubnetSets ¶
func (c *FakeNsxV1alpha1) SubnetSets(namespace string) v1alpha1.SubnetSetInterface
func (*FakeNsxV1alpha1) Subnets ¶
func (c *FakeNsxV1alpha1) Subnets(namespace string) v1alpha1.SubnetInterface
func (*FakeNsxV1alpha1) VPCNetworkConfigurations ¶
func (c *FakeNsxV1alpha1) VPCNetworkConfigurations() v1alpha1.VPCNetworkConfigurationInterface
func (*FakeNsxV1alpha1) VPCs ¶
func (c *FakeNsxV1alpha1) VPCs(namespace string) v1alpha1.VPCInterface
type FakeSecurityPolicies ¶
type FakeSecurityPolicies struct { Fake *FakeNsxV1alpha1 // contains filtered or unexported fields }
FakeSecurityPolicies implements SecurityPolicyInterface
func (*FakeSecurityPolicies) Create ¶
func (c *FakeSecurityPolicies) Create(ctx context.Context, securityPolicy *v1alpha1.SecurityPolicy, opts v1.CreateOptions) (result *v1alpha1.SecurityPolicy, err error)
Create takes the representation of a securityPolicy and creates it. Returns the server's representation of the securityPolicy, and an error, if there is any.
func (*FakeSecurityPolicies) Delete ¶
func (c *FakeSecurityPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the securityPolicy and deletes it. Returns an error if one occurs.
func (*FakeSecurityPolicies) DeleteCollection ¶
func (c *FakeSecurityPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSecurityPolicies) Get ¶
func (c *FakeSecurityPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SecurityPolicy, err error)
Get takes name of the securityPolicy, and returns the corresponding securityPolicy object, and an error if there is any.
func (*FakeSecurityPolicies) List ¶
func (c *FakeSecurityPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SecurityPolicyList, err error)
List takes label and field selectors, and returns the list of SecurityPolicies that match those selectors.
func (*FakeSecurityPolicies) Patch ¶
func (c *FakeSecurityPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SecurityPolicy, err error)
Patch applies the patch and returns the patched securityPolicy.
func (*FakeSecurityPolicies) Update ¶
func (c *FakeSecurityPolicies) Update(ctx context.Context, securityPolicy *v1alpha1.SecurityPolicy, opts v1.UpdateOptions) (result *v1alpha1.SecurityPolicy, err error)
Update takes the representation of a securityPolicy and updates it. Returns the server's representation of the securityPolicy, and an error, if there is any.
func (*FakeSecurityPolicies) UpdateStatus ¶
func (c *FakeSecurityPolicies) UpdateStatus(ctx context.Context, securityPolicy *v1alpha1.SecurityPolicy, opts v1.UpdateOptions) (*v1alpha1.SecurityPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSecurityPolicies) Watch ¶
func (c *FakeSecurityPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested securityPolicies.
type FakeStaticRoutes ¶
type FakeStaticRoutes struct { Fake *FakeNsxV1alpha1 // contains filtered or unexported fields }
FakeStaticRoutes implements StaticRouteInterface
func (*FakeStaticRoutes) Create ¶
func (c *FakeStaticRoutes) Create(ctx context.Context, staticRoute *v1alpha1.StaticRoute, opts v1.CreateOptions) (result *v1alpha1.StaticRoute, err error)
Create takes the representation of a staticRoute and creates it. Returns the server's representation of the staticRoute, and an error, if there is any.
func (*FakeStaticRoutes) Delete ¶
func (c *FakeStaticRoutes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the staticRoute and deletes it. Returns an error if one occurs.
func (*FakeStaticRoutes) DeleteCollection ¶
func (c *FakeStaticRoutes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStaticRoutes) Get ¶
func (c *FakeStaticRoutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.StaticRoute, err error)
Get takes name of the staticRoute, and returns the corresponding staticRoute object, and an error if there is any.
func (*FakeStaticRoutes) List ¶
func (c *FakeStaticRoutes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.StaticRouteList, err error)
List takes label and field selectors, and returns the list of StaticRoutes that match those selectors.
func (*FakeStaticRoutes) Patch ¶
func (c *FakeStaticRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.StaticRoute, err error)
Patch applies the patch and returns the patched staticRoute.
func (*FakeStaticRoutes) Update ¶
func (c *FakeStaticRoutes) Update(ctx context.Context, staticRoute *v1alpha1.StaticRoute, opts v1.UpdateOptions) (result *v1alpha1.StaticRoute, err error)
Update takes the representation of a staticRoute and updates it. Returns the server's representation of the staticRoute, and an error, if there is any.
func (*FakeStaticRoutes) UpdateStatus ¶
func (c *FakeStaticRoutes) UpdateStatus(ctx context.Context, staticRoute *v1alpha1.StaticRoute, opts v1.UpdateOptions) (*v1alpha1.StaticRoute, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStaticRoutes) Watch ¶
func (c *FakeStaticRoutes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested staticRoutes.
type FakeSubnetPorts ¶
type FakeSubnetPorts struct { Fake *FakeNsxV1alpha1 // contains filtered or unexported fields }
FakeSubnetPorts implements SubnetPortInterface
func (*FakeSubnetPorts) Create ¶
func (c *FakeSubnetPorts) Create(ctx context.Context, subnetPort *v1alpha1.SubnetPort, opts v1.CreateOptions) (result *v1alpha1.SubnetPort, err error)
Create takes the representation of a subnetPort and creates it. Returns the server's representation of the subnetPort, and an error, if there is any.
func (*FakeSubnetPorts) Delete ¶
func (c *FakeSubnetPorts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the subnetPort and deletes it. Returns an error if one occurs.
func (*FakeSubnetPorts) DeleteCollection ¶
func (c *FakeSubnetPorts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSubnetPorts) Get ¶
func (c *FakeSubnetPorts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SubnetPort, err error)
Get takes name of the subnetPort, and returns the corresponding subnetPort object, and an error if there is any.
func (*FakeSubnetPorts) List ¶
func (c *FakeSubnetPorts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubnetPortList, err error)
List takes label and field selectors, and returns the list of SubnetPorts that match those selectors.
func (*FakeSubnetPorts) Patch ¶
func (c *FakeSubnetPorts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SubnetPort, err error)
Patch applies the patch and returns the patched subnetPort.
func (*FakeSubnetPorts) Update ¶
func (c *FakeSubnetPorts) Update(ctx context.Context, subnetPort *v1alpha1.SubnetPort, opts v1.UpdateOptions) (result *v1alpha1.SubnetPort, err error)
Update takes the representation of a subnetPort and updates it. Returns the server's representation of the subnetPort, and an error, if there is any.
func (*FakeSubnetPorts) UpdateStatus ¶
func (c *FakeSubnetPorts) UpdateStatus(ctx context.Context, subnetPort *v1alpha1.SubnetPort, opts v1.UpdateOptions) (*v1alpha1.SubnetPort, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSubnetPorts) Watch ¶
func (c *FakeSubnetPorts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested subnetPorts.
type FakeSubnetSets ¶
type FakeSubnetSets struct { Fake *FakeNsxV1alpha1 // contains filtered or unexported fields }
FakeSubnetSets implements SubnetSetInterface
func (*FakeSubnetSets) Create ¶
func (c *FakeSubnetSets) Create(ctx context.Context, subnetSet *v1alpha1.SubnetSet, opts v1.CreateOptions) (result *v1alpha1.SubnetSet, err error)
Create takes the representation of a subnetSet and creates it. Returns the server's representation of the subnetSet, and an error, if there is any.
func (*FakeSubnetSets) Delete ¶
func (c *FakeSubnetSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the subnetSet and deletes it. Returns an error if one occurs.
func (*FakeSubnetSets) DeleteCollection ¶
func (c *FakeSubnetSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSubnetSets) Get ¶
func (c *FakeSubnetSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SubnetSet, err error)
Get takes name of the subnetSet, and returns the corresponding subnetSet object, and an error if there is any.
func (*FakeSubnetSets) List ¶
func (c *FakeSubnetSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubnetSetList, err error)
List takes label and field selectors, and returns the list of SubnetSets that match those selectors.
func (*FakeSubnetSets) Patch ¶
func (c *FakeSubnetSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SubnetSet, err error)
Patch applies the patch and returns the patched subnetSet.
func (*FakeSubnetSets) Update ¶
func (c *FakeSubnetSets) Update(ctx context.Context, subnetSet *v1alpha1.SubnetSet, opts v1.UpdateOptions) (result *v1alpha1.SubnetSet, err error)
Update takes the representation of a subnetSet and updates it. Returns the server's representation of the subnetSet, and an error, if there is any.
func (*FakeSubnetSets) UpdateStatus ¶
func (c *FakeSubnetSets) UpdateStatus(ctx context.Context, subnetSet *v1alpha1.SubnetSet, opts v1.UpdateOptions) (*v1alpha1.SubnetSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSubnetSets) Watch ¶
func (c *FakeSubnetSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested subnetSets.
type FakeSubnets ¶
type FakeSubnets struct { Fake *FakeNsxV1alpha1 // contains filtered or unexported fields }
FakeSubnets implements SubnetInterface
func (*FakeSubnets) Create ¶
func (c *FakeSubnets) Create(ctx context.Context, subnet *v1alpha1.Subnet, opts v1.CreateOptions) (result *v1alpha1.Subnet, err error)
Create takes the representation of a subnet and creates it. Returns the server's representation of the subnet, and an error, if there is any.
func (*FakeSubnets) Delete ¶
func (c *FakeSubnets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the subnet and deletes it. Returns an error if one occurs.
func (*FakeSubnets) DeleteCollection ¶
func (c *FakeSubnets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSubnets) Get ¶
func (c *FakeSubnets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Subnet, err error)
Get takes name of the subnet, and returns the corresponding subnet object, and an error if there is any.
func (*FakeSubnets) List ¶
func (c *FakeSubnets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubnetList, err error)
List takes label and field selectors, and returns the list of Subnets that match those selectors.
func (*FakeSubnets) Patch ¶
func (c *FakeSubnets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Subnet, err error)
Patch applies the patch and returns the patched subnet.
func (*FakeSubnets) Update ¶
func (c *FakeSubnets) Update(ctx context.Context, subnet *v1alpha1.Subnet, opts v1.UpdateOptions) (result *v1alpha1.Subnet, err error)
Update takes the representation of a subnet and updates it. Returns the server's representation of the subnet, and an error, if there is any.
func (*FakeSubnets) UpdateStatus ¶
func (c *FakeSubnets) UpdateStatus(ctx context.Context, subnet *v1alpha1.Subnet, opts v1.UpdateOptions) (*v1alpha1.Subnet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSubnets) Watch ¶
func (c *FakeSubnets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested subnets.
type FakeVPCNetworkConfigurations ¶
type FakeVPCNetworkConfigurations struct {
Fake *FakeNsxV1alpha1
}
FakeVPCNetworkConfigurations implements VPCNetworkConfigurationInterface
func (*FakeVPCNetworkConfigurations) Create ¶
func (c *FakeVPCNetworkConfigurations) Create(ctx context.Context, vPCNetworkConfiguration *v1alpha1.VPCNetworkConfiguration, opts v1.CreateOptions) (result *v1alpha1.VPCNetworkConfiguration, err error)
Create takes the representation of a vPCNetworkConfiguration and creates it. Returns the server's representation of the vPCNetworkConfiguration, and an error, if there is any.
func (*FakeVPCNetworkConfigurations) Delete ¶
func (c *FakeVPCNetworkConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the vPCNetworkConfiguration and deletes it. Returns an error if one occurs.
func (*FakeVPCNetworkConfigurations) DeleteCollection ¶
func (c *FakeVPCNetworkConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVPCNetworkConfigurations) Get ¶
func (c *FakeVPCNetworkConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VPCNetworkConfiguration, err error)
Get takes name of the vPCNetworkConfiguration, and returns the corresponding vPCNetworkConfiguration object, and an error if there is any.
func (*FakeVPCNetworkConfigurations) List ¶
func (c *FakeVPCNetworkConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VPCNetworkConfigurationList, err error)
List takes label and field selectors, and returns the list of VPCNetworkConfigurations that match those selectors.
func (*FakeVPCNetworkConfigurations) Patch ¶
func (c *FakeVPCNetworkConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VPCNetworkConfiguration, err error)
Patch applies the patch and returns the patched vPCNetworkConfiguration.
func (*FakeVPCNetworkConfigurations) Update ¶
func (c *FakeVPCNetworkConfigurations) Update(ctx context.Context, vPCNetworkConfiguration *v1alpha1.VPCNetworkConfiguration, opts v1.UpdateOptions) (result *v1alpha1.VPCNetworkConfiguration, err error)
Update takes the representation of a vPCNetworkConfiguration and updates it. Returns the server's representation of the vPCNetworkConfiguration, and an error, if there is any.
func (*FakeVPCNetworkConfigurations) UpdateStatus ¶
func (c *FakeVPCNetworkConfigurations) UpdateStatus(ctx context.Context, vPCNetworkConfiguration *v1alpha1.VPCNetworkConfiguration, opts v1.UpdateOptions) (*v1alpha1.VPCNetworkConfiguration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVPCNetworkConfigurations) Watch ¶
func (c *FakeVPCNetworkConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested vPCNetworkConfigurations.
type FakeVPCs ¶
type FakeVPCs struct { Fake *FakeNsxV1alpha1 // contains filtered or unexported fields }
FakeVPCs implements VPCInterface
func (*FakeVPCs) Create ¶
func (c *FakeVPCs) Create(ctx context.Context, vPC *v1alpha1.VPC, opts v1.CreateOptions) (result *v1alpha1.VPC, err error)
Create takes the representation of a vPC and creates it. Returns the server's representation of the vPC, and an error, if there is any.
func (*FakeVPCs) Delete ¶
Delete takes name of the vPC and deletes it. Returns an error if one occurs.
func (*FakeVPCs) DeleteCollection ¶
func (c *FakeVPCs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVPCs) Get ¶
func (c *FakeVPCs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VPC, err error)
Get takes name of the vPC, and returns the corresponding vPC object, and an error if there is any.
func (*FakeVPCs) List ¶
func (c *FakeVPCs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VPCList, err error)
List takes label and field selectors, and returns the list of VPCs that match those selectors.
func (*FakeVPCs) Patch ¶
func (c *FakeVPCs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VPC, err error)
Patch applies the patch and returns the patched vPC.
func (*FakeVPCs) Update ¶
func (c *FakeVPCs) Update(ctx context.Context, vPC *v1alpha1.VPC, opts v1.UpdateOptions) (result *v1alpha1.VPC, err error)
Update takes the representation of a vPC and updates it. Returns the server's representation of the vPC, and an error, if there is any.
func (*FakeVPCs) UpdateStatus ¶
func (c *FakeVPCs) UpdateStatus(ctx context.Context, vPC *v1alpha1.VPC, opts v1.UpdateOptions) (*v1alpha1.VPC, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().