Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeEdgeDeviceSets
- func (c *FakeEdgeDeviceSets) Create(ctx context.Context, edgeDeviceSet *v1alpha1.EdgeDeviceSet, ...) (result *v1alpha1.EdgeDeviceSet, err error)
- func (c *FakeEdgeDeviceSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEdgeDeviceSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEdgeDeviceSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EdgeDeviceSet, err error)
- func (c *FakeEdgeDeviceSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EdgeDeviceSetList, err error)
- func (c *FakeEdgeDeviceSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.EdgeDeviceSet, err error)
- func (c *FakeEdgeDeviceSets) Update(ctx context.Context, edgeDeviceSet *v1alpha1.EdgeDeviceSet, ...) (result *v1alpha1.EdgeDeviceSet, err error)
- func (c *FakeEdgeDeviceSets) UpdateStatus(ctx context.Context, edgeDeviceSet *v1alpha1.EdgeDeviceSet, ...) (*v1alpha1.EdgeDeviceSet, error)
- func (c *FakeEdgeDeviceSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEdgeDeviceSignedRequests
- func (c *FakeEdgeDeviceSignedRequests) Create(ctx context.Context, edgeDeviceSignedRequest *v1alpha1.EdgeDeviceSignedRequest, ...) (result *v1alpha1.EdgeDeviceSignedRequest, err error)
- func (c *FakeEdgeDeviceSignedRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEdgeDeviceSignedRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEdgeDeviceSignedRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EdgeDeviceSignedRequest, err error)
- func (c *FakeEdgeDeviceSignedRequests) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EdgeDeviceSignedRequestList, err error)
- func (c *FakeEdgeDeviceSignedRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.EdgeDeviceSignedRequest, err error)
- func (c *FakeEdgeDeviceSignedRequests) Update(ctx context.Context, edgeDeviceSignedRequest *v1alpha1.EdgeDeviceSignedRequest, ...) (result *v1alpha1.EdgeDeviceSignedRequest, err error)
- func (c *FakeEdgeDeviceSignedRequests) UpdateStatus(ctx context.Context, edgeDeviceSignedRequest *v1alpha1.EdgeDeviceSignedRequest, ...) (*v1alpha1.EdgeDeviceSignedRequest, error)
- func (c *FakeEdgeDeviceSignedRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEdgeDevices
- 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 FakeEdgeWorkloads
- func (c *FakeEdgeWorkloads) Create(ctx context.Context, edgeWorkload *v1alpha1.EdgeWorkload, ...) (result *v1alpha1.EdgeWorkload, err error)
- func (c *FakeEdgeWorkloads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEdgeWorkloads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEdgeWorkloads) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EdgeWorkload, err error)
- func (c *FakeEdgeWorkloads) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EdgeWorkloadList, err error)
- func (c *FakeEdgeWorkloads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.EdgeWorkload, err error)
- func (c *FakeEdgeWorkloads) Update(ctx context.Context, edgeWorkload *v1alpha1.EdgeWorkload, ...) (result *v1alpha1.EdgeWorkload, err error)
- func (c *FakeEdgeWorkloads) UpdateStatus(ctx context.Context, edgeWorkload *v1alpha1.EdgeWorkload, ...) (*v1alpha1.EdgeWorkload, error)
- func (c *FakeEdgeWorkloads) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeManagementV1alpha1
- func (c *FakeManagementV1alpha1) EdgeDeviceSets(namespace string) v1alpha1.EdgeDeviceSetInterface
- func (c *FakeManagementV1alpha1) EdgeDeviceSignedRequests(namespace string) v1alpha1.EdgeDeviceSignedRequestInterface
- func (c *FakeManagementV1alpha1) EdgeDevices(namespace string) v1alpha1.EdgeDeviceInterface
- func (c *FakeManagementV1alpha1) EdgeWorkloads(namespace string) v1alpha1.EdgeWorkloadInterface
- func (c *FakeManagementV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeEdgeDeviceSets ¶
type FakeEdgeDeviceSets struct { Fake *FakeManagementV1alpha1 // contains filtered or unexported fields }
FakeEdgeDeviceSets implements EdgeDeviceSetInterface
func (*FakeEdgeDeviceSets) Create ¶
func (c *FakeEdgeDeviceSets) Create(ctx context.Context, edgeDeviceSet *v1alpha1.EdgeDeviceSet, opts v1.CreateOptions) (result *v1alpha1.EdgeDeviceSet, err error)
Create takes the representation of a edgeDeviceSet and creates it. Returns the server's representation of the edgeDeviceSet, and an error, if there is any.
func (*FakeEdgeDeviceSets) Delete ¶
func (c *FakeEdgeDeviceSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the edgeDeviceSet and deletes it. Returns an error if one occurs.
func (*FakeEdgeDeviceSets) DeleteCollection ¶
func (c *FakeEdgeDeviceSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEdgeDeviceSets) Get ¶
func (c *FakeEdgeDeviceSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EdgeDeviceSet, err error)
Get takes name of the edgeDeviceSet, and returns the corresponding edgeDeviceSet object, and an error if there is any.
func (*FakeEdgeDeviceSets) List ¶
func (c *FakeEdgeDeviceSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EdgeDeviceSetList, err error)
List takes label and field selectors, and returns the list of EdgeDeviceSets that match those selectors.
func (*FakeEdgeDeviceSets) Patch ¶
func (c *FakeEdgeDeviceSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EdgeDeviceSet, err error)
Patch applies the patch and returns the patched edgeDeviceSet.
func (*FakeEdgeDeviceSets) Update ¶
func (c *FakeEdgeDeviceSets) Update(ctx context.Context, edgeDeviceSet *v1alpha1.EdgeDeviceSet, opts v1.UpdateOptions) (result *v1alpha1.EdgeDeviceSet, err error)
Update takes the representation of a edgeDeviceSet and updates it. Returns the server's representation of the edgeDeviceSet, and an error, if there is any.
func (*FakeEdgeDeviceSets) UpdateStatus ¶
func (c *FakeEdgeDeviceSets) UpdateStatus(ctx context.Context, edgeDeviceSet *v1alpha1.EdgeDeviceSet, opts v1.UpdateOptions) (*v1alpha1.EdgeDeviceSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEdgeDeviceSets) Watch ¶
func (c *FakeEdgeDeviceSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested edgeDeviceSets.
type FakeEdgeDeviceSignedRequests ¶
type FakeEdgeDeviceSignedRequests struct { Fake *FakeManagementV1alpha1 // contains filtered or unexported fields }
FakeEdgeDeviceSignedRequests implements EdgeDeviceSignedRequestInterface
func (*FakeEdgeDeviceSignedRequests) Create ¶
func (c *FakeEdgeDeviceSignedRequests) Create(ctx context.Context, edgeDeviceSignedRequest *v1alpha1.EdgeDeviceSignedRequest, opts v1.CreateOptions) (result *v1alpha1.EdgeDeviceSignedRequest, err error)
Create takes the representation of a edgeDeviceSignedRequest and creates it. Returns the server's representation of the edgeDeviceSignedRequest, and an error, if there is any.
func (*FakeEdgeDeviceSignedRequests) Delete ¶
func (c *FakeEdgeDeviceSignedRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the edgeDeviceSignedRequest and deletes it. Returns an error if one occurs.
func (*FakeEdgeDeviceSignedRequests) DeleteCollection ¶
func (c *FakeEdgeDeviceSignedRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEdgeDeviceSignedRequests) Get ¶
func (c *FakeEdgeDeviceSignedRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EdgeDeviceSignedRequest, err error)
Get takes name of the edgeDeviceSignedRequest, and returns the corresponding edgeDeviceSignedRequest object, and an error if there is any.
func (*FakeEdgeDeviceSignedRequests) List ¶
func (c *FakeEdgeDeviceSignedRequests) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EdgeDeviceSignedRequestList, err error)
List takes label and field selectors, and returns the list of EdgeDeviceSignedRequests that match those selectors.
func (*FakeEdgeDeviceSignedRequests) Patch ¶
func (c *FakeEdgeDeviceSignedRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EdgeDeviceSignedRequest, err error)
Patch applies the patch and returns the patched edgeDeviceSignedRequest.
func (*FakeEdgeDeviceSignedRequests) Update ¶
func (c *FakeEdgeDeviceSignedRequests) Update(ctx context.Context, edgeDeviceSignedRequest *v1alpha1.EdgeDeviceSignedRequest, opts v1.UpdateOptions) (result *v1alpha1.EdgeDeviceSignedRequest, err error)
Update takes the representation of a edgeDeviceSignedRequest and updates it. Returns the server's representation of the edgeDeviceSignedRequest, and an error, if there is any.
func (*FakeEdgeDeviceSignedRequests) UpdateStatus ¶
func (c *FakeEdgeDeviceSignedRequests) UpdateStatus(ctx context.Context, edgeDeviceSignedRequest *v1alpha1.EdgeDeviceSignedRequest, opts v1.UpdateOptions) (*v1alpha1.EdgeDeviceSignedRequest, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEdgeDeviceSignedRequests) Watch ¶
func (c *FakeEdgeDeviceSignedRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested edgeDeviceSignedRequests.
type FakeEdgeDevices ¶
type FakeEdgeDevices struct { Fake *FakeManagementV1alpha1 // contains filtered or unexported fields }
FakeEdgeDevices implements EdgeDeviceInterface
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 FakeEdgeWorkloads ¶
type FakeEdgeWorkloads struct { Fake *FakeManagementV1alpha1 // contains filtered or unexported fields }
FakeEdgeWorkloads implements EdgeWorkloadInterface
func (*FakeEdgeWorkloads) Create ¶
func (c *FakeEdgeWorkloads) Create(ctx context.Context, edgeWorkload *v1alpha1.EdgeWorkload, opts v1.CreateOptions) (result *v1alpha1.EdgeWorkload, err error)
Create takes the representation of a edgeWorkload and creates it. Returns the server's representation of the edgeWorkload, and an error, if there is any.
func (*FakeEdgeWorkloads) Delete ¶
func (c *FakeEdgeWorkloads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the edgeWorkload and deletes it. Returns an error if one occurs.
func (*FakeEdgeWorkloads) DeleteCollection ¶
func (c *FakeEdgeWorkloads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEdgeWorkloads) Get ¶
func (c *FakeEdgeWorkloads) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EdgeWorkload, err error)
Get takes name of the edgeWorkload, and returns the corresponding edgeWorkload object, and an error if there is any.
func (*FakeEdgeWorkloads) List ¶
func (c *FakeEdgeWorkloads) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EdgeWorkloadList, err error)
List takes label and field selectors, and returns the list of EdgeWorkloads that match those selectors.
func (*FakeEdgeWorkloads) Patch ¶
func (c *FakeEdgeWorkloads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EdgeWorkload, err error)
Patch applies the patch and returns the patched edgeWorkload.
func (*FakeEdgeWorkloads) Update ¶
func (c *FakeEdgeWorkloads) Update(ctx context.Context, edgeWorkload *v1alpha1.EdgeWorkload, opts v1.UpdateOptions) (result *v1alpha1.EdgeWorkload, err error)
Update takes the representation of a edgeWorkload and updates it. Returns the server's representation of the edgeWorkload, and an error, if there is any.
func (*FakeEdgeWorkloads) UpdateStatus ¶
func (c *FakeEdgeWorkloads) UpdateStatus(ctx context.Context, edgeWorkload *v1alpha1.EdgeWorkload, opts v1.UpdateOptions) (*v1alpha1.EdgeWorkload, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEdgeWorkloads) Watch ¶
func (c *FakeEdgeWorkloads) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested edgeWorkloads.
type FakeManagementV1alpha1 ¶
func (*FakeManagementV1alpha1) EdgeDeviceSets ¶
func (c *FakeManagementV1alpha1) EdgeDeviceSets(namespace string) v1alpha1.EdgeDeviceSetInterface
func (*FakeManagementV1alpha1) EdgeDeviceSignedRequests ¶
func (c *FakeManagementV1alpha1) EdgeDeviceSignedRequests(namespace string) v1alpha1.EdgeDeviceSignedRequestInterface
func (*FakeManagementV1alpha1) EdgeDevices ¶
func (c *FakeManagementV1alpha1) EdgeDevices(namespace string) v1alpha1.EdgeDeviceInterface
func (*FakeManagementV1alpha1) EdgeWorkloads ¶
func (c *FakeManagementV1alpha1) EdgeWorkloads(namespace string) v1alpha1.EdgeWorkloadInterface
func (*FakeManagementV1alpha1) RESTClient ¶
func (c *FakeManagementV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.