Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMariaDBDatabases
- func (c *FakeMariaDBDatabases) Create(ctx context.Context, mariaDBDatabase *v1alpha1.MariaDBDatabase, ...) (result *v1alpha1.MariaDBDatabase, err error)
- func (c *FakeMariaDBDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMariaDBDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMariaDBDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MariaDBDatabase, err error)
- func (c *FakeMariaDBDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MariaDBDatabaseList, err error)
- func (c *FakeMariaDBDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MariaDBDatabase, err error)
- func (c *FakeMariaDBDatabases) Update(ctx context.Context, mariaDBDatabase *v1alpha1.MariaDBDatabase, ...) (result *v1alpha1.MariaDBDatabase, err error)
- func (c *FakeMariaDBDatabases) UpdateStatus(ctx context.Context, mariaDBDatabase *v1alpha1.MariaDBDatabase, ...) (*v1alpha1.MariaDBDatabase, error)
- func (c *FakeMariaDBDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMongoDBDatabases
- func (c *FakeMongoDBDatabases) Create(ctx context.Context, mongoDBDatabase *v1alpha1.MongoDBDatabase, ...) (result *v1alpha1.MongoDBDatabase, err error)
- func (c *FakeMongoDBDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMongoDBDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMongoDBDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MongoDBDatabase, err error)
- func (c *FakeMongoDBDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MongoDBDatabaseList, err error)
- func (c *FakeMongoDBDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MongoDBDatabase, err error)
- func (c *FakeMongoDBDatabases) Update(ctx context.Context, mongoDBDatabase *v1alpha1.MongoDBDatabase, ...) (result *v1alpha1.MongoDBDatabase, err error)
- func (c *FakeMongoDBDatabases) UpdateStatus(ctx context.Context, mongoDBDatabase *v1alpha1.MongoDBDatabase, ...) (*v1alpha1.MongoDBDatabase, error)
- func (c *FakeMongoDBDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMySQLDatabases
- func (c *FakeMySQLDatabases) Create(ctx context.Context, mySQLDatabase *v1alpha1.MySQLDatabase, ...) (result *v1alpha1.MySQLDatabase, err error)
- func (c *FakeMySQLDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMySQLDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMySQLDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MySQLDatabase, err error)
- func (c *FakeMySQLDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MySQLDatabaseList, err error)
- func (c *FakeMySQLDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MySQLDatabase, err error)
- func (c *FakeMySQLDatabases) Update(ctx context.Context, mySQLDatabase *v1alpha1.MySQLDatabase, ...) (result *v1alpha1.MySQLDatabase, err error)
- func (c *FakeMySQLDatabases) UpdateStatus(ctx context.Context, mySQLDatabase *v1alpha1.MySQLDatabase, ...) (*v1alpha1.MySQLDatabase, error)
- func (c *FakeMySQLDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePostgresDatabases
- func (c *FakePostgresDatabases) Create(ctx context.Context, postgresDatabase *v1alpha1.PostgresDatabase, ...) (result *v1alpha1.PostgresDatabase, err error)
- func (c *FakePostgresDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePostgresDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePostgresDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PostgresDatabase, err error)
- func (c *FakePostgresDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PostgresDatabaseList, err error)
- func (c *FakePostgresDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PostgresDatabase, err error)
- func (c *FakePostgresDatabases) Update(ctx context.Context, postgresDatabase *v1alpha1.PostgresDatabase, ...) (result *v1alpha1.PostgresDatabase, err error)
- func (c *FakePostgresDatabases) UpdateStatus(ctx context.Context, postgresDatabase *v1alpha1.PostgresDatabase, ...) (*v1alpha1.PostgresDatabase, error)
- func (c *FakePostgresDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSchemaV1alpha1
- func (c *FakeSchemaV1alpha1) MariaDBDatabases(namespace string) v1alpha1.MariaDBDatabaseInterface
- func (c *FakeSchemaV1alpha1) MongoDBDatabases(namespace string) v1alpha1.MongoDBDatabaseInterface
- func (c *FakeSchemaV1alpha1) MySQLDatabases(namespace string) v1alpha1.MySQLDatabaseInterface
- func (c *FakeSchemaV1alpha1) PostgresDatabases(namespace string) v1alpha1.PostgresDatabaseInterface
- func (c *FakeSchemaV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMariaDBDatabases ¶
type FakeMariaDBDatabases struct { Fake *FakeSchemaV1alpha1 // contains filtered or unexported fields }
FakeMariaDBDatabases implements MariaDBDatabaseInterface
func (*FakeMariaDBDatabases) Create ¶
func (c *FakeMariaDBDatabases) Create(ctx context.Context, mariaDBDatabase *v1alpha1.MariaDBDatabase, opts v1.CreateOptions) (result *v1alpha1.MariaDBDatabase, err error)
Create takes the representation of a mariaDBDatabase and creates it. Returns the server's representation of the mariaDBDatabase, and an error, if there is any.
func (*FakeMariaDBDatabases) Delete ¶
func (c *FakeMariaDBDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the mariaDBDatabase and deletes it. Returns an error if one occurs.
func (*FakeMariaDBDatabases) DeleteCollection ¶
func (c *FakeMariaDBDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMariaDBDatabases) Get ¶
func (c *FakeMariaDBDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MariaDBDatabase, err error)
Get takes name of the mariaDBDatabase, and returns the corresponding mariaDBDatabase object, and an error if there is any.
func (*FakeMariaDBDatabases) List ¶
func (c *FakeMariaDBDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MariaDBDatabaseList, err error)
List takes label and field selectors, and returns the list of MariaDBDatabases that match those selectors.
func (*FakeMariaDBDatabases) Patch ¶
func (c *FakeMariaDBDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MariaDBDatabase, err error)
Patch applies the patch and returns the patched mariaDBDatabase.
func (*FakeMariaDBDatabases) Update ¶
func (c *FakeMariaDBDatabases) Update(ctx context.Context, mariaDBDatabase *v1alpha1.MariaDBDatabase, opts v1.UpdateOptions) (result *v1alpha1.MariaDBDatabase, err error)
Update takes the representation of a mariaDBDatabase and updates it. Returns the server's representation of the mariaDBDatabase, and an error, if there is any.
func (*FakeMariaDBDatabases) UpdateStatus ¶
func (c *FakeMariaDBDatabases) UpdateStatus(ctx context.Context, mariaDBDatabase *v1alpha1.MariaDBDatabase, opts v1.UpdateOptions) (*v1alpha1.MariaDBDatabase, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMariaDBDatabases) Watch ¶
func (c *FakeMariaDBDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mariaDBDatabases.
type FakeMongoDBDatabases ¶
type FakeMongoDBDatabases struct { Fake *FakeSchemaV1alpha1 // contains filtered or unexported fields }
FakeMongoDBDatabases implements MongoDBDatabaseInterface
func (*FakeMongoDBDatabases) Create ¶
func (c *FakeMongoDBDatabases) Create(ctx context.Context, mongoDBDatabase *v1alpha1.MongoDBDatabase, opts v1.CreateOptions) (result *v1alpha1.MongoDBDatabase, err error)
Create takes the representation of a mongoDBDatabase and creates it. Returns the server's representation of the mongoDBDatabase, and an error, if there is any.
func (*FakeMongoDBDatabases) Delete ¶
func (c *FakeMongoDBDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the mongoDBDatabase and deletes it. Returns an error if one occurs.
func (*FakeMongoDBDatabases) DeleteCollection ¶
func (c *FakeMongoDBDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMongoDBDatabases) Get ¶
func (c *FakeMongoDBDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MongoDBDatabase, err error)
Get takes name of the mongoDBDatabase, and returns the corresponding mongoDBDatabase object, and an error if there is any.
func (*FakeMongoDBDatabases) List ¶
func (c *FakeMongoDBDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MongoDBDatabaseList, err error)
List takes label and field selectors, and returns the list of MongoDBDatabases that match those selectors.
func (*FakeMongoDBDatabases) Patch ¶
func (c *FakeMongoDBDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MongoDBDatabase, err error)
Patch applies the patch and returns the patched mongoDBDatabase.
func (*FakeMongoDBDatabases) Update ¶
func (c *FakeMongoDBDatabases) Update(ctx context.Context, mongoDBDatabase *v1alpha1.MongoDBDatabase, opts v1.UpdateOptions) (result *v1alpha1.MongoDBDatabase, err error)
Update takes the representation of a mongoDBDatabase and updates it. Returns the server's representation of the mongoDBDatabase, and an error, if there is any.
func (*FakeMongoDBDatabases) UpdateStatus ¶
func (c *FakeMongoDBDatabases) UpdateStatus(ctx context.Context, mongoDBDatabase *v1alpha1.MongoDBDatabase, opts v1.UpdateOptions) (*v1alpha1.MongoDBDatabase, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMongoDBDatabases) Watch ¶
func (c *FakeMongoDBDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mongoDBDatabases.
type FakeMySQLDatabases ¶
type FakeMySQLDatabases struct { Fake *FakeSchemaV1alpha1 // contains filtered or unexported fields }
FakeMySQLDatabases implements MySQLDatabaseInterface
func (*FakeMySQLDatabases) Create ¶
func (c *FakeMySQLDatabases) Create(ctx context.Context, mySQLDatabase *v1alpha1.MySQLDatabase, opts v1.CreateOptions) (result *v1alpha1.MySQLDatabase, err error)
Create takes the representation of a mySQLDatabase and creates it. Returns the server's representation of the mySQLDatabase, and an error, if there is any.
func (*FakeMySQLDatabases) Delete ¶
func (c *FakeMySQLDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the mySQLDatabase and deletes it. Returns an error if one occurs.
func (*FakeMySQLDatabases) DeleteCollection ¶
func (c *FakeMySQLDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMySQLDatabases) Get ¶
func (c *FakeMySQLDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MySQLDatabase, err error)
Get takes name of the mySQLDatabase, and returns the corresponding mySQLDatabase object, and an error if there is any.
func (*FakeMySQLDatabases) List ¶
func (c *FakeMySQLDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MySQLDatabaseList, err error)
List takes label and field selectors, and returns the list of MySQLDatabases that match those selectors.
func (*FakeMySQLDatabases) Patch ¶
func (c *FakeMySQLDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MySQLDatabase, err error)
Patch applies the patch and returns the patched mySQLDatabase.
func (*FakeMySQLDatabases) Update ¶
func (c *FakeMySQLDatabases) Update(ctx context.Context, mySQLDatabase *v1alpha1.MySQLDatabase, opts v1.UpdateOptions) (result *v1alpha1.MySQLDatabase, err error)
Update takes the representation of a mySQLDatabase and updates it. Returns the server's representation of the mySQLDatabase, and an error, if there is any.
func (*FakeMySQLDatabases) UpdateStatus ¶
func (c *FakeMySQLDatabases) UpdateStatus(ctx context.Context, mySQLDatabase *v1alpha1.MySQLDatabase, opts v1.UpdateOptions) (*v1alpha1.MySQLDatabase, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMySQLDatabases) Watch ¶
func (c *FakeMySQLDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mySQLDatabases.
type FakePostgresDatabases ¶
type FakePostgresDatabases struct { Fake *FakeSchemaV1alpha1 // contains filtered or unexported fields }
FakePostgresDatabases implements PostgresDatabaseInterface
func (*FakePostgresDatabases) Create ¶
func (c *FakePostgresDatabases) Create(ctx context.Context, postgresDatabase *v1alpha1.PostgresDatabase, opts v1.CreateOptions) (result *v1alpha1.PostgresDatabase, err error)
Create takes the representation of a postgresDatabase and creates it. Returns the server's representation of the postgresDatabase, and an error, if there is any.
func (*FakePostgresDatabases) Delete ¶
func (c *FakePostgresDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the postgresDatabase and deletes it. Returns an error if one occurs.
func (*FakePostgresDatabases) DeleteCollection ¶
func (c *FakePostgresDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePostgresDatabases) Get ¶
func (c *FakePostgresDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PostgresDatabase, err error)
Get takes name of the postgresDatabase, and returns the corresponding postgresDatabase object, and an error if there is any.
func (*FakePostgresDatabases) List ¶
func (c *FakePostgresDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PostgresDatabaseList, err error)
List takes label and field selectors, and returns the list of PostgresDatabases that match those selectors.
func (*FakePostgresDatabases) Patch ¶
func (c *FakePostgresDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PostgresDatabase, err error)
Patch applies the patch and returns the patched postgresDatabase.
func (*FakePostgresDatabases) Update ¶
func (c *FakePostgresDatabases) Update(ctx context.Context, postgresDatabase *v1alpha1.PostgresDatabase, opts v1.UpdateOptions) (result *v1alpha1.PostgresDatabase, err error)
Update takes the representation of a postgresDatabase and updates it. Returns the server's representation of the postgresDatabase, and an error, if there is any.
func (*FakePostgresDatabases) UpdateStatus ¶
func (c *FakePostgresDatabases) UpdateStatus(ctx context.Context, postgresDatabase *v1alpha1.PostgresDatabase, opts v1.UpdateOptions) (*v1alpha1.PostgresDatabase, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePostgresDatabases) Watch ¶
func (c *FakePostgresDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested postgresDatabases.
type FakeSchemaV1alpha1 ¶
func (*FakeSchemaV1alpha1) MariaDBDatabases ¶
func (c *FakeSchemaV1alpha1) MariaDBDatabases(namespace string) v1alpha1.MariaDBDatabaseInterface
func (*FakeSchemaV1alpha1) MongoDBDatabases ¶
func (c *FakeSchemaV1alpha1) MongoDBDatabases(namespace string) v1alpha1.MongoDBDatabaseInterface
func (*FakeSchemaV1alpha1) MySQLDatabases ¶
func (c *FakeSchemaV1alpha1) MySQLDatabases(namespace string) v1alpha1.MySQLDatabaseInterface
func (*FakeSchemaV1alpha1) PostgresDatabases ¶
func (c *FakeSchemaV1alpha1) PostgresDatabases(namespace string) v1alpha1.PostgresDatabaseInterface
func (*FakeSchemaV1alpha1) RESTClient ¶
func (c *FakeSchemaV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.