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