Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusters
- func (c *FakeClusters) Create(cluster *v1alpha1.Cluster) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) List(opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
- func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Update(cluster *v1alpha1.Cluster) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeFilesystems
- func (c *FakeFilesystems) Create(filesystem *v1alpha1.Filesystem) (result *v1alpha1.Filesystem, err error)
- func (c *FakeFilesystems) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeFilesystems) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeFilesystems) Get(name string, options v1.GetOptions) (result *v1alpha1.Filesystem, err error)
- func (c *FakeFilesystems) List(opts v1.ListOptions) (result *v1alpha1.FilesystemList, err error)
- func (c *FakeFilesystems) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Filesystem, err error)
- func (c *FakeFilesystems) Update(filesystem *v1alpha1.Filesystem) (result *v1alpha1.Filesystem, err error)
- func (c *FakeFilesystems) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeObjectStores
- func (c *FakeObjectStores) Create(objectStore *v1alpha1.ObjectStore) (result *v1alpha1.ObjectStore, err error)
- func (c *FakeObjectStores) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeObjectStores) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeObjectStores) Get(name string, options v1.GetOptions) (result *v1alpha1.ObjectStore, err error)
- func (c *FakeObjectStores) List(opts v1.ListOptions) (result *v1alpha1.ObjectStoreList, err error)
- func (c *FakeObjectStores) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ObjectStore, err error)
- func (c *FakeObjectStores) Update(objectStore *v1alpha1.ObjectStore) (result *v1alpha1.ObjectStore, err error)
- func (c *FakeObjectStores) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePools
- func (c *FakePools) Create(pool *v1alpha1.Pool) (result *v1alpha1.Pool, err error)
- func (c *FakePools) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePools) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePools) Get(name string, options v1.GetOptions) (result *v1alpha1.Pool, err error)
- func (c *FakePools) List(opts v1.ListOptions) (result *v1alpha1.PoolList, err error)
- func (c *FakePools) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Pool, err error)
- func (c *FakePools) Update(pool *v1alpha1.Pool) (result *v1alpha1.Pool, err error)
- func (c *FakePools) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRookV1alpha1
- func (c *FakeRookV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface
- func (c *FakeRookV1alpha1) Filesystems(namespace string) v1alpha1.FilesystemInterface
- func (c *FakeRookV1alpha1) ObjectStores(namespace string) v1alpha1.ObjectStoreInterface
- func (c *FakeRookV1alpha1) Pools(namespace string) v1alpha1.PoolInterface
- func (c *FakeRookV1alpha1) RESTClient() rest.Interface
- func (c *FakeRookV1alpha1) VolumeAttachments(namespace string) v1alpha1.VolumeAttachmentInterface
- type FakeVolumeAttachments
- func (c *FakeVolumeAttachments) Create(volumeAttachment *v1alpha1.VolumeAttachment) (result *v1alpha1.VolumeAttachment, err error)
- func (c *FakeVolumeAttachments) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeVolumeAttachments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeVolumeAttachments) Get(name string, options v1.GetOptions) (result *v1alpha1.VolumeAttachment, err error)
- func (c *FakeVolumeAttachments) List(opts v1.ListOptions) (result *v1alpha1.VolumeAttachmentList, err error)
- func (c *FakeVolumeAttachments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.VolumeAttachment, err error)
- func (c *FakeVolumeAttachments) Update(volumeAttachment *v1alpha1.VolumeAttachment) (result *v1alpha1.VolumeAttachment, err error)
- func (c *FakeVolumeAttachments) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusters ¶
type FakeClusters struct { Fake *FakeRookV1alpha1 // contains filtered or unexported fields }
FakeClusters implements ClusterInterface
func (*FakeClusters) Create ¶
Create takes the representation of a cluster and creates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) Delete ¶
func (c *FakeClusters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cluster and deletes it. Returns an error if one occurs.
func (*FakeClusters) DeleteCollection ¶
func (c *FakeClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusters) Get ¶
func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
Get takes name of the cluster, and returns the corresponding cluster object, and an error if there is any.
func (*FakeClusters) List ¶
func (c *FakeClusters) List(opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
List takes label and field selectors, and returns the list of Clusters that match those selectors.
func (*FakeClusters) Patch ¶
func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Cluster, err error)
Patch applies the patch and returns the patched cluster.
func (*FakeClusters) Update ¶
Update takes the representation of a cluster and updates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) Watch ¶
func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusters.
type FakeFilesystems ¶
type FakeFilesystems struct { Fake *FakeRookV1alpha1 // contains filtered or unexported fields }
FakeFilesystems implements FilesystemInterface
func (*FakeFilesystems) Create ¶
func (c *FakeFilesystems) Create(filesystem *v1alpha1.Filesystem) (result *v1alpha1.Filesystem, err error)
Create takes the representation of a filesystem and creates it. Returns the server's representation of the filesystem, and an error, if there is any.
func (*FakeFilesystems) Delete ¶
func (c *FakeFilesystems) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the filesystem and deletes it. Returns an error if one occurs.
func (*FakeFilesystems) DeleteCollection ¶
func (c *FakeFilesystems) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFilesystems) Get ¶
func (c *FakeFilesystems) Get(name string, options v1.GetOptions) (result *v1alpha1.Filesystem, err error)
Get takes name of the filesystem, and returns the corresponding filesystem object, and an error if there is any.
func (*FakeFilesystems) List ¶
func (c *FakeFilesystems) List(opts v1.ListOptions) (result *v1alpha1.FilesystemList, err error)
List takes label and field selectors, and returns the list of Filesystems that match those selectors.
func (*FakeFilesystems) Patch ¶
func (c *FakeFilesystems) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Filesystem, err error)
Patch applies the patch and returns the patched filesystem.
func (*FakeFilesystems) Update ¶
func (c *FakeFilesystems) Update(filesystem *v1alpha1.Filesystem) (result *v1alpha1.Filesystem, err error)
Update takes the representation of a filesystem and updates it. Returns the server's representation of the filesystem, and an error, if there is any.
func (*FakeFilesystems) Watch ¶
func (c *FakeFilesystems) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested filesystems.
type FakeObjectStores ¶
type FakeObjectStores struct { Fake *FakeRookV1alpha1 // contains filtered or unexported fields }
FakeObjectStores implements ObjectStoreInterface
func (*FakeObjectStores) Create ¶
func (c *FakeObjectStores) Create(objectStore *v1alpha1.ObjectStore) (result *v1alpha1.ObjectStore, err error)
Create takes the representation of a objectStore and creates it. Returns the server's representation of the objectStore, and an error, if there is any.
func (*FakeObjectStores) Delete ¶
func (c *FakeObjectStores) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the objectStore and deletes it. Returns an error if one occurs.
func (*FakeObjectStores) DeleteCollection ¶
func (c *FakeObjectStores) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeObjectStores) Get ¶
func (c *FakeObjectStores) Get(name string, options v1.GetOptions) (result *v1alpha1.ObjectStore, err error)
Get takes name of the objectStore, and returns the corresponding objectStore object, and an error if there is any.
func (*FakeObjectStores) List ¶
func (c *FakeObjectStores) List(opts v1.ListOptions) (result *v1alpha1.ObjectStoreList, err error)
List takes label and field selectors, and returns the list of ObjectStores that match those selectors.
func (*FakeObjectStores) Patch ¶
func (c *FakeObjectStores) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ObjectStore, err error)
Patch applies the patch and returns the patched objectStore.
func (*FakeObjectStores) Update ¶
func (c *FakeObjectStores) Update(objectStore *v1alpha1.ObjectStore) (result *v1alpha1.ObjectStore, err error)
Update takes the representation of a objectStore and updates it. Returns the server's representation of the objectStore, and an error, if there is any.
func (*FakeObjectStores) Watch ¶
func (c *FakeObjectStores) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested objectStores.
type FakePools ¶
type FakePools struct { Fake *FakeRookV1alpha1 // contains filtered or unexported fields }
FakePools implements PoolInterface
func (*FakePools) Create ¶
Create takes the representation of a pool and creates it. Returns the server's representation of the pool, and an error, if there is any.
func (*FakePools) Delete ¶
func (c *FakePools) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the pool and deletes it. Returns an error if one occurs.
func (*FakePools) DeleteCollection ¶
func (c *FakePools) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePools) Get ¶
Get takes name of the pool, and returns the corresponding pool object, and an error if there is any.
func (*FakePools) List ¶
List takes label and field selectors, and returns the list of Pools that match those selectors.
func (*FakePools) Patch ¶
func (c *FakePools) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Pool, err error)
Patch applies the patch and returns the patched pool.
type FakeRookV1alpha1 ¶
func (*FakeRookV1alpha1) Clusters ¶
func (c *FakeRookV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface
func (*FakeRookV1alpha1) Filesystems ¶
func (c *FakeRookV1alpha1) Filesystems(namespace string) v1alpha1.FilesystemInterface
func (*FakeRookV1alpha1) ObjectStores ¶
func (c *FakeRookV1alpha1) ObjectStores(namespace string) v1alpha1.ObjectStoreInterface
func (*FakeRookV1alpha1) Pools ¶
func (c *FakeRookV1alpha1) Pools(namespace string) v1alpha1.PoolInterface
func (*FakeRookV1alpha1) RESTClient ¶
func (c *FakeRookV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeRookV1alpha1) VolumeAttachments ¶
func (c *FakeRookV1alpha1) VolumeAttachments(namespace string) v1alpha1.VolumeAttachmentInterface
type FakeVolumeAttachments ¶
type FakeVolumeAttachments struct { Fake *FakeRookV1alpha1 // contains filtered or unexported fields }
FakeVolumeAttachments implements VolumeAttachmentInterface
func (*FakeVolumeAttachments) Create ¶
func (c *FakeVolumeAttachments) Create(volumeAttachment *v1alpha1.VolumeAttachment) (result *v1alpha1.VolumeAttachment, err error)
Create takes the representation of a volumeAttachment and creates it. Returns the server's representation of the volumeAttachment, and an error, if there is any.
func (*FakeVolumeAttachments) Delete ¶
func (c *FakeVolumeAttachments) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the volumeAttachment and deletes it. Returns an error if one occurs.
func (*FakeVolumeAttachments) DeleteCollection ¶
func (c *FakeVolumeAttachments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumeAttachments) Get ¶
func (c *FakeVolumeAttachments) Get(name string, options v1.GetOptions) (result *v1alpha1.VolumeAttachment, err error)
Get takes name of the volumeAttachment, and returns the corresponding volumeAttachment object, and an error if there is any.
func (*FakeVolumeAttachments) List ¶
func (c *FakeVolumeAttachments) List(opts v1.ListOptions) (result *v1alpha1.VolumeAttachmentList, err error)
List takes label and field selectors, and returns the list of VolumeAttachments that match those selectors.
func (*FakeVolumeAttachments) Patch ¶
func (c *FakeVolumeAttachments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.VolumeAttachment, err error)
Patch applies the patch and returns the patched volumeAttachment.
func (*FakeVolumeAttachments) Update ¶
func (c *FakeVolumeAttachments) Update(volumeAttachment *v1alpha1.VolumeAttachment) (result *v1alpha1.VolumeAttachment, err error)
Update takes the representation of a volumeAttachment and updates it. Returns the server's representation of the volumeAttachment, and an error, if there is any.
func (*FakeVolumeAttachments) Watch ¶
func (c *FakeVolumeAttachments) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumeAttachments.