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