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