Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCASTemplates
- func (c *FakeCASTemplates) Create(cASTemplate *v1alpha1.CASTemplate) (result *v1alpha1.CASTemplate, err error)
- func (c *FakeCASTemplates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCASTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCASTemplates) Get(name string, options v1.GetOptions) (result *v1alpha1.CASTemplate, err error)
- func (c *FakeCASTemplates) List(opts v1.ListOptions) (result *v1alpha1.CASTemplateList, err error)
- func (c *FakeCASTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CASTemplate, err error)
- func (c *FakeCASTemplates) Update(cASTemplate *v1alpha1.CASTemplate) (result *v1alpha1.CASTemplate, err error)
- func (c *FakeCASTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCStorBackups
- func (c *FakeCStorBackups) Create(cStorBackup *v1alpha1.CStorBackup) (result *v1alpha1.CStorBackup, err error)
- func (c *FakeCStorBackups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCStorBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCStorBackups) Get(name string, options v1.GetOptions) (result *v1alpha1.CStorBackup, err error)
- func (c *FakeCStorBackups) List(opts v1.ListOptions) (result *v1alpha1.CStorBackupList, err error)
- func (c *FakeCStorBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorBackup, err error)
- func (c *FakeCStorBackups) Update(cStorBackup *v1alpha1.CStorBackup) (result *v1alpha1.CStorBackup, err error)
- func (c *FakeCStorBackups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCStorCompletedBackups
- func (c *FakeCStorCompletedBackups) Create(cStorCompletedBackup *v1alpha1.CStorCompletedBackup) (result *v1alpha1.CStorCompletedBackup, err error)
- func (c *FakeCStorCompletedBackups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCStorCompletedBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCStorCompletedBackups) Get(name string, options v1.GetOptions) (result *v1alpha1.CStorCompletedBackup, err error)
- func (c *FakeCStorCompletedBackups) List(opts v1.ListOptions) (result *v1alpha1.CStorCompletedBackupList, err error)
- func (c *FakeCStorCompletedBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorCompletedBackup, err error)
- func (c *FakeCStorCompletedBackups) Update(cStorCompletedBackup *v1alpha1.CStorCompletedBackup) (result *v1alpha1.CStorCompletedBackup, err error)
- func (c *FakeCStorCompletedBackups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCStorPoolClusters
- func (c *FakeCStorPoolClusters) Create(cStorPoolCluster *v1alpha1.CStorPoolCluster) (result *v1alpha1.CStorPoolCluster, err error)
- func (c *FakeCStorPoolClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCStorPoolClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCStorPoolClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.CStorPoolCluster, err error)
- func (c *FakeCStorPoolClusters) List(opts v1.ListOptions) (result *v1alpha1.CStorPoolClusterList, err error)
- func (c *FakeCStorPoolClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorPoolCluster, err error)
- func (c *FakeCStorPoolClusters) Update(cStorPoolCluster *v1alpha1.CStorPoolCluster) (result *v1alpha1.CStorPoolCluster, err error)
- func (c *FakeCStorPoolClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCStorPoolInstances
- func (c *FakeCStorPoolInstances) Create(cStorPoolInstance *v1alpha1.CStorPoolInstance) (result *v1alpha1.CStorPoolInstance, err error)
- func (c *FakeCStorPoolInstances) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCStorPoolInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCStorPoolInstances) Get(name string, options v1.GetOptions) (result *v1alpha1.CStorPoolInstance, err error)
- func (c *FakeCStorPoolInstances) List(opts v1.ListOptions) (result *v1alpha1.CStorPoolInstanceList, err error)
- func (c *FakeCStorPoolInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorPoolInstance, err error)
- func (c *FakeCStorPoolInstances) Update(cStorPoolInstance *v1alpha1.CStorPoolInstance) (result *v1alpha1.CStorPoolInstance, err error)
- func (c *FakeCStorPoolInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCStorPools
- func (c *FakeCStorPools) Create(cStorPool *v1alpha1.CStorPool) (result *v1alpha1.CStorPool, err error)
- func (c *FakeCStorPools) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCStorPools) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCStorPools) Get(name string, options v1.GetOptions) (result *v1alpha1.CStorPool, err error)
- func (c *FakeCStorPools) List(opts v1.ListOptions) (result *v1alpha1.CStorPoolList, err error)
- func (c *FakeCStorPools) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorPool, err error)
- func (c *FakeCStorPools) Update(cStorPool *v1alpha1.CStorPool) (result *v1alpha1.CStorPool, err error)
- func (c *FakeCStorPools) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCStorRestores
- func (c *FakeCStorRestores) Create(cStorRestore *v1alpha1.CStorRestore) (result *v1alpha1.CStorRestore, err error)
- func (c *FakeCStorRestores) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCStorRestores) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCStorRestores) Get(name string, options v1.GetOptions) (result *v1alpha1.CStorRestore, err error)
- func (c *FakeCStorRestores) List(opts v1.ListOptions) (result *v1alpha1.CStorRestoreList, err error)
- func (c *FakeCStorRestores) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorRestore, err error)
- func (c *FakeCStorRestores) Update(cStorRestore *v1alpha1.CStorRestore) (result *v1alpha1.CStorRestore, err error)
- func (c *FakeCStorRestores) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCStorVolumeClaims
- func (c *FakeCStorVolumeClaims) Create(cStorVolumeClaim *v1alpha1.CStorVolumeClaim) (result *v1alpha1.CStorVolumeClaim, err error)
- func (c *FakeCStorVolumeClaims) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCStorVolumeClaims) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCStorVolumeClaims) Get(name string, options v1.GetOptions) (result *v1alpha1.CStorVolumeClaim, err error)
- func (c *FakeCStorVolumeClaims) List(opts v1.ListOptions) (result *v1alpha1.CStorVolumeClaimList, err error)
- func (c *FakeCStorVolumeClaims) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorVolumeClaim, err error)
- func (c *FakeCStorVolumeClaims) Update(cStorVolumeClaim *v1alpha1.CStorVolumeClaim) (result *v1alpha1.CStorVolumeClaim, err error)
- func (c *FakeCStorVolumeClaims) UpdateStatus(cStorVolumeClaim *v1alpha1.CStorVolumeClaim) (*v1alpha1.CStorVolumeClaim, error)
- func (c *FakeCStorVolumeClaims) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCStorVolumePolicies
- func (c *FakeCStorVolumePolicies) Create(cStorVolumePolicy *v1alpha1.CStorVolumePolicy) (result *v1alpha1.CStorVolumePolicy, err error)
- func (c *FakeCStorVolumePolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCStorVolumePolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCStorVolumePolicies) Get(name string, options v1.GetOptions) (result *v1alpha1.CStorVolumePolicy, err error)
- func (c *FakeCStorVolumePolicies) List(opts v1.ListOptions) (result *v1alpha1.CStorVolumePolicyList, err error)
- func (c *FakeCStorVolumePolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorVolumePolicy, err error)
- func (c *FakeCStorVolumePolicies) Update(cStorVolumePolicy *v1alpha1.CStorVolumePolicy) (result *v1alpha1.CStorVolumePolicy, err error)
- func (c *FakeCStorVolumePolicies) UpdateStatus(cStorVolumePolicy *v1alpha1.CStorVolumePolicy) (*v1alpha1.CStorVolumePolicy, error)
- func (c *FakeCStorVolumePolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCStorVolumeReplicas
- func (c *FakeCStorVolumeReplicas) Create(cStorVolumeReplica *v1alpha1.CStorVolumeReplica) (result *v1alpha1.CStorVolumeReplica, err error)
- func (c *FakeCStorVolumeReplicas) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCStorVolumeReplicas) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCStorVolumeReplicas) Get(name string, options v1.GetOptions) (result *v1alpha1.CStorVolumeReplica, err error)
- func (c *FakeCStorVolumeReplicas) List(opts v1.ListOptions) (result *v1alpha1.CStorVolumeReplicaList, err error)
- func (c *FakeCStorVolumeReplicas) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorVolumeReplica, err error)
- func (c *FakeCStorVolumeReplicas) Update(cStorVolumeReplica *v1alpha1.CStorVolumeReplica) (result *v1alpha1.CStorVolumeReplica, err error)
- func (c *FakeCStorVolumeReplicas) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCStorVolumes
- func (c *FakeCStorVolumes) Create(cStorVolume *v1alpha1.CStorVolume) (result *v1alpha1.CStorVolume, err error)
- func (c *FakeCStorVolumes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCStorVolumes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCStorVolumes) Get(name string, options v1.GetOptions) (result *v1alpha1.CStorVolume, err error)
- func (c *FakeCStorVolumes) List(opts v1.ListOptions) (result *v1alpha1.CStorVolumeList, err error)
- func (c *FakeCStorVolumes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorVolume, err error)
- func (c *FakeCStorVolumes) Update(cStorVolume *v1alpha1.CStorVolume) (result *v1alpha1.CStorVolume, err error)
- func (c *FakeCStorVolumes) UpdateStatus(cStorVolume *v1alpha1.CStorVolume) (*v1alpha1.CStorVolume, error)
- func (c *FakeCStorVolumes) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeOpenebsV1alpha1
- func (c *FakeOpenebsV1alpha1) CASTemplates() v1alpha1.CASTemplateInterface
- func (c *FakeOpenebsV1alpha1) CStorBackups(namespace string) v1alpha1.CStorBackupInterface
- func (c *FakeOpenebsV1alpha1) CStorCompletedBackups(namespace string) v1alpha1.CStorCompletedBackupInterface
- func (c *FakeOpenebsV1alpha1) CStorPoolClusters(namespace string) v1alpha1.CStorPoolClusterInterface
- func (c *FakeOpenebsV1alpha1) CStorPoolInstances(namespace string) v1alpha1.CStorPoolInstanceInterface
- func (c *FakeOpenebsV1alpha1) CStorPools() v1alpha1.CStorPoolInterface
- func (c *FakeOpenebsV1alpha1) CStorRestores(namespace string) v1alpha1.CStorRestoreInterface
- func (c *FakeOpenebsV1alpha1) CStorVolumeClaims(namespace string) v1alpha1.CStorVolumeClaimInterface
- func (c *FakeOpenebsV1alpha1) CStorVolumePolicies(namespace string) v1alpha1.CStorVolumePolicyInterface
- func (c *FakeOpenebsV1alpha1) CStorVolumeReplicas(namespace string) v1alpha1.CStorVolumeReplicaInterface
- func (c *FakeOpenebsV1alpha1) CStorVolumes(namespace string) v1alpha1.CStorVolumeInterface
- func (c *FakeOpenebsV1alpha1) RESTClient() rest.Interface
- func (c *FakeOpenebsV1alpha1) RunTasks(namespace string) v1alpha1.RunTaskInterface
- func (c *FakeOpenebsV1alpha1) StoragePoolClaims() v1alpha1.StoragePoolClaimInterface
- func (c *FakeOpenebsV1alpha1) StoragePools() v1alpha1.StoragePoolInterface
- type FakeRunTasks
- func (c *FakeRunTasks) Create(runTask *v1alpha1.RunTask) (result *v1alpha1.RunTask, err error)
- func (c *FakeRunTasks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRunTasks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRunTasks) Get(name string, options v1.GetOptions) (result *v1alpha1.RunTask, err error)
- func (c *FakeRunTasks) List(opts v1.ListOptions) (result *v1alpha1.RunTaskList, err error)
- func (c *FakeRunTasks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.RunTask, err error)
- func (c *FakeRunTasks) Update(runTask *v1alpha1.RunTask) (result *v1alpha1.RunTask, err error)
- func (c *FakeRunTasks) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeStoragePoolClaims
- func (c *FakeStoragePoolClaims) Create(storagePoolClaim *v1alpha1.StoragePoolClaim) (result *v1alpha1.StoragePoolClaim, err error)
- func (c *FakeStoragePoolClaims) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeStoragePoolClaims) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeStoragePoolClaims) Get(name string, options v1.GetOptions) (result *v1alpha1.StoragePoolClaim, err error)
- func (c *FakeStoragePoolClaims) List(opts v1.ListOptions) (result *v1alpha1.StoragePoolClaimList, err error)
- func (c *FakeStoragePoolClaims) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.StoragePoolClaim, err error)
- func (c *FakeStoragePoolClaims) Update(storagePoolClaim *v1alpha1.StoragePoolClaim) (result *v1alpha1.StoragePoolClaim, err error)
- func (c *FakeStoragePoolClaims) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeStoragePools
- func (c *FakeStoragePools) Create(storagePool *v1alpha1.StoragePool) (result *v1alpha1.StoragePool, err error)
- func (c *FakeStoragePools) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeStoragePools) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeStoragePools) Get(name string, options v1.GetOptions) (result *v1alpha1.StoragePool, err error)
- func (c *FakeStoragePools) List(opts v1.ListOptions) (result *v1alpha1.StoragePoolList, err error)
- func (c *FakeStoragePools) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.StoragePool, err error)
- func (c *FakeStoragePools) Update(storagePool *v1alpha1.StoragePool) (result *v1alpha1.StoragePool, err error)
- func (c *FakeStoragePools) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCASTemplates ¶
type FakeCASTemplates struct {
Fake *FakeOpenebsV1alpha1
}
FakeCASTemplates implements CASTemplateInterface
func (*FakeCASTemplates) Create ¶
func (c *FakeCASTemplates) Create(cASTemplate *v1alpha1.CASTemplate) (result *v1alpha1.CASTemplate, err error)
Create takes the representation of a cASTemplate and creates it. Returns the server's representation of the cASTemplate, and an error, if there is any.
func (*FakeCASTemplates) Delete ¶
func (c *FakeCASTemplates) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cASTemplate and deletes it. Returns an error if one occurs.
func (*FakeCASTemplates) DeleteCollection ¶
func (c *FakeCASTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCASTemplates) Get ¶
func (c *FakeCASTemplates) Get(name string, options v1.GetOptions) (result *v1alpha1.CASTemplate, err error)
Get takes name of the cASTemplate, and returns the corresponding cASTemplate object, and an error if there is any.
func (*FakeCASTemplates) List ¶
func (c *FakeCASTemplates) List(opts v1.ListOptions) (result *v1alpha1.CASTemplateList, err error)
List takes label and field selectors, and returns the list of CASTemplates that match those selectors.
func (*FakeCASTemplates) Patch ¶
func (c *FakeCASTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CASTemplate, err error)
Patch applies the patch and returns the patched cASTemplate.
func (*FakeCASTemplates) Update ¶
func (c *FakeCASTemplates) Update(cASTemplate *v1alpha1.CASTemplate) (result *v1alpha1.CASTemplate, err error)
Update takes the representation of a cASTemplate and updates it. Returns the server's representation of the cASTemplate, and an error, if there is any.
func (*FakeCASTemplates) Watch ¶
func (c *FakeCASTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cASTemplates.
type FakeCStorBackups ¶
type FakeCStorBackups struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeCStorBackups implements CStorBackupInterface
func (*FakeCStorBackups) Create ¶
func (c *FakeCStorBackups) Create(cStorBackup *v1alpha1.CStorBackup) (result *v1alpha1.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(name string, options *v1.DeleteOptions) error
Delete takes name of the cStorBackup and deletes it. Returns an error if one occurs.
func (*FakeCStorBackups) DeleteCollection ¶
func (c *FakeCStorBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorBackups) Get ¶
func (c *FakeCStorBackups) Get(name string, options v1.GetOptions) (result *v1alpha1.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(opts v1.ListOptions) (result *v1alpha1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorBackup, err error)
Patch applies the patch and returns the patched cStorBackup.
func (*FakeCStorBackups) Update ¶
func (c *FakeCStorBackups) Update(cStorBackup *v1alpha1.CStorBackup) (result *v1alpha1.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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorBackups.
type FakeCStorCompletedBackups ¶
type FakeCStorCompletedBackups struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeCStorCompletedBackups implements CStorCompletedBackupInterface
func (*FakeCStorCompletedBackups) Create ¶
func (c *FakeCStorCompletedBackups) Create(cStorCompletedBackup *v1alpha1.CStorCompletedBackup) (result *v1alpha1.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(name string, options *v1.DeleteOptions) error
Delete takes name of the cStorCompletedBackup and deletes it. Returns an error if one occurs.
func (*FakeCStorCompletedBackups) DeleteCollection ¶
func (c *FakeCStorCompletedBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorCompletedBackups) Get ¶
func (c *FakeCStorCompletedBackups) Get(name string, options v1.GetOptions) (result *v1alpha1.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(opts v1.ListOptions) (result *v1alpha1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorCompletedBackup, err error)
Patch applies the patch and returns the patched cStorCompletedBackup.
func (*FakeCStorCompletedBackups) Update ¶
func (c *FakeCStorCompletedBackups) Update(cStorCompletedBackup *v1alpha1.CStorCompletedBackup) (result *v1alpha1.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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorCompletedBackups.
type FakeCStorPoolClusters ¶
type FakeCStorPoolClusters struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeCStorPoolClusters implements CStorPoolClusterInterface
func (*FakeCStorPoolClusters) Create ¶
func (c *FakeCStorPoolClusters) Create(cStorPoolCluster *v1alpha1.CStorPoolCluster) (result *v1alpha1.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(name string, options *v1.DeleteOptions) error
Delete takes name of the cStorPoolCluster and deletes it. Returns an error if one occurs.
func (*FakeCStorPoolClusters) DeleteCollection ¶
func (c *FakeCStorPoolClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorPoolClusters) Get ¶
func (c *FakeCStorPoolClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.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(opts v1.ListOptions) (result *v1alpha1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorPoolCluster, err error)
Patch applies the patch and returns the patched cStorPoolCluster.
func (*FakeCStorPoolClusters) Update ¶
func (c *FakeCStorPoolClusters) Update(cStorPoolCluster *v1alpha1.CStorPoolCluster) (result *v1alpha1.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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorPoolClusters.
type FakeCStorPoolInstances ¶
type FakeCStorPoolInstances struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeCStorPoolInstances implements CStorPoolInstanceInterface
func (*FakeCStorPoolInstances) Create ¶
func (c *FakeCStorPoolInstances) Create(cStorPoolInstance *v1alpha1.CStorPoolInstance) (result *v1alpha1.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(name string, options *v1.DeleteOptions) error
Delete takes name of the cStorPoolInstance and deletes it. Returns an error if one occurs.
func (*FakeCStorPoolInstances) DeleteCollection ¶
func (c *FakeCStorPoolInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorPoolInstances) Get ¶
func (c *FakeCStorPoolInstances) Get(name string, options v1.GetOptions) (result *v1alpha1.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(opts v1.ListOptions) (result *v1alpha1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorPoolInstance, err error)
Patch applies the patch and returns the patched cStorPoolInstance.
func (*FakeCStorPoolInstances) Update ¶
func (c *FakeCStorPoolInstances) Update(cStorPoolInstance *v1alpha1.CStorPoolInstance) (result *v1alpha1.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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorPoolInstances.
type FakeCStorPools ¶
type FakeCStorPools struct {
Fake *FakeOpenebsV1alpha1
}
FakeCStorPools implements CStorPoolInterface
func (*FakeCStorPools) Create ¶
func (c *FakeCStorPools) Create(cStorPool *v1alpha1.CStorPool) (result *v1alpha1.CStorPool, err error)
Create takes the representation of a cStorPool and creates it. Returns the server's representation of the cStorPool, and an error, if there is any.
func (*FakeCStorPools) Delete ¶
func (c *FakeCStorPools) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cStorPool and deletes it. Returns an error if one occurs.
func (*FakeCStorPools) DeleteCollection ¶
func (c *FakeCStorPools) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorPools) Get ¶
func (c *FakeCStorPools) Get(name string, options v1.GetOptions) (result *v1alpha1.CStorPool, err error)
Get takes name of the cStorPool, and returns the corresponding cStorPool object, and an error if there is any.
func (*FakeCStorPools) List ¶
func (c *FakeCStorPools) List(opts v1.ListOptions) (result *v1alpha1.CStorPoolList, err error)
List takes label and field selectors, and returns the list of CStorPools that match those selectors.
func (*FakeCStorPools) Patch ¶
func (c *FakeCStorPools) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorPool, err error)
Patch applies the patch and returns the patched cStorPool.
func (*FakeCStorPools) Update ¶
func (c *FakeCStorPools) Update(cStorPool *v1alpha1.CStorPool) (result *v1alpha1.CStorPool, err error)
Update takes the representation of a cStorPool and updates it. Returns the server's representation of the cStorPool, and an error, if there is any.
func (*FakeCStorPools) Watch ¶
func (c *FakeCStorPools) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorPools.
type FakeCStorRestores ¶
type FakeCStorRestores struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeCStorRestores implements CStorRestoreInterface
func (*FakeCStorRestores) Create ¶
func (c *FakeCStorRestores) Create(cStorRestore *v1alpha1.CStorRestore) (result *v1alpha1.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(name string, options *v1.DeleteOptions) error
Delete takes name of the cStorRestore and deletes it. Returns an error if one occurs.
func (*FakeCStorRestores) DeleteCollection ¶
func (c *FakeCStorRestores) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorRestores) Get ¶
func (c *FakeCStorRestores) Get(name string, options v1.GetOptions) (result *v1alpha1.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(opts v1.ListOptions) (result *v1alpha1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorRestore, err error)
Patch applies the patch and returns the patched cStorRestore.
func (*FakeCStorRestores) Update ¶
func (c *FakeCStorRestores) Update(cStorRestore *v1alpha1.CStorRestore) (result *v1alpha1.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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorRestores.
type FakeCStorVolumeClaims ¶
type FakeCStorVolumeClaims struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeCStorVolumeClaims implements CStorVolumeClaimInterface
func (*FakeCStorVolumeClaims) Create ¶
func (c *FakeCStorVolumeClaims) Create(cStorVolumeClaim *v1alpha1.CStorVolumeClaim) (result *v1alpha1.CStorVolumeClaim, err error)
Create takes the representation of a cStorVolumeClaim and creates it. Returns the server's representation of the cStorVolumeClaim, and an error, if there is any.
func (*FakeCStorVolumeClaims) Delete ¶
func (c *FakeCStorVolumeClaims) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cStorVolumeClaim and deletes it. Returns an error if one occurs.
func (*FakeCStorVolumeClaims) DeleteCollection ¶
func (c *FakeCStorVolumeClaims) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorVolumeClaims) Get ¶
func (c *FakeCStorVolumeClaims) Get(name string, options v1.GetOptions) (result *v1alpha1.CStorVolumeClaim, err error)
Get takes name of the cStorVolumeClaim, and returns the corresponding cStorVolumeClaim object, and an error if there is any.
func (*FakeCStorVolumeClaims) List ¶
func (c *FakeCStorVolumeClaims) List(opts v1.ListOptions) (result *v1alpha1.CStorVolumeClaimList, err error)
List takes label and field selectors, and returns the list of CStorVolumeClaims that match those selectors.
func (*FakeCStorVolumeClaims) Patch ¶
func (c *FakeCStorVolumeClaims) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorVolumeClaim, err error)
Patch applies the patch and returns the patched cStorVolumeClaim.
func (*FakeCStorVolumeClaims) Update ¶
func (c *FakeCStorVolumeClaims) Update(cStorVolumeClaim *v1alpha1.CStorVolumeClaim) (result *v1alpha1.CStorVolumeClaim, err error)
Update takes the representation of a cStorVolumeClaim and updates it. Returns the server's representation of the cStorVolumeClaim, and an error, if there is any.
func (*FakeCStorVolumeClaims) UpdateStatus ¶
func (c *FakeCStorVolumeClaims) UpdateStatus(cStorVolumeClaim *v1alpha1.CStorVolumeClaim) (*v1alpha1.CStorVolumeClaim, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCStorVolumeClaims) Watch ¶
func (c *FakeCStorVolumeClaims) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorVolumeClaims.
type FakeCStorVolumePolicies ¶
type FakeCStorVolumePolicies struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeCStorVolumePolicies implements CStorVolumePolicyInterface
func (*FakeCStorVolumePolicies) Create ¶
func (c *FakeCStorVolumePolicies) Create(cStorVolumePolicy *v1alpha1.CStorVolumePolicy) (result *v1alpha1.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(name string, options *v1.DeleteOptions) error
Delete takes name of the cStorVolumePolicy and deletes it. Returns an error if one occurs.
func (*FakeCStorVolumePolicies) DeleteCollection ¶
func (c *FakeCStorVolumePolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorVolumePolicies) Get ¶
func (c *FakeCStorVolumePolicies) Get(name string, options v1.GetOptions) (result *v1alpha1.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(opts v1.ListOptions) (result *v1alpha1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorVolumePolicy, err error)
Patch applies the patch and returns the patched cStorVolumePolicy.
func (*FakeCStorVolumePolicies) Update ¶
func (c *FakeCStorVolumePolicies) Update(cStorVolumePolicy *v1alpha1.CStorVolumePolicy) (result *v1alpha1.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(cStorVolumePolicy *v1alpha1.CStorVolumePolicy) (*v1alpha1.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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorVolumePolicies.
type FakeCStorVolumeReplicas ¶
type FakeCStorVolumeReplicas struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeCStorVolumeReplicas implements CStorVolumeReplicaInterface
func (*FakeCStorVolumeReplicas) Create ¶
func (c *FakeCStorVolumeReplicas) Create(cStorVolumeReplica *v1alpha1.CStorVolumeReplica) (result *v1alpha1.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(name string, options *v1.DeleteOptions) error
Delete takes name of the cStorVolumeReplica and deletes it. Returns an error if one occurs.
func (*FakeCStorVolumeReplicas) DeleteCollection ¶
func (c *FakeCStorVolumeReplicas) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorVolumeReplicas) Get ¶
func (c *FakeCStorVolumeReplicas) Get(name string, options v1.GetOptions) (result *v1alpha1.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(opts v1.ListOptions) (result *v1alpha1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorVolumeReplica, err error)
Patch applies the patch and returns the patched cStorVolumeReplica.
func (*FakeCStorVolumeReplicas) Update ¶
func (c *FakeCStorVolumeReplicas) Update(cStorVolumeReplica *v1alpha1.CStorVolumeReplica) (result *v1alpha1.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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorVolumeReplicas.
type FakeCStorVolumes ¶
type FakeCStorVolumes struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeCStorVolumes implements CStorVolumeInterface
func (*FakeCStorVolumes) Create ¶
func (c *FakeCStorVolumes) Create(cStorVolume *v1alpha1.CStorVolume) (result *v1alpha1.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(name string, options *v1.DeleteOptions) error
Delete takes name of the cStorVolume and deletes it. Returns an error if one occurs.
func (*FakeCStorVolumes) DeleteCollection ¶
func (c *FakeCStorVolumes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorVolumes) Get ¶
func (c *FakeCStorVolumes) Get(name string, options v1.GetOptions) (result *v1alpha1.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(opts v1.ListOptions) (result *v1alpha1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CStorVolume, err error)
Patch applies the patch and returns the patched cStorVolume.
func (*FakeCStorVolumes) Update ¶
func (c *FakeCStorVolumes) Update(cStorVolume *v1alpha1.CStorVolume) (result *v1alpha1.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(cStorVolume *v1alpha1.CStorVolume) (*v1alpha1.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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorVolumes.
type FakeOpenebsV1alpha1 ¶
func (*FakeOpenebsV1alpha1) CASTemplates ¶
func (c *FakeOpenebsV1alpha1) CASTemplates() v1alpha1.CASTemplateInterface
func (*FakeOpenebsV1alpha1) CStorBackups ¶
func (c *FakeOpenebsV1alpha1) CStorBackups(namespace string) v1alpha1.CStorBackupInterface
func (*FakeOpenebsV1alpha1) CStorCompletedBackups ¶
func (c *FakeOpenebsV1alpha1) CStorCompletedBackups(namespace string) v1alpha1.CStorCompletedBackupInterface
func (*FakeOpenebsV1alpha1) CStorPoolClusters ¶
func (c *FakeOpenebsV1alpha1) CStorPoolClusters(namespace string) v1alpha1.CStorPoolClusterInterface
func (*FakeOpenebsV1alpha1) CStorPoolInstances ¶
func (c *FakeOpenebsV1alpha1) CStorPoolInstances(namespace string) v1alpha1.CStorPoolInstanceInterface
func (*FakeOpenebsV1alpha1) CStorPools ¶
func (c *FakeOpenebsV1alpha1) CStorPools() v1alpha1.CStorPoolInterface
func (*FakeOpenebsV1alpha1) CStorRestores ¶
func (c *FakeOpenebsV1alpha1) CStorRestores(namespace string) v1alpha1.CStorRestoreInterface
func (*FakeOpenebsV1alpha1) CStorVolumeClaims ¶
func (c *FakeOpenebsV1alpha1) CStorVolumeClaims(namespace string) v1alpha1.CStorVolumeClaimInterface
func (*FakeOpenebsV1alpha1) CStorVolumePolicies ¶
func (c *FakeOpenebsV1alpha1) CStorVolumePolicies(namespace string) v1alpha1.CStorVolumePolicyInterface
func (*FakeOpenebsV1alpha1) CStorVolumeReplicas ¶
func (c *FakeOpenebsV1alpha1) CStorVolumeReplicas(namespace string) v1alpha1.CStorVolumeReplicaInterface
func (*FakeOpenebsV1alpha1) CStorVolumes ¶
func (c *FakeOpenebsV1alpha1) CStorVolumes(namespace string) v1alpha1.CStorVolumeInterface
func (*FakeOpenebsV1alpha1) RESTClient ¶
func (c *FakeOpenebsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeOpenebsV1alpha1) RunTasks ¶
func (c *FakeOpenebsV1alpha1) RunTasks(namespace string) v1alpha1.RunTaskInterface
func (*FakeOpenebsV1alpha1) StoragePoolClaims ¶
func (c *FakeOpenebsV1alpha1) StoragePoolClaims() v1alpha1.StoragePoolClaimInterface
func (*FakeOpenebsV1alpha1) StoragePools ¶
func (c *FakeOpenebsV1alpha1) StoragePools() v1alpha1.StoragePoolInterface
type FakeRunTasks ¶
type FakeRunTasks struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeRunTasks implements RunTaskInterface
func (*FakeRunTasks) Create ¶
Create takes the representation of a runTask and creates it. Returns the server's representation of the runTask, and an error, if there is any.
func (*FakeRunTasks) Delete ¶
func (c *FakeRunTasks) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the runTask and deletes it. Returns an error if one occurs.
func (*FakeRunTasks) DeleteCollection ¶
func (c *FakeRunTasks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRunTasks) Get ¶
func (c *FakeRunTasks) Get(name string, options v1.GetOptions) (result *v1alpha1.RunTask, err error)
Get takes name of the runTask, and returns the corresponding runTask object, and an error if there is any.
func (*FakeRunTasks) List ¶
func (c *FakeRunTasks) List(opts v1.ListOptions) (result *v1alpha1.RunTaskList, err error)
List takes label and field selectors, and returns the list of RunTasks that match those selectors.
func (*FakeRunTasks) Patch ¶
func (c *FakeRunTasks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.RunTask, err error)
Patch applies the patch and returns the patched runTask.
func (*FakeRunTasks) Update ¶
Update takes the representation of a runTask and updates it. Returns the server's representation of the runTask, and an error, if there is any.
func (*FakeRunTasks) Watch ¶
func (c *FakeRunTasks) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested runTasks.
type FakeStoragePoolClaims ¶
type FakeStoragePoolClaims struct {
Fake *FakeOpenebsV1alpha1
}
FakeStoragePoolClaims implements StoragePoolClaimInterface
func (*FakeStoragePoolClaims) Create ¶
func (c *FakeStoragePoolClaims) Create(storagePoolClaim *v1alpha1.StoragePoolClaim) (result *v1alpha1.StoragePoolClaim, err error)
Create takes the representation of a storagePoolClaim and creates it. Returns the server's representation of the storagePoolClaim, and an error, if there is any.
func (*FakeStoragePoolClaims) Delete ¶
func (c *FakeStoragePoolClaims) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the storagePoolClaim and deletes it. Returns an error if one occurs.
func (*FakeStoragePoolClaims) DeleteCollection ¶
func (c *FakeStoragePoolClaims) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStoragePoolClaims) Get ¶
func (c *FakeStoragePoolClaims) Get(name string, options v1.GetOptions) (result *v1alpha1.StoragePoolClaim, err error)
Get takes name of the storagePoolClaim, and returns the corresponding storagePoolClaim object, and an error if there is any.
func (*FakeStoragePoolClaims) List ¶
func (c *FakeStoragePoolClaims) List(opts v1.ListOptions) (result *v1alpha1.StoragePoolClaimList, err error)
List takes label and field selectors, and returns the list of StoragePoolClaims that match those selectors.
func (*FakeStoragePoolClaims) Patch ¶
func (c *FakeStoragePoolClaims) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.StoragePoolClaim, err error)
Patch applies the patch and returns the patched storagePoolClaim.
func (*FakeStoragePoolClaims) Update ¶
func (c *FakeStoragePoolClaims) Update(storagePoolClaim *v1alpha1.StoragePoolClaim) (result *v1alpha1.StoragePoolClaim, err error)
Update takes the representation of a storagePoolClaim and updates it. Returns the server's representation of the storagePoolClaim, and an error, if there is any.
func (*FakeStoragePoolClaims) Watch ¶
func (c *FakeStoragePoolClaims) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested storagePoolClaims.
type FakeStoragePools ¶
type FakeStoragePools struct {
Fake *FakeOpenebsV1alpha1
}
FakeStoragePools implements StoragePoolInterface
func (*FakeStoragePools) Create ¶
func (c *FakeStoragePools) Create(storagePool *v1alpha1.StoragePool) (result *v1alpha1.StoragePool, err error)
Create takes the representation of a storagePool and creates it. Returns the server's representation of the storagePool, and an error, if there is any.
func (*FakeStoragePools) Delete ¶
func (c *FakeStoragePools) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the storagePool and deletes it. Returns an error if one occurs.
func (*FakeStoragePools) DeleteCollection ¶
func (c *FakeStoragePools) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStoragePools) Get ¶
func (c *FakeStoragePools) Get(name string, options v1.GetOptions) (result *v1alpha1.StoragePool, err error)
Get takes name of the storagePool, and returns the corresponding storagePool object, and an error if there is any.
func (*FakeStoragePools) List ¶
func (c *FakeStoragePools) List(opts v1.ListOptions) (result *v1alpha1.StoragePoolList, err error)
List takes label and field selectors, and returns the list of StoragePools that match those selectors.
func (*FakeStoragePools) Patch ¶
func (c *FakeStoragePools) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.StoragePool, err error)
Patch applies the patch and returns the patched storagePool.
func (*FakeStoragePools) Update ¶
func (c *FakeStoragePools) Update(storagePool *v1alpha1.StoragePool) (result *v1alpha1.StoragePool, err error)
Update takes the representation of a storagePool and updates it. Returns the server's representation of the storagePool, and an error, if there is any.
func (*FakeStoragePools) Watch ¶
func (c *FakeStoragePools) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested storagePools.
Source Files ¶
- doc.go
- fake_castemplate.go
- fake_cstorbackup.go
- fake_cstorcompletedbackup.go
- fake_cstorpool.go
- fake_cstorpoolcluster.go
- fake_cstorpoolinstance.go
- fake_cstorrestore.go
- fake_cstorvolume.go
- fake_cstorvolumeclaim.go
- fake_cstorvolumepolicy.go
- fake_cstorvolumereplica.go
- fake_openebs.io_client.go
- fake_runtask.go
- fake_storagepool.go
- fake_storagepoolclaim.go