Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeRemoteShuffleServices
- func (c *FakeRemoteShuffleServices) Create(ctx context.Context, remoteShuffleService *v1alpha1.RemoteShuffleService, ...) (result *v1alpha1.RemoteShuffleService, err error)
- func (c *FakeRemoteShuffleServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRemoteShuffleServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRemoteShuffleServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RemoteShuffleService, err error)
- func (c *FakeRemoteShuffleServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RemoteShuffleServiceList, err error)
- func (c *FakeRemoteShuffleServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RemoteShuffleService, err error)
- func (c *FakeRemoteShuffleServices) Update(ctx context.Context, remoteShuffleService *v1alpha1.RemoteShuffleService, ...) (result *v1alpha1.RemoteShuffleService, err error)
- func (c *FakeRemoteShuffleServices) UpdateStatus(ctx context.Context, remoteShuffleService *v1alpha1.RemoteShuffleService, ...) (*v1alpha1.RemoteShuffleService, error)
- func (c *FakeRemoteShuffleServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUniffleV1alpha1
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 ¶
func (c *FakeRemoteShuffleServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeRemoteShuffleServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RemoteShuffleService, err error)
Get takes name of the remoteShuffleService, and returns the corresponding remoteShuffleService object, and an error if there is any.
func (*FakeRemoteShuffleServices) List ¶
func (c *FakeRemoteShuffleServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RemoteShuffleServiceList, err error)
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 ¶
func (c *FakeRemoteShuffleServices) UpdateStatus(ctx context.Context, remoteShuffleService *v1alpha1.RemoteShuffleService, opts v1.UpdateOptions) (*v1alpha1.RemoteShuffleService, error)
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 ¶
func (c *FakeRemoteShuffleServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested remoteShuffleServices.
type FakeUniffleV1alpha1 ¶
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