Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeArchiverV1alpha1
- func (c *FakeArchiverV1alpha1) MariaDBArchivers(namespace string) v1alpha1.MariaDBArchiverInterface
- func (c *FakeArchiverV1alpha1) MongoDBArchivers(namespace string) v1alpha1.MongoDBArchiverInterface
- func (c *FakeArchiverV1alpha1) MySQLArchivers(namespace string) v1alpha1.MySQLArchiverInterface
- func (c *FakeArchiverV1alpha1) PostgresArchivers(namespace string) v1alpha1.PostgresArchiverInterface
- func (c *FakeArchiverV1alpha1) RESTClient() rest.Interface
- type FakeMariaDBArchivers
- func (c *FakeMariaDBArchivers) Create(ctx context.Context, mariaDBArchiver *v1alpha1.MariaDBArchiver, ...) (result *v1alpha1.MariaDBArchiver, err error)
- func (c *FakeMariaDBArchivers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMariaDBArchivers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMariaDBArchivers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MariaDBArchiver, err error)
- func (c *FakeMariaDBArchivers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MariaDBArchiverList, err error)
- func (c *FakeMariaDBArchivers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MariaDBArchiver, err error)
- func (c *FakeMariaDBArchivers) Update(ctx context.Context, mariaDBArchiver *v1alpha1.MariaDBArchiver, ...) (result *v1alpha1.MariaDBArchiver, err error)
- func (c *FakeMariaDBArchivers) UpdateStatus(ctx context.Context, mariaDBArchiver *v1alpha1.MariaDBArchiver, ...) (*v1alpha1.MariaDBArchiver, error)
- func (c *FakeMariaDBArchivers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMongoDBArchivers
- func (c *FakeMongoDBArchivers) Create(ctx context.Context, mongoDBArchiver *v1alpha1.MongoDBArchiver, ...) (result *v1alpha1.MongoDBArchiver, err error)
- func (c *FakeMongoDBArchivers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMongoDBArchivers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMongoDBArchivers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MongoDBArchiver, err error)
- func (c *FakeMongoDBArchivers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MongoDBArchiverList, err error)
- func (c *FakeMongoDBArchivers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MongoDBArchiver, err error)
- func (c *FakeMongoDBArchivers) Update(ctx context.Context, mongoDBArchiver *v1alpha1.MongoDBArchiver, ...) (result *v1alpha1.MongoDBArchiver, err error)
- func (c *FakeMongoDBArchivers) UpdateStatus(ctx context.Context, mongoDBArchiver *v1alpha1.MongoDBArchiver, ...) (*v1alpha1.MongoDBArchiver, error)
- func (c *FakeMongoDBArchivers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMySQLArchivers
- func (c *FakeMySQLArchivers) Create(ctx context.Context, mySQLArchiver *v1alpha1.MySQLArchiver, ...) (result *v1alpha1.MySQLArchiver, err error)
- func (c *FakeMySQLArchivers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMySQLArchivers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMySQLArchivers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MySQLArchiver, err error)
- func (c *FakeMySQLArchivers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MySQLArchiverList, err error)
- func (c *FakeMySQLArchivers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MySQLArchiver, err error)
- func (c *FakeMySQLArchivers) Update(ctx context.Context, mySQLArchiver *v1alpha1.MySQLArchiver, ...) (result *v1alpha1.MySQLArchiver, err error)
- func (c *FakeMySQLArchivers) UpdateStatus(ctx context.Context, mySQLArchiver *v1alpha1.MySQLArchiver, ...) (*v1alpha1.MySQLArchiver, error)
- func (c *FakeMySQLArchivers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePostgresArchivers
- func (c *FakePostgresArchivers) Create(ctx context.Context, postgresArchiver *v1alpha1.PostgresArchiver, ...) (result *v1alpha1.PostgresArchiver, err error)
- func (c *FakePostgresArchivers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePostgresArchivers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePostgresArchivers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PostgresArchiver, err error)
- func (c *FakePostgresArchivers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PostgresArchiverList, err error)
- func (c *FakePostgresArchivers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PostgresArchiver, err error)
- func (c *FakePostgresArchivers) Update(ctx context.Context, postgresArchiver *v1alpha1.PostgresArchiver, ...) (result *v1alpha1.PostgresArchiver, err error)
- func (c *FakePostgresArchivers) UpdateStatus(ctx context.Context, postgresArchiver *v1alpha1.PostgresArchiver, ...) (*v1alpha1.PostgresArchiver, error)
- func (c *FakePostgresArchivers) 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 FakeArchiverV1alpha1 ¶
func (*FakeArchiverV1alpha1) MariaDBArchivers ¶ added in v0.44.0
func (c *FakeArchiverV1alpha1) MariaDBArchivers(namespace string) v1alpha1.MariaDBArchiverInterface
func (*FakeArchiverV1alpha1) MongoDBArchivers ¶
func (c *FakeArchiverV1alpha1) MongoDBArchivers(namespace string) v1alpha1.MongoDBArchiverInterface
func (*FakeArchiverV1alpha1) MySQLArchivers ¶ added in v0.40.0
func (c *FakeArchiverV1alpha1) MySQLArchivers(namespace string) v1alpha1.MySQLArchiverInterface
func (*FakeArchiverV1alpha1) PostgresArchivers ¶
func (c *FakeArchiverV1alpha1) PostgresArchivers(namespace string) v1alpha1.PostgresArchiverInterface
func (*FakeArchiverV1alpha1) RESTClient ¶
func (c *FakeArchiverV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeMariaDBArchivers ¶ added in v0.44.0
type FakeMariaDBArchivers struct { Fake *FakeArchiverV1alpha1 // contains filtered or unexported fields }
FakeMariaDBArchivers implements MariaDBArchiverInterface
func (*FakeMariaDBArchivers) Create ¶ added in v0.44.0
func (c *FakeMariaDBArchivers) Create(ctx context.Context, mariaDBArchiver *v1alpha1.MariaDBArchiver, opts v1.CreateOptions) (result *v1alpha1.MariaDBArchiver, err error)
Create takes the representation of a mariaDBArchiver and creates it. Returns the server's representation of the mariaDBArchiver, and an error, if there is any.
func (*FakeMariaDBArchivers) Delete ¶ added in v0.44.0
func (c *FakeMariaDBArchivers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the mariaDBArchiver and deletes it. Returns an error if one occurs.
func (*FakeMariaDBArchivers) DeleteCollection ¶ added in v0.44.0
func (c *FakeMariaDBArchivers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMariaDBArchivers) Get ¶ added in v0.44.0
func (c *FakeMariaDBArchivers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MariaDBArchiver, err error)
Get takes name of the mariaDBArchiver, and returns the corresponding mariaDBArchiver object, and an error if there is any.
func (*FakeMariaDBArchivers) List ¶ added in v0.44.0
func (c *FakeMariaDBArchivers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MariaDBArchiverList, err error)
List takes label and field selectors, and returns the list of MariaDBArchivers that match those selectors.
func (*FakeMariaDBArchivers) Patch ¶ added in v0.44.0
func (c *FakeMariaDBArchivers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MariaDBArchiver, err error)
Patch applies the patch and returns the patched mariaDBArchiver.
func (*FakeMariaDBArchivers) Update ¶ added in v0.44.0
func (c *FakeMariaDBArchivers) Update(ctx context.Context, mariaDBArchiver *v1alpha1.MariaDBArchiver, opts v1.UpdateOptions) (result *v1alpha1.MariaDBArchiver, err error)
Update takes the representation of a mariaDBArchiver and updates it. Returns the server's representation of the mariaDBArchiver, and an error, if there is any.
func (*FakeMariaDBArchivers) UpdateStatus ¶ added in v0.44.0
func (c *FakeMariaDBArchivers) UpdateStatus(ctx context.Context, mariaDBArchiver *v1alpha1.MariaDBArchiver, opts v1.UpdateOptions) (*v1alpha1.MariaDBArchiver, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMariaDBArchivers) Watch ¶ added in v0.44.0
func (c *FakeMariaDBArchivers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mariaDBArchivers.
type FakeMongoDBArchivers ¶
type FakeMongoDBArchivers struct { Fake *FakeArchiverV1alpha1 // contains filtered or unexported fields }
FakeMongoDBArchivers implements MongoDBArchiverInterface
func (*FakeMongoDBArchivers) Create ¶
func (c *FakeMongoDBArchivers) Create(ctx context.Context, mongoDBArchiver *v1alpha1.MongoDBArchiver, opts v1.CreateOptions) (result *v1alpha1.MongoDBArchiver, err error)
Create takes the representation of a mongoDBArchiver and creates it. Returns the server's representation of the mongoDBArchiver, and an error, if there is any.
func (*FakeMongoDBArchivers) Delete ¶
func (c *FakeMongoDBArchivers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the mongoDBArchiver and deletes it. Returns an error if one occurs.
func (*FakeMongoDBArchivers) DeleteCollection ¶
func (c *FakeMongoDBArchivers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMongoDBArchivers) Get ¶
func (c *FakeMongoDBArchivers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MongoDBArchiver, err error)
Get takes name of the mongoDBArchiver, and returns the corresponding mongoDBArchiver object, and an error if there is any.
func (*FakeMongoDBArchivers) List ¶
func (c *FakeMongoDBArchivers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MongoDBArchiverList, err error)
List takes label and field selectors, and returns the list of MongoDBArchivers that match those selectors.
func (*FakeMongoDBArchivers) Patch ¶
func (c *FakeMongoDBArchivers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MongoDBArchiver, err error)
Patch applies the patch and returns the patched mongoDBArchiver.
func (*FakeMongoDBArchivers) Update ¶
func (c *FakeMongoDBArchivers) Update(ctx context.Context, mongoDBArchiver *v1alpha1.MongoDBArchiver, opts v1.UpdateOptions) (result *v1alpha1.MongoDBArchiver, err error)
Update takes the representation of a mongoDBArchiver and updates it. Returns the server's representation of the mongoDBArchiver, and an error, if there is any.
func (*FakeMongoDBArchivers) UpdateStatus ¶
func (c *FakeMongoDBArchivers) UpdateStatus(ctx context.Context, mongoDBArchiver *v1alpha1.MongoDBArchiver, opts v1.UpdateOptions) (*v1alpha1.MongoDBArchiver, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMongoDBArchivers) Watch ¶
func (c *FakeMongoDBArchivers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mongoDBArchivers.
type FakeMySQLArchivers ¶ added in v0.40.0
type FakeMySQLArchivers struct { Fake *FakeArchiverV1alpha1 // contains filtered or unexported fields }
FakeMySQLArchivers implements MySQLArchiverInterface
func (*FakeMySQLArchivers) Create ¶ added in v0.40.0
func (c *FakeMySQLArchivers) Create(ctx context.Context, mySQLArchiver *v1alpha1.MySQLArchiver, opts v1.CreateOptions) (result *v1alpha1.MySQLArchiver, err error)
Create takes the representation of a mySQLArchiver and creates it. Returns the server's representation of the mySQLArchiver, and an error, if there is any.
func (*FakeMySQLArchivers) Delete ¶ added in v0.40.0
func (c *FakeMySQLArchivers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the mySQLArchiver and deletes it. Returns an error if one occurs.
func (*FakeMySQLArchivers) DeleteCollection ¶ added in v0.40.0
func (c *FakeMySQLArchivers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMySQLArchivers) Get ¶ added in v0.40.0
func (c *FakeMySQLArchivers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MySQLArchiver, err error)
Get takes name of the mySQLArchiver, and returns the corresponding mySQLArchiver object, and an error if there is any.
func (*FakeMySQLArchivers) List ¶ added in v0.40.0
func (c *FakeMySQLArchivers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MySQLArchiverList, err error)
List takes label and field selectors, and returns the list of MySQLArchivers that match those selectors.
func (*FakeMySQLArchivers) Patch ¶ added in v0.40.0
func (c *FakeMySQLArchivers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MySQLArchiver, err error)
Patch applies the patch and returns the patched mySQLArchiver.
func (*FakeMySQLArchivers) Update ¶ added in v0.40.0
func (c *FakeMySQLArchivers) Update(ctx context.Context, mySQLArchiver *v1alpha1.MySQLArchiver, opts v1.UpdateOptions) (result *v1alpha1.MySQLArchiver, err error)
Update takes the representation of a mySQLArchiver and updates it. Returns the server's representation of the mySQLArchiver, and an error, if there is any.
func (*FakeMySQLArchivers) UpdateStatus ¶ added in v0.40.0
func (c *FakeMySQLArchivers) UpdateStatus(ctx context.Context, mySQLArchiver *v1alpha1.MySQLArchiver, opts v1.UpdateOptions) (*v1alpha1.MySQLArchiver, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMySQLArchivers) Watch ¶ added in v0.40.0
func (c *FakeMySQLArchivers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mySQLArchivers.
type FakePostgresArchivers ¶
type FakePostgresArchivers struct { Fake *FakeArchiverV1alpha1 // contains filtered or unexported fields }
FakePostgresArchivers implements PostgresArchiverInterface
func (*FakePostgresArchivers) Create ¶
func (c *FakePostgresArchivers) Create(ctx context.Context, postgresArchiver *v1alpha1.PostgresArchiver, opts v1.CreateOptions) (result *v1alpha1.PostgresArchiver, err error)
Create takes the representation of a postgresArchiver and creates it. Returns the server's representation of the postgresArchiver, and an error, if there is any.
func (*FakePostgresArchivers) Delete ¶
func (c *FakePostgresArchivers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the postgresArchiver and deletes it. Returns an error if one occurs.
func (*FakePostgresArchivers) DeleteCollection ¶
func (c *FakePostgresArchivers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePostgresArchivers) Get ¶
func (c *FakePostgresArchivers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PostgresArchiver, err error)
Get takes name of the postgresArchiver, and returns the corresponding postgresArchiver object, and an error if there is any.
func (*FakePostgresArchivers) List ¶
func (c *FakePostgresArchivers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PostgresArchiverList, err error)
List takes label and field selectors, and returns the list of PostgresArchivers that match those selectors.
func (*FakePostgresArchivers) Patch ¶
func (c *FakePostgresArchivers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PostgresArchiver, err error)
Patch applies the patch and returns the patched postgresArchiver.
func (*FakePostgresArchivers) Update ¶
func (c *FakePostgresArchivers) Update(ctx context.Context, postgresArchiver *v1alpha1.PostgresArchiver, opts v1.UpdateOptions) (result *v1alpha1.PostgresArchiver, err error)
Update takes the representation of a postgresArchiver and updates it. Returns the server's representation of the postgresArchiver, and an error, if there is any.
func (*FakePostgresArchivers) UpdateStatus ¶
func (c *FakePostgresArchivers) UpdateStatus(ctx context.Context, postgresArchiver *v1alpha1.PostgresArchiver, opts v1.UpdateOptions) (*v1alpha1.PostgresArchiver, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePostgresArchivers) Watch ¶
func (c *FakePostgresArchivers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested postgresArchivers.