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

package fake

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

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_catalog_client.go fake_elasticsearchversion.go fake_etcdversion.go fake_memcachedversion.go fake_mongodbversion.go fake_mysqlversion.go fake_perconaxtradbversion.go fake_postgresversion.go fake_redisversion.go

type FakeCatalogV1alpha1 Uses

type FakeCatalogV1alpha1 struct {
    *testing.Fake
}

func (*FakeCatalogV1alpha1) ElasticsearchVersions Uses

func (c *FakeCatalogV1alpha1) ElasticsearchVersions() v1alpha1.ElasticsearchVersionInterface

func (*FakeCatalogV1alpha1) EtcdVersions Uses

func (c *FakeCatalogV1alpha1) EtcdVersions() v1alpha1.EtcdVersionInterface

func (*FakeCatalogV1alpha1) MemcachedVersions Uses

func (c *FakeCatalogV1alpha1) MemcachedVersions() v1alpha1.MemcachedVersionInterface

func (*FakeCatalogV1alpha1) MongoDBVersions Uses

func (c *FakeCatalogV1alpha1) MongoDBVersions() v1alpha1.MongoDBVersionInterface

func (*FakeCatalogV1alpha1) MySQLVersions Uses

func (c *FakeCatalogV1alpha1) MySQLVersions() v1alpha1.MySQLVersionInterface

func (*FakeCatalogV1alpha1) PerconaXtraDBVersions Uses

func (c *FakeCatalogV1alpha1) PerconaXtraDBVersions() v1alpha1.PerconaXtraDBVersionInterface

func (*FakeCatalogV1alpha1) PostgresVersions Uses

func (c *FakeCatalogV1alpha1) PostgresVersions() v1alpha1.PostgresVersionInterface

func (*FakeCatalogV1alpha1) RESTClient Uses

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

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

func (*FakeCatalogV1alpha1) RedisVersions Uses

func (c *FakeCatalogV1alpha1) RedisVersions() v1alpha1.RedisVersionInterface

type FakeElasticsearchVersions Uses

type FakeElasticsearchVersions struct {
    Fake *FakeCatalogV1alpha1
}

FakeElasticsearchVersions implements ElasticsearchVersionInterface

func (*FakeElasticsearchVersions) Create Uses

func (c *FakeElasticsearchVersions) Create(elasticsearchVersion *v1alpha1.ElasticsearchVersion) (result *v1alpha1.ElasticsearchVersion, err error)

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

func (*FakeElasticsearchVersions) Delete Uses

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

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

func (*FakeElasticsearchVersions) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeElasticsearchVersions) Get Uses

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

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

func (*FakeElasticsearchVersions) List Uses

func (c *FakeElasticsearchVersions) List(opts v1.ListOptions) (result *v1alpha1.ElasticsearchVersionList, err error)

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

func (*FakeElasticsearchVersions) Patch Uses

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

Patch applies the patch and returns the patched elasticsearchVersion.

func (*FakeElasticsearchVersions) Update Uses

func (c *FakeElasticsearchVersions) Update(elasticsearchVersion *v1alpha1.ElasticsearchVersion) (result *v1alpha1.ElasticsearchVersion, err error)

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

func (*FakeElasticsearchVersions) Watch Uses

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

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

type FakeEtcdVersions Uses

type FakeEtcdVersions struct {
    Fake *FakeCatalogV1alpha1
}

FakeEtcdVersions implements EtcdVersionInterface

func (*FakeEtcdVersions) Create Uses

func (c *FakeEtcdVersions) Create(etcdVersion *v1alpha1.EtcdVersion) (result *v1alpha1.EtcdVersion, err error)

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

func (*FakeEtcdVersions) Delete Uses

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

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

func (*FakeEtcdVersions) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeEtcdVersions) Get Uses

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

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

func (*FakeEtcdVersions) List Uses

func (c *FakeEtcdVersions) List(opts v1.ListOptions) (result *v1alpha1.EtcdVersionList, err error)

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

func (*FakeEtcdVersions) Patch Uses

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

Patch applies the patch and returns the patched etcdVersion.

func (*FakeEtcdVersions) Update Uses

func (c *FakeEtcdVersions) Update(etcdVersion *v1alpha1.EtcdVersion) (result *v1alpha1.EtcdVersion, err error)

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

func (*FakeEtcdVersions) Watch Uses

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

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

type FakeMemcachedVersions Uses

type FakeMemcachedVersions struct {
    Fake *FakeCatalogV1alpha1
}

FakeMemcachedVersions implements MemcachedVersionInterface

func (*FakeMemcachedVersions) Create Uses

func (c *FakeMemcachedVersions) Create(memcachedVersion *v1alpha1.MemcachedVersion) (result *v1alpha1.MemcachedVersion, err error)

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

func (*FakeMemcachedVersions) Delete Uses

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

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

func (*FakeMemcachedVersions) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeMemcachedVersions) Get Uses

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

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

func (*FakeMemcachedVersions) List Uses

func (c *FakeMemcachedVersions) List(opts v1.ListOptions) (result *v1alpha1.MemcachedVersionList, err error)

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

func (*FakeMemcachedVersions) Patch Uses

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

Patch applies the patch and returns the patched memcachedVersion.

func (*FakeMemcachedVersions) Update Uses

func (c *FakeMemcachedVersions) Update(memcachedVersion *v1alpha1.MemcachedVersion) (result *v1alpha1.MemcachedVersion, err error)

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

func (*FakeMemcachedVersions) Watch Uses

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

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

type FakeMongoDBVersions Uses

type FakeMongoDBVersions struct {
    Fake *FakeCatalogV1alpha1
}

FakeMongoDBVersions implements MongoDBVersionInterface

func (*FakeMongoDBVersions) Create Uses

func (c *FakeMongoDBVersions) Create(mongoDBVersion *v1alpha1.MongoDBVersion) (result *v1alpha1.MongoDBVersion, err error)

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

func (*FakeMongoDBVersions) Delete Uses

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

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

func (*FakeMongoDBVersions) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeMongoDBVersions) Get Uses

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

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

func (*FakeMongoDBVersions) List Uses

func (c *FakeMongoDBVersions) List(opts v1.ListOptions) (result *v1alpha1.MongoDBVersionList, err error)

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

func (*FakeMongoDBVersions) Patch Uses

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

Patch applies the patch and returns the patched mongoDBVersion.

func (*FakeMongoDBVersions) Update Uses

func (c *FakeMongoDBVersions) Update(mongoDBVersion *v1alpha1.MongoDBVersion) (result *v1alpha1.MongoDBVersion, err error)

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

func (*FakeMongoDBVersions) Watch Uses

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

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

type FakeMySQLVersions Uses

type FakeMySQLVersions struct {
    Fake *FakeCatalogV1alpha1
}

FakeMySQLVersions implements MySQLVersionInterface

func (*FakeMySQLVersions) Create Uses

func (c *FakeMySQLVersions) Create(mySQLVersion *v1alpha1.MySQLVersion) (result *v1alpha1.MySQLVersion, err error)

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

func (*FakeMySQLVersions) Delete Uses

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

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

func (*FakeMySQLVersions) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeMySQLVersions) Get Uses

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

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

func (*FakeMySQLVersions) List Uses

func (c *FakeMySQLVersions) List(opts v1.ListOptions) (result *v1alpha1.MySQLVersionList, err error)

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

func (*FakeMySQLVersions) Patch Uses

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

Patch applies the patch and returns the patched mySQLVersion.

func (*FakeMySQLVersions) Update Uses

func (c *FakeMySQLVersions) Update(mySQLVersion *v1alpha1.MySQLVersion) (result *v1alpha1.MySQLVersion, err error)

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

func (*FakeMySQLVersions) Watch Uses

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

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

type FakePerconaXtraDBVersions Uses

type FakePerconaXtraDBVersions struct {
    Fake *FakeCatalogV1alpha1
}

FakePerconaXtraDBVersions implements PerconaXtraDBVersionInterface

func (*FakePerconaXtraDBVersions) Create Uses

func (c *FakePerconaXtraDBVersions) Create(perconaXtraDBVersion *v1alpha1.PerconaXtraDBVersion) (result *v1alpha1.PerconaXtraDBVersion, err error)

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

func (*FakePerconaXtraDBVersions) Delete Uses

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

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

func (*FakePerconaXtraDBVersions) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakePerconaXtraDBVersions) Get Uses

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

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

func (*FakePerconaXtraDBVersions) List Uses

func (c *FakePerconaXtraDBVersions) List(opts v1.ListOptions) (result *v1alpha1.PerconaXtraDBVersionList, err error)

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

func (*FakePerconaXtraDBVersions) Patch Uses

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

Patch applies the patch and returns the patched perconaXtraDBVersion.

func (*FakePerconaXtraDBVersions) Update Uses

func (c *FakePerconaXtraDBVersions) Update(perconaXtraDBVersion *v1alpha1.PerconaXtraDBVersion) (result *v1alpha1.PerconaXtraDBVersion, err error)

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

func (*FakePerconaXtraDBVersions) Watch Uses

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

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

type FakePostgresVersions Uses

type FakePostgresVersions struct {
    Fake *FakeCatalogV1alpha1
}

FakePostgresVersions implements PostgresVersionInterface

func (*FakePostgresVersions) Create Uses

func (c *FakePostgresVersions) Create(postgresVersion *v1alpha1.PostgresVersion) (result *v1alpha1.PostgresVersion, err error)

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

func (*FakePostgresVersions) Delete Uses

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

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

func (*FakePostgresVersions) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakePostgresVersions) Get Uses

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

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

func (*FakePostgresVersions) List Uses

func (c *FakePostgresVersions) List(opts v1.ListOptions) (result *v1alpha1.PostgresVersionList, err error)

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

func (*FakePostgresVersions) Patch Uses

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

Patch applies the patch and returns the patched postgresVersion.

func (*FakePostgresVersions) Update Uses

func (c *FakePostgresVersions) Update(postgresVersion *v1alpha1.PostgresVersion) (result *v1alpha1.PostgresVersion, err error)

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

func (*FakePostgresVersions) Watch Uses

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

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

type FakeRedisVersions Uses

type FakeRedisVersions struct {
    Fake *FakeCatalogV1alpha1
}

FakeRedisVersions implements RedisVersionInterface

func (*FakeRedisVersions) Create Uses

func (c *FakeRedisVersions) Create(redisVersion *v1alpha1.RedisVersion) (result *v1alpha1.RedisVersion, err error)

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

func (*FakeRedisVersions) Delete Uses

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

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

func (*FakeRedisVersions) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeRedisVersions) Get Uses

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

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

func (*FakeRedisVersions) List Uses

func (c *FakeRedisVersions) List(opts v1.ListOptions) (result *v1alpha1.RedisVersionList, err error)

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

func (*FakeRedisVersions) Patch Uses

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

Patch applies the patch and returns the patched redisVersion.

func (*FakeRedisVersions) Update Uses

func (c *FakeRedisVersions) Update(redisVersion *v1alpha1.RedisVersion) (result *v1alpha1.RedisVersion, err error)

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

func (*FakeRedisVersions) Watch Uses

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

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

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