apimachinery: kubedb.dev/apimachinery/client/clientset/versioned/typed/kubedb/v1alpha1/fake Index | Files

package fake

import "kubedb.dev/apimachinery/client/clientset/versioned/typed/kubedb/v1alpha1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_elasticsearch.go fake_etcd.go fake_kubedb_client.go fake_mariadb.go fake_memcached.go fake_mongodb.go fake_mysql.go fake_perconaxtradb.go fake_pgbouncer.go fake_postgres.go fake_proxysql.go fake_redis.go

type FakeElasticsearches Uses

type FakeElasticsearches struct {
    Fake *FakeKubedbV1alpha1
    // contains filtered or unexported fields
}

FakeElasticsearches implements ElasticsearchInterface

func (*FakeElasticsearches) Create Uses

func (c *FakeElasticsearches) Create(ctx context.Context, elasticsearch *v1alpha1.Elasticsearch, opts v1.CreateOptions) (result *v1alpha1.Elasticsearch, err error)

Create takes the representation of a elasticsearch and creates it. Returns the server's representation of the elasticsearch, and an error, if there is any.

func (*FakeElasticsearches) Delete Uses

func (c *FakeElasticsearches) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the elasticsearch and deletes it. Returns an error if one occurs.

func (*FakeElasticsearches) DeleteCollection Uses

func (c *FakeElasticsearches) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeElasticsearches) Get Uses

func (c *FakeElasticsearches) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Elasticsearch, err error)

Get takes name of the elasticsearch, and returns the corresponding elasticsearch object, and an error if there is any.

func (*FakeElasticsearches) List Uses

func (c *FakeElasticsearches) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ElasticsearchList, err error)

List takes label and field selectors, and returns the list of Elasticsearches that match those selectors.

func (*FakeElasticsearches) Patch Uses

func (c *FakeElasticsearches) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Elasticsearch, err error)

Patch applies the patch and returns the patched elasticsearch.

func (*FakeElasticsearches) Update Uses

func (c *FakeElasticsearches) Update(ctx context.Context, elasticsearch *v1alpha1.Elasticsearch, opts v1.UpdateOptions) (result *v1alpha1.Elasticsearch, err error)

Update takes the representation of a elasticsearch and updates it. Returns the server's representation of the elasticsearch, and an error, if there is any.

func (*FakeElasticsearches) UpdateStatus Uses

func (c *FakeElasticsearches) UpdateStatus(ctx context.Context, elasticsearch *v1alpha1.Elasticsearch, opts v1.UpdateOptions) (*v1alpha1.Elasticsearch, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeElasticsearches) Watch Uses

func (c *FakeElasticsearches) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested elasticsearches.

type FakeEtcds Uses

type FakeEtcds struct {
    Fake *FakeKubedbV1alpha1
    // contains filtered or unexported fields
}

FakeEtcds implements EtcdInterface

func (*FakeEtcds) Create Uses

func (c *FakeEtcds) Create(ctx context.Context, etcd *v1alpha1.Etcd, opts v1.CreateOptions) (result *v1alpha1.Etcd, err error)

Create takes the representation of a etcd and creates it. Returns the server's representation of the etcd, and an error, if there is any.

func (*FakeEtcds) Delete Uses

func (c *FakeEtcds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the etcd and deletes it. Returns an error if one occurs.

func (*FakeEtcds) DeleteCollection Uses

func (c *FakeEtcds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEtcds) Get Uses

func (c *FakeEtcds) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Etcd, err error)

Get takes name of the etcd, and returns the corresponding etcd object, and an error if there is any.

func (*FakeEtcds) List Uses

func (c *FakeEtcds) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EtcdList, err error)

List takes label and field selectors, and returns the list of Etcds that match those selectors.

func (*FakeEtcds) Patch Uses

func (c *FakeEtcds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Etcd, err error)

Patch applies the patch and returns the patched etcd.

func (*FakeEtcds) Update Uses

func (c *FakeEtcds) Update(ctx context.Context, etcd *v1alpha1.Etcd, opts v1.UpdateOptions) (result *v1alpha1.Etcd, err error)

Update takes the representation of a etcd and updates it. Returns the server's representation of the etcd, and an error, if there is any.

