fake

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 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 FakeAutoscalingV1alpha1

type FakeAutoscalingV1alpha1 struct {
	*testing.Fake
}

func (*FakeAutoscalingV1alpha1) ElasticsearchAutoscalers

func (c *FakeAutoscalingV1alpha1) ElasticsearchAutoscalers(namespace string) v1alpha1.ElasticsearchAutoscalerInterface

func (*FakeAutoscalingV1alpha1) EtcdAutoscalers

func (c *FakeAutoscalingV1alpha1) EtcdAutoscalers(namespace string) v1alpha1.EtcdAutoscalerInterface

func (*FakeAutoscalingV1alpha1) KafkaAutoscalers added in v0.44.0

func (c *FakeAutoscalingV1alpha1) KafkaAutoscalers(namespace string) v1alpha1.KafkaAutoscalerInterface

func (*FakeAutoscalingV1alpha1) MariaDBAutoscalers

func (c *FakeAutoscalingV1alpha1) MariaDBAutoscalers(namespace string) v1alpha1.MariaDBAutoscalerInterface

func (*FakeAutoscalingV1alpha1) MemcachedAutoscalers

func (c *FakeAutoscalingV1alpha1) MemcachedAutoscalers(namespace string) v1alpha1.MemcachedAutoscalerInterface

func (*FakeAutoscalingV1alpha1) MongoDBAutoscalers

func (c *FakeAutoscalingV1alpha1) MongoDBAutoscalers(namespace string) v1alpha1.MongoDBAutoscalerInterface

func (*FakeAutoscalingV1alpha1) MySQLAutoscalers

func (c *FakeAutoscalingV1alpha1) MySQLAutoscalers(namespace string) v1alpha1.MySQLAutoscalerInterface

func (*FakeAutoscalingV1alpha1) PerconaXtraDBAutoscalers

func (c *FakeAutoscalingV1alpha1) PerconaXtraDBAutoscalers(namespace string) v1alpha1.PerconaXtraDBAutoscalerInterface

func (*FakeAutoscalingV1alpha1) PgBouncerAutoscalers

func (c *FakeAutoscalingV1alpha1) PgBouncerAutoscalers(namespace string) v1alpha1.PgBouncerAutoscalerInterface

func (*FakeAutoscalingV1alpha1) PostgresAutoscalers

func (c *FakeAutoscalingV1alpha1) PostgresAutoscalers(namespace string) v1alpha1.PostgresAutoscalerInterface

func (*FakeAutoscalingV1alpha1) ProxySQLAutoscalers

func (c *FakeAutoscalingV1alpha1) ProxySQLAutoscalers(namespace string) v1alpha1.ProxySQLAutoscalerInterface

func (*FakeAutoscalingV1alpha1) RESTClient

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

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

func (*FakeAutoscalingV1alpha1) RedisAutoscalers

func (c *FakeAutoscalingV1alpha1) RedisAutoscalers(namespace string) v1alpha1.RedisAutoscalerInterface

func (*FakeAutoscalingV1alpha1) RedisSentinelAutoscalers added in v0.29.0

func (c *FakeAutoscalingV1alpha1) RedisSentinelAutoscalers(namespace string) v1alpha1.RedisSentinelAutoscalerInterface

type FakeElasticsearchAutoscalers

type FakeElasticsearchAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeElasticsearchAutoscalers implements ElasticsearchAutoscalerInterface

func (*FakeElasticsearchAutoscalers) Create

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

func (*FakeElasticsearchAutoscalers) Delete

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

func (*FakeElasticsearchAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeElasticsearchAutoscalers) Get

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

func (*FakeElasticsearchAutoscalers) List

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

func (*FakeElasticsearchAutoscalers) Patch

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

Patch applies the patch and returns the patched elasticsearchAutoscaler.

func (*FakeElasticsearchAutoscalers) Update

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

func (*FakeElasticsearchAutoscalers) UpdateStatus

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

func (*FakeElasticsearchAutoscalers) Watch

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

type FakeEtcdAutoscalers

type FakeEtcdAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeEtcdAutoscalers implements EtcdAutoscalerInterface

func (*FakeEtcdAutoscalers) Create

func (c *FakeEtcdAutoscalers) Create(ctx context.Context, etcdAutoscaler *v1alpha1.EtcdAutoscaler, opts v1.CreateOptions) (result *v1alpha1.EtcdAutoscaler, err error)

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

func (*FakeEtcdAutoscalers) Delete

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

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

func (*FakeEtcdAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEtcdAutoscalers) Get

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

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

func (*FakeEtcdAutoscalers) List

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

func (*FakeEtcdAutoscalers) Patch

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

Patch applies the patch and returns the patched etcdAutoscaler.

func (*FakeEtcdAutoscalers) Update

func (c *FakeEtcdAutoscalers) Update(ctx context.Context, etcdAutoscaler *v1alpha1.EtcdAutoscaler, opts v1.UpdateOptions) (result *v1alpha1.EtcdAutoscaler, err error)

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

func (*FakeEtcdAutoscalers) UpdateStatus

func (c *FakeEtcdAutoscalers) UpdateStatus(ctx context.Context, etcdAutoscaler *v1alpha1.EtcdAutoscaler, opts v1.UpdateOptions) (*v1alpha1.EtcdAutoscaler, error)

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

func (*FakeEtcdAutoscalers) Watch

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

type FakeKafkaAutoscalers added in v0.44.0

type FakeKafkaAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeKafkaAutoscalers implements KafkaAutoscalerInterface

func (*FakeKafkaAutoscalers) Create added in v0.44.0

func (c *FakeKafkaAutoscalers) Create(ctx context.Context, kafkaAutoscaler *v1alpha1.KafkaAutoscaler, opts v1.CreateOptions) (result *v1alpha1.KafkaAutoscaler, err error)

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

func (*FakeKafkaAutoscalers) Delete added in v0.44.0

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

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

func (*FakeKafkaAutoscalers) DeleteCollection added in v0.44.0

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

DeleteCollection deletes a collection of objects.

func (*FakeKafkaAutoscalers) Get added in v0.44.0

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

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

func (*FakeKafkaAutoscalers) List added in v0.44.0

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

func (*FakeKafkaAutoscalers) Patch added in v0.44.0

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

Patch applies the patch and returns the patched kafkaAutoscaler.

func (*FakeKafkaAutoscalers) Update added in v0.44.0

func (c *FakeKafkaAutoscalers) Update(ctx context.Context, kafkaAutoscaler *v1alpha1.KafkaAutoscaler, opts v1.UpdateOptions) (result *v1alpha1.KafkaAutoscaler, err error)

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

func (*FakeKafkaAutoscalers) UpdateStatus added in v0.44.0

func (c *FakeKafkaAutoscalers) UpdateStatus(ctx context.Context, kafkaAutoscaler *v1alpha1.KafkaAutoscaler, opts v1.UpdateOptions) (*v1alpha1.KafkaAutoscaler, error)

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

func (*FakeKafkaAutoscalers) Watch added in v0.44.0

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

type FakeMariaDBAutoscalers

type FakeMariaDBAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeMariaDBAutoscalers implements MariaDBAutoscalerInterface

func (*FakeMariaDBAutoscalers) Create

func (c *FakeMariaDBAutoscalers) Create(ctx context.Context, mariaDBAutoscaler *v1alpha1.MariaDBAutoscaler, opts v1.CreateOptions) (result *v1alpha1.MariaDBAutoscaler, err error)

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

func (*FakeMariaDBAutoscalers) Delete

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

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

func (*FakeMariaDBAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMariaDBAutoscalers) Get

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

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

func (*FakeMariaDBAutoscalers) List

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

func (*FakeMariaDBAutoscalers) Patch

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

Patch applies the patch and returns the patched mariaDBAutoscaler.

func (*FakeMariaDBAutoscalers) Update

func (c *FakeMariaDBAutoscalers) Update(ctx context.Context, mariaDBAutoscaler *v1alpha1.MariaDBAutoscaler, opts v1.UpdateOptions) (result *v1alpha1.MariaDBAutoscaler, err error)

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

func (*FakeMariaDBAutoscalers) UpdateStatus

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

func (*FakeMariaDBAutoscalers) Watch

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

type FakeMemcachedAutoscalers

type FakeMemcachedAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeMemcachedAutoscalers implements MemcachedAutoscalerInterface

func (*FakeMemcachedAutoscalers) Create

func (c *FakeMemcachedAutoscalers) Create(ctx context.Context, memcachedAutoscaler *v1alpha1.MemcachedAutoscaler, opts v1.CreateOptions) (result *v1alpha1.MemcachedAutoscaler, err error)

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

func (*FakeMemcachedAutoscalers) Delete

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

func (*FakeMemcachedAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMemcachedAutoscalers) Get

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

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

func (*FakeMemcachedAutoscalers) List

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

func (*FakeMemcachedAutoscalers) Patch

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

Patch applies the patch and returns the patched memcachedAutoscaler.

func (*FakeMemcachedAutoscalers) Update

func (c *FakeMemcachedAutoscalers) Update(ctx context.Context, memcachedAutoscaler *v1alpha1.MemcachedAutoscaler, opts v1.UpdateOptions) (result *v1alpha1.MemcachedAutoscaler, err error)

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

func (*FakeMemcachedAutoscalers) UpdateStatus

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

func (*FakeMemcachedAutoscalers) Watch

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

type FakeMongoDBAutoscalers

type FakeMongoDBAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeMongoDBAutoscalers implements MongoDBAutoscalerInterface

func (*FakeMongoDBAutoscalers) Create

func (c *FakeMongoDBAutoscalers) Create(ctx context.Context, mongoDBAutoscaler *v1alpha1.MongoDBAutoscaler, opts v1.CreateOptions) (result *v1alpha1.MongoDBAutoscaler, err error)

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

func (*FakeMongoDBAutoscalers) Delete

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

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

func (*FakeMongoDBAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMongoDBAutoscalers) Get

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

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

func (*FakeMongoDBAutoscalers) List

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

func (*FakeMongoDBAutoscalers) Patch

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

Patch applies the patch and returns the patched mongoDBAutoscaler.

func (*FakeMongoDBAutoscalers) Update

func (c *FakeMongoDBAutoscalers) Update(ctx context.Context, mongoDBAutoscaler *v1alpha1.MongoDBAutoscaler, opts v1.UpdateOptions) (result *v1alpha1.MongoDBAutoscaler, err error)

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

func (*FakeMongoDBAutoscalers) UpdateStatus

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

func (*FakeMongoDBAutoscalers) Watch

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

type FakeMySQLAutoscalers

type FakeMySQLAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeMySQLAutoscalers implements MySQLAutoscalerInterface

func (*FakeMySQLAutoscalers) Create

func (c *FakeMySQLAutoscalers) Create(ctx context.Context, mySQLAutoscaler *v1alpha1.MySQLAutoscaler, opts v1.CreateOptions) (result *v1alpha1.MySQLAutoscaler, err error)

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

func (*FakeMySQLAutoscalers) Delete

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

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

func (*FakeMySQLAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMySQLAutoscalers) Get

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

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

func (*FakeMySQLAutoscalers) List

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

func (*FakeMySQLAutoscalers) Patch

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

Patch applies the patch and returns the patched mySQLAutoscaler.

func (*FakeMySQLAutoscalers) Update

func (c *FakeMySQLAutoscalers) Update(ctx context.Context, mySQLAutoscaler *v1alpha1.MySQLAutoscaler, opts v1.UpdateOptions) (result *v1alpha1.MySQLAutoscaler, err error)

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

func (*FakeMySQLAutoscalers) UpdateStatus

func (c *FakeMySQLAutoscalers) UpdateStatus(ctx context.Context, mySQLAutoscaler *v1alpha1.MySQLAutoscaler, opts v1.UpdateOptions) (*v1alpha1.MySQLAutoscaler, error)

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

func (*FakeMySQLAutoscalers) Watch

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

type FakePerconaXtraDBAutoscalers

type FakePerconaXtraDBAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakePerconaXtraDBAutoscalers implements PerconaXtraDBAutoscalerInterface

func (*FakePerconaXtraDBAutoscalers) Create

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

func (*FakePerconaXtraDBAutoscalers) Delete

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

func (*FakePerconaXtraDBAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePerconaXtraDBAutoscalers) Get

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

func (*FakePerconaXtraDBAutoscalers) List

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

func (*FakePerconaXtraDBAutoscalers) Patch

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

Patch applies the patch and returns the patched perconaXtraDBAutoscaler.

func (*FakePerconaXtraDBAutoscalers) Update

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

func (*FakePerconaXtraDBAutoscalers) UpdateStatus

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

func (*FakePerconaXtraDBAutoscalers) Watch

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

type FakePgBouncerAutoscalers

type FakePgBouncerAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakePgBouncerAutoscalers implements PgBouncerAutoscalerInterface

func (*FakePgBouncerAutoscalers) Create

func (c *FakePgBouncerAutoscalers) Create(ctx context.Context, pgBouncerAutoscaler *v1alpha1.PgBouncerAutoscaler, opts v1.CreateOptions) (result *v1alpha1.PgBouncerAutoscaler, err error)

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

func (*FakePgBouncerAutoscalers) Delete

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

func (*FakePgBouncerAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePgBouncerAutoscalers) Get

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

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

func (*FakePgBouncerAutoscalers) List

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

func (*FakePgBouncerAutoscalers) Patch

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

Patch applies the patch and returns the patched pgBouncerAutoscaler.

func (*FakePgBouncerAutoscalers) Update

func (c *FakePgBouncerAutoscalers) Update(ctx context.Context, pgBouncerAutoscaler *v1alpha1.PgBouncerAutoscaler, opts v1.UpdateOptions) (result *v1alpha1.PgBouncerAutoscaler, err error)

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

func (*FakePgBouncerAutoscalers) UpdateStatus

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

func (*FakePgBouncerAutoscalers) Watch

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

type FakePostgresAutoscalers

type FakePostgresAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakePostgresAutoscalers implements PostgresAutoscalerInterface

func (*FakePostgresAutoscalers) Create

func (c *FakePostgresAutoscalers) Create(ctx context.Context, postgresAutoscaler *v1alpha1.PostgresAutoscaler, opts v1.CreateOptions) (result *v1alpha1.PostgresAutoscaler, err error)

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

func (*FakePostgresAutoscalers) Delete

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

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

func (*FakePostgresAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePostgresAutoscalers) Get

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

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

func (*FakePostgresAutoscalers) List

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

func (*FakePostgresAutoscalers) Patch

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

Patch applies the patch and returns the patched postgresAutoscaler.

func (*FakePostgresAutoscalers) Update

func (c *FakePostgresAutoscalers) Update(ctx context.Context, postgresAutoscaler *v1alpha1.PostgresAutoscaler, opts v1.UpdateOptions) (result *v1alpha1.PostgresAutoscaler, err error)

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

func (*FakePostgresAutoscalers) UpdateStatus

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

func (*FakePostgresAutoscalers) Watch

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

type FakeProxySQLAutoscalers

type FakeProxySQLAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeProxySQLAutoscalers implements ProxySQLAutoscalerInterface

func (*FakeProxySQLAutoscalers) Create

func (c *FakeProxySQLAutoscalers) Create(ctx context.Context, proxySQLAutoscaler *v1alpha1.ProxySQLAutoscaler, opts v1.CreateOptions) (result *v1alpha1.ProxySQLAutoscaler, err error)

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

func (*FakeProxySQLAutoscalers) Delete

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

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

func (*FakeProxySQLAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeProxySQLAutoscalers) Get

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

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

func (*FakeProxySQLAutoscalers) List

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

func (*FakeProxySQLAutoscalers) Patch

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

Patch applies the patch and returns the patched proxySQLAutoscaler.

func (*FakeProxySQLAutoscalers) Update

func (c *FakeProxySQLAutoscalers) Update(ctx context.Context, proxySQLAutoscaler *v1alpha1.ProxySQLAutoscaler, opts v1.UpdateOptions) (result *v1alpha1.ProxySQLAutoscaler, err error)

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

func (*FakeProxySQLAutoscalers) UpdateStatus

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

func (*FakeProxySQLAutoscalers) Watch

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

type FakeRedisAutoscalers

type FakeRedisAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeRedisAutoscalers implements RedisAutoscalerInterface

func (*FakeRedisAutoscalers) Create

func (c *FakeRedisAutoscalers) Create(ctx context.Context, redisAutoscaler *v1alpha1.RedisAutoscaler, opts v1.CreateOptions) (result *v1alpha1.RedisAutoscaler, err error)

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

func (*FakeRedisAutoscalers) Delete

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

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

func (*FakeRedisAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRedisAutoscalers) Get

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

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

func (*FakeRedisAutoscalers) List

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

func (*FakeRedisAutoscalers) Patch

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

Patch applies the patch and returns the patched redisAutoscaler.

func (*FakeRedisAutoscalers) Update

func (c *FakeRedisAutoscalers) Update(ctx context.Context, redisAutoscaler *v1alpha1.RedisAutoscaler, opts v1.UpdateOptions) (result *v1alpha1.RedisAutoscaler, err error)

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

func (*FakeRedisAutoscalers) UpdateStatus

func (c *FakeRedisAutoscalers) UpdateStatus(ctx context.Context, redisAutoscaler *v1alpha1.RedisAutoscaler, opts v1.UpdateOptions) (*v1alpha1.RedisAutoscaler, error)

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

func (*FakeRedisAutoscalers) Watch

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

type FakeRedisSentinelAutoscalers added in v0.29.0

type FakeRedisSentinelAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeRedisSentinelAutoscalers implements RedisSentinelAutoscalerInterface

func (*FakeRedisSentinelAutoscalers) Create added in v0.29.0

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

func (*FakeRedisSentinelAutoscalers) Delete added in v0.29.0

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

func (*FakeRedisSentinelAutoscalers) DeleteCollection added in v0.29.0

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

DeleteCollection deletes a collection of objects.

func (*FakeRedisSentinelAutoscalers) Get added in v0.29.0

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

func (*FakeRedisSentinelAutoscalers) List added in v0.29.0

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

func (*FakeRedisSentinelAutoscalers) Patch added in v0.29.0

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

Patch applies the patch and returns the patched redisSentinelAutoscaler.

func (*FakeRedisSentinelAutoscalers) Update added in v0.29.0

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

func (*FakeRedisSentinelAutoscalers) UpdateStatus added in v0.29.0

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

func (*FakeRedisSentinelAutoscalers) Watch added in v0.29.0

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

Jump to

Keyboard shortcuts

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