fake

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAliasPrefixRoutings

type FakeAliasPrefixRoutings struct {
	Fake *FakeNetworkingV1alpha1
	// contains filtered or unexported fields
}

FakeAliasPrefixRoutings implements AliasPrefixRoutingInterface

func (*FakeAliasPrefixRoutings) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied aliasPrefixRouting.

func (*FakeAliasPrefixRoutings) Create

func (c *FakeAliasPrefixRoutings) Create(ctx context.Context, aliasPrefixRouting *v1alpha1.AliasPrefixRouting, opts v1.CreateOptions) (result *v1alpha1.AliasPrefixRouting, err error)

Create takes the representation of a aliasPrefixRouting and creates it. Returns the server's representation of the aliasPrefixRouting, and an error, if there is any.

func (*FakeAliasPrefixRoutings) Delete

func (c *FakeAliasPrefixRoutings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the aliasPrefixRouting and deletes it. Returns an error if one occurs.

func (*FakeAliasPrefixRoutings) DeleteCollection

func (c *FakeAliasPrefixRoutings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAliasPrefixRoutings) Get

func (c *FakeAliasPrefixRoutings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AliasPrefixRouting, err error)

Get takes name of the aliasPrefixRouting, and returns the corresponding aliasPrefixRouting object, and an error if there is any.

func (*FakeAliasPrefixRoutings) List

List takes label and field selectors, and returns the list of AliasPrefixRoutings that match those selectors.

func (*FakeAliasPrefixRoutings) Patch

func (c *FakeAliasPrefixRoutings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AliasPrefixRouting, err error)

Patch applies the patch and returns the patched aliasPrefixRouting.

func (*FakeAliasPrefixRoutings) Update

func (c *FakeAliasPrefixRoutings) Update(ctx context.Context, aliasPrefixRouting *v1alpha1.AliasPrefixRouting, opts v1.UpdateOptions) (result *v1alpha1.AliasPrefixRouting, err error)

Update takes the representation of a aliasPrefixRouting and updates it. Returns the server's representation of the aliasPrefixRouting, and an error, if there is any.

func (*FakeAliasPrefixRoutings) Watch

Watch returns a watch.Interface that watches the requested aliasPrefixRoutings.

type FakeAliasPrefixes

type FakeAliasPrefixes struct {
	Fake *FakeNetworkingV1alpha1
	// contains filtered or unexported fields
}

FakeAliasPrefixes implements AliasPrefixInterface

func (*FakeAliasPrefixes) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied aliasPrefix.

func (*FakeAliasPrefixes) ApplyStatus

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeAliasPrefixes) Create

func (c *FakeAliasPrefixes) Create(ctx context.Context, aliasPrefix *v1alpha1.AliasPrefix, opts v1.CreateOptions) (result *v1alpha1.AliasPrefix, err error)

Create takes the representation of a aliasPrefix and creates it. Returns the server's representation of the aliasPrefix, and an error, if there is any.

func (*FakeAliasPrefixes) Delete

func (c *FakeAliasPrefixes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the aliasPrefix and deletes it. Returns an error if one occurs.

func (*FakeAliasPrefixes) DeleteCollection

func (c *FakeAliasPrefixes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAliasPrefixes) Get

func (c *FakeAliasPrefixes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AliasPrefix, err error)

Get takes name of the aliasPrefix, and returns the corresponding aliasPrefix object, and an error if there is any.

func (*FakeAliasPrefixes) List

func (c *FakeAliasPrefixes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AliasPrefixList, err error)

List takes label and field selectors, and returns the list of AliasPrefixes that match those selectors.

func (*FakeAliasPrefixes) Patch

func (c *FakeAliasPrefixes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AliasPrefix, err error)

Patch applies the patch and returns the patched aliasPrefix.

func (*FakeAliasPrefixes) Update

func (c *FakeAliasPrefixes) Update(ctx context.Context, aliasPrefix *v1alpha1.AliasPrefix, opts v1.UpdateOptions) (result *v1alpha1.AliasPrefix, err error)

Update takes the representation of a aliasPrefix and updates it. Returns the server's representation of the aliasPrefix, and an error, if there is any.

func (*FakeAliasPrefixes) UpdateStatus

func (c *FakeAliasPrefixes) UpdateStatus(ctx context.Context, aliasPrefix *v1alpha1.AliasPrefix, opts v1.UpdateOptions) (*v1alpha1.AliasPrefix, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAliasPrefixes) Watch

Watch returns a watch.Interface that watches the requested aliasPrefixes.

type FakeLoadBalancerRoutings

type FakeLoadBalancerRoutings struct {
	Fake *FakeNetworkingV1alpha1
	// contains filtered or unexported fields
}

FakeLoadBalancerRoutings implements LoadBalancerRoutingInterface

func (*FakeLoadBalancerRoutings) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied loadBalancerRouting.

func (*FakeLoadBalancerRoutings) Create

func (c *FakeLoadBalancerRoutings) Create(ctx context.Context, loadBalancerRouting *v1alpha1.LoadBalancerRouting, opts v1.CreateOptions) (result *v1alpha1.LoadBalancerRouting, err error)

Create takes the representation of a loadBalancerRouting and creates it. Returns the server's representation of the loadBalancerRouting, and an error, if there is any.

func (*FakeLoadBalancerRoutings) Delete

Delete takes name of the loadBalancerRouting and deletes it. Returns an error if one occurs.

func (*FakeLoadBalancerRoutings) DeleteCollection

func (c *FakeLoadBalancerRoutings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeLoadBalancerRoutings) Get

func (c *FakeLoadBalancerRoutings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LoadBalancerRouting, err error)

Get takes name of the loadBalancerRouting, and returns the corresponding loadBalancerRouting object, and an error if there is any.

func (*FakeLoadBalancerRoutings) List

List takes label and field selectors, and returns the list of LoadBalancerRoutings that match those selectors.

func (*FakeLoadBalancerRoutings) Patch

func (c *FakeLoadBalancerRoutings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LoadBalancerRouting, err error)

Patch applies the patch and returns the patched loadBalancerRouting.

func (*FakeLoadBalancerRoutings) Update

func (c *FakeLoadBalancerRoutings) Update(ctx context.Context, loadBalancerRouting *v1alpha1.LoadBalancerRouting, opts v1.UpdateOptions) (result *v1alpha1.LoadBalancerRouting, err error)

Update takes the representation of a loadBalancerRouting and updates it. Returns the server's representation of the loadBalancerRouting, and an error, if there is any.

func (*FakeLoadBalancerRoutings) Watch

Watch returns a watch.Interface that watches the requested loadBalancerRoutings.

type FakeLoadBalancers

type FakeLoadBalancers struct {
	Fake *FakeNetworkingV1alpha1
	// contains filtered or unexported fields
}

FakeLoadBalancers implements LoadBalancerInterface

func (*FakeLoadBalancers) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied loadBalancer.

func (*FakeLoadBalancers) ApplyStatus

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeLoadBalancers) Create

func (c *FakeLoadBalancers) Create(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer, opts v1.CreateOptions) (result *v1alpha1.LoadBalancer, err error)

Create takes the representation of a loadBalancer and creates it. Returns the server's representation of the loadBalancer, and an error, if there is any.

func (*FakeLoadBalancers) Delete

func (c *FakeLoadBalancers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the loadBalancer and deletes it. Returns an error if one occurs.

func (*FakeLoadBalancers) DeleteCollection

func (c *FakeLoadBalancers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeLoadBalancers) Get

func (c *FakeLoadBalancers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LoadBalancer, err error)

Get takes name of the loadBalancer, and returns the corresponding loadBalancer object, and an error if there is any.

func (*FakeLoadBalancers) List

func (c *FakeLoadBalancers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LoadBalancerList, err error)

List takes label and field selectors, and returns the list of LoadBalancers that match those selectors.

func (*FakeLoadBalancers) Patch

func (c *FakeLoadBalancers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LoadBalancer, err error)

Patch applies the patch and returns the patched loadBalancer.

func (*FakeLoadBalancers) Update

func (c *FakeLoadBalancers) Update(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer, opts v1.UpdateOptions) (result *v1alpha1.LoadBalancer, err error)

Update takes the representation of a loadBalancer and updates it. Returns the server's representation of the loadBalancer, and an error, if there is any.

func (*FakeLoadBalancers) UpdateStatus

func (c *FakeLoadBalancers) UpdateStatus(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer, opts v1.UpdateOptions) (*v1alpha1.LoadBalancer, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeLoadBalancers) Watch

Watch returns a watch.Interface that watches the requested loadBalancers.

type FakeNATGatewayRoutings

type FakeNATGatewayRoutings struct {
	Fake *FakeNetworkingV1alpha1
	// contains filtered or unexported fields
}

FakeNATGatewayRoutings implements NATGatewayRoutingInterface

func (*FakeNATGatewayRoutings) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied nATGatewayRouting.

func (*FakeNATGatewayRoutings) Create

func (c *FakeNATGatewayRoutings) Create(ctx context.Context, nATGatewayRouting *v1alpha1.NATGatewayRouting, opts v1.CreateOptions) (result *v1alpha1.NATGatewayRouting, err error)

Create takes the representation of a nATGatewayRouting and creates it. Returns the server's representation of the nATGatewayRouting, and an error, if there is any.

func (*FakeNATGatewayRoutings) Delete

func (c *FakeNATGatewayRoutings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the nATGatewayRouting and deletes it. Returns an error if one occurs.

func (*FakeNATGatewayRoutings) DeleteCollection

func (c *FakeNATGatewayRoutings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNATGatewayRoutings) Get

func (c *FakeNATGatewayRoutings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NATGatewayRouting, err error)

Get takes name of the nATGatewayRouting, and returns the corresponding nATGatewayRouting object, and an error if there is any.

func (*FakeNATGatewayRoutings) List

List takes label and field selectors, and returns the list of NATGatewayRoutings that match those selectors.

func (*FakeNATGatewayRoutings) Patch

func (c *FakeNATGatewayRoutings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NATGatewayRouting, err error)

Patch applies the patch and returns the patched nATGatewayRouting.

func (*FakeNATGatewayRoutings) Update

func (c *FakeNATGatewayRoutings) Update(ctx context.Context, nATGatewayRouting *v1alpha1.NATGatewayRouting, opts v1.UpdateOptions) (result *v1alpha1.NATGatewayRouting, err error)

Update takes the representation of a nATGatewayRouting and updates it. Returns the server's representation of the nATGatewayRouting, and an error, if there is any.

func (*FakeNATGatewayRoutings) Watch

Watch returns a watch.Interface that watches the requested nATGatewayRoutings.

type FakeNATGateways

type FakeNATGateways struct {
	Fake *FakeNetworkingV1alpha1
	// contains filtered or unexported fields
}

FakeNATGateways implements NATGatewayInterface

func (*FakeNATGateways) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied nATGateway.

func (*FakeNATGateways) ApplyStatus

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeNATGateways) Create

func (c *FakeNATGateways) Create(ctx context.Context, nATGateway *v1alpha1.NATGateway, opts v1.CreateOptions) (result *v1alpha1.NATGateway, err error)

Create takes the representation of a nATGateway and creates it. Returns the server's representation of the nATGateway, and an error, if there is any.

func (*FakeNATGateways) Delete

func (c *FakeNATGateways) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the nATGateway and deletes it. Returns an error if one occurs.

func (*FakeNATGateways) DeleteCollection

func (c *FakeNATGateways) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNATGateways) Get

func (c *FakeNATGateways) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NATGateway, err error)

Get takes name of the nATGateway, and returns the corresponding nATGateway object, and an error if there is any.

func (*FakeNATGateways) List

func (c *FakeNATGateways) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NATGatewayList, err error)

List takes label and field selectors, and returns the list of NATGateways that match those selectors.

func (*FakeNATGateways) Patch

func (c *FakeNATGateways) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NATGateway, err error)

Patch applies the patch and returns the patched nATGateway.

func (*FakeNATGateways) Update

func (c *FakeNATGateways) Update(ctx context.Context, nATGateway *v1alpha1.NATGateway, opts v1.UpdateOptions) (result *v1alpha1.NATGateway, err error)

Update takes the representation of a nATGateway and updates it. Returns the server's representation of the nATGateway, and an error, if there is any.

func (*FakeNATGateways) UpdateStatus

func (c *FakeNATGateways) UpdateStatus(ctx context.Context, nATGateway *v1alpha1.NATGateway, opts v1.UpdateOptions) (*v1alpha1.NATGateway, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeNATGateways) Watch

Watch returns a watch.Interface that watches the requested nATGateways.

type FakeNetworkInterfaces

type FakeNetworkInterfaces struct {
	Fake *FakeNetworkingV1alpha1
	// contains filtered or unexported fields
}

FakeNetworkInterfaces implements NetworkInterfaceInterface

func (*FakeNetworkInterfaces) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied networkInterface.

func (*FakeNetworkInterfaces) ApplyStatus

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeNetworkInterfaces) Create

func (c *FakeNetworkInterfaces) Create(ctx context.Context, networkInterface *v1alpha1.NetworkInterface, opts v1.CreateOptions) (result *v1alpha1.NetworkInterface, err error)

Create takes the representation of a networkInterface and creates it. Returns the server's representation of the networkInterface, and an error, if there is any.

func (*FakeNetworkInterfaces) Delete

func (c *FakeNetworkInterfaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the networkInterface and deletes it. Returns an error if one occurs.

func (*FakeNetworkInterfaces) DeleteCollection

func (c *FakeNetworkInterfaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNetworkInterfaces) Get

func (c *FakeNetworkInterfaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkInterface, err error)

Get takes name of the networkInterface, and returns the corresponding networkInterface object, and an error if there is any.

func (*FakeNetworkInterfaces) List

List takes label and field selectors, and returns the list of NetworkInterfaces that match those selectors.

func (*FakeNetworkInterfaces) Patch

func (c *FakeNetworkInterfaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkInterface, err error)

Patch applies the patch and returns the patched networkInterface.

func (*FakeNetworkInterfaces) Update

func (c *FakeNetworkInterfaces) Update(ctx context.Context, networkInterface *v1alpha1.NetworkInterface, opts v1.UpdateOptions) (result *v1alpha1.NetworkInterface, err error)

Update takes the representation of a networkInterface and updates it. Returns the server's representation of the networkInterface, and an error, if there is any.

func (*FakeNetworkInterfaces) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeNetworkInterfaces) Watch

Watch returns a watch.Interface that watches the requested networkInterfaces.

type FakeNetworkingV1alpha1

type FakeNetworkingV1alpha1 struct {
	*testing.Fake
}

func (*FakeNetworkingV1alpha1) AliasPrefixRoutings

func (c *FakeNetworkingV1alpha1) AliasPrefixRoutings(namespace string) v1alpha1.AliasPrefixRoutingInterface

func (*FakeNetworkingV1alpha1) AliasPrefixes

func (c *FakeNetworkingV1alpha1) AliasPrefixes(namespace string) v1alpha1.AliasPrefixInterface

func (*FakeNetworkingV1alpha1) LoadBalancerRoutings

func (c *FakeNetworkingV1alpha1) LoadBalancerRoutings(namespace string) v1alpha1.LoadBalancerRoutingInterface

func (*FakeNetworkingV1alpha1) LoadBalancers

func (c *FakeNetworkingV1alpha1) LoadBalancers(namespace string) v1alpha1.LoadBalancerInterface

func (*FakeNetworkingV1alpha1) NATGatewayRoutings

func (c *FakeNetworkingV1alpha1) NATGatewayRoutings(namespace string) v1alpha1.NATGatewayRoutingInterface

func (*FakeNetworkingV1alpha1) NATGateways

func (c *FakeNetworkingV1alpha1) NATGateways(namespace string) v1alpha1.NATGatewayInterface

func (*FakeNetworkingV1alpha1) NetworkInterfaces

func (c *FakeNetworkingV1alpha1) NetworkInterfaces(namespace string) v1alpha1.NetworkInterfaceInterface

func (*FakeNetworkingV1alpha1) Networks

func (c *FakeNetworkingV1alpha1) Networks(namespace string) v1alpha1.NetworkInterface

func (*FakeNetworkingV1alpha1) RESTClient

func (c *FakeNetworkingV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeNetworkingV1alpha1) VirtualIPs

