fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 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 FakeLoadBalancerBackendSets

type FakeLoadBalancerBackendSets struct {
	Fake *FakeNetworkV1alpha1
	// contains filtered or unexported fields
}

FakeLoadBalancerBackendSets implements LoadBalancerBackendSetInterface

func (*FakeLoadBalancerBackendSets) Create

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

func (*FakeLoadBalancerBackendSets) Delete

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

func (*FakeLoadBalancerBackendSets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLoadBalancerBackendSets) Get

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

func (*FakeLoadBalancerBackendSets) List

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

func (*FakeLoadBalancerBackendSets) Patch

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

Patch applies the patch and returns the patched loadBalancerBackendSet.

func (*FakeLoadBalancerBackendSets) Update

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

func (*FakeLoadBalancerBackendSets) UpdateStatus

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

func (*FakeLoadBalancerBackendSets) Watch

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

type FakeLoadBalancerBackends

type FakeLoadBalancerBackends struct {
	Fake *FakeNetworkV1alpha1
	// contains filtered or unexported fields
}

FakeLoadBalancerBackends implements LoadBalancerBackendInterface

func (*FakeLoadBalancerBackends) Create

func (c *FakeLoadBalancerBackends) Create(ctx context.Context, loadBalancerBackend *v1alpha1.LoadBalancerBackend, opts v1.CreateOptions) (result *v1alpha1.LoadBalancerBackend, err error)

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

func (*FakeLoadBalancerBackends) Delete

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

func (*FakeLoadBalancerBackends) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLoadBalancerBackends) Get

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

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

func (*FakeLoadBalancerBackends) List

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

func (*FakeLoadBalancerBackends) Patch

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

Patch applies the patch and returns the patched loadBalancerBackend.

func (*FakeLoadBalancerBackends) Update

func (c *FakeLoadBalancerBackends) Update(ctx context.Context, loadBalancerBackend *v1alpha1.LoadBalancerBackend, opts v1.UpdateOptions) (result *v1alpha1.LoadBalancerBackend, err error)

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

func (*FakeLoadBalancerBackends) UpdateStatus

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

func (*FakeLoadBalancerBackends) Watch

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

type FakeLoadBalancerListeners

type FakeLoadBalancerListeners struct {
	Fake *FakeNetworkV1alpha1
	// contains filtered or unexported fields
}

FakeLoadBalancerListeners implements LoadBalancerListenerInterface

func (*FakeLoadBalancerListeners) Create

func (c *FakeLoadBalancerListeners) Create(ctx context.Context, loadBalancerListener *v1alpha1.LoadBalancerListener, opts v1.CreateOptions) (result *v1alpha1.LoadBalancerListener, err error)

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

func (*FakeLoadBalancerListeners) Delete

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

func (*FakeLoadBalancerListeners) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLoadBalancerListeners) Get

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

func (*FakeLoadBalancerListeners) List

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

func (*FakeLoadBalancerListeners) Patch

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

Patch applies the patch and returns the patched loadBalancerListener.

func (*FakeLoadBalancerListeners) Update

func (c *FakeLoadBalancerListeners) Update(ctx context.Context, loadBalancerListener *v1alpha1.LoadBalancerListener, opts v1.UpdateOptions) (result *v1alpha1.LoadBalancerListener, err error)

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

func (*FakeLoadBalancerListeners) UpdateStatus

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

func (*FakeLoadBalancerListeners) Watch

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

type FakeLoadBalancerNetworkLoadBalancers

type FakeLoadBalancerNetworkLoadBalancers struct {
	Fake *FakeNetworkV1alpha1
	// contains filtered or unexported fields
}

FakeLoadBalancerNetworkLoadBalancers implements LoadBalancerNetworkLoadBalancerInterface

func (*FakeLoadBalancerNetworkLoadBalancers) Create

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

func (*FakeLoadBalancerNetworkLoadBalancers) Delete

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

func (*FakeLoadBalancerNetworkLoadBalancers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLoadBalancerNetworkLoadBalancers) Get

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

func (*FakeLoadBalancerNetworkLoadBalancers) List

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

func (*FakeLoadBalancerNetworkLoadBalancers) Patch

Patch applies the patch and returns the patched loadBalancerNetworkLoadBalancer.

func (*FakeLoadBalancerNetworkLoadBalancers) Update

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

func (*FakeLoadBalancerNetworkLoadBalancers) UpdateStatus

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

func (*FakeLoadBalancerNetworkLoadBalancers) Watch

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

type FakeNetworkV1alpha1

type FakeNetworkV1alpha1 struct {
	*testing.Fake
}

func (*FakeNetworkV1alpha1) LoadBalancerBackendSets

func (c *FakeNetworkV1alpha1) LoadBalancerBackendSets(namespace string) v1alpha1.LoadBalancerBackendSetInterface

func (*FakeNetworkV1alpha1) LoadBalancerBackends

func (c *FakeNetworkV1alpha1) LoadBalancerBackends(namespace string) v1alpha1.LoadBalancerBackendInterface

func (*FakeNetworkV1alpha1) LoadBalancerListeners

func (c *FakeNetworkV1alpha1) LoadBalancerListeners(namespace string) v1alpha1.LoadBalancerListenerInterface

func (*FakeNetworkV1alpha1) LoadBalancerNetworkLoadBalancers

func (c *FakeNetworkV1alpha1) LoadBalancerNetworkLoadBalancers(namespace string) v1alpha1.LoadBalancerNetworkLoadBalancerInterface

func (*FakeNetworkV1alpha1) RESTClient

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

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

Jump to

Keyboard shortcuts

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