fake

package
v0.0.0-...-6f6d35a Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 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 FakeRemoteShuffleServices

type FakeRemoteShuffleServices struct {
	Fake *FakeUniffleV1alpha1
	// contains filtered or unexported fields
}

FakeRemoteShuffleServices implements RemoteShuffleServiceInterface

func (*FakeRemoteShuffleServices) Create

func (c *FakeRemoteShuffleServices) Create(ctx context.Context, remoteShuffleService *v1alpha1.RemoteShuffleService, opts v1.CreateOptions) (result *v1alpha1.RemoteShuffleService, err error)

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

func (*FakeRemoteShuffleServices) Delete

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

func (*FakeRemoteShuffleServices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRemoteShuffleServices) Get

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

func (*FakeRemoteShuffleServices) List

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

func (*FakeRemoteShuffleServices) Patch

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

Patch applies the patch and returns the patched remoteShuffleService.

func (*FakeRemoteShuffleServices) Update

func (c *FakeRemoteShuffleServices) Update(ctx context.Context, remoteShuffleService *v1alpha1.RemoteShuffleService, opts v1.UpdateOptions) (result *v1alpha1.RemoteShuffleService, err error)

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

func (*FakeRemoteShuffleServices) UpdateStatus

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

func (*FakeRemoteShuffleServices) Watch

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

type FakeUniffleV1alpha1

type FakeUniffleV1alpha1 struct {
	*testing.Fake
}

func (*FakeUniffleV1alpha1) RESTClient

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

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

func (*FakeUniffleV1alpha1) RemoteShuffleServices

func (c *FakeUniffleV1alpha1) RemoteShuffleServices(namespace string) v1alpha1.RemoteShuffleServiceInterface

Jump to

Keyboard shortcuts

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