func (c *FakeNetworkingV1alpha1) VirtualIPs(namespace string) v1alpha1.VirtualIPInterface

type FakeNetworks

type FakeNetworks struct {
	Fake *FakeNetworkingV1alpha1
	// contains filtered or unexported fields
}

FakeNetworks implements NetworkInterface

func (*FakeNetworks) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied network.

func (*FakeNetworks) ApplyStatus

func (c *FakeNetworks) ApplyStatus(ctx context.Context, network *networkingv1alpha1.NetworkApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Network, err error)

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeNetworks) Create

func (c *FakeNetworks) Create(ctx context.Context, network *v1alpha1.Network, opts v1.CreateOptions) (result *v1alpha1.Network, err error)

Create takes the representation of a network and creates it. Returns the server's representation of the network, and an error, if there is any.

func (*FakeNetworks) Delete

func (c *FakeNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the network and deletes it. Returns an error if one occurs.

func (*FakeNetworks) DeleteCollection

func (c *FakeNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNetworks) Get

func (c *FakeNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Network, err error)

Get takes name of the network, and returns the corresponding network object, and an error if there is any.

func (*FakeNetworks) List

func (c *FakeNetworks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkList, err error)

List takes label and field selectors, and returns the list of Networks that match those selectors.

func (*FakeNetworks) Patch

func (c *FakeNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Network, err error)

Patch applies the patch and returns the patched network.

func (*FakeNetworks) Update

func (c *FakeNetworks) Update(ctx context.Context, network *v1alpha1.Network, opts v1.UpdateOptions) (result *v1alpha1.Network, err error)

Update takes the representation of a network and updates it. Returns the server's representation of the network, and an error, if there is any.

func (*FakeNetworks) UpdateStatus

func (c *FakeNetworks) UpdateStatus(ctx context.Context, network *v1alpha1.Network, opts v1.UpdateOptions) (*v1alpha1.Network, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeNetworks) Watch

func (c *FakeNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested networks.

type FakeVirtualIPs

type FakeVirtualIPs struct {
	Fake *FakeNetworkingV1alpha1
	// contains filtered or unexported fields
}

FakeVirtualIPs implements VirtualIPInterface

func (*FakeVirtualIPs) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied virtualIP.

func (*FakeVirtualIPs) ApplyStatus

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeVirtualIPs) Create

func (c *FakeVirtualIPs) Create(ctx context.Context, virtualIP *v1alpha1.VirtualIP, opts v1.CreateOptions) (result *v1alpha1.VirtualIP, err error)

Create takes the representation of a virtualIP and creates it. Returns the server's representation of the virtualIP, and an error, if there is any.

func (*FakeVirtualIPs) Delete

func (c *FakeVirtualIPs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the virtualIP and deletes it. Returns an error if one occurs.

func (*FakeVirtualIPs) DeleteCollection

func (c *FakeVirtualIPs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeVirtualIPs) Get

func (c *FakeVirtualIPs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VirtualIP, err error)

Get takes name of the virtualIP, and returns the corresponding virtualIP object, and an error if there is any.

func (*FakeVirtualIPs) List

func (c *FakeVirtualIPs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VirtualIPList, err error)

List takes label and field selectors, and returns the list of VirtualIPs that match those selectors.

func (*FakeVirtualIPs) Patch

func (c *FakeVirtualIPs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VirtualIP, err error)

Patch applies the patch and returns the patched virtualIP.

func (*FakeVirtualIPs) Update

func (c *FakeVirtualIPs) Update(ctx context.Context, virtualIP *v1alpha1.VirtualIP, opts v1.UpdateOptions) (result *v1alpha1.VirtualIP, err error)

Update takes the representation of a virtualIP and updates it. Returns the server's representation of the virtualIP, and an error, if there is any.

func (*FakeVirtualIPs) UpdateStatus

func (c *FakeVirtualIPs) UpdateStatus(ctx context.Context, virtualIP *v1alpha1.VirtualIP, opts v1.UpdateOptions) (*v1alpha1.VirtualIP, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeVirtualIPs) Watch

Watch returns a watch.Interface that watches the requested virtualIPs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL