Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCloudV1beta3
- func (c *FakeCloudV1beta3) Databases(namespace string) v1beta3.DatabaseInterface
- func (c *FakeCloudV1beta3) Partitions(namespace string) v1beta3.PartitionInterface
- func (c *FakeCloudV1beta3) RESTClient() rest.Interface
- func (c *FakeCloudV1beta3) StorageControllers(namespace string) v1beta3.StorageControllerInterface
- type FakeDatabases
- func (c *FakeDatabases) Create(database *v1beta3.Database) (result *v1beta3.Database, err error)
- func (c *FakeDatabases) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDatabases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDatabases) Get(name string, options v1.GetOptions) (result *v1beta3.Database, err error)
- func (c *FakeDatabases) List(opts v1.ListOptions) (result *v1beta3.DatabaseList, err error)
- func (c *FakeDatabases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta3.Database, err error)
- func (c *FakeDatabases) Update(database *v1beta3.Database) (result *v1beta3.Database, err error)
- func (c *FakeDatabases) UpdateStatus(database *v1beta3.Database) (*v1beta3.Database, error)
- func (c *FakeDatabases) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePartitions
- func (c *FakePartitions) Create(partition *v1beta3.Partition) (result *v1beta3.Partition, err error)
- func (c *FakePartitions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePartitions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePartitions) Get(name string, options v1.GetOptions) (result *v1beta3.Partition, err error)
- func (c *FakePartitions) List(opts v1.ListOptions) (result *v1beta3.PartitionList, err error)
- func (c *FakePartitions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta3.Partition, err error)
- func (c *FakePartitions) Update(partition *v1beta3.Partition) (result *v1beta3.Partition, err error)
- func (c *FakePartitions) UpdateStatus(partition *v1beta3.Partition) (*v1beta3.Partition, error)
- func (c *FakePartitions) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeStorageControllers
- func (c *FakeStorageControllers) Create(storageController *v1beta3.StorageController) (result *v1beta3.StorageController, err error)
- func (c *FakeStorageControllers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeStorageControllers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeStorageControllers) Get(name string, options v1.GetOptions) (result *v1beta3.StorageController, err error)
- func (c *FakeStorageControllers) List(opts v1.ListOptions) (result *v1beta3.StorageControllerList, err error)
- func (c *FakeStorageControllers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta3.StorageController, err error)
- func (c *FakeStorageControllers) Update(storageController *v1beta3.StorageController) (result *v1beta3.StorageController, err error)
- func (c *FakeStorageControllers) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCloudV1beta3 ¶
func (*FakeCloudV1beta3) Databases ¶
func (c *FakeCloudV1beta3) Databases(namespace string) v1beta3.DatabaseInterface
func (*FakeCloudV1beta3) Partitions ¶
func (c *FakeCloudV1beta3) Partitions(namespace string) v1beta3.PartitionInterface
func (*FakeCloudV1beta3) RESTClient ¶
func (c *FakeCloudV1beta3) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCloudV1beta3) StorageControllers ¶
func (c *FakeCloudV1beta3) StorageControllers(namespace string) v1beta3.StorageControllerInterface
type FakeDatabases ¶
type FakeDatabases struct { Fake *FakeCloudV1beta3 // contains filtered or unexported fields }
FakeDatabases implements DatabaseInterface
func (*FakeDatabases) Create ¶
Create takes the representation of a database and creates it. Returns the server's representation of the database, and an error, if there is any.
func (*FakeDatabases) Delete ¶
func (c *FakeDatabases) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the database and deletes it. Returns an error if one occurs.
func (*FakeDatabases) DeleteCollection ¶
func (c *FakeDatabases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDatabases) Get ¶
func (c *FakeDatabases) Get(name string, options v1.GetOptions) (result *v1beta3.Database, err error)
Get takes name of the database, and returns the corresponding database object, and an error if there is any.
func (*FakeDatabases) List ¶
func (c *FakeDatabases) List(opts v1.ListOptions) (result *v1beta3.DatabaseList, err error)
List takes label and field selectors, and returns the list of Databases that match those selectors.
func (*FakeDatabases) Patch ¶
func (c *FakeDatabases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta3.Database, err error)
Patch applies the patch and returns the patched database.
func (*FakeDatabases) Update ¶
Update takes the representation of a database and updates it. Returns the server's representation of the database, and an error, if there is any.
func (*FakeDatabases) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDatabases) Watch ¶
func (c *FakeDatabases) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested databases.
type FakePartitions ¶
type FakePartitions struct { Fake *FakeCloudV1beta3 // contains filtered or unexported fields }
FakePartitions implements PartitionInterface
func (*FakePartitions) Create ¶
func (c *FakePartitions) Create(partition *v1beta3.Partition) (result *v1beta3.Partition, err error)
Create takes the representation of a partition and creates it. Returns the server's representation of the partition, and an error, if there is any.
func (*FakePartitions) Delete ¶
func (c *FakePartitions) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the partition and deletes it. Returns an error if one occurs.
func (*FakePartitions) DeleteCollection ¶
func (c *FakePartitions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePartitions) Get ¶
func (c *FakePartitions) Get(name string, options v1.GetOptions) (result *v1beta3.Partition, err error)
Get takes name of the partition, and returns the corresponding partition object, and an error if there is any.
func (*FakePartitions) List ¶
func (c *FakePartitions) List(opts v1.ListOptions) (result *v1beta3.PartitionList, err error)
List takes label and field selectors, and returns the list of Partitions that match those selectors.
func (*FakePartitions) Patch ¶
func (c *FakePartitions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta3.Partition, err error)
Patch applies the patch and returns the patched partition.
func (*FakePartitions) Update ¶
func (c *FakePartitions) Update(partition *v1beta3.Partition) (result *v1beta3.Partition, err error)
Update takes the representation of a partition and updates it. Returns the server's representation of the partition, and an error, if there is any.
func (*FakePartitions) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePartitions) Watch ¶
func (c *FakePartitions) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested partitions.
type FakeStorageControllers ¶
type FakeStorageControllers struct { Fake *FakeCloudV1beta3 // contains filtered or unexported fields }
FakeStorageControllers implements StorageControllerInterface
func (*FakeStorageControllers) Create ¶
func (c *FakeStorageControllers) Create(storageController *v1beta3.StorageController) (result *v1beta3.StorageController, err error)
Create takes the representation of a storageController and creates it. Returns the server's representation of the storageController, and an error, if there is any.
func (*FakeStorageControllers) Delete ¶
func (c *FakeStorageControllers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the storageController and deletes it. Returns an error if one occurs.
func (*FakeStorageControllers) DeleteCollection ¶
func (c *FakeStorageControllers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStorageControllers) Get ¶
func (c *FakeStorageControllers) Get(name string, options v1.GetOptions) (result *v1beta3.StorageController, err error)
Get takes name of the storageController, and returns the corresponding storageController object, and an error if there is any.
func (*FakeStorageControllers) List ¶
func (c *FakeStorageControllers) List(opts v1.ListOptions) (result *v1beta3.StorageControllerList, err error)
List takes label and field selectors, and returns the list of StorageControllers that match those selectors.
func (*FakeStorageControllers) Patch ¶
func (c *FakeStorageControllers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta3.StorageController, err error)
Patch applies the patch and returns the patched storageController.
func (*FakeStorageControllers) Update ¶
func (c *FakeStorageControllers) Update(storageController *v1beta3.StorageController) (result *v1beta3.StorageController, err error)
Update takes the representation of a storageController and updates it. Returns the server's representation of the storageController, and an error, if there is any.
func (*FakeStorageControllers) Watch ¶
func (c *FakeStorageControllers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested storageControllers.