Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDataTypes
- func (c *FakeDataTypes) Create(ctx context.Context, dataType *v1alpha4.DataType, opts v1.CreateOptions) (result *v1alpha4.DataType, err error)
- func (c *FakeDataTypes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDataTypes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDataTypes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha4.DataType, err error)
- func (c *FakeDataTypes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha4.DataTypeList, err error)
- func (c *FakeDataTypes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha4.DataType, err error)
- func (c *FakeDataTypes) Update(ctx context.Context, dataType *v1alpha4.DataType, opts v1.UpdateOptions) (result *v1alpha4.DataType, err error)
- func (c *FakeDataTypes) UpdateStatus(ctx context.Context, dataType *v1alpha4.DataType, opts v1.UpdateOptions) (*v1alpha4.DataType, error)
- func (c *FakeDataTypes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMigrations
- func (c *FakeMigrations) Create(ctx context.Context, migration *v1alpha4.Migration, opts v1.CreateOptions) (result *v1alpha4.Migration, err error)
- func (c *FakeMigrations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMigrations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMigrations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha4.Migration, err error)
- func (c *FakeMigrations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha4.MigrationList, err error)
- func (c *FakeMigrations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha4.Migration, err error)
- func (c *FakeMigrations) Update(ctx context.Context, migration *v1alpha4.Migration, opts v1.UpdateOptions) (result *v1alpha4.Migration, err error)
- func (c *FakeMigrations) UpdateStatus(ctx context.Context, migration *v1alpha4.Migration, opts v1.UpdateOptions) (*v1alpha4.Migration, error)
- func (c *FakeMigrations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSchemasV1alpha4
- func (c *FakeSchemasV1alpha4) DataTypes(namespace string) v1alpha4.DataTypeInterface
- func (c *FakeSchemasV1alpha4) Migrations(namespace string) v1alpha4.MigrationInterface
- func (c *FakeSchemasV1alpha4) RESTClient() rest.Interface
- func (c *FakeSchemasV1alpha4) Tables(namespace string) v1alpha4.TableInterface
- func (c *FakeSchemasV1alpha4) Views(namespace string) v1alpha4.ViewInterface
- type FakeTables
- func (c *FakeTables) Create(ctx context.Context, table *v1alpha4.Table, opts v1.CreateOptions) (result *v1alpha4.Table, err error)
- func (c *FakeTables) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTables) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTables) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha4.Table, err error)
- func (c *FakeTables) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha4.TableList, err error)
- func (c *FakeTables) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha4.Table, err error)
- func (c *FakeTables) Update(ctx context.Context, table *v1alpha4.Table, opts v1.UpdateOptions) (result *v1alpha4.Table, err error)
- func (c *FakeTables) UpdateStatus(ctx context.Context, table *v1alpha4.Table, opts v1.UpdateOptions) (*v1alpha4.Table, error)
- func (c *FakeTables) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeViews
- func (c *FakeViews) Create(ctx context.Context, view *v1alpha4.View, opts v1.CreateOptions) (result *v1alpha4.View, err error)
- func (c *FakeViews) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeViews) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeViews) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha4.View, err error)
- func (c *FakeViews) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha4.ViewList, err error)
- func (c *FakeViews) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha4.View, err error)
- func (c *FakeViews) Update(ctx context.Context, view *v1alpha4.View, opts v1.UpdateOptions) (result *v1alpha4.View, err error)
- func (c *FakeViews) UpdateStatus(ctx context.Context, view *v1alpha4.View, opts v1.UpdateOptions) (*v1alpha4.View, error)
- func (c *FakeViews) 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 FakeDataTypes ¶ added in v0.12.0
type FakeDataTypes struct { Fake *FakeSchemasV1alpha4 // contains filtered or unexported fields }
FakeDataTypes implements DataTypeInterface
func (*FakeDataTypes) Create ¶ added in v0.12.0
func (c *FakeDataTypes) Create(ctx context.Context, dataType *v1alpha4.DataType, opts v1.CreateOptions) (result *v1alpha4.DataType, err error)
Create takes the representation of a dataType and creates it. Returns the server's representation of the dataType, and an error, if there is any.
func (*FakeDataTypes) Delete ¶ added in v0.12.0
func (c *FakeDataTypes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dataType and deletes it. Returns an error if one occurs.
func (*FakeDataTypes) DeleteCollection ¶ added in v0.12.0
func (c *FakeDataTypes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDataTypes) Get ¶ added in v0.12.0
func (c *FakeDataTypes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha4.DataType, err error)
Get takes name of the dataType, and returns the corresponding dataType object, and an error if there is any.
func (*FakeDataTypes) List ¶ added in v0.12.0
func (c *FakeDataTypes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha4.DataTypeList, err error)
List takes label and field selectors, and returns the list of DataTypes that match those selectors.
func (*FakeDataTypes) Patch ¶ added in v0.12.0
func (c *FakeDataTypes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha4.DataType, err error)
Patch applies the patch and returns the patched dataType.
func (*FakeDataTypes) Update ¶ added in v0.12.0
func (c *FakeDataTypes) Update(ctx context.Context, dataType *v1alpha4.DataType, opts v1.UpdateOptions) (result *v1alpha4.DataType, err error)
Update takes the representation of a dataType and updates it. Returns the server's representation of the dataType, and an error, if there is any.
func (*FakeDataTypes) UpdateStatus ¶ added in v0.12.0
func (c *FakeDataTypes) UpdateStatus(ctx context.Context, dataType *v1alpha4.DataType, opts v1.UpdateOptions) (*v1alpha4.DataType, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDataTypes) Watch ¶ added in v0.12.0
func (c *FakeDataTypes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dataTypes.
type FakeMigrations ¶
type FakeMigrations struct { Fake *FakeSchemasV1alpha4 // contains filtered or unexported fields }
FakeMigrations implements MigrationInterface
func (*FakeMigrations) Create ¶
func (c *FakeMigrations) Create(ctx context.Context, migration *v1alpha4.Migration, opts v1.CreateOptions) (result *v1alpha4.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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMigrations) Get ¶
func (c *FakeMigrations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha4.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(ctx context.Context, opts v1.ListOptions) (result *v1alpha4.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha4.Migration, err error)
Patch applies the patch and returns the patched migration.
func (*FakeMigrations) Update ¶
func (c *FakeMigrations) Update(ctx context.Context, migration *v1alpha4.Migration, opts v1.UpdateOptions) (result *v1alpha4.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 ¶
func (c *FakeMigrations) UpdateStatus(ctx context.Context, migration *v1alpha4.Migration, opts v1.UpdateOptions) (*v1alpha4.Migration, error)
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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested migrations.
type FakeSchemasV1alpha4 ¶
func (*FakeSchemasV1alpha4) DataTypes ¶ added in v0.12.0
func (c *FakeSchemasV1alpha4) DataTypes(namespace string) v1alpha4.DataTypeInterface
func (*FakeSchemasV1alpha4) Migrations ¶
func (c *FakeSchemasV1alpha4) Migrations(namespace string) v1alpha4.MigrationInterface
func (*FakeSchemasV1alpha4) RESTClient ¶
func (c *FakeSchemasV1alpha4) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSchemasV1alpha4) Tables ¶
func (c *FakeSchemasV1alpha4) Tables(namespace string) v1alpha4.TableInterface
func (*FakeSchemasV1alpha4) Views ¶ added in v0.15.0
func (c *FakeSchemasV1alpha4) Views(namespace string) v1alpha4.ViewInterface
type FakeTables ¶
type FakeTables struct { Fake *FakeSchemasV1alpha4 // contains filtered or unexported fields }
FakeTables implements TableInterface
func (*FakeTables) Create ¶
func (c *FakeTables) Create(ctx context.Context, table *v1alpha4.Table, opts v1.CreateOptions) (result *v1alpha4.Table, err error)
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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTables) Get ¶
func (c *FakeTables) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha4.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(ctx context.Context, opts v1.ListOptions) (result *v1alpha4.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha4.Table, err error)
Patch applies the patch and returns the patched table.
func (*FakeTables) Update ¶
func (c *FakeTables) Update(ctx context.Context, table *v1alpha4.Table, opts v1.UpdateOptions) (result *v1alpha4.Table, err error)
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 ¶
func (c *FakeTables) UpdateStatus(ctx context.Context, table *v1alpha4.Table, opts v1.UpdateOptions) (*v1alpha4.Table, error)
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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tables.
type FakeViews ¶ added in v0.15.0
type FakeViews struct { Fake *FakeSchemasV1alpha4 // contains filtered or unexported fields }
FakeViews implements ViewInterface
func (*FakeViews) Create ¶ added in v0.15.0
func (c *FakeViews) Create(ctx context.Context, view *v1alpha4.View, opts v1.CreateOptions) (result *v1alpha4.View, err error)
Create takes the representation of a view and creates it. Returns the server's representation of the view, and an error, if there is any.
func (*FakeViews) Delete ¶ added in v0.15.0
Delete takes name of the view and deletes it. Returns an error if one occurs.
func (*FakeViews) DeleteCollection ¶ added in v0.15.0
func (c *FakeViews) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeViews) Get ¶ added in v0.15.0
func (c *FakeViews) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha4.View, err error)
Get takes name of the view, and returns the corresponding view object, and an error if there is any.
func (*FakeViews) List ¶ added in v0.15.0
func (c *FakeViews) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha4.ViewList, err error)
List takes label and field selectors, and returns the list of Views that match those selectors.
func (*FakeViews) Patch ¶ added in v0.15.0
func (c *FakeViews) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha4.View, err error)
Patch applies the patch and returns the patched view.
func (*FakeViews) Update ¶ added in v0.15.0
func (c *FakeViews) Update(ctx context.Context, view *v1alpha4.View, opts v1.UpdateOptions) (result *v1alpha4.View, err error)
Update takes the representation of a view and updates it. Returns the server's representation of the view, and an error, if there is any.
func (*FakeViews) UpdateStatus ¶ added in v0.15.0
func (c *FakeViews) UpdateStatus(ctx context.Context, view *v1alpha4.View, opts v1.UpdateOptions) (*v1alpha4.View, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().