Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeWasmModules
- func (c *FakeWasmModules) Create(ctx context.Context, wasmModule *v1alpha1.WasmModule, opts v1.CreateOptions) (result *v1alpha1.WasmModule, err error)
- func (c *FakeWasmModules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWasmModules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWasmModules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.WasmModule, err error)
- func (c *FakeWasmModules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WasmModuleList, err error)
- func (c *FakeWasmModules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.WasmModule, err error)
- func (c *FakeWasmModules) Update(ctx context.Context, wasmModule *v1alpha1.WasmModule, opts v1.UpdateOptions) (result *v1alpha1.WasmModule, err error)
- func (c *FakeWasmModules) UpdateStatus(ctx context.Context, wasmModule *v1alpha1.WasmModule, opts v1.UpdateOptions) (*v1alpha1.WasmModule, error)
- func (c *FakeWasmModules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWasmV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeWasmModules ¶
type FakeWasmModules struct { Fake *FakeWasmV1alpha1 // contains filtered or unexported fields }
FakeWasmModules implements WasmModuleInterface
func (*FakeWasmModules) Create ¶
func (c *FakeWasmModules) Create(ctx context.Context, wasmModule *v1alpha1.WasmModule, opts v1.CreateOptions) (result *v1alpha1.WasmModule, err error)
Create takes the representation of a wasmModule and creates it. Returns the server's representation of the wasmModule, and an error, if there is any.
func (*FakeWasmModules) Delete ¶
func (c *FakeWasmModules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the wasmModule and deletes it. Returns an error if one occurs.
func (*FakeWasmModules) DeleteCollection ¶
func (c *FakeWasmModules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWasmModules) Get ¶
func (c *FakeWasmModules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.WasmModule, err error)
Get takes name of the wasmModule, and returns the corresponding wasmModule object, and an error if there is any.
func (*FakeWasmModules) List ¶
func (c *FakeWasmModules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WasmModuleList, err error)
List takes label and field selectors, and returns the list of WasmModules that match those selectors.
func (*FakeWasmModules) Patch ¶
func (c *FakeWasmModules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.WasmModule, err error)
Patch applies the patch and returns the patched wasmModule.
func (*FakeWasmModules) Update ¶
func (c *FakeWasmModules) Update(ctx context.Context, wasmModule *v1alpha1.WasmModule, opts v1.UpdateOptions) (result *v1alpha1.WasmModule, err error)
Update takes the representation of a wasmModule and updates it. Returns the server's representation of the wasmModule, and an error, if there is any.
func (*FakeWasmModules) UpdateStatus ¶
func (c *FakeWasmModules) UpdateStatus(ctx context.Context, wasmModule *v1alpha1.WasmModule, opts v1.UpdateOptions) (*v1alpha1.WasmModule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeWasmModules) Watch ¶
func (c *FakeWasmModules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested wasmModules.
type FakeWasmV1alpha1 ¶
func (*FakeWasmV1alpha1) RESTClient ¶
func (c *FakeWasmV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeWasmV1alpha1) WasmModules ¶
func (c *FakeWasmV1alpha1) WasmModules(namespace string) v1alpha1.WasmModuleInterface