Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCStorBackups
- func (c *FakeCStorBackups) Create(ctx context.Context, cStorBackup *v1.CStorBackup, opts metav1.CreateOptions) (result *v1.CStorBackup, err error)
- func (c *FakeCStorBackups) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeCStorBackups) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeCStorBackups) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorBackup, err error)
- func (c *FakeCStorBackups) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorBackupList, err error)
- func (c *FakeCStorBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.CStorBackup, err error)
- func (c *FakeCStorBackups) Update(ctx context.Context, cStorBackup *v1.CStorBackup, opts metav1.UpdateOptions) (result *v1.CStorBackup, err error)
- func (c *FakeCStorBackups) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeCStorCompletedBackups
- func (c *FakeCStorCompletedBackups) Create(ctx context.Context, cStorCompletedBackup *v1.CStorCompletedBackup, ...) (result *v1.CStorCompletedBackup, err error)
- func (c *FakeCStorCompletedBackups) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeCStorCompletedBackups) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeCStorCompletedBackups) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorCompletedBackup, err error)
- func (c *FakeCStorCompletedBackups) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorCompletedBackupList, err error)
- func (c *FakeCStorCompletedBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.CStorCompletedBackup, err error)
- func (c *FakeCStorCompletedBackups) Update(ctx context.Context, cStorCompletedBackup *v1.CStorCompletedBackup, ...) (result *v1.CStorCompletedBackup, err error)
- func (c *FakeCStorCompletedBackups) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeCStorPoolClusters
- func (c *FakeCStorPoolClusters) Create(ctx context.Context, cStorPoolCluster *v1.CStorPoolCluster, ...) (result *v1.CStorPoolCluster, err error)
- func (c *FakeCStorPoolClusters) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeCStorPoolClusters) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeCStorPoolClusters) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorPoolCluster, err error)
- func (c *FakeCStorPoolClusters) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorPoolClusterList, err error)
- func (c *FakeCStorPoolClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.CStorPoolCluster, err error)
- func (c *FakeCStorPoolClusters) Update(ctx context.Context, cStorPoolCluster *v1.CStorPoolCluster, ...) (result *v1.CStorPoolCluster, err error)
- func (c *FakeCStorPoolClusters) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeCStorPoolInstances
- func (c *FakeCStorPoolInstances) Create(ctx context.Context, cStorPoolInstance *v1.CStorPoolInstance, ...) (result *v1.CStorPoolInstance, err error)
- func (c *FakeCStorPoolInstances) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeCStorPoolInstances) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeCStorPoolInstances) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorPoolInstance, err error)
- func (c *FakeCStorPoolInstances) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorPoolInstanceList, err error)
- func (c *FakeCStorPoolInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.CStorPoolInstance, err error)
- func (c *FakeCStorPoolInstances) Update(ctx context.Context, cStorPoolInstance *v1.CStorPoolInstance, ...) (result *v1.CStorPoolInstance, err error)
- func (c *FakeCStorPoolInstances) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeCStorRestores
- func (c *FakeCStorRestores) Create(ctx context.Context, cStorRestore *v1.CStorRestore, opts metav1.CreateOptions) (result *v1.CStorRestore, err error)
- func (c *FakeCStorRestores) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeCStorRestores) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeCStorRestores) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorRestore, err error)
- func (c *FakeCStorRestores) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorRestoreList, err error)
- func (c *FakeCStorRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.CStorRestore, err error)
- func (c *FakeCStorRestores) Update(ctx context.Context, cStorRestore *v1.CStorRestore, opts metav1.UpdateOptions) (result *v1.CStorRestore, err error)
- func (c *FakeCStorRestores) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeCStorVolumeAttachments
- func (c *FakeCStorVolumeAttachments) Create(ctx context.Context, cStorVolumeAttachment *v1.CStorVolumeAttachment, ...) (result *v1.CStorVolumeAttachment, err error)
- func (c *FakeCStorVolumeAttachments) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeCStorVolumeAttachments) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeCStorVolumeAttachments) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorVolumeAttachment, err error)
- func (c *FakeCStorVolumeAttachments) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorVolumeAttachmentList, err error)
- func (c *FakeCStorVolumeAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.CStorVolumeAttachment, err error)
- func (c *FakeCStorVolumeAttachments) Update(ctx context.Context, cStorVolumeAttachment *v1.CStorVolumeAttachment, ...) (result *v1.CStorVolumeAttachment, err error)
- func (c *FakeCStorVolumeAttachments) UpdateStatus(ctx context.Context, cStorVolumeAttachment *v1.CStorVolumeAttachment, ...) (*v1.CStorVolumeAttachment, error)
- func (c *FakeCStorVolumeAttachments) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeCStorVolumeConfigs
- func (c *FakeCStorVolumeConfigs) Create(ctx context.Context, cStorVolumeConfig *v1.CStorVolumeConfig, ...) (result *v1.CStorVolumeConfig, err error)
- func (c *FakeCStorVolumeConfigs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeCStorVolumeConfigs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeCStorVolumeConfigs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorVolumeConfig, err error)
- func (c *FakeCStorVolumeConfigs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorVolumeConfigList, err error)
- func (c *FakeCStorVolumeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.CStorVolumeConfig, err error)
- func (c *FakeCStorVolumeConfigs) Update(ctx context.Context, cStorVolumeConfig *v1.CStorVolumeConfig, ...) (result *v1.CStorVolumeConfig, err error)
- func (c *FakeCStorVolumeConfigs) UpdateStatus(ctx context.Context, cStorVolumeConfig *v1.CStorVolumeConfig, ...) (*v1.CStorVolumeConfig, error)
- func (c *FakeCStorVolumeConfigs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeCStorVolumePolicies
- func (c *FakeCStorVolumePolicies) Create(ctx context.Context, cStorVolumePolicy *v1.CStorVolumePolicy, ...) (result *v1.CStorVolumePolicy, err error)
- func (c *FakeCStorVolumePolicies) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeCStorVolumePolicies) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeCStorVolumePolicies) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorVolumePolicy, err error)
- func (c *FakeCStorVolumePolicies) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorVolumePolicyList, err error)
- func (c *FakeCStorVolumePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.CStorVolumePolicy, err error)
- func (c *FakeCStorVolumePolicies) Update(ctx context.Context, cStorVolumePolicy *v1.CStorVolumePolicy, ...) (result *v1.CStorVolumePolicy, err error)
- func (c *FakeCStorVolumePolicies) UpdateStatus(ctx context.Context, cStorVolumePolicy *v1.CStorVolumePolicy, ...) (*v1.CStorVolumePolicy, error)
- func (c *FakeCStorVolumePolicies) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeCStorVolumeReplicas
- func (c *FakeCStorVolumeReplicas) Create(ctx context.Context, cStorVolumeReplica *v1.CStorVolumeReplica, ...) (result *v1.CStorVolumeReplica, err error)
- func (c *FakeCStorVolumeReplicas) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeCStorVolumeReplicas) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeCStorVolumeReplicas) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorVolumeReplica, err error)
- func (c *FakeCStorVolumeReplicas) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorVolumeReplicaList, err error)
- func (c *FakeCStorVolumeReplicas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.CStorVolumeReplica, err error)
- func (c *FakeCStorVolumeReplicas) Update(ctx context.Context, cStorVolumeReplica *v1.CStorVolumeReplica, ...) (result *v1.CStorVolumeReplica, err error)
- func (c *FakeCStorVolumeReplicas) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeCStorVolumes
- func (c *FakeCStorVolumes) Create(ctx context.Context, cStorVolume *v1.CStorVolume, opts metav1.CreateOptions) (result *v1.CStorVolume, err error)
- func (c *FakeCStorVolumes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeCStorVolumes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeCStorVolumes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorVolume, err error)
- func (c *FakeCStorVolumes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorVolumeList, err error)
- func (c *FakeCStorVolumes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.CStorVolume, err error)
- func (c *FakeCStorVolumes) Update(ctx context.Context, cStorVolume *v1.CStorVolume, opts metav1.UpdateOptions) (result *v1.CStorVolume, err error)
- func (c *FakeCStorVolumes) UpdateStatus(ctx context.Context, cStorVolume *v1.CStorVolume, opts metav1.UpdateOptions) (*v1.CStorVolume, error)
- func (c *FakeCStorVolumes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeCstorV1
- func (c *FakeCstorV1) CStorBackups(namespace string) v1.CStorBackupInterface
- func (c *FakeCstorV1) CStorCompletedBackups(namespace string) v1.CStorCompletedBackupInterface
- func (c *FakeCstorV1) CStorPoolClusters(namespace string) v1.CStorPoolClusterInterface
- func (c *FakeCstorV1) CStorPoolInstances(namespace string) v1.CStorPoolInstanceInterface
- func (c *FakeCstorV1) CStorRestores(namespace string) v1.CStorRestoreInterface
- func (c *FakeCstorV1) CStorVolumeAttachments(namespace string) v1.CStorVolumeAttachmentInterface
- func (c *FakeCstorV1) CStorVolumeConfigs(namespace string) v1.CStorVolumeConfigInterface
- func (c *FakeCstorV1) CStorVolumePolicies(namespace string) v1.CStorVolumePolicyInterface
- func (c *FakeCstorV1) CStorVolumeReplicas(namespace string) v1.CStorVolumeReplicaInterface
- func (c *FakeCstorV1) CStorVolumes(namespace string) v1.CStorVolumeInterface
- func (c *FakeCstorV1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCStorBackups ¶
type FakeCStorBackups struct { Fake *FakeCstorV1 // contains filtered or unexported fields }
FakeCStorBackups implements CStorBackupInterface
func (*FakeCStorBackups) Create ¶
func (c *FakeCStorBackups) Create(ctx context.Context, cStorBackup *v1.CStorBackup, opts metav1.CreateOptions) (result *v1.CStorBackup, err error)
Create takes the representation of a cStorBackup and creates it. Returns the server's representation of the cStorBackup, and an error, if there is any.
func (*FakeCStorBackups) Delete ¶
func (c *FakeCStorBackups) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the cStorBackup and deletes it. Returns an error if one occurs.
func (*FakeCStorBackups) DeleteCollection ¶
func (c *FakeCStorBackups) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorBackups) Get ¶
func (c *FakeCStorBackups) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorBackup, err error)
Get takes name of the cStorBackup, and returns the corresponding cStorBackup object, and an error if there is any.
func (*FakeCStorBackups) List ¶
func (c *FakeCStorBackups) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorBackupList, err error)
List takes label and field selectors, and returns the list of CStorBackups that match those selectors.
func (*FakeCStorBackups) Patch ¶
func (c *FakeCStorBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CStorBackup, err error)
Patch applies the patch and returns the patched cStorBackup.
func (*FakeCStorBackups) Update ¶
func (c *FakeCStorBackups) Update(ctx context.Context, cStorBackup *v1.CStorBackup, opts metav1.UpdateOptions) (result *v1.CStorBackup, err error)
Update takes the representation of a cStorBackup and updates it. Returns the server's representation of the cStorBackup, and an error, if there is any.
func (*FakeCStorBackups) Watch ¶
func (c *FakeCStorBackups) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorBackups.
type FakeCStorCompletedBackups ¶
type FakeCStorCompletedBackups struct { Fake *FakeCstorV1 // contains filtered or unexported fields }
FakeCStorCompletedBackups implements CStorCompletedBackupInterface
func (*FakeCStorCompletedBackups) Create ¶
func (c *FakeCStorCompletedBackups) Create(ctx context.Context, cStorCompletedBackup *v1.CStorCompletedBackup, opts metav1.CreateOptions) (result *v1.CStorCompletedBackup, err error)
Create takes the representation of a cStorCompletedBackup and creates it. Returns the server's representation of the cStorCompletedBackup, and an error, if there is any.
func (*FakeCStorCompletedBackups) Delete ¶
func (c *FakeCStorCompletedBackups) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the cStorCompletedBackup and deletes it. Returns an error if one occurs.
func (*FakeCStorCompletedBackups) DeleteCollection ¶
func (c *FakeCStorCompletedBackups) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorCompletedBackups) Get ¶
func (c *FakeCStorCompletedBackups) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorCompletedBackup, err error)
Get takes name of the cStorCompletedBackup, and returns the corresponding cStorCompletedBackup object, and an error if there is any.
func (*FakeCStorCompletedBackups) List ¶
func (c *FakeCStorCompletedBackups) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorCompletedBackupList, err error)
List takes label and field selectors, and returns the list of CStorCompletedBackups that match those selectors.
func (*FakeCStorCompletedBackups) Patch ¶
func (c *FakeCStorCompletedBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CStorCompletedBackup, err error)
Patch applies the patch and returns the patched cStorCompletedBackup.
func (*FakeCStorCompletedBackups) Update ¶
func (c *FakeCStorCompletedBackups) Update(ctx context.Context, cStorCompletedBackup *v1.CStorCompletedBackup, opts metav1.UpdateOptions) (result *v1.CStorCompletedBackup, err error)
Update takes the representation of a cStorCompletedBackup and updates it. Returns the server's representation of the cStorCompletedBackup, and an error, if there is any.
func (*FakeCStorCompletedBackups) Watch ¶
func (c *FakeCStorCompletedBackups) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorCompletedBackups.
type FakeCStorPoolClusters ¶
type FakeCStorPoolClusters struct { Fake *FakeCstorV1 // contains filtered or unexported fields }
FakeCStorPoolClusters implements CStorPoolClusterInterface
func (*FakeCStorPoolClusters) Create ¶
func (c *FakeCStorPoolClusters) Create(ctx context.Context, cStorPoolCluster *v1.CStorPoolCluster, opts metav1.CreateOptions) (result *v1.CStorPoolCluster, err error)
Create takes the representation of a cStorPoolCluster and creates it. Returns the server's representation of the cStorPoolCluster, and an error, if there is any.
func (*FakeCStorPoolClusters) Delete ¶
func (c *FakeCStorPoolClusters) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the cStorPoolCluster and deletes it. Returns an error if one occurs.
func (*FakeCStorPoolClusters) DeleteCollection ¶
func (c *FakeCStorPoolClusters) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorPoolClusters) Get ¶
func (c *FakeCStorPoolClusters) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorPoolCluster, err error)
Get takes name of the cStorPoolCluster, and returns the corresponding cStorPoolCluster object, and an error if there is any.
func (*FakeCStorPoolClusters) List ¶
func (c *FakeCStorPoolClusters) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorPoolClusterList, err error)
List takes label and field selectors, and returns the list of CStorPoolClusters that match those selectors.
func (*FakeCStorPoolClusters) Patch ¶
func (c *FakeCStorPoolClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CStorPoolCluster, err error)
Patch applies the patch and returns the patched cStorPoolCluster.
func (*FakeCStorPoolClusters) Update ¶
func (c *FakeCStorPoolClusters) Update(ctx context.Context, cStorPoolCluster *v1.CStorPoolCluster, opts metav1.UpdateOptions) (result *v1.CStorPoolCluster, err error)
Update takes the representation of a cStorPoolCluster and updates it. Returns the server's representation of the cStorPoolCluster, and an error, if there is any.
func (*FakeCStorPoolClusters) Watch ¶
func (c *FakeCStorPoolClusters) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorPoolClusters.
type FakeCStorPoolInstances ¶
type FakeCStorPoolInstances struct { Fake *FakeCstorV1 // contains filtered or unexported fields }
FakeCStorPoolInstances implements CStorPoolInstanceInterface
func (*FakeCStorPoolInstances) Create ¶
func (c *FakeCStorPoolInstances) Create(ctx context.Context, cStorPoolInstance *v1.CStorPoolInstance, opts metav1.CreateOptions) (result *v1.CStorPoolInstance, err error)
Create takes the representation of a cStorPoolInstance and creates it. Returns the server's representation of the cStorPoolInstance, and an error, if there is any.
func (*FakeCStorPoolInstances) Delete ¶
func (c *FakeCStorPoolInstances) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the cStorPoolInstance and deletes it. Returns an error if one occurs.
func (*FakeCStorPoolInstances) DeleteCollection ¶
func (c *FakeCStorPoolInstances) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorPoolInstances) Get ¶
func (c *FakeCStorPoolInstances) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorPoolInstance, err error)
Get takes name of the cStorPoolInstance, and returns the corresponding cStorPoolInstance object, and an error if there is any.
func (*FakeCStorPoolInstances) List ¶
func (c *FakeCStorPoolInstances) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorPoolInstanceList, err error)
List takes label and field selectors, and returns the list of CStorPoolInstances that match those selectors.
func (*FakeCStorPoolInstances) Patch ¶
func (c *FakeCStorPoolInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CStorPoolInstance, err error)
Patch applies the patch and returns the patched cStorPoolInstance.
func (*FakeCStorPoolInstances) Update ¶
func (c *FakeCStorPoolInstances) Update(ctx context.Context, cStorPoolInstance *v1.CStorPoolInstance, opts metav1.UpdateOptions) (result *v1.CStorPoolInstance, err error)
Update takes the representation of a cStorPoolInstance and updates it. Returns the server's representation of the cStorPoolInstance, and an error, if there is any.
func (*FakeCStorPoolInstances) Watch ¶
func (c *FakeCStorPoolInstances) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorPoolInstances.
type FakeCStorRestores ¶
type FakeCStorRestores struct { Fake *FakeCstorV1 // contains filtered or unexported fields }
FakeCStorRestores implements CStorRestoreInterface
func (*FakeCStorRestores) Create ¶
func (c *FakeCStorRestores) Create(ctx context.Context, cStorRestore *v1.CStorRestore, opts metav1.CreateOptions) (result *v1.CStorRestore, err error)
Create takes the representation of a cStorRestore and creates it. Returns the server's representation of the cStorRestore, and an error, if there is any.
func (*FakeCStorRestores) Delete ¶
func (c *FakeCStorRestores) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the cStorRestore and deletes it. Returns an error if one occurs.
func (*FakeCStorRestores) DeleteCollection ¶
func (c *FakeCStorRestores) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorRestores) Get ¶
func (c *FakeCStorRestores) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorRestore, err error)
Get takes name of the cStorRestore, and returns the corresponding cStorRestore object, and an error if there is any.
func (*FakeCStorRestores) List ¶
func (c *FakeCStorRestores) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorRestoreList, err error)
List takes label and field selectors, and returns the list of CStorRestores that match those selectors.
func (*FakeCStorRestores) Patch ¶
func (c *FakeCStorRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CStorRestore, err error)
Patch applies the patch and returns the patched cStorRestore.
func (*FakeCStorRestores) Update ¶
func (c *FakeCStorRestores) Update(ctx context.Context, cStorRestore *v1.CStorRestore, opts metav1.UpdateOptions) (result *v1.CStorRestore, err error)
Update takes the representation of a cStorRestore and updates it. Returns the server's representation of the cStorRestore, and an error, if there is any.
func (*FakeCStorRestores) Watch ¶
func (c *FakeCStorRestores) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorRestores.
type FakeCStorVolumeAttachments ¶
type FakeCStorVolumeAttachments struct { Fake *FakeCstorV1 // contains filtered or unexported fields }
FakeCStorVolumeAttachments implements CStorVolumeAttachmentInterface
func (*FakeCStorVolumeAttachments) Create ¶
func (c *FakeCStorVolumeAttachments) Create(ctx context.Context, cStorVolumeAttachment *v1.CStorVolumeAttachment, opts metav1.CreateOptions) (result *v1.CStorVolumeAttachment, err error)
Create takes the representation of a cStorVolumeAttachment and creates it. Returns the server's representation of the cStorVolumeAttachment, and an error, if there is any.
func (*FakeCStorVolumeAttachments) Delete ¶
func (c *FakeCStorVolumeAttachments) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the cStorVolumeAttachment and deletes it. Returns an error if one occurs.
func (*FakeCStorVolumeAttachments) DeleteCollection ¶
func (c *FakeCStorVolumeAttachments) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorVolumeAttachments) Get ¶
func (c *FakeCStorVolumeAttachments) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorVolumeAttachment, err error)
Get takes name of the cStorVolumeAttachment, and returns the corresponding cStorVolumeAttachment object, and an error if there is any.
func (*FakeCStorVolumeAttachments) List ¶
func (c *FakeCStorVolumeAttachments) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorVolumeAttachmentList, err error)
List takes label and field selectors, and returns the list of CStorVolumeAttachments that match those selectors.
func (*FakeCStorVolumeAttachments) Patch ¶
func (c *FakeCStorVolumeAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CStorVolumeAttachment, err error)
Patch applies the patch and returns the patched cStorVolumeAttachment.
func (*FakeCStorVolumeAttachments) Update ¶
func (c *FakeCStorVolumeAttachments) Update(ctx context.Context, cStorVolumeAttachment *v1.CStorVolumeAttachment, opts metav1.UpdateOptions) (result *v1.CStorVolumeAttachment, err error)
Update takes the representation of a cStorVolumeAttachment and updates it. Returns the server's representation of the cStorVolumeAttachment, and an error, if there is any.
func (*FakeCStorVolumeAttachments) UpdateStatus ¶
func (c *FakeCStorVolumeAttachments) UpdateStatus(ctx context.Context, cStorVolumeAttachment *v1.CStorVolumeAttachment, opts metav1.UpdateOptions) (*v1.CStorVolumeAttachment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCStorVolumeAttachments) Watch ¶
func (c *FakeCStorVolumeAttachments) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorVolumeAttachments.
type FakeCStorVolumeConfigs ¶
type FakeCStorVolumeConfigs struct { Fake *FakeCstorV1 // contains filtered or unexported fields }
FakeCStorVolumeConfigs implements CStorVolumeConfigInterface
func (*FakeCStorVolumeConfigs) Create ¶
func (c *FakeCStorVolumeConfigs) Create(ctx context.Context, cStorVolumeConfig *v1.CStorVolumeConfig, opts metav1.CreateOptions) (result *v1.CStorVolumeConfig, err error)
Create takes the representation of a cStorVolumeConfig and creates it. Returns the server's representation of the cStorVolumeConfig, and an error, if there is any.
func (*FakeCStorVolumeConfigs) Delete ¶
func (c *FakeCStorVolumeConfigs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the cStorVolumeConfig and deletes it. Returns an error if one occurs.
func (*FakeCStorVolumeConfigs) DeleteCollection ¶
func (c *FakeCStorVolumeConfigs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorVolumeConfigs) Get ¶
func (c *FakeCStorVolumeConfigs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorVolumeConfig, err error)
Get takes name of the cStorVolumeConfig, and returns the corresponding cStorVolumeConfig object, and an error if there is any.
func (*FakeCStorVolumeConfigs) List ¶
func (c *FakeCStorVolumeConfigs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorVolumeConfigList, err error)
List takes label and field selectors, and returns the list of CStorVolumeConfigs that match those selectors.
func (*FakeCStorVolumeConfigs) Patch ¶
func (c *FakeCStorVolumeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CStorVolumeConfig, err error)
Patch applies the patch and returns the patched cStorVolumeConfig.
func (*FakeCStorVolumeConfigs) Update ¶
func (c *FakeCStorVolumeConfigs) Update(ctx context.Context, cStorVolumeConfig *v1.CStorVolumeConfig, opts metav1.UpdateOptions) (result *v1.CStorVolumeConfig, err error)
Update takes the representation of a cStorVolumeConfig and updates it. Returns the server's representation of the cStorVolumeConfig, and an error, if there is any.
func (*FakeCStorVolumeConfigs) UpdateStatus ¶
func (c *FakeCStorVolumeConfigs) UpdateStatus(ctx context.Context, cStorVolumeConfig *v1.CStorVolumeConfig, opts metav1.UpdateOptions) (*v1.CStorVolumeConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCStorVolumeConfigs) Watch ¶
func (c *FakeCStorVolumeConfigs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorVolumeConfigs.
type FakeCStorVolumePolicies ¶
type FakeCStorVolumePolicies struct { Fake *FakeCstorV1 // contains filtered or unexported fields }
FakeCStorVolumePolicies implements CStorVolumePolicyInterface
func (*FakeCStorVolumePolicies) Create ¶
func (c *FakeCStorVolumePolicies) Create(ctx context.Context, cStorVolumePolicy *v1.CStorVolumePolicy, opts metav1.CreateOptions) (result *v1.CStorVolumePolicy, err error)
Create takes the representation of a cStorVolumePolicy and creates it. Returns the server's representation of the cStorVolumePolicy, and an error, if there is any.
func (*FakeCStorVolumePolicies) Delete ¶
func (c *FakeCStorVolumePolicies) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the cStorVolumePolicy and deletes it. Returns an error if one occurs.
func (*FakeCStorVolumePolicies) DeleteCollection ¶
func (c *FakeCStorVolumePolicies) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorVolumePolicies) Get ¶
func (c *FakeCStorVolumePolicies) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorVolumePolicy, err error)
Get takes name of the cStorVolumePolicy, and returns the corresponding cStorVolumePolicy object, and an error if there is any.
func (*FakeCStorVolumePolicies) List ¶
func (c *FakeCStorVolumePolicies) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorVolumePolicyList, err error)
List takes label and field selectors, and returns the list of CStorVolumePolicies that match those selectors.
func (*FakeCStorVolumePolicies) Patch ¶
func (c *FakeCStorVolumePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CStorVolumePolicy, err error)
Patch applies the patch and returns the patched cStorVolumePolicy.
func (*FakeCStorVolumePolicies) Update ¶
func (c *FakeCStorVolumePolicies) Update(ctx context.Context, cStorVolumePolicy *v1.CStorVolumePolicy, opts metav1.UpdateOptions) (result *v1.CStorVolumePolicy, err error)
Update takes the representation of a cStorVolumePolicy and updates it. Returns the server's representation of the cStorVolumePolicy, and an error, if there is any.
func (*FakeCStorVolumePolicies) UpdateStatus ¶
func (c *FakeCStorVolumePolicies) UpdateStatus(ctx context.Context, cStorVolumePolicy *v1.CStorVolumePolicy, opts metav1.UpdateOptions) (*v1.CStorVolumePolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCStorVolumePolicies) Watch ¶
func (c *FakeCStorVolumePolicies) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorVolumePolicies.
type FakeCStorVolumeReplicas ¶
type FakeCStorVolumeReplicas struct { Fake *FakeCstorV1 // contains filtered or unexported fields }
FakeCStorVolumeReplicas implements CStorVolumeReplicaInterface
func (*FakeCStorVolumeReplicas) Create ¶
func (c *FakeCStorVolumeReplicas) Create(ctx context.Context, cStorVolumeReplica *v1.CStorVolumeReplica, opts metav1.CreateOptions) (result *v1.CStorVolumeReplica, err error)
Create takes the representation of a cStorVolumeReplica and creates it. Returns the server's representation of the cStorVolumeReplica, and an error, if there is any.
func (*FakeCStorVolumeReplicas) Delete ¶
func (c *FakeCStorVolumeReplicas) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the cStorVolumeReplica and deletes it. Returns an error if one occurs.
func (*FakeCStorVolumeReplicas) DeleteCollection ¶
func (c *FakeCStorVolumeReplicas) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorVolumeReplicas) Get ¶
func (c *FakeCStorVolumeReplicas) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorVolumeReplica, err error)
Get takes name of the cStorVolumeReplica, and returns the corresponding cStorVolumeReplica object, and an error if there is any.
func (*FakeCStorVolumeReplicas) List ¶
func (c *FakeCStorVolumeReplicas) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorVolumeReplicaList, err error)
List takes label and field selectors, and returns the list of CStorVolumeReplicas that match those selectors.
func (*FakeCStorVolumeReplicas) Patch ¶
func (c *FakeCStorVolumeReplicas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CStorVolumeReplica, err error)
Patch applies the patch and returns the patched cStorVolumeReplica.
func (*FakeCStorVolumeReplicas) Update ¶
func (c *FakeCStorVolumeReplicas) Update(ctx context.Context, cStorVolumeReplica *v1.CStorVolumeReplica, opts metav1.UpdateOptions) (result *v1.CStorVolumeReplica, err error)
Update takes the representation of a cStorVolumeReplica and updates it. Returns the server's representation of the cStorVolumeReplica, and an error, if there is any.
func (*FakeCStorVolumeReplicas) Watch ¶
func (c *FakeCStorVolumeReplicas) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorVolumeReplicas.
type FakeCStorVolumes ¶
type FakeCStorVolumes struct { Fake *FakeCstorV1 // contains filtered or unexported fields }
FakeCStorVolumes implements CStorVolumeInterface
func (*FakeCStorVolumes) Create ¶
func (c *FakeCStorVolumes) Create(ctx context.Context, cStorVolume *v1.CStorVolume, opts metav1.CreateOptions) (result *v1.CStorVolume, err error)
Create takes the representation of a cStorVolume and creates it. Returns the server's representation of the cStorVolume, and an error, if there is any.
func (*FakeCStorVolumes) Delete ¶
func (c *FakeCStorVolumes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the cStorVolume and deletes it. Returns an error if one occurs.
func (*FakeCStorVolumes) DeleteCollection ¶
func (c *FakeCStorVolumes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorVolumes) Get ¶
func (c *FakeCStorVolumes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CStorVolume, err error)
Get takes name of the cStorVolume, and returns the corresponding cStorVolume object, and an error if there is any.
func (*FakeCStorVolumes) List ¶
func (c *FakeCStorVolumes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CStorVolumeList, err error)
List takes label and field selectors, and returns the list of CStorVolumes that match those selectors.
func (*FakeCStorVolumes) Patch ¶
func (c *FakeCStorVolumes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CStorVolume, err error)
Patch applies the patch and returns the patched cStorVolume.
func (*FakeCStorVolumes) Update ¶
func (c *FakeCStorVolumes) Update(ctx context.Context, cStorVolume *v1.CStorVolume, opts metav1.UpdateOptions) (result *v1.CStorVolume, err error)
Update takes the representation of a cStorVolume and updates it. Returns the server's representation of the cStorVolume, and an error, if there is any.
func (*FakeCStorVolumes) UpdateStatus ¶
func (c *FakeCStorVolumes) UpdateStatus(ctx context.Context, cStorVolume *v1.CStorVolume, opts metav1.UpdateOptions) (*v1.CStorVolume, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCStorVolumes) Watch ¶
func (c *FakeCStorVolumes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorVolumes.
type FakeCstorV1 ¶
func (*FakeCstorV1) CStorBackups ¶
func (c *FakeCstorV1) CStorBackups(namespace string) v1.CStorBackupInterface
func (*FakeCstorV1) CStorCompletedBackups ¶
func (c *FakeCstorV1) CStorCompletedBackups(namespace string) v1.CStorCompletedBackupInterface
func (*FakeCstorV1) CStorPoolClusters ¶
func (c *FakeCstorV1) CStorPoolClusters(namespace string) v1.CStorPoolClusterInterface
func (*FakeCstorV1) CStorPoolInstances ¶
func (c *FakeCstorV1) CStorPoolInstances(namespace string) v1.CStorPoolInstanceInterface
func (*FakeCstorV1) CStorRestores ¶
func (c *FakeCstorV1) CStorRestores(namespace string) v1.CStorRestoreInterface
func (*FakeCstorV1) CStorVolumeAttachments ¶
func (c *FakeCstorV1) CStorVolumeAttachments(namespace string) v1.CStorVolumeAttachmentInterface
func (*FakeCstorV1) CStorVolumeConfigs ¶
func (c *FakeCstorV1) CStorVolumeConfigs(namespace string) v1.CStorVolumeConfigInterface
func (*FakeCstorV1) CStorVolumePolicies ¶
func (c *FakeCstorV1) CStorVolumePolicies(namespace string) v1.CStorVolumePolicyInterface
func (*FakeCstorV1) CStorVolumeReplicas ¶
func (c *FakeCstorV1) CStorVolumeReplicas(namespace string) v1.CStorVolumeReplicaInterface
func (*FakeCstorV1) CStorVolumes ¶
func (c *FakeCstorV1) CStorVolumes(namespace string) v1.CStorVolumeInterface
func (*FakeCstorV1) RESTClient ¶
func (c *FakeCstorV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.