fake

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 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 FakeNetworkServiceEndpoints

type FakeNetworkServiceEndpoints struct {
	Fake *FakeNetworkserviceV1alpha1
	// contains filtered or unexported fields
}

FakeNetworkServiceEndpoints implements NetworkServiceEndpointInterface

func (*FakeNetworkServiceEndpoints) Create

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

func (*FakeNetworkServiceEndpoints) Delete

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

func (*FakeNetworkServiceEndpoints) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkServiceEndpoints) Get

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

func (*FakeNetworkServiceEndpoints) List

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

func (*FakeNetworkServiceEndpoints) Patch

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

Patch applies the patch and returns the patched networkServiceEndpoint.

func (*FakeNetworkServiceEndpoints) Update

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

func (*FakeNetworkServiceEndpoints) UpdateStatus

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

func (*FakeNetworkServiceEndpoints) Watch

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

type FakeNetworkServiceManagers

type FakeNetworkServiceManagers struct {
	Fake *FakeNetworkserviceV1alpha1
	// contains filtered or unexported fields
}

FakeNetworkServiceManagers implements NetworkServiceManagerInterface

func (*FakeNetworkServiceManagers) Create

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

func (*FakeNetworkServiceManagers) Delete

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

func (*FakeNetworkServiceManagers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkServiceManagers) Get

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

func (*FakeNetworkServiceManagers) List

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

func (*FakeNetworkServiceManagers) Patch

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

Patch applies the patch and returns the patched networkServiceManager.

func (*FakeNetworkServiceManagers) Update

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

func (*FakeNetworkServiceManagers) UpdateStatus

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

func (*FakeNetworkServiceManagers) Watch

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

type FakeNetworkServices

type FakeNetworkServices struct {
	Fake *FakeNetworkserviceV1alpha1
	// contains filtered or unexported fields
}

FakeNetworkServices implements NetworkServiceInterface

func (*FakeNetworkServices) Create

func (c *FakeNetworkServices) Create(ctx context.Context, networkService *v1alpha1.NetworkService, opts v1.CreateOptions) (result *v1alpha1.NetworkService, err error)

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

func (*FakeNetworkServices) Delete

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

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

func (*FakeNetworkServices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkServices) Get

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

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

func (*FakeNetworkServices) List

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

func (*FakeNetworkServices) Patch

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

Patch applies the patch and returns the patched networkService.

func (*FakeNetworkServices) Update

func (c *FakeNetworkServices) Update(ctx context.Context, networkService *v1alpha1.NetworkService, opts v1.UpdateOptions) (result *v1alpha1.NetworkService, err error)

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

func (*FakeNetworkServices) Watch

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

type FakeNetworkserviceV1alpha1

type FakeNetworkserviceV1alpha1 struct {
	*testing.Fake
}

func (*FakeNetworkserviceV1alpha1) NetworkServiceEndpoints

func (c *FakeNetworkserviceV1alpha1) NetworkServiceEndpoints(namespace string) v1alpha1.NetworkServiceEndpointInterface

func (*FakeNetworkserviceV1alpha1) NetworkServiceManagers

func (c *FakeNetworkserviceV1alpha1) NetworkServiceManagers(namespace string) v1alpha1.NetworkServiceManagerInterface

func (*FakeNetworkserviceV1alpha1) NetworkServices

func (c *FakeNetworkserviceV1alpha1) NetworkServices(namespace string) v1alpha1.NetworkServiceInterface

func (*FakeNetworkserviceV1alpha1) RESTClient

func (c *FakeNetworkserviceV1alpha1) 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