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