Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMigrations
- func (c *FakeMigrations) Create(migration *v1alpha2.Migration) (result *v1alpha2.Migration, err error)
- func (c *FakeMigrations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMigrations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMigrations) Get(name string, options v1.GetOptions) (result *v1alpha2.Migration, err error)
- func (c *FakeMigrations) List(opts v1.ListOptions) (result *v1alpha2.MigrationList, err error)
- func (c *FakeMigrations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Migration, err error)
- func (c *FakeMigrations) Update(migration *v1alpha2.Migration) (result *v1alpha2.Migration, err error)
- func (c *FakeMigrations) UpdateStatus(migration *v1alpha2.Migration) (*v1alpha2.Migration, error)
- func (c *FakeMigrations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSchemasV1alpha2
- type FakeTables
- func (c *FakeTables) Create(table *v1alpha2.Table) (result *v1alpha2.Table, err error)
- func (c *FakeTables) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTables) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTables) Get(name string, options v1.GetOptions) (result *v1alpha2.Table, err error)
- func (c *FakeTables) List(opts v1.ListOptions) (result *v1alpha2.TableList, err error)
- func (c *FakeTables) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Table, err error)
- func (c *FakeTables) Update(table *v1alpha2.Table) (result *v1alpha2.Table, err error)
- func (c *FakeTables) UpdateStatus(table *v1alpha2.Table) (*v1alpha2.Table, error)
- func (c *FakeTables) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMigrations ¶
type FakeMigrations struct { Fake *FakeSchemasV1alpha2 // contains filtered or unexported fields }
FakeMigrations implements MigrationInterface
func (*FakeMigrations) Create ¶
func (c *FakeMigrations) Create(migration *v1alpha2.Migration) (result *v1alpha2.Migration, err error)
Create takes the representation of a migration and creates it. Returns the server's representation of the migration, and an error, if there is any.
func (*FakeMigrations) Delete ¶
func (c *FakeMigrations) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the migration and deletes it. Returns an error if one occurs.
func (*FakeMigrations) DeleteCollection ¶
func (c *FakeMigrations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMigrations) Get ¶
func (c *FakeMigrations) Get(name string, options v1.GetOptions) (result *v1alpha2.Migration, err error)
Get takes name of the migration, and returns the corresponding migration object, and an error if there is any.
func (*FakeMigrations) List ¶
func (c *FakeMigrations) List(opts v1.ListOptions) (result *v1alpha2.MigrationList, err error)
List takes label and field selectors, and returns the list of Migrations that match those selectors.
func (*FakeMigrations) Patch ¶
func (c *FakeMigrations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Migration, err error)
Patch applies the patch and returns the patched migration.
func (*FakeMigrations) Update ¶
func (c *FakeMigrations) Update(migration *v1alpha2.Migration) (result *v1alpha2.Migration, err error)
Update takes the representation of a migration and updates it. Returns the server's representation of the migration, and an error, if there is any.
func (*FakeMigrations) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMigrations) Watch ¶
func (c *FakeMigrations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested migrations.
type FakeSchemasV1alpha2 ¶
func (*FakeSchemasV1alpha2) Migrations ¶
func (c *FakeSchemasV1alpha2) Migrations(namespace string) v1alpha2.MigrationInterface
func (*FakeSchemasV1alpha2) RESTClient ¶
func (c *FakeSchemasV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSchemasV1alpha2) Tables ¶
func (c *FakeSchemasV1alpha2) Tables(namespace string) v1alpha2.TableInterface
type FakeTables ¶
type FakeTables struct { Fake *FakeSchemasV1alpha2 // contains filtered or unexported fields }
FakeTables implements TableInterface
func (*FakeTables) Create ¶
Create takes the representation of a table and creates it. Returns the server's representation of the table, and an error, if there is any.
func (*FakeTables) Delete ¶
func (c *FakeTables) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the table and deletes it. Returns an error if one occurs.
func (*FakeTables) DeleteCollection ¶
func (c *FakeTables) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTables) Get ¶
func (c *FakeTables) Get(name string, options v1.GetOptions) (result *v1alpha2.Table, err error)
Get takes name of the table, and returns the corresponding table object, and an error if there is any.
func (*FakeTables) List ¶
func (c *FakeTables) List(opts v1.ListOptions) (result *v1alpha2.TableList, err error)
List takes label and field selectors, and returns the list of Tables that match those selectors.
func (*FakeTables) Patch ¶
func (c *FakeTables) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Table, err error)
Patch applies the patch and returns the patched table.
func (*FakeTables) Update ¶
Update takes the representation of a table and updates it. Returns the server's representation of the table, and an error, if there is any.
func (*FakeTables) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTables) Watch ¶
func (c *FakeTables) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tables.