Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCustomizers
- func (c *FakeCustomizers) Create(ctx context.Context, customizer *v1alpha1.Customizer, opts v1.CreateOptions) (result *v1alpha1.Customizer, err error)
- func (c *FakeCustomizers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCustomizers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCustomizers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Customizer, err error)
- func (c *FakeCustomizers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CustomizerList, err error)
- func (c *FakeCustomizers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Customizer, err error)
- func (c *FakeCustomizers) Update(ctx context.Context, customizer *v1alpha1.Customizer, opts v1.UpdateOptions) (result *v1alpha1.Customizer, err error)
- func (c *FakeCustomizers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEdgePlacements
- func (c *FakeEdgePlacements) Create(ctx context.Context, edgePlacement *v1alpha1.EdgePlacement, ...) (result *v1alpha1.EdgePlacement, err error)
- func (c *FakeEdgePlacements) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEdgePlacements) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEdgePlacements) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EdgePlacement, err error)
- func (c *FakeEdgePlacements) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EdgePlacementList, err error)
- func (c *FakeEdgePlacements) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.EdgePlacement, err error)
- func (c *FakeEdgePlacements) Update(ctx context.Context, edgePlacement *v1alpha1.EdgePlacement, ...) (result *v1alpha1.EdgePlacement, err error)
- func (c *FakeEdgePlacements) UpdateStatus(ctx context.Context, edgePlacement *v1alpha1.EdgePlacement, ...) (*v1alpha1.EdgePlacement, error)
- func (c *FakeEdgePlacements) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEdgeSyncConfigs
- func (c *FakeEdgeSyncConfigs) Create(ctx context.Context, edgeSyncConfig *v1alpha1.EdgeSyncConfig, ...) (result *v1alpha1.EdgeSyncConfig, err error)
- func (c *FakeEdgeSyncConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEdgeSyncConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEdgeSyncConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EdgeSyncConfig, err error)
- func (c *FakeEdgeSyncConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EdgeSyncConfigList, err error)
- func (c *FakeEdgeSyncConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.EdgeSyncConfig, err error)
- func (c *FakeEdgeSyncConfigs) Update(ctx context.Context, edgeSyncConfig *v1alpha1.EdgeSyncConfig, ...) (result *v1alpha1.EdgeSyncConfig, err error)
- func (c *FakeEdgeSyncConfigs) UpdateStatus(ctx context.Context, edgeSyncConfig *v1alpha1.EdgeSyncConfig, ...) (*v1alpha1.EdgeSyncConfig, error)
- func (c *FakeEdgeSyncConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEdgeV1alpha1
- func (c *FakeEdgeV1alpha1) Customizers(namespace string) v1alpha1.CustomizerInterface
- func (c *FakeEdgeV1alpha1) EdgePlacements() v1alpha1.EdgePlacementInterface
- func (c *FakeEdgeV1alpha1) EdgeSyncConfigs() v1alpha1.EdgeSyncConfigInterface
- func (c *FakeEdgeV1alpha1) RESTClient() rest.Interface
- func (c *FakeEdgeV1alpha1) SinglePlacementSlices() v1alpha1.SinglePlacementSliceInterface
- func (c *FakeEdgeV1alpha1) SyncerConfigs() v1alpha1.SyncerConfigInterface
- type FakeSinglePlacementSlices
- func (c *FakeSinglePlacementSlices) Create(ctx context.Context, singlePlacementSlice *v1alpha1.SinglePlacementSlice, ...) (result *v1alpha1.SinglePlacementSlice, err error)
- func (c *FakeSinglePlacementSlices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSinglePlacementSlices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSinglePlacementSlices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SinglePlacementSlice, err error)
- func (c *FakeSinglePlacementSlices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SinglePlacementSliceList, err error)
- func (c *FakeSinglePlacementSlices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SinglePlacementSlice, err error)
- func (c *FakeSinglePlacementSlices) Update(ctx context.Context, singlePlacementSlice *v1alpha1.SinglePlacementSlice, ...) (result *v1alpha1.SinglePlacementSlice, err error)
- func (c *FakeSinglePlacementSlices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSyncerConfigs
- func (c *FakeSyncerConfigs) Create(ctx context.Context, syncerConfig *v1alpha1.SyncerConfig, ...) (result *v1alpha1.SyncerConfig, err error)
- func (c *FakeSyncerConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSyncerConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSyncerConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SyncerConfig, err error)
- func (c *FakeSyncerConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SyncerConfigList, err error)
- func (c *FakeSyncerConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SyncerConfig, err error)
- func (c *FakeSyncerConfigs) Update(ctx context.Context, syncerConfig *v1alpha1.SyncerConfig, ...) (result *v1alpha1.SyncerConfig, err error)
- func (c *FakeSyncerConfigs) UpdateStatus(ctx context.Context, syncerConfig *v1alpha1.SyncerConfig, ...) (*v1alpha1.SyncerConfig, error)
- func (c *FakeSyncerConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCustomizers ¶
type FakeCustomizers struct { Fake *FakeEdgeV1alpha1 // contains filtered or unexported fields }
FakeCustomizers implements CustomizerInterface
func (*FakeCustomizers) Create ¶
func (c *FakeCustomizers) Create(ctx context.Context, customizer *v1alpha1.Customizer, opts v1.CreateOptions) (result *v1alpha1.Customizer, err error)
Create takes the representation of a customizer and creates it. Returns the server's representation of the customizer, and an error, if there is any.
func (*FakeCustomizers) Delete ¶
func (c *FakeCustomizers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the customizer and deletes it. Returns an error if one occurs.
func (*FakeCustomizers) DeleteCollection ¶
func (c *FakeCustomizers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCustomizers) Get ¶
func (c *FakeCustomizers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Customizer, err error)
Get takes name of the customizer, and returns the corresponding customizer object, and an error if there is any.
func (*FakeCustomizers) List ¶
func (c *FakeCustomizers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CustomizerList, err error)
List takes label and field selectors, and returns the list of Customizers that match those selectors.
func (*FakeCustomizers) Patch ¶
func (c *FakeCustomizers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Customizer, err error)
Patch applies the patch and returns the patched customizer.
func (*FakeCustomizers) Update ¶
func (c *FakeCustomizers) Update(ctx context.Context, customizer *v1alpha1.Customizer, opts v1.UpdateOptions) (result *v1alpha1.Customizer, err error)
Update takes the representation of a customizer and updates it. Returns the server's representation of the customizer, and an error, if there is any.
func (*FakeCustomizers) Watch ¶
func (c *FakeCustomizers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested customizers.
type FakeEdgePlacements ¶
type FakeEdgePlacements struct {
Fake *FakeEdgeV1alpha1
}
FakeEdgePlacements implements EdgePlacementInterface
func (*FakeEdgePlacements) Create ¶
func (c *FakeEdgePlacements) Create(ctx context.Context, edgePlacement *v1alpha1.EdgePlacement, opts v1.CreateOptions) (result *v1alpha1.EdgePlacement, err error)
Create takes the representation of a edgePlacement and creates it. Returns the server's representation of the edgePlacement, and an error, if there is any.
func (*FakeEdgePlacements) Delete ¶
func (c *FakeEdgePlacements) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the edgePlacement and deletes it. Returns an error if one occurs.
func (*FakeEdgePlacements) DeleteCollection ¶
func (c *FakeEdgePlacements) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEdgePlacements) Get ¶
func (c *FakeEdgePlacements) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EdgePlacement, err error)
Get takes name of the edgePlacement, and returns the corresponding edgePlacement object, and an error if there is any.
func (*FakeEdgePlacements) List ¶
func (c *FakeEdgePlacements) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EdgePlacementList, err error)
List takes label and field selectors, and returns the list of EdgePlacements that match those selectors.
func (*FakeEdgePlacements) Patch ¶
func (c *FakeEdgePlacements) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EdgePlacement, err error)
Patch applies the patch and returns the patched edgePlacement.
func (*FakeEdgePlacements) Update ¶
func (c *FakeEdgePlacements) Update(ctx context.Context, edgePlacement *v1alpha1.EdgePlacement, opts v1.UpdateOptions) (result *v1alpha1.EdgePlacement, err error)
Update takes the representation of a edgePlacement and updates it. Returns the server's representation of the edgePlacement, and an error, if there is any.
func (*FakeEdgePlacements) UpdateStatus ¶
func (c *FakeEdgePlacements) UpdateStatus(ctx context.Context, edgePlacement *v1alpha1.EdgePlacement, opts v1.UpdateOptions) (*v1alpha1.EdgePlacement, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEdgePlacements) Watch ¶
func (c *FakeEdgePlacements) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested edgePlacements.
type FakeEdgeSyncConfigs ¶
type FakeEdgeSyncConfigs struct {
Fake *FakeEdgeV1alpha1
}
FakeEdgeSyncConfigs implements EdgeSyncConfigInterface
func (*FakeEdgeSyncConfigs) Create ¶
func (c *FakeEdgeSyncConfigs) Create(ctx context.Context, edgeSyncConfig *v1alpha1.EdgeSyncConfig, opts v1.CreateOptions) (result *v1alpha1.EdgeSyncConfig, err error)
Create takes the representation of a edgeSyncConfig and creates it. Returns the server's representation of the edgeSyncConfig, and an error, if there is any.
func (*FakeEdgeSyncConfigs) Delete ¶
func (c *FakeEdgeSyncConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the edgeSyncConfig and deletes it. Returns an error if one occurs.
func (*FakeEdgeSyncConfigs) DeleteCollection ¶
func (c *FakeEdgeSyncConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEdgeSyncConfigs) Get ¶
func (c *FakeEdgeSyncConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EdgeSyncConfig, err error)
Get takes name of the edgeSyncConfig, and returns the corresponding edgeSyncConfig object, and an error if there is any.
func (*FakeEdgeSyncConfigs) List ¶
func (c *FakeEdgeSyncConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EdgeSyncConfigList, err error)
List takes label and field selectors, and returns the list of EdgeSyncConfigs that match those selectors.
func (*FakeEdgeSyncConfigs) Patch ¶
func (c *FakeEdgeSyncConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EdgeSyncConfig, err error)
Patch applies the patch and returns the patched edgeSyncConfig.
func (*FakeEdgeSyncConfigs) Update ¶
func (c *FakeEdgeSyncConfigs) Update(ctx context.Context, edgeSyncConfig *v1alpha1.EdgeSyncConfig, opts v1.UpdateOptions) (result *v1alpha1.EdgeSyncConfig, err error)
Update takes the representation of a edgeSyncConfig and updates it. Returns the server's representation of the edgeSyncConfig, and an error, if there is any.
func (*FakeEdgeSyncConfigs) UpdateStatus ¶
func (c *FakeEdgeSyncConfigs) UpdateStatus(ctx context.Context, edgeSyncConfig *v1alpha1.EdgeSyncConfig, opts v1.UpdateOptions) (*v1alpha1.EdgeSyncConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEdgeSyncConfigs) Watch ¶
func (c *FakeEdgeSyncConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested edgeSyncConfigs.
type FakeEdgeV1alpha1 ¶
func (*FakeEdgeV1alpha1) Customizers ¶
func (c *FakeEdgeV1alpha1) Customizers(namespace string) v1alpha1.CustomizerInterface
func (*FakeEdgeV1alpha1) EdgePlacements ¶
func (c *FakeEdgeV1alpha1) EdgePlacements() v1alpha1.EdgePlacementInterface
func (*FakeEdgeV1alpha1) EdgeSyncConfigs ¶
func (c *FakeEdgeV1alpha1) EdgeSyncConfigs() v1alpha1.EdgeSyncConfigInterface
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.
func (*FakeEdgeV1alpha1) SinglePlacementSlices ¶
func (c *FakeEdgeV1alpha1) SinglePlacementSlices() v1alpha1.SinglePlacementSliceInterface
func (*FakeEdgeV1alpha1) SyncerConfigs ¶
func (c *FakeEdgeV1alpha1) SyncerConfigs() v1alpha1.SyncerConfigInterface
type FakeSinglePlacementSlices ¶
type FakeSinglePlacementSlices struct {
Fake *FakeEdgeV1alpha1
}
FakeSinglePlacementSlices implements SinglePlacementSliceInterface
func (*FakeSinglePlacementSlices) Create ¶
func (c *FakeSinglePlacementSlices) Create(ctx context.Context, singlePlacementSlice *v1alpha1.SinglePlacementSlice, opts v1.CreateOptions) (result *v1alpha1.SinglePlacementSlice, err error)
Create takes the representation of a singlePlacementSlice and creates it. Returns the server's representation of the singlePlacementSlice, and an error, if there is any.
func (*FakeSinglePlacementSlices) Delete ¶
func (c *FakeSinglePlacementSlices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the singlePlacementSlice and deletes it. Returns an error if one occurs.
func (*FakeSinglePlacementSlices) DeleteCollection ¶
func (c *FakeSinglePlacementSlices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSinglePlacementSlices) Get ¶
func (c *FakeSinglePlacementSlices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SinglePlacementSlice, err error)
Get takes name of the singlePlacementSlice, and returns the corresponding singlePlacementSlice object, and an error if there is any.
func (*FakeSinglePlacementSlices) List ¶
func (c *FakeSinglePlacementSlices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SinglePlacementSliceList, err error)
List takes label and field selectors, and returns the list of SinglePlacementSlices that match those selectors.
func (*FakeSinglePlacementSlices) Patch ¶
func (c *FakeSinglePlacementSlices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SinglePlacementSlice, err error)
Patch applies the patch and returns the patched singlePlacementSlice.
func (*FakeSinglePlacementSlices) Update ¶
func (c *FakeSinglePlacementSlices) Update(ctx context.Context, singlePlacementSlice *v1alpha1.SinglePlacementSlice, opts v1.UpdateOptions) (result *v1alpha1.SinglePlacementSlice, err error)
Update takes the representation of a singlePlacementSlice and updates it. Returns the server's representation of the singlePlacementSlice, and an error, if there is any.
func (*FakeSinglePlacementSlices) Watch ¶
func (c *FakeSinglePlacementSlices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested singlePlacementSlices.
type FakeSyncerConfigs ¶
type FakeSyncerConfigs struct {
Fake *FakeEdgeV1alpha1
}
FakeSyncerConfigs implements SyncerConfigInterface
func (*FakeSyncerConfigs) Create ¶
func (c *FakeSyncerConfigs) Create(ctx context.Context, syncerConfig *v1alpha1.SyncerConfig, opts v1.CreateOptions) (result *v1alpha1.SyncerConfig, err error)
Create takes the representation of a syncerConfig and creates it. Returns the server's representation of the syncerConfig, and an error, if there is any.
func (*FakeSyncerConfigs) Delete ¶
func (c *FakeSyncerConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the syncerConfig and deletes it. Returns an error if one occurs.
func (*FakeSyncerConfigs) DeleteCollection ¶
func (c *FakeSyncerConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSyncerConfigs) Get ¶
func (c *FakeSyncerConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SyncerConfig, err error)
Get takes name of the syncerConfig, and returns the corresponding syncerConfig object, and an error if there is any.
func (*FakeSyncerConfigs) List ¶
func (c *FakeSyncerConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SyncerConfigList, err error)
List takes label and field selectors, and returns the list of SyncerConfigs that match those selectors.
func (*FakeSyncerConfigs) Patch ¶
func (c *FakeSyncerConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SyncerConfig, err error)
Patch applies the patch and returns the patched syncerConfig.
func (*FakeSyncerConfigs) Update ¶
func (c *FakeSyncerConfigs) Update(ctx context.Context, syncerConfig *v1alpha1.SyncerConfig, opts v1.UpdateOptions) (result *v1alpha1.SyncerConfig, err error)
Update takes the representation of a syncerConfig and updates it. Returns the server's representation of the syncerConfig, and an error, if there is any.
func (*FakeSyncerConfigs) UpdateStatus ¶
func (c *FakeSyncerConfigs) UpdateStatus(ctx context.Context, syncerConfig *v1alpha1.SyncerConfig, opts v1.UpdateOptions) (*v1alpha1.SyncerConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSyncerConfigs) Watch ¶
func (c *FakeSyncerConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested syncerConfigs.