fake

package
v0.13.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2020 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 FakeDbaV1alpha1

type FakeDbaV1alpha1 struct {
	*testing.Fake
}

func (*FakeDbaV1alpha1) ElasticsearchModificationRequests

func (c *FakeDbaV1alpha1) ElasticsearchModificationRequests() v1alpha1.ElasticsearchModificationRequestInterface

func (*FakeDbaV1alpha1) EtcdModificationRequests

func (c *FakeDbaV1alpha1) EtcdModificationRequests() v1alpha1.EtcdModificationRequestInterface

func (*FakeDbaV1alpha1) MemcachedModificationRequests

func (c *FakeDbaV1alpha1) MemcachedModificationRequests() v1alpha1.MemcachedModificationRequestInterface

func (*FakeDbaV1alpha1) MongoDBModificationRequests

func (c *FakeDbaV1alpha1) MongoDBModificationRequests() v1alpha1.MongoDBModificationRequestInterface

func (*FakeDbaV1alpha1) MySQLModificationRequests

func (c *FakeDbaV1alpha1) MySQLModificationRequests() v1alpha1.MySQLModificationRequestInterface

func (*FakeDbaV1alpha1) PerconaXtraDBModificationRequests

func (c *FakeDbaV1alpha1) PerconaXtraDBModificationRequests() v1alpha1.PerconaXtraDBModificationRequestInterface

func (*FakeDbaV1alpha1) PgBouncerModificationRequests

func (c *FakeDbaV1alpha1) PgBouncerModificationRequests() v1alpha1.PgBouncerModificationRequestInterface

func (*FakeDbaV1alpha1) PostgresModificationRequests

func (c *FakeDbaV1alpha1) PostgresModificationRequests() v1alpha1.PostgresModificationRequestInterface

func (*FakeDbaV1alpha1) ProxySQLModificationRequests

func (c *FakeDbaV1alpha1) ProxySQLModificationRequests() v1alpha1.ProxySQLModificationRequestInterface

func (*FakeDbaV1alpha1) RESTClient

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

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

func (*FakeDbaV1alpha1) RedisModificationRequests

func (c *FakeDbaV1alpha1) RedisModificationRequests() v1alpha1.RedisModificationRequestInterface

type FakeElasticsearchModificationRequests

type FakeElasticsearchModificationRequests struct {
	Fake *FakeDbaV1alpha1
}

FakeElasticsearchModificationRequests implements ElasticsearchModificationRequestInterface

func (*FakeElasticsearchModificationRequests) Create

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

func (*FakeElasticsearchModificationRequests) Delete

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

func (*FakeElasticsearchModificationRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeElasticsearchModificationRequests) Get

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

func (*FakeElasticsearchModificationRequests) List

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

func (*FakeElasticsearchModificationRequests) Patch

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

Patch applies the patch and returns the patched elasticsearchModificationRequest.

func (*FakeElasticsearchModificationRequests) Update

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

func (*FakeElasticsearchModificationRequests) Watch

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

type FakeEtcdModificationRequests

type FakeEtcdModificationRequests struct {
	Fake *FakeDbaV1alpha1
}

FakeEtcdModificationRequests implements EtcdModificationRequestInterface

func (*FakeEtcdModificationRequests) Create

func (c *FakeEtcdModificationRequests) Create(etcdModificationRequest *v1alpha1.EtcdModificationRequest) (result *v1alpha1.EtcdModificationRequest, err error)

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

func (*FakeEtcdModificationRequests) Delete

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

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

func (*FakeEtcdModificationRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEtcdModificationRequests) Get

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

func (*FakeEtcdModificationRequests) List

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

func (*FakeEtcdModificationRequests) Patch

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

Patch applies the patch and returns the patched etcdModificationRequest.

func (*FakeEtcdModificationRequests) Update

func (c *FakeEtcdModificationRequests) Update(etcdModificationRequest *v1alpha1.EtcdModificationRequest) (result *v1alpha1.EtcdModificationRequest, err error)

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

func (*FakeEtcdModificationRequests) Watch

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

type FakeMemcachedModificationRequests

type FakeMemcachedModificationRequests struct {
	Fake *FakeDbaV1alpha1
}

FakeMemcachedModificationRequests implements MemcachedModificationRequestInterface

func (*FakeMemcachedModificationRequests) Create

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

func (*FakeMemcachedModificationRequests) Delete

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

func (*FakeMemcachedModificationRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMemcachedModificationRequests) Get

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

func (*FakeMemcachedModificationRequests) List

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

func (*FakeMemcachedModificationRequests) Patch

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

Patch applies the patch and returns the patched memcachedModificationRequest.

func (*FakeMemcachedModificationRequests) Update

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

func (*FakeMemcachedModificationRequests) Watch

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

type FakeMongoDBModificationRequests

type FakeMongoDBModificationRequests struct {
	Fake *FakeDbaV1alpha1
}

FakeMongoDBModificationRequests implements MongoDBModificationRequestInterface

func (*FakeMongoDBModificationRequests) Create

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

func (*FakeMongoDBModificationRequests) Delete

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

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

func (*FakeMongoDBModificationRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMongoDBModificationRequests) Get

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

func (*FakeMongoDBModificationRequests) List

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

func (*FakeMongoDBModificationRequests) Patch

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

Patch applies the patch and returns the patched mongoDBModificationRequest.

func (*FakeMongoDBModificationRequests) Update

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

func (*FakeMongoDBModificationRequests) Watch

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

type FakeMySQLModificationRequests

type FakeMySQLModificationRequests struct {
	Fake *FakeDbaV1alpha1
}

FakeMySQLModificationRequests implements MySQLModificationRequestInterface

func (*FakeMySQLModificationRequests) Create

func (c *FakeMySQLModificationRequests) Create(mySQLModificationRequest *v1alpha1.MySQLModificationRequest) (result *v1alpha1.MySQLModificationRequest, err error)

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

func (*FakeMySQLModificationRequests) Delete

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

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

func (*FakeMySQLModificationRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMySQLModificationRequests) Get

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

func (*FakeMySQLModificationRequests) List

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

func (*FakeMySQLModificationRequests) Patch

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

Patch applies the patch and returns the patched mySQLModificationRequest.

func (*FakeMySQLModificationRequests) Update

func (c *FakeMySQLModificationRequests) Update(mySQLModificationRequest *v1alpha1.MySQLModificationRequest) (result *v1alpha1.MySQLModificationRequest, err error)

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

func (*FakeMySQLModificationRequests) Watch

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

type FakePerconaXtraDBModificationRequests

type FakePerconaXtraDBModificationRequests struct {
	Fake *FakeDbaV1alpha1
}

FakePerconaXtraDBModificationRequests implements PerconaXtraDBModificationRequestInterface

func (*FakePerconaXtraDBModificationRequests) Create

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

func (*FakePerconaXtraDBModificationRequests) Delete

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

func (*FakePerconaXtraDBModificationRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePerconaXtraDBModificationRequests) Get

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

func (*FakePerconaXtraDBModificationRequests) List

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

func (*FakePerconaXtraDBModificationRequests) Patch

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

Patch applies the patch and returns the patched perconaXtraDBModificationRequest.

func (*FakePerconaXtraDBModificationRequests) Update

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

func (*FakePerconaXtraDBModificationRequests) Watch

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

type FakePgBouncerModificationRequests

type FakePgBouncerModificationRequests struct {
	Fake *FakeDbaV1alpha1
}

FakePgBouncerModificationRequests implements PgBouncerModificationRequestInterface

func (*FakePgBouncerModificationRequests) Create

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

func (*FakePgBouncerModificationRequests) Delete

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

func (*FakePgBouncerModificationRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePgBouncerModificationRequests) Get

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

func (*FakePgBouncerModificationRequests) List

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

func (*FakePgBouncerModificationRequests) Patch

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

Patch applies the patch and returns the patched pgBouncerModificationRequest.

func (*FakePgBouncerModificationRequests) Update

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

func (*FakePgBouncerModificationRequests) Watch

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

type FakePostgresModificationRequests

type FakePostgresModificationRequests struct {
	Fake *FakeDbaV1alpha1
}

FakePostgresModificationRequests implements PostgresModificationRequestInterface

func (*FakePostgresModificationRequests) Create

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

func (*FakePostgresModificationRequests) Delete

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

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

func (*FakePostgresModificationRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePostgresModificationRequests) Get

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

func (*FakePostgresModificationRequests) List

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

func (*FakePostgresModificationRequests) Patch

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

Patch applies the patch and returns the patched postgresModificationRequest.

func (*FakePostgresModificationRequests) Update

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

func (*FakePostgresModificationRequests) Watch

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

type FakeProxySQLModificationRequests

type FakeProxySQLModificationRequests struct {
	Fake *FakeDbaV1alpha1
}

FakeProxySQLModificationRequests implements ProxySQLModificationRequestInterface

func (*FakeProxySQLModificationRequests) Create

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

func (*FakeProxySQLModificationRequests) Delete

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

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

func (*FakeProxySQLModificationRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeProxySQLModificationRequests) Get

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

func (*FakeProxySQLModificationRequests) List

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

func (*FakeProxySQLModificationRequests) Patch

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

Patch applies the patch and returns the patched proxySQLModificationRequest.

func (*FakeProxySQLModificationRequests) Update

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

func (*FakeProxySQLModificationRequests) Watch

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

type FakeRedisModificationRequests

type FakeRedisModificationRequests struct {
	Fake *FakeDbaV1alpha1
}

FakeRedisModificationRequests implements RedisModificationRequestInterface

func (*FakeRedisModificationRequests) Create

func (c *FakeRedisModificationRequests) Create(redisModificationRequest *v1alpha1.RedisModificationRequest) (result *v1alpha1.RedisModificationRequest, err error)

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

func (*FakeRedisModificationRequests) Delete

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

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

func (*FakeRedisModificationRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRedisModificationRequests) Get

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

func (*FakeRedisModificationRequests) List

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

func (*FakeRedisModificationRequests) Patch

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

Patch applies the patch and returns the patched redisModificationRequest.

func (*FakeRedisModificationRequests) Update

func (c *FakeRedisModificationRequests) Update(redisModificationRequest *v1alpha1.RedisModificationRequest) (result *v1alpha1.RedisModificationRequest, err error)

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

func (*FakeRedisModificationRequests) Watch

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

Jump to

Keyboard shortcuts

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