Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBucketClasses
- func (c *FakeBucketClasses) Apply(ctx context.Context, ...) (result *v1alpha1.BucketClass, err error)
- func (c *FakeBucketClasses) Create(ctx context.Context, bucketClass *v1alpha1.BucketClass, opts v1.CreateOptions) (result *v1alpha1.BucketClass, err error)
- func (c *FakeBucketClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBucketClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBucketClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BucketClass, err error)
- func (c *FakeBucketClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BucketClassList, err error)
- func (c *FakeBucketClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.BucketClass, err error)
- func (c *FakeBucketClasses) Update(ctx context.Context, bucketClass *v1alpha1.BucketClass, opts v1.UpdateOptions) (result *v1alpha1.BucketClass, err error)
- func (c *FakeBucketClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBucketPools
- func (c *FakeBucketPools) Apply(ctx context.Context, bucketPool *storagev1alpha1.BucketPoolApplyConfiguration, ...) (result *v1alpha1.BucketPool, err error)
- func (c *FakeBucketPools) ApplyStatus(ctx context.Context, bucketPool *storagev1alpha1.BucketPoolApplyConfiguration, ...) (result *v1alpha1.BucketPool, err error)
- func (c *FakeBucketPools) Create(ctx context.Context, bucketPool *v1alpha1.BucketPool, opts v1.CreateOptions) (result *v1alpha1.BucketPool, err error)
- func (c *FakeBucketPools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBucketPools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBucketPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BucketPool, err error)
- func (c *FakeBucketPools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BucketPoolList, err error)
- func (c *FakeBucketPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.BucketPool, err error)
- func (c *FakeBucketPools) Update(ctx context.Context, bucketPool *v1alpha1.BucketPool, opts v1.UpdateOptions) (result *v1alpha1.BucketPool, err error)
- func (c *FakeBucketPools) UpdateStatus(ctx context.Context, bucketPool *v1alpha1.BucketPool, opts v1.UpdateOptions) (*v1alpha1.BucketPool, error)
- func (c *FakeBucketPools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBuckets
- func (c *FakeBuckets) Apply(ctx context.Context, bucket *storagev1alpha1.BucketApplyConfiguration, ...) (result *v1alpha1.Bucket, err error)
- func (c *FakeBuckets) ApplyStatus(ctx context.Context, bucket *storagev1alpha1.BucketApplyConfiguration, ...) (result *v1alpha1.Bucket, err error)
- func (c *FakeBuckets) Create(ctx context.Context, bucket *v1alpha1.Bucket, opts v1.CreateOptions) (result *v1alpha1.Bucket, err error)
- func (c *FakeBuckets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBuckets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBuckets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Bucket, err error)
- func (c *FakeBuckets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BucketList, err error)
- func (c *FakeBuckets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Bucket, err error)
- func (c *FakeBuckets) Update(ctx context.Context, bucket *v1alpha1.Bucket, opts v1.UpdateOptions) (result *v1alpha1.Bucket, err error)
- func (c *FakeBuckets) UpdateStatus(ctx context.Context, bucket *v1alpha1.Bucket, opts v1.UpdateOptions) (*v1alpha1.Bucket, error)
- func (c *FakeBuckets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeStorageV1alpha1
- func (c *FakeStorageV1alpha1) BucketClasses() v1alpha1.BucketClassInterface
- func (c *FakeStorageV1alpha1) BucketPools() v1alpha1.BucketPoolInterface
- func (c *FakeStorageV1alpha1) Buckets(namespace string) v1alpha1.BucketInterface
- func (c *FakeStorageV1alpha1) RESTClient() rest.Interface
- func (c *FakeStorageV1alpha1) VolumeClasses() v1alpha1.VolumeClassInterface
- func (c *FakeStorageV1alpha1) VolumePools() v1alpha1.VolumePoolInterface
- func (c *FakeStorageV1alpha1) Volumes(namespace string) v1alpha1.VolumeInterface
- type FakeVolumeClasses
- func (c *FakeVolumeClasses) Apply(ctx context.Context, ...) (result *v1alpha1.VolumeClass, err error)
- func (c *FakeVolumeClasses) Create(ctx context.Context, volumeClass *v1alpha1.VolumeClass, opts v1.CreateOptions) (result *v1alpha1.VolumeClass, err error)
- func (c *FakeVolumeClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVolumeClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVolumeClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VolumeClass, err error)
- func (c *FakeVolumeClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumeClassList, err error)
- func (c *FakeVolumeClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VolumeClass, err error)
- func (c *FakeVolumeClasses) Update(ctx context.Context, volumeClass *v1alpha1.VolumeClass, opts v1.UpdateOptions) (result *v1alpha1.VolumeClass, err error)
- func (c *FakeVolumeClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumePools
- func (c *FakeVolumePools) Apply(ctx context.Context, volumePool *storagev1alpha1.VolumePoolApplyConfiguration, ...) (result *v1alpha1.VolumePool, err error)
- func (c *FakeVolumePools) ApplyStatus(ctx context.Context, volumePool *storagev1alpha1.VolumePoolApplyConfiguration, ...) (result *v1alpha1.VolumePool, err error)
- func (c *FakeVolumePools) Create(ctx context.Context, volumePool *v1alpha1.VolumePool, opts v1.CreateOptions) (result *v1alpha1.VolumePool, err error)
- func (c *FakeVolumePools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVolumePools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVolumePools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VolumePool, err error)
- func (c *FakeVolumePools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumePoolList, err error)
- func (c *FakeVolumePools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VolumePool, err error)
- func (c *FakeVolumePools) Update(ctx context.Context, volumePool *v1alpha1.VolumePool, opts v1.UpdateOptions) (result *v1alpha1.VolumePool, err error)
- func (c *FakeVolumePools) UpdateStatus(ctx context.Context, volumePool *v1alpha1.VolumePool, opts v1.UpdateOptions) (*v1alpha1.VolumePool, error)
- func (c *FakeVolumePools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumes
- func (c *FakeVolumes) Apply(ctx context.Context, volume *storagev1alpha1.VolumeApplyConfiguration, ...) (result *v1alpha1.Volume, err error)
- func (c *FakeVolumes) ApplyStatus(ctx context.Context, volume *storagev1alpha1.VolumeApplyConfiguration, ...) (result *v1alpha1.Volume, err error)
- func (c *FakeVolumes) Create(ctx context.Context, volume *v1alpha1.Volume, opts v1.CreateOptions) (result *v1alpha1.Volume, err error)
- func (c *FakeVolumes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVolumes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVolumes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Volume, err error)
- func (c *FakeVolumes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumeList, err error)
- func (c *FakeVolumes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Volume, err error)
- func (c *FakeVolumes) Update(ctx context.Context, volume *v1alpha1.Volume, opts v1.UpdateOptions) (result *v1alpha1.Volume, err error)
- func (c *FakeVolumes) UpdateStatus(ctx context.Context, volume *v1alpha1.Volume, opts v1.UpdateOptions) (*v1alpha1.Volume, error)
- func (c *FakeVolumes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBucketClasses ¶
type FakeBucketClasses struct {
Fake *FakeStorageV1alpha1
}
FakeBucketClasses implements BucketClassInterface
func (*FakeBucketClasses) Apply ¶
func (c *FakeBucketClasses) Apply(ctx context.Context, bucketClass *storagev1alpha1.BucketClassApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.BucketClass, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied bucketClass.
func (*FakeBucketClasses) Create ¶
func (c *FakeBucketClasses) Create(ctx context.Context, bucketClass *v1alpha1.BucketClass, opts v1.CreateOptions) (result *v1alpha1.BucketClass, err error)
Create takes the representation of a bucketClass and creates it. Returns the server's representation of the bucketClass, and an error, if there is any.
func (*FakeBucketClasses) Delete ¶
func (c *FakeBucketClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the bucketClass and deletes it. Returns an error if one occurs.
func (*FakeBucketClasses) DeleteCollection ¶
func (c *FakeBucketClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBucketClasses) Get ¶
func (c *FakeBucketClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BucketClass, err error)
Get takes name of the bucketClass, and returns the corresponding bucketClass object, and an error if there is any.
func (*FakeBucketClasses) List ¶
func (c *FakeBucketClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BucketClassList, err error)
List takes label and field selectors, and returns the list of BucketClasses that match those selectors.
func (*FakeBucketClasses) Patch ¶
func (c *FakeBucketClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BucketClass, err error)
Patch applies the patch and returns the patched bucketClass.
func (*FakeBucketClasses) Update ¶
func (c *FakeBucketClasses) Update(ctx context.Context, bucketClass *v1alpha1.BucketClass, opts v1.UpdateOptions) (result *v1alpha1.BucketClass, err error)
Update takes the representation of a bucketClass and updates it. Returns the server's representation of the bucketClass, and an error, if there is any.
func (*FakeBucketClasses) Watch ¶
func (c *FakeBucketClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested bucketClasses.
type FakeBucketPools ¶
type FakeBucketPools struct {
Fake *FakeStorageV1alpha1
}
FakeBucketPools implements BucketPoolInterface
func (*FakeBucketPools) Apply ¶
func (c *FakeBucketPools) Apply(ctx context.Context, bucketPool *storagev1alpha1.BucketPoolApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.BucketPool, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied bucketPool.
func (*FakeBucketPools) ApplyStatus ¶
func (c *FakeBucketPools) ApplyStatus(ctx context.Context, bucketPool *storagev1alpha1.BucketPoolApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.BucketPool, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeBucketPools) Create ¶
func (c *FakeBucketPools) Create(ctx context.Context, bucketPool *v1alpha1.BucketPool, opts v1.CreateOptions) (result *v1alpha1.BucketPool, err error)
Create takes the representation of a bucketPool and creates it. Returns the server's representation of the bucketPool, and an error, if there is any.
func (*FakeBucketPools) Delete ¶
func (c *FakeBucketPools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the bucketPool and deletes it. Returns an error if one occurs.
func (*FakeBucketPools) DeleteCollection ¶
func (c *FakeBucketPools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBucketPools) Get ¶
func (c *FakeBucketPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BucketPool, err error)
Get takes name of the bucketPool, and returns the corresponding bucketPool object, and an error if there is any.
func (*FakeBucketPools) List ¶
func (c *FakeBucketPools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BucketPoolList, err error)
List takes label and field selectors, and returns the list of BucketPools that match those selectors.
func (*FakeBucketPools) Patch ¶
func (c *FakeBucketPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BucketPool, err error)
Patch applies the patch and returns the patched bucketPool.
func (*FakeBucketPools) Update ¶
func (c *FakeBucketPools) Update(ctx context.Context, bucketPool *v1alpha1.BucketPool, opts v1.UpdateOptions) (result *v1alpha1.BucketPool, err error)
Update takes the representation of a bucketPool and updates it. Returns the server's representation of the bucketPool, and an error, if there is any.
func (*FakeBucketPools) UpdateStatus ¶
func (c *FakeBucketPools) UpdateStatus(ctx context.Context, bucketPool *v1alpha1.BucketPool, opts v1.UpdateOptions) (*v1alpha1.BucketPool, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBucketPools) Watch ¶
func (c *FakeBucketPools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested bucketPools.
type FakeBuckets ¶
type FakeBuckets struct { Fake *FakeStorageV1alpha1 // contains filtered or unexported fields }
FakeBuckets implements BucketInterface
func (*FakeBuckets) Apply ¶
func (c *FakeBuckets) Apply(ctx context.Context, bucket *storagev1alpha1.BucketApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Bucket, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied bucket.
func (*FakeBuckets) ApplyStatus ¶
func (c *FakeBuckets) ApplyStatus(ctx context.Context, bucket *storagev1alpha1.BucketApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Bucket, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeBuckets) Create ¶
func (c *FakeBuckets) Create(ctx context.Context, bucket *v1alpha1.Bucket, opts v1.CreateOptions) (result *v1alpha1.Bucket, err error)
Create takes the representation of a bucket and creates it. Returns the server's representation of the bucket, and an error, if there is any.
func (*FakeBuckets) Delete ¶
func (c *FakeBuckets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the bucket and deletes it. Returns an error if one occurs.
func (*FakeBuckets) DeleteCollection ¶
func (c *FakeBuckets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuckets) Get ¶
func (c *FakeBuckets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Bucket, err error)
Get takes name of the bucket, and returns the corresponding bucket object, and an error if there is any.
func (*FakeBuckets) List ¶
func (c *FakeBuckets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BucketList, err error)
List takes label and field selectors, and returns the list of Buckets that match those selectors.
func (*FakeBuckets) Patch ¶
func (c *FakeBuckets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Bucket, err error)
Patch applies the patch and returns the patched bucket.
func (*FakeBuckets) Update ¶
func (c *FakeBuckets) Update(ctx context.Context, bucket *v1alpha1.Bucket, opts v1.UpdateOptions) (result *v1alpha1.Bucket, err error)
Update takes the representation of a bucket and updates it. Returns the server's representation of the bucket, and an error, if there is any.
func (*FakeBuckets) UpdateStatus ¶
func (c *FakeBuckets) UpdateStatus(ctx context.Context, bucket *v1alpha1.Bucket, opts v1.UpdateOptions) (*v1alpha1.Bucket, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBuckets) Watch ¶
func (c *FakeBuckets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested buckets.
type FakeStorageV1alpha1 ¶
func (*FakeStorageV1alpha1) BucketClasses ¶
func (c *FakeStorageV1alpha1) BucketClasses() v1alpha1.BucketClassInterface
func (*FakeStorageV1alpha1) BucketPools ¶
func (c *FakeStorageV1alpha1) BucketPools() v1alpha1.BucketPoolInterface
func (*FakeStorageV1alpha1) Buckets ¶
func (c *FakeStorageV1alpha1) Buckets(namespace string) v1alpha1.BucketInterface
func (*FakeStorageV1alpha1) RESTClient ¶
func (c *FakeStorageV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeStorageV1alpha1) VolumeClasses ¶
func (c *FakeStorageV1alpha1) VolumeClasses() v1alpha1.VolumeClassInterface
func (*FakeStorageV1alpha1) VolumePools ¶
func (c *FakeStorageV1alpha1) VolumePools() v1alpha1.VolumePoolInterface
func (*FakeStorageV1alpha1) Volumes ¶
func (c *FakeStorageV1alpha1) Volumes(namespace string) v1alpha1.VolumeInterface
type FakeVolumeClasses ¶
type FakeVolumeClasses struct {
Fake *FakeStorageV1alpha1
}
FakeVolumeClasses implements VolumeClassInterface
func (*FakeVolumeClasses) Apply ¶
func (c *FakeVolumeClasses) Apply(ctx context.Context, volumeClass *storagev1alpha1.VolumeClassApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.VolumeClass, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied volumeClass.
func (*FakeVolumeClasses) Create ¶
func (c *FakeVolumeClasses) Create(ctx context.Context, volumeClass *v1alpha1.VolumeClass, opts v1.CreateOptions) (result *v1alpha1.VolumeClass, err error)
Create takes the representation of a volumeClass and creates it. Returns the server's representation of the volumeClass, and an error, if there is any.
func (*FakeVolumeClasses) Delete ¶
func (c *FakeVolumeClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the volumeClass and deletes it. Returns an error if one occurs.
func (*FakeVolumeClasses) DeleteCollection ¶
func (c *FakeVolumeClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumeClasses) Get ¶
func (c *FakeVolumeClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VolumeClass, err error)
Get takes name of the volumeClass, and returns the corresponding volumeClass object, and an error if there is any.
func (*FakeVolumeClasses) List ¶
func (c *FakeVolumeClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumeClassList, err error)
List takes label and field selectors, and returns the list of VolumeClasses that match those selectors.
func (*FakeVolumeClasses) Patch ¶
func (c *FakeVolumeClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VolumeClass, err error)
Patch applies the patch and returns the patched volumeClass.
func (*FakeVolumeClasses) Update ¶
func (c *FakeVolumeClasses) Update(ctx context.Context, volumeClass *v1alpha1.VolumeClass, opts v1.UpdateOptions) (result *v1alpha1.VolumeClass, err error)
Update takes the representation of a volumeClass and updates it. Returns the server's representation of the volumeClass, and an error, if there is any.
func (*FakeVolumeClasses) Watch ¶
func (c *FakeVolumeClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumeClasses.
type FakeVolumePools ¶
type FakeVolumePools struct {
Fake *FakeStorageV1alpha1
}
FakeVolumePools implements VolumePoolInterface
func (*FakeVolumePools) Apply ¶
func (c *FakeVolumePools) Apply(ctx context.Context, volumePool *storagev1alpha1.VolumePoolApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.VolumePool, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied volumePool.
func (*FakeVolumePools) ApplyStatus ¶
func (c *FakeVolumePools) ApplyStatus(ctx context.Context, volumePool *storagev1alpha1.VolumePoolApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.VolumePool, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeVolumePools) Create ¶
func (c *FakeVolumePools) Create(ctx context.Context, volumePool *v1alpha1.VolumePool, opts v1.CreateOptions) (result *v1alpha1.VolumePool, err error)
Create takes the representation of a volumePool and creates it. Returns the server's representation of the volumePool, and an error, if there is any.
func (*FakeVolumePools) Delete ¶
func (c *FakeVolumePools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the volumePool and deletes it. Returns an error if one occurs.
func (*FakeVolumePools) DeleteCollection ¶
func (c *FakeVolumePools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumePools) Get ¶
func (c *FakeVolumePools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VolumePool, err error)
Get takes name of the volumePool, and returns the corresponding volumePool object, and an error if there is any.
func (*FakeVolumePools) List ¶
func (c *FakeVolumePools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumePoolList, err error)
List takes label and field selectors, and returns the list of VolumePools that match those selectors.
func (*FakeVolumePools) Patch ¶
func (c *FakeVolumePools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VolumePool, err error)
Patch applies the patch and returns the patched volumePool.
func (*FakeVolumePools) Update ¶
func (c *FakeVolumePools) Update(ctx context.Context, volumePool *v1alpha1.VolumePool, opts v1.UpdateOptions) (result *v1alpha1.VolumePool, err error)
Update takes the representation of a volumePool and updates it. Returns the server's representation of the volumePool, and an error, if there is any.
func (*FakeVolumePools) UpdateStatus ¶
func (c *FakeVolumePools) UpdateStatus(ctx context.Context, volumePool *v1alpha1.VolumePool, opts v1.UpdateOptions) (*v1alpha1.VolumePool, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVolumePools) Watch ¶
func (c *FakeVolumePools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumePools.
type FakeVolumes ¶
type FakeVolumes struct { Fake *FakeStorageV1alpha1 // contains filtered or unexported fields }
FakeVolumes implements VolumeInterface
func (*FakeVolumes) Apply ¶
func (c *FakeVolumes) Apply(ctx context.Context, volume *storagev1alpha1.VolumeApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Volume, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied volume.
func (*FakeVolumes) ApplyStatus ¶
func (c *FakeVolumes) ApplyStatus(ctx context.Context, volume *storagev1alpha1.VolumeApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Volume, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeVolumes) Create ¶
func (c *FakeVolumes) Create(ctx context.Context, volume *v1alpha1.Volume, opts v1.CreateOptions) (result *v1alpha1.Volume, err error)
Create takes the representation of a volume and creates it. Returns the server's representation of the volume, and an error, if there is any.
func (*FakeVolumes) Delete ¶
func (c *FakeVolumes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the volume and deletes it. Returns an error if one occurs.
func (*FakeVolumes) DeleteCollection ¶
func (c *FakeVolumes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumes) Get ¶
func (c *FakeVolumes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Volume, err error)
Get takes name of the volume, and returns the corresponding volume object, and an error if there is any.
func (*FakeVolumes) List ¶
func (c *FakeVolumes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumeList, err error)
List takes label and field selectors, and returns the list of Volumes that match those selectors.
func (*FakeVolumes) Patch ¶
func (c *FakeVolumes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Volume, err error)
Patch applies the patch and returns the patched volume.
func (*FakeVolumes) Update ¶
func (c *FakeVolumes) Update(ctx context.Context, volume *v1alpha1.Volume, opts v1.UpdateOptions) (result *v1alpha1.Volume, err error)
Update takes the representation of a volume and updates it. Returns the server's representation of the volume, and an error, if there is any.
func (*FakeVolumes) UpdateStatus ¶
func (c *FakeVolumes) UpdateStatus(ctx context.Context, volume *v1alpha1.Volume, opts v1.UpdateOptions) (*v1alpha1.Volume, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVolumes) Watch ¶
func (c *FakeVolumes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumes.