fake

package
v0.0.0-...-d10261a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCatalogV1alpha1

type FakeCatalogV1alpha1 struct {
	*testing.Fake
}

func (*FakeCatalogV1alpha1) ElasticsearchVersions

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

func (*FakeCatalogV1alpha1) EtcdVersions

func (*FakeCatalogV1alpha1) MemcachedVersions

func (*FakeCatalogV1alpha1) MongoDBVersions

func (*FakeCatalogV1alpha1) MySQLVersions

func (*FakeCatalogV1alpha1) PostgresVersions

func (*FakeCatalogV1alpha1) RESTClient

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

type FakeElasticsearchVersions

type FakeElasticsearchVersions struct {
	Fake *FakeCatalogV1alpha1
}

FakeElasticsearchVersions implements ElasticsearchVersionInterface

func (*FakeElasticsearchVersions) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeElasticsearchVersions) Get

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

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

func (*FakeElasticsearchVersions) Patch

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

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

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

type FakeEtcdVersions

type FakeEtcdVersions struct {
	Fake *FakeCatalogV1alpha1
}

FakeEtcdVersions implements EtcdVersionInterface

func (*FakeEtcdVersions) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeEtcdVersions) Get

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

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

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

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

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

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

type FakeMemcachedVersions

type FakeMemcachedVersions struct {
	Fake *FakeCatalogV1alpha1
}

FakeMemcachedVersions implements MemcachedVersionInterface

func (*FakeMemcachedVersions) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeMemcachedVersions) Get

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

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

func (*FakeMemcachedVersions) Patch

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

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

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

type FakeMongoDBVersions

type FakeMongoDBVersions struct {
	Fake *FakeCatalogV1alpha1
}

FakeMongoDBVersions implements MongoDBVersionInterface

func (*FakeMongoDBVersions) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeMongoDBVersions) Get

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

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

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

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

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

type FakeMySQLVersions

type FakeMySQLVersions struct {
	Fake *FakeCatalogV1alpha1
}

FakeMySQLVersions implements MySQLVersionInterface

func (*FakeMySQLVersions) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeMySQLVersions) Get

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

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

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

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

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

type FakePostgresVersions

type FakePostgresVersions struct {
	Fake *FakeCatalogV1alpha1
}

FakePostgresVersions implements PostgresVersionInterface

func (*FakePostgresVersions) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakePostgresVersions) Get

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

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

func (*FakePostgresVersions) Patch

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

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

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

type FakeRedisVersions

type FakeRedisVersions struct {
	Fake *FakeCatalogV1alpha1
}

FakeRedisVersions implements RedisVersionInterface

func (*FakeRedisVersions) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeRedisVersions) Get

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

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

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL