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_dormantdatabase.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 fake_snapshot.go

type FakeDormantDatabases Uses

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

FakeDormantDatabases implements DormantDatabaseInterface

func (*FakeDormantDatabases) Create Uses

func (c *FakeDormantDatabases) Create(dormantDatabase *v1alpha1.DormantDatabase) (result *v1alpha1.DormantDatabase, err error)

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

func (*FakeDormantDatabases) Delete Uses

func (c *FakeDormantDatabases) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeDormantDatabases) DeleteCollection Uses

func (c *FakeDormantDatabases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDormantDatabases) Get Uses

func (c *FakeDormantDatabases) Get(name string, options v1.GetOptions) (result *v1alpha1.DormantDatabase, err error)

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

func (*FakeDormantDatabases) List Uses

func (c *FakeDormantDatabases) List(opts v1.ListOptions) (result *v1alpha1.DormantDatabaseList, err error)

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

func (*FakeDormantDatabases) Patch Uses

func (c *FakeDormantDatabases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DormantDatabase, err error)

Patch applies the patch and returns the patched dormantDatabase.

func (*FakeDormantDatabases) Update Uses

func (c *FakeDormantDatabases) Update(dormantDatabase *v1alpha1.DormantDatabase) (result *v1alpha1.DormantDatabase, err error)

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

func (*FakeDormantDatabases) UpdateStatus Uses

func (c *FakeDormantDatabases) UpdateStatus(dormantDatabase *v1alpha1.DormantDatabase) (*v1alpha1.DormantDatabase, error)

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

func (*FakeDormantDatabases) Watch Uses

func (c *FakeDormantDatabases) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeElasticsearches Uses

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

FakeElasticsearches implements ElasticsearchInterface

func (*FakeElasticsearches) Create Uses

func (c *FakeElasticsearches) Create(elasticsearch *v1alpha1.Elasticsearch) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeElasticsearches) Get Uses

func (c *FakeElasticsearches) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Elasticsearch, err error)

Patch applies the patch and returns the patched elasticsearch.

func (*FakeElasticsearches) Update Uses

func (c *FakeElasticsearches) Update(elasticsearch *v1alpha1.Elasticsearch) (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(elasticsearch *v1alpha1.Elasticsearch) (*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(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(etcd *v1alpha1.Etcd) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEtcds) Get Uses

func (c *FakeEtcds) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Etcd, err error)

Patch applies the patch and returns the patched etcd.

func (*FakeEtcds) Update Uses

func (c *FakeEtcds) Update(etcd *v1alpha1.Etcd) (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(etcd *v1alpha1.Etcd) (*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(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) DormantDatabases Uses

func (c *FakeKubedbV1alpha1) DormantDatabases(namespace string) v1alpha1.DormantDatabaseInterface

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

func (*FakeKubedbV1alpha1) Snapshots Uses

func (c *FakeKubedbV1alpha1) Snapshots(namespace string) v1alpha1.SnapshotInterface

type FakeMariaDBs Uses

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

FakeMariaDBs implements MariaDBInterface

func (*FakeMariaDBs) Create Uses

func (c *FakeMariaDBs) Create(mariaDB *v1alpha1.MariaDB) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeMariaDBs) Get Uses

func (c *FakeMariaDBs) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MariaDB, err error)

Patch applies the patch and returns the patched mariaDB.

func (*FakeMariaDBs) Update Uses

func (c *FakeMariaDBs) Update(mariaDB *v1alpha1.MariaDB) (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(mariaDB *v1alpha1.MariaDB) (*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(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(memcached *v1alpha1.Memcached) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeMemcacheds) Get Uses

func (c *FakeMemcacheds) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Memcached, err error)

Patch applies the patch and returns the patched memcached.

func (*FakeMemcacheds) Update Uses

func (c *FakeMemcacheds) Update(memcached *v1alpha1.Memcached) (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(memcached *v1alpha1.Memcached) (*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(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(mongoDB *v1alpha1.MongoDB) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeMongoDBs) Get Uses

func (c *FakeMongoDBs) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MongoDB, err error)

Patch applies the patch and returns the patched mongoDB.

func (*FakeMongoDBs) Update Uses

func (c *FakeMongoDBs) Update(mongoDB *v1alpha1.MongoDB) (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(mongoDB *v1alpha1.MongoDB) (*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(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(mySQL *v1alpha1.MySQL) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeMySQLs) Get Uses

func (c *FakeMySQLs) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MySQL, err error)

Patch applies the patch and returns the patched mySQL.

func (*FakeMySQLs) Update Uses

func (c *FakeMySQLs) Update(mySQL *v1alpha1.MySQL) (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(mySQL *v1alpha1.MySQL) (*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(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(perconaXtraDB *v1alpha1.PerconaXtraDB) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePerconaXtraDBs) Get Uses

func (c *FakePerconaXtraDBs) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PerconaXtraDB, err error)

Patch applies the patch and returns the patched perconaXtraDB.

func (*FakePerconaXtraDBs) Update Uses

func (c *FakePerconaXtraDBs) Update(perconaXtraDB *v1alpha1.PerconaXtraDB) (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(perconaXtraDB *v1alpha1.PerconaXtraDB) (*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(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(pgBouncer *v1alpha1.PgBouncer) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePgBouncers) Get Uses

func (c *FakePgBouncers) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PgBouncer, err error)

Patch applies the patch and returns the patched pgBouncer.

func (*FakePgBouncers) Update Uses

func (c *FakePgBouncers) Update(pgBouncer *v1alpha1.PgBouncer) (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(pgBouncer *v1alpha1.PgBouncer) (*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(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(postgres *v1alpha1.Postgres) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePostgreses) Get Uses

func (c *FakePostgreses) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Postgres, err error)

Patch applies the patch and returns the patched postgres.

func (*FakePostgreses) Update Uses

func (c *FakePostgreses) Update(postgres *v1alpha1.Postgres) (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(postgres *v1alpha1.Postgres) (*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(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(proxySQL *v1alpha1.ProxySQL) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeProxySQLs) Get Uses

func (c *FakeProxySQLs) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ProxySQL, err error)

Patch applies the patch and returns the patched proxySQL.

func (*FakeProxySQLs) Update Uses

func (c *FakeProxySQLs) Update(proxySQL *v1alpha1.ProxySQL) (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(proxySQL *v1alpha1.ProxySQL) (*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(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(redis *v1alpha1.Redis) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeRedises) Get Uses

func (c *FakeRedises) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Redis, err error)

Patch applies the patch and returns the patched redis.

func (*FakeRedises) Update Uses

func (c *FakeRedises) Update(redis *v1alpha1.Redis) (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(redis *v1alpha1.Redis) (*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(opts v1.ListOptions) (watch.Interface, error)

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

type FakeSnapshots Uses

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

FakeSnapshots implements SnapshotInterface

func (*FakeSnapshots) Create Uses

func (c *FakeSnapshots) Create(snapshot *v1alpha1.Snapshot) (result *v1alpha1.Snapshot, err error)

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

func (*FakeSnapshots) Delete Uses

func (c *FakeSnapshots) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeSnapshots) DeleteCollection Uses

func (c *FakeSnapshots) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSnapshots) Get Uses

func (c *FakeSnapshots) Get(name string, options v1.GetOptions) (result *v1alpha1.Snapshot, err error)

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

func (*FakeSnapshots) List Uses

func (c *FakeSnapshots) List(opts v1.ListOptions) (result *v1alpha1.SnapshotList, err error)

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

func (*FakeSnapshots) Patch Uses

func (c *FakeSnapshots) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Snapshot, err error)

Patch applies the patch and returns the patched snapshot.

func (*FakeSnapshots) Update Uses

func (c *FakeSnapshots) Update(snapshot *v1alpha1.Snapshot) (result *v1alpha1.Snapshot, err error)

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

func (*FakeSnapshots) UpdateStatus Uses

func (c *FakeSnapshots) UpdateStatus(snapshot *v1alpha1.Snapshot) (*v1alpha1.Snapshot, error)

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

func (*FakeSnapshots) Watch Uses

func (c *FakeSnapshots) Watch(opts v1.ListOptions) (watch.Interface, error)

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

Package fake imports 9 packages (graph) and is imported by 2 packages. Updated 2019-10-13. Refresh now. Tools for package owners.