func (*FakeEtcds) UpdateStatus Uses

func (c *FakeEtcds) UpdateStatus(ctx context.Context, etcd *v1alpha1.Etcd, opts v1.UpdateOptions) (*v1alpha1.Etcd, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEtcds) Watch Uses

func (c *FakeEtcds) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested etcds.

type FakeKubedbV1alpha1 Uses

type FakeKubedbV1alpha1 struct {
    *testing.Fake
}

func (*FakeKubedbV1alpha1) Elasticsearches Uses

func (c *FakeKubedbV1alpha1) Elasticsearches(namespace string) v1alpha1.ElasticsearchInterface

func (*FakeKubedbV1alpha1) Etcds Uses

func (c *FakeKubedbV1alpha1) Etcds(namespace string) v1alpha1.EtcdInterface

func (*FakeKubedbV1alpha1) MariaDBs Uses

func (c *FakeKubedbV1alpha1) MariaDBs(namespace string) v1alpha1.MariaDBInterface

func (*FakeKubedbV1alpha1) Memcacheds Uses

func (c *FakeKubedbV1alpha1) Memcacheds(namespace string) v1alpha1.MemcachedInterface

func (*FakeKubedbV1alpha1) MongoDBs Uses

func (c *FakeKubedbV1alpha1) MongoDBs(namespace string) v1alpha1.MongoDBInterface

func (*FakeKubedbV1alpha1) MySQLs Uses

func (c *FakeKubedbV1alpha1) MySQLs(namespace string) v1alpha1.MySQLInterface

func (*FakeKubedbV1alpha1) PerconaXtraDBs Uses

func (c *FakeKubedbV1alpha1) PerconaXtraDBs(namespace string) v1alpha1.PerconaXtraDBInterface

func (*FakeKubedbV1alpha1) PgBouncers Uses

func (c *FakeKubedbV1alpha1) PgBouncers(namespace string) v1alpha1.PgBouncerInterface

func (*FakeKubedbV1alpha1) Postgreses Uses

func (c *FakeKubedbV1alpha1) Postgreses(namespace string) v1alpha1.PostgresInterface

func (*FakeKubedbV1alpha1) ProxySQLs Uses

func (c *FakeKubedbV1alpha1) ProxySQLs(namespace string) v1alpha1.ProxySQLInterface

func (*FakeKubedbV1alpha1) RESTClient Uses

func (c *FakeKubedbV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeKubedbV1alpha1) Redises Uses

func (c *FakeKubedbV1alpha1) Redises(namespace string) v1alpha1.RedisInterface

type FakeMariaDBs Uses

type FakeMariaDBs struct {
    Fake *FakeKubedbV1alpha1
    // contains filtered or unexported fields
}

FakeMariaDBs implements MariaDBInterface

func (*FakeMariaDBs) Create Uses

func (c *FakeMariaDBs) Create(ctx context.Context, mariaDB *v1alpha1.MariaDB, opts v1.CreateOptions) (result *v1alpha1.MariaDB, err error)

Create takes the representation of a mariaDB and creates it. Returns the server's representation of the mariaDB, and an error, if there is any.

func (*FakeMariaDBs) Delete Uses

func (c *FakeMariaDBs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the mariaDB and deletes it. Returns an error if one occurs.

func (*FakeMariaDBs) DeleteCollection Uses

func (c *FakeMariaDBs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeMariaDBs) Get Uses

func (c *FakeMariaDBs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MariaDB, err error)

Get takes name of the mariaDB, and returns the corresponding mariaDB object, and an error if there is any.

func (*FakeMariaDBs) List Uses

func (c *FakeMariaDBs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MariaDBList, err error)

List takes label and field selectors, and returns the list of MariaDBs that match those selectors.

func (*FakeMariaDBs) Patch Uses

func (c *FakeMariaDBs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MariaDB, err error)

Patch applies the patch and returns the patched mariaDB.

func (*FakeMariaDBs) Update Uses

func (c *FakeMariaDBs) Update(ctx context.Context, mariaDB *v1alpha1.MariaDB, opts v1.UpdateOptions) (result *v1alpha1.MariaDB, err error)

Update takes the representation of a mariaDB and updates it. Returns the server's representation of the mariaDB, and an error, if there is any.

func (*FakeMariaDBs) UpdateStatus Uses

func (c *FakeMariaDBs) UpdateStatus(ctx context.Context, mariaDB *v1alpha1.MariaDB, opts v1.UpdateOptions) (*v1alpha1.MariaDB, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeMariaDBs) Watch Uses

func (c *FakeMariaDBs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested mariaDBs.

type FakeMemcacheds Uses

type FakeMemcacheds struct {
    Fake *FakeKubedbV1alpha1
    // contains filtered or unexported fields
}

FakeMemcacheds implements MemcachedInterface

func (*FakeMemcacheds) Create Uses

func (c *FakeMemcacheds) Create(ctx context.Context, memcached *v1alpha1.Memcached, opts v1.CreateOptions) (result *v1alpha1.Memcached, err error)

Create takes the representation of a memcached and creates it. Returns the server's representation of the memcached, and an error, if there is any.

func (*FakeMemcacheds) Delete Uses

func (c *FakeMemcacheds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the memcached and deletes it. Returns an error if one occurs.

func (*FakeMemcacheds) DeleteCollection Uses

func (c *FakeMemcacheds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeMemcacheds) Get Uses

func (c *FakeMemcacheds) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Memcached, err error)

Get takes name of the memcached, and returns the corresponding memcached object, and an error if there is any.

func (*FakeMemcacheds) List Uses

func (c *FakeMemcacheds) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MemcachedList, err error)

List takes label and field selectors, and returns the list of Memcacheds that match those selectors.

func (*FakeMemcacheds) Patch Uses

func (c *FakeMemcacheds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Memcached, err error)

Patch applies the patch and returns the patched memcached.

func (*FakeMemcacheds) Update Uses

func (c *FakeMemcacheds) Update(ctx context.Context, memcached *v1alpha1.Memcached, opts v1.UpdateOptions) (result *v1alpha1.Memcached, err error)

Update takes the representation of a memcached and updates it. Returns the server's representation of the memcached, and an error, if there is any.

func (*FakeMemcacheds) UpdateStatus Uses

func (c *FakeMemcacheds) UpdateStatus(ctx context.Context, memcached *v1alpha1.Memcached, opts v1.UpdateOptions) (*v1alpha1.Memcached, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeMemcacheds) Watch Uses

func (c *FakeMemcacheds) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested memcacheds.

type FakeMongoDBs Uses

type FakeMongoDBs struct {
    Fake *FakeKubedbV1alpha1
    // contains filtered or unexported fields
}

FakeMongoDBs implements MongoDBInterface

func (*FakeMongoDBs) Create Uses

func (c *FakeMongoDBs) Create(ctx context.Context, mongoDB *v1alpha1.MongoDB, opts v1.CreateOptions) (result *v1alpha1.MongoDB, err error)

Create takes the representation of a mongoDB and creates it. Returns the server's representation of the mongoDB, and an error, if there is any.

func (*FakeMongoDBs) Delete Uses

func (c *FakeMongoDBs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the mongoDB and deletes it. Returns an error if one occurs.

func (*FakeMongoDBs) DeleteCollection Uses

func (c *FakeMongoDBs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeMongoDBs) Get Uses

func (c *FakeMongoDBs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MongoDB, err error)

Get takes name of the mongoDB, and returns the corresponding mongoDB object, and an error if there is any.

func (*FakeMongoDBs) List Uses

func (c *FakeMongoDBs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MongoDBList, err error)

List takes label and field selectors, and returns the list of MongoDBs that match those selectors.

func (*FakeMongoDBs) Patch Uses

func (c *FakeMongoDBs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MongoDB, err error)

Patch applies the patch and returns the patched mongoDB.

func (*FakeMongoDBs) Update Uses

func (c *FakeMongoDBs) Update(ctx context.Context, mongoDB *v1alpha1.MongoDB, opts v1.UpdateOptions) (result *v1alpha1.MongoDB, err error)

Update takes the representation of a mongoDB and updates it. Returns the server's representation of the mongoDB, and an error, if there is any.

func (*FakeMongoDBs) UpdateStatus Uses

func (c *FakeMongoDBs) UpdateStatus(ctx context.Context, mongoDB *v1alpha1.MongoDB, opts v1.UpdateOptions) (*v1alpha1.MongoDB, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeMongoDBs) Watch Uses

func (c *FakeMongoDBs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested mongoDBs.

type FakeMySQLs Uses

type FakeMySQLs struct {
    Fake *FakeKubedbV1alpha1
    // contains filtered or unexported fields
}

FakeMySQLs implements MySQLInterface

func (*FakeMySQLs) Create Uses

func (c *FakeMySQLs) Create(ctx context.Context, mySQL *v1alpha1.MySQL, opts v1.CreateOptions) (result *v1alpha1.MySQL, err error)

Create takes the representation of a mySQL and creates it. Returns the server's representation of the mySQL, and an error, if there is any.

func (*FakeMySQLs) Delete Uses

func (c *FakeMySQLs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the mySQL and deletes it. Returns an error if one occurs.

func (*FakeMySQLs) DeleteCollection Uses

func (c *FakeMySQLs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeMySQLs) Get Uses

func (c *FakeMySQLs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MySQL, err error)

Get takes name of the mySQL, and returns the corresponding mySQL object, and an error if there is any.

func (*FakeMySQLs) List Uses

func (c *FakeMySQLs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MySQLList, err error)

List takes label and field selectors, and returns the list of MySQLs that match those selectors.

func (*FakeMySQLs) Patch Uses

func (c *FakeMySQLs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MySQL, err error)

Patch applies the patch and returns the patched mySQL.

func (*FakeMySQLs) Update Uses

func (c *FakeMySQLs) Update(ctx context.Context, mySQL *v1alpha1.MySQL, opts v1.UpdateOptions) (result *v1alpha1.MySQL, err error)

Update takes the representation of a mySQL and updates it. Returns the server's representation of the mySQL, and an error, if there is any.

func (*FakeMySQLs) UpdateStatus Uses

func (c *FakeMySQLs) UpdateStatus(ctx context.Context, mySQL *v1alpha1.MySQL, opts v1.UpdateOptions) (*v1alpha1.MySQL, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeMySQLs) Watch Uses

func (c *FakeMySQLs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested mySQLs.

type FakePerconaXtraDBs Uses

type FakePerconaXtraDBs struct {
    Fake *FakeKubedbV1alpha1
    // contains filtered or unexported fields
}

FakePerconaXtraDBs implements PerconaXtraDBInterface

func (*FakePerconaXtraDBs) Create Uses

func (c *FakePerconaXtraDBs) Create(ctx context.Context, perconaXtraDB *v1alpha1.PerconaXtraDB, opts v1.CreateOptions) (result *v1alpha1.PerconaXtraDB, err error)

Create takes the representation of a perconaXtraDB and creates it. Returns the server's representation of the perconaXtraDB, and an error, if there is any.

func (*FakePerconaXtraDBs) Delete Uses

func (c *FakePerconaXtraDBs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the perconaXtraDB and deletes it. Returns an error if one occurs.

func (*FakePerconaXtraDBs) DeleteCollection Uses

func (c *FakePerconaXtraDBs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePerconaXtraDBs) Get Uses

func (c *FakePerconaXtraDBs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PerconaXtraDB, err error)

Get takes name of the perconaXtraDB, and returns the corresponding perconaXtraDB object, and an error if there is any.

func (*FakePerconaXtraDBs) List Uses

func (c *FakePerconaXtraDBs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PerconaXtraDBList, err error)

List takes label and field selectors, and returns the list of PerconaXtraDBs that match those selectors.

func (*FakePerconaXtraDBs) Patch Uses

func (c *FakePerconaXtraDBs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PerconaXtraDB, err error)

Patch applies the patch and returns the patched perconaXtraDB.

func (*FakePerconaXtraDBs) Update Uses

func (c *FakePerconaXtraDBs) Update(ctx context.Context, perconaXtraDB *v1alpha1.PerconaXtraDB, opts v1.UpdateOptions) (result *v1alpha1.PerconaXtraDB, err error)

Update takes the representation of a perconaXtraDB and updates it. Returns the server's representation of the perconaXtraDB, and an error, if there is any.

func (*FakePerconaXtraDBs) UpdateStatus Uses

func (c *FakePerconaXtraDBs) UpdateStatus(ctx context.Context, perconaXtraDB *v1alpha1.PerconaXtraDB, opts v1.UpdateOptions) (*v1alpha1.PerconaXtraDB, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakePerconaXtraDBs) Watch Uses

func (c *FakePerconaXtraDBs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested perconaXtraDBs.

type FakePgBouncers Uses

type FakePgBouncers struct {
    Fake *FakeKubedbV1alpha1
    // contains filtered or unexported fields
}

FakePgBouncers implements PgBouncerInterface

func (*FakePgBouncers) Create Uses

func (c *FakePgBouncers) Create(ctx context.Context, pgBouncer *v1alpha1.PgBouncer, opts v1.CreateOptions) (result *v1alpha1.PgBouncer, err error)

Create takes the representation of a pgBouncer and creates it. Returns the server's representation of the pgBouncer, and an error, if there is any.

func (*FakePgBouncers) Delete Uses

func (c *FakePgBouncers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the pgBouncer and deletes it. Returns an error if one occurs.

func (*FakePgBouncers) DeleteCollection Uses

func (c *FakePgBouncers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePgBouncers) Get Uses

func (c *FakePgBouncers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PgBouncer, err error)

Get takes name of the pgBouncer, and returns the corresponding pgBouncer object, and an error if there is any.

func (*FakePgBouncers) List Uses

func (c *FakePgBouncers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PgBouncerList, err error)

List takes label and field selectors, and returns the list of PgBouncers that match those selectors.

func (*FakePgBouncers) Patch Uses

func (c *FakePgBouncers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PgBouncer, err error)

Patch applies the patch and returns the patched pgBouncer.

func (*FakePgBouncers) Update Uses

func (c *FakePgBouncers) Update(ctx context.Context, pgBouncer *v1alpha1.PgBouncer, opts v1.UpdateOptions) (result *v1alpha1.PgBouncer, err error)

Update takes the representation of a pgBouncer and updates it. Returns the server's representation of the pgBouncer, and an error, if there is any.

func (*FakePgBouncers) UpdateStatus Uses

func (c *FakePgBouncers) UpdateStatus(ctx context.Context, pgBouncer *v1alpha1.PgBouncer, opts v1.UpdateOptions) (*v1alpha1.PgBouncer, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakePgBouncers) Watch Uses

func (c *FakePgBouncers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested pgBouncers.

type FakePostgreses Uses

type FakePostgreses struct {
    Fake *FakeKubedbV1alpha1
    // contains filtered or unexported fields
}

FakePostgreses implements PostgresInterface

func (*FakePostgreses) Create Uses

func (c *FakePostgreses) Create(ctx context.Context, postgres *v1alpha1.Postgres, opts v1.CreateOptions) (result *v1alpha1.Postgres, err error)

Create takes the representation of a postgres and creates it. Returns the server's representation of the postgres, and an error, if there is any.

func (*FakePostgreses) Delete Uses

func (c *FakePostgreses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the postgres and deletes it. Returns an error if one occurs.

func (*FakePostgreses) DeleteCollection Uses

func (c *FakePostgreses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePostgreses) Get Uses

func (c *FakePostgreses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Postgres, err error)

Get takes name of the postgres, and returns the corresponding postgres object, and an error if there is any.

func (*FakePostgreses) List Uses

func (c *FakePostgreses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PostgresList, err error)

List takes label and field selectors, and returns the list of Postgreses that match those selectors.

func (*FakePostgreses) Patch Uses

func (c *FakePostgreses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Postgres, err error)

Patch applies the patch and returns the patched postgres.

func (*FakePostgreses) Update Uses

func (c *FakePostgreses) Update(ctx context.Context, postgres *v1alpha1.Postgres, opts v1.UpdateOptions) (result *v1alpha1.Postgres, err error)

Update takes the representation of a postgres and updates it. Returns the server's representation of the postgres, and an error, if there is any.

func (*FakePostgreses) UpdateStatus Uses

func (c *FakePostgreses) UpdateStatus(ctx context.Context, postgres *v1alpha1.Postgres, opts v1.UpdateOptions) (*v1alpha1.Postgres, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakePostgreses) Watch Uses

func (c *FakePostgreses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested postgreses.

type FakeProxySQLs Uses

type FakeProxySQLs struct {
    Fake *FakeKubedbV1alpha1
    // contains filtered or unexported fields
}

FakeProxySQLs implements ProxySQLInterface

func (*FakeProxySQLs) Create Uses

func (c *FakeProxySQLs) Create(ctx context.Context, proxySQL *v1alpha1.ProxySQL, opts v1.CreateOptions) (result *v1alpha1.ProxySQL, err error)

Create takes the representation of a proxySQL and creates it. Returns the server's representation of the proxySQL, and an error, if there is any.

func (*FakeProxySQLs) Delete Uses

func (c *FakeProxySQLs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the proxySQL and deletes it. Returns an error if one occurs.

func (*FakeProxySQLs) DeleteCollection Uses

func (c *FakeProxySQLs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeProxySQLs) Get Uses

func (c *FakeProxySQLs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ProxySQL, err error)

Get takes name of the proxySQL, and returns the corresponding proxySQL object, and an error if there is any.

func (*FakeProxySQLs) List Uses

func (c *FakeProxySQLs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProxySQLList, err error)

List takes label and field selectors, and returns the list of ProxySQLs that match those selectors.

func (*FakeProxySQLs) Patch Uses

func (c *FakeProxySQLs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ProxySQL, err error)

Patch applies the patch and returns the patched proxySQL.

func (*FakeProxySQLs) Update Uses

func (c *FakeProxySQLs) Update(ctx context.Context, proxySQL *v1alpha1.ProxySQL, opts v1.UpdateOptions) (result *v1alpha1.ProxySQL, err error)

Update takes the representation of a proxySQL and updates it. Returns the server's representation of the proxySQL, and an error, if there is any.

func (*FakeProxySQLs) UpdateStatus Uses

func (c *FakeProxySQLs) UpdateStatus(ctx context.Context, proxySQL *v1alpha1.ProxySQL, opts v1.UpdateOptions) (*v1alpha1.ProxySQL, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeProxySQLs) Watch Uses

func (c *FakeProxySQLs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested proxySQLs.

type FakeRedises Uses

type FakeRedises struct {
    Fake *FakeKubedbV1alpha1
    // contains filtered or unexported fields
}

FakeRedises implements RedisInterface

func (*FakeRedises) Create Uses

func (c *FakeRedises) Create(ctx context.Context, redis *v1alpha1.Redis, opts v1.CreateOptions) (result *v1alpha1.Redis, err error)

Create takes the representation of a redis and creates it. Returns the server's representation of the redis, and an error, if there is any.

func (*FakeRedises) Delete Uses

func (c *FakeRedises) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the redis and deletes it. Returns an error if one occurs.

func (*FakeRedises) DeleteCollection Uses

func (c *FakeRedises) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeRedises) Get Uses

func (c *FakeRedises) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Redis, err error)

Get takes name of the redis, and returns the corresponding redis object, and an error if there is any.

func (*FakeRedises) List Uses

func (c *FakeRedises) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RedisList, err error)

List takes label and field selectors, and returns the list of Redises that match those selectors.

func (*FakeRedises) Patch Uses

func (c *FakeRedises) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Redis, err error)

Patch applies the patch and returns the patched redis.

func (*FakeRedises) Update Uses

func (c *FakeRedises) Update(ctx context.Context, redis *v1alpha1.Redis, opts v1.UpdateOptions) (result *v1alpha1.Redis, err error)

Update takes the representation of a redis and updates it. Returns the server's representation of the redis, and an error, if there is any.

func (*FakeRedises) UpdateStatus Uses

func (c *FakeRedises) UpdateStatus(ctx context.Context, redis *v1alpha1.Redis, opts v1.UpdateOptions) (*v1alpha1.Redis, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeRedises) Watch Uses

func (c *FakeRedises) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested redises.

Package fake imports 10 packages (graph) and is imported by 2 packages. Updated 2020-07-11. Refresh now. Tools for package owners.