Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMigrationV1alpha1
- type FakeStorageStates
- func (c *FakeStorageStates) Create(storageState *v1alpha1.StorageState) (result *v1alpha1.StorageState, err error)
- func (c *FakeStorageStates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeStorageStates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeStorageStates) Get(name string, options v1.GetOptions) (result *v1alpha1.StorageState, err error)
- func (c *FakeStorageStates) List(opts v1.ListOptions) (result *v1alpha1.StorageStateList, err error)
- func (c *FakeStorageStates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.StorageState, err error)
- func (c *FakeStorageStates) Update(storageState *v1alpha1.StorageState) (result *v1alpha1.StorageState, err error)
- func (c *FakeStorageStates) UpdateStatus(storageState *v1alpha1.StorageState) (*v1alpha1.StorageState, error)
- func (c *FakeStorageStates) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeStorageVersionMigrations
- func (c *FakeStorageVersionMigrations) Create(storageVersionMigration *v1alpha1.StorageVersionMigration) (result *v1alpha1.StorageVersionMigration, err error)
- func (c *FakeStorageVersionMigrations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeStorageVersionMigrations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeStorageVersionMigrations) Get(name string, options v1.GetOptions) (result *v1alpha1.StorageVersionMigration, err error)
- func (c *FakeStorageVersionMigrations) List(opts v1.ListOptions) (result *v1alpha1.StorageVersionMigrationList, err error)
- func (c *FakeStorageVersionMigrations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.StorageVersionMigration, err error)
- func (c *FakeStorageVersionMigrations) Update(storageVersionMigration *v1alpha1.StorageVersionMigration) (result *v1alpha1.StorageVersionMigration, err error)
- func (c *FakeStorageVersionMigrations) UpdateStatus(storageVersionMigration *v1alpha1.StorageVersionMigration) (*v1alpha1.StorageVersionMigration, error)
- func (c *FakeStorageVersionMigrations) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMigrationV1alpha1 ¶
func (*FakeMigrationV1alpha1) RESTClient ¶
func (c *FakeMigrationV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeMigrationV1alpha1) StorageStates ¶
func (c *FakeMigrationV1alpha1) StorageStates() v1alpha1.StorageStateInterface
func (*FakeMigrationV1alpha1) StorageVersionMigrations ¶
func (c *FakeMigrationV1alpha1) StorageVersionMigrations() v1alpha1.StorageVersionMigrationInterface
type FakeStorageStates ¶
type FakeStorageStates struct {
Fake *FakeMigrationV1alpha1
}
FakeStorageStates implements StorageStateInterface
func (*FakeStorageStates) Create ¶
func (c *FakeStorageStates) Create(storageState *v1alpha1.StorageState) (result *v1alpha1.StorageState, err error)
Create takes the representation of a storageState and creates it. Returns the server's representation of the storageState, and an error, if there is any.
func (*FakeStorageStates) Delete ¶
func (c *FakeStorageStates) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the storageState and deletes it. Returns an error if one occurs.
func (*FakeStorageStates) DeleteCollection ¶
func (c *FakeStorageStates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStorageStates) Get ¶
func (c *FakeStorageStates) Get(name string, options v1.GetOptions) (result *v1alpha1.StorageState, err error)
Get takes name of the storageState, and returns the corresponding storageState object, and an error if there is any.
func (*FakeStorageStates) List ¶
func (c *FakeStorageStates) List(opts v1.ListOptions) (result *v1alpha1.StorageStateList, err error)
List takes label and field selectors, and returns the list of StorageStates that match those selectors.
func (*FakeStorageStates) Patch ¶
func (c *FakeStorageStates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.StorageState, err error)
Patch applies the patch and returns the patched storageState.
func (*FakeStorageStates) Update ¶
func (c *FakeStorageStates) Update(storageState *v1alpha1.StorageState) (result *v1alpha1.StorageState, err error)
Update takes the representation of a storageState and updates it. Returns the server's representation of the storageState, and an error, if there is any.
func (*FakeStorageStates) UpdateStatus ¶
func (c *FakeStorageStates) UpdateStatus(storageState *v1alpha1.StorageState) (*v1alpha1.StorageState, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStorageStates) Watch ¶
func (c *FakeStorageStates) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested storageStates.
type FakeStorageVersionMigrations ¶
type FakeStorageVersionMigrations struct {
Fake *FakeMigrationV1alpha1
}
FakeStorageVersionMigrations implements StorageVersionMigrationInterface
func (*FakeStorageVersionMigrations) Create ¶
func (c *FakeStorageVersionMigrations) Create(storageVersionMigration *v1alpha1.StorageVersionMigration) (result *v1alpha1.StorageVersionMigration, err error)
Create takes the representation of a storageVersionMigration and creates it. Returns the server's representation of the storageVersionMigration, and an error, if there is any.
func (*FakeStorageVersionMigrations) Delete ¶
func (c *FakeStorageVersionMigrations) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the storageVersionMigration and deletes it. Returns an error if one occurs.
func (*FakeStorageVersionMigrations) DeleteCollection ¶
func (c *FakeStorageVersionMigrations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStorageVersionMigrations) Get ¶
func (c *FakeStorageVersionMigrations) Get(name string, options v1.GetOptions) (result *v1alpha1.StorageVersionMigration, err error)
Get takes name of the storageVersionMigration, and returns the corresponding storageVersionMigration object, and an error if there is any.
func (*FakeStorageVersionMigrations) List ¶
func (c *FakeStorageVersionMigrations) List(opts v1.ListOptions) (result *v1alpha1.StorageVersionMigrationList, err error)
List takes label and field selectors, and returns the list of StorageVersionMigrations that match those selectors.
func (*FakeStorageVersionMigrations) Patch ¶
func (c *FakeStorageVersionMigrations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.StorageVersionMigration, err error)
Patch applies the patch and returns the patched storageVersionMigration.
func (*FakeStorageVersionMigrations) Update ¶
func (c *FakeStorageVersionMigrations) Update(storageVersionMigration *v1alpha1.StorageVersionMigration) (result *v1alpha1.StorageVersionMigration, err error)
Update takes the representation of a storageVersionMigration and updates it. Returns the server's representation of the storageVersionMigration, and an error, if there is any.
func (*FakeStorageVersionMigrations) UpdateStatus ¶
func (c *FakeStorageVersionMigrations) UpdateStatus(storageVersionMigration *v1alpha1.StorageVersionMigration) (*v1alpha1.StorageVersionMigration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStorageVersionMigrations) Watch ¶
func (c *FakeStorageVersionMigrations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested storageVersionMigrations.