fake

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 10 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 FakeElasticsearchOpsRequests

type FakeElasticsearchOpsRequests struct {
	Fake *FakeOpsV1alpha1
	// contains filtered or unexported fields
}

FakeElasticsearchOpsRequests implements ElasticsearchOpsRequestInterface

func (*FakeElasticsearchOpsRequests) Create

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

func (*FakeElasticsearchOpsRequests) Delete

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

func (*FakeElasticsearchOpsRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeElasticsearchOpsRequests) Get

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

func (*FakeElasticsearchOpsRequests) List

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

func (*FakeElasticsearchOpsRequests) Patch

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

Patch applies the patch and returns the patched elasticsearchOpsRequest.

func (*FakeElasticsearchOpsRequests) Update

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

func (*FakeElasticsearchOpsRequests) UpdateStatus

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

func (*FakeElasticsearchOpsRequests) Watch

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

type FakeEtcdOpsRequests

type FakeEtcdOpsRequests struct {
	Fake *FakeOpsV1alpha1
	// contains filtered or unexported fields
}

FakeEtcdOpsRequests implements EtcdOpsRequestInterface

func (*FakeEtcdOpsRequests) Create

func (c *FakeEtcdOpsRequests) Create(ctx context.Context, etcdOpsRequest *v1alpha1.EtcdOpsRequest, opts v1.CreateOptions) (result *v1alpha1.EtcdOpsRequest, err error)

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

func (*FakeEtcdOpsRequests) Delete

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

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

func (*FakeEtcdOpsRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEtcdOpsRequests) Get

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

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

func (*FakeEtcdOpsRequests) List

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

func (*FakeEtcdOpsRequests) Patch

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

Patch applies the patch and returns the patched etcdOpsRequest.

func (*FakeEtcdOpsRequests) Update

func (c *FakeEtcdOpsRequests) Update(ctx context.Context, etcdOpsRequest *v1alpha1.EtcdOpsRequest, opts v1.UpdateOptions) (result *v1alpha1.EtcdOpsRequest, err error)

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

func (*FakeEtcdOpsRequests) UpdateStatus

func (c *FakeEtcdOpsRequests) UpdateStatus(ctx context.Context, etcdOpsRequest *v1alpha1.EtcdOpsRequest, opts v1.UpdateOptions) (*v1alpha1.EtcdOpsRequest, error)

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

func (*FakeEtcdOpsRequests) Watch

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

type FakeMariaDBOpsRequests

type FakeMariaDBOpsRequests struct {
	Fake *FakeOpsV1alpha1
	// contains filtered or unexported fields
}

FakeMariaDBOpsRequests implements MariaDBOpsRequestInterface

func (*FakeMariaDBOpsRequests) Create

func (c *FakeMariaDBOpsRequests) Create(ctx context.Context, mariaDBOpsRequest *v1alpha1.MariaDBOpsRequest, opts v1.CreateOptions) (result *v1alpha1.MariaDBOpsRequest, err error)

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

func (*FakeMariaDBOpsRequests) Delete

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

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

func (*FakeMariaDBOpsRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMariaDBOpsRequests) Get

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

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

func (*FakeMariaDBOpsRequests) List

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

func (*FakeMariaDBOpsRequests) Patch

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

Patch applies the patch and returns the patched mariaDBOpsRequest.

func (*FakeMariaDBOpsRequests) Update

func (c *FakeMariaDBOpsRequests) Update(ctx context.Context, mariaDBOpsRequest *v1alpha1.MariaDBOpsRequest, opts v1.UpdateOptions) (result *v1alpha1.MariaDBOpsRequest, err error)

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

func (*FakeMariaDBOpsRequests) UpdateStatus

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

func (*FakeMariaDBOpsRequests) Watch

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

type FakeMemcachedOpsRequests

type FakeMemcachedOpsRequests struct {
	Fake *FakeOpsV1alpha1
	// contains filtered or unexported fields
}

FakeMemcachedOpsRequests implements MemcachedOpsRequestInterface

func (*FakeMemcachedOpsRequests) Create

func (c *FakeMemcachedOpsRequests) Create(ctx context.Context, memcachedOpsRequest *v1alpha1.MemcachedOpsRequest, opts v1.CreateOptions) (result *v1alpha1.MemcachedOpsRequest, err error)

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

func (*FakeMemcachedOpsRequests) Delete

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

func (*FakeMemcachedOpsRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMemcachedOpsRequests) Get

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

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

func (*FakeMemcachedOpsRequests) List

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

func (*FakeMemcachedOpsRequests) Patch

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

Patch applies the patch and returns the patched memcachedOpsRequest.

func (*FakeMemcachedOpsRequests) Update

func (c *FakeMemcachedOpsRequests) Update(ctx context.Context, memcachedOpsRequest *v1alpha1.MemcachedOpsRequest, opts v1.UpdateOptions) (result *v1alpha1.MemcachedOpsRequest, err error)

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

func (*FakeMemcachedOpsRequests) UpdateStatus

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

func (*FakeMemcachedOpsRequests) Watch

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

type FakeMongoDBOpsRequests

type FakeMongoDBOpsRequests struct {
	Fake *FakeOpsV1alpha1
	// contains filtered or unexported fields
}

FakeMongoDBOpsRequests implements MongoDBOpsRequestInterface

func (*FakeMongoDBOpsRequests) Create

func (c *FakeMongoDBOpsRequests) Create(ctx context.Context, mongoDBOpsRequest *v1alpha1.MongoDBOpsRequest, opts v1.CreateOptions) (result *v1alpha1.MongoDBOpsRequest, err error)

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

func (*FakeMongoDBOpsRequests) Delete

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

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

func (*FakeMongoDBOpsRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMongoDBOpsRequests) Get

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

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

func (*FakeMongoDBOpsRequests) List

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

func (*FakeMongoDBOpsRequests) Patch

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

Patch applies the patch and returns the patched mongoDBOpsRequest.

func (*FakeMongoDBOpsRequests) Update

func (c *FakeMongoDBOpsRequests) Update(ctx context.Context, mongoDBOpsRequest *v1alpha1.MongoDBOpsRequest, opts v1.UpdateOptions) (result *v1alpha1.MongoDBOpsRequest, err error)

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

func (*FakeMongoDBOpsRequests) UpdateStatus

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

func (*FakeMongoDBOpsRequests) Watch

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

type FakeMySQLOpsRequests

type FakeMySQLOpsRequests struct {
	Fake *FakeOpsV1alpha1
	// contains filtered or unexported fields
}

FakeMySQLOpsRequests implements MySQLOpsRequestInterface

func (*FakeMySQLOpsRequests) Create

func (c *FakeMySQLOpsRequests) Create(ctx context.Context, mySQLOpsRequest *v1alpha1.MySQLOpsRequest, opts v1.CreateOptions) (result *v1alpha1.MySQLOpsRequest, err error)

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

func (*FakeMySQLOpsRequests) Delete

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

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

func (*FakeMySQLOpsRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMySQLOpsRequests) Get

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

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

func (*FakeMySQLOpsRequests) List

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

func (*FakeMySQLOpsRequests) Patch

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

Patch applies the patch and returns the patched mySQLOpsRequest.

func (*FakeMySQLOpsRequests) Update

func (c *FakeMySQLOpsRequests) Update(ctx context.Context, mySQLOpsRequest *v1alpha1.MySQLOpsRequest, opts v1.UpdateOptions) (result *v1alpha1.MySQLOpsRequest, err error)

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

func (*FakeMySQLOpsRequests) UpdateStatus

func (c *FakeMySQLOpsRequests) UpdateStatus(ctx context.Context, mySQLOpsRequest *v1alpha1.MySQLOpsRequest, opts v1.UpdateOptions) (*v1alpha1.MySQLOpsRequest, error)

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

func (*FakeMySQLOpsRequests) Watch

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

type FakeOpsV1alpha1

type FakeOpsV1alpha1 struct {
	*testing.Fake
}

func (*FakeOpsV1alpha1) ElasticsearchOpsRequests

func (c *FakeOpsV1alpha1) ElasticsearchOpsRequests(namespace string) v1alpha1.ElasticsearchOpsRequestInterface

func (*FakeOpsV1alpha1) EtcdOpsRequests

func (c *FakeOpsV1alpha1) EtcdOpsRequests(namespace string) v1alpha1.EtcdOpsRequestInterface

func (*FakeOpsV1alpha1) MariaDBOpsRequests

func (c *FakeOpsV1alpha1) MariaDBOpsRequests(namespace string) v1alpha1.MariaDBOpsRequestInterface

func (*FakeOpsV1alpha1) MemcachedOpsRequests

func (c *FakeOpsV1alpha1) MemcachedOpsRequests(namespace string) v1alpha1.MemcachedOpsRequestInterface

func (*FakeOpsV1alpha1) MongoDBOpsRequests

func (c *FakeOpsV1alpha1) MongoDBOpsRequests(namespace string) v1alpha1.MongoDBOpsRequestInterface

func (*FakeOpsV1alpha1) MySQLOpsRequests

func (c *FakeOpsV1alpha1) MySQLOpsRequests(namespace string) v1alpha1.MySQLOpsRequestInterface

func (*FakeOpsV1alpha1) PerconaXtraDBOpsRequests

func (c *FakeOpsV1alpha1) PerconaXtraDBOpsRequests(namespace string) v1alpha1.PerconaXtraDBOpsRequestInterface

func (*FakeOpsV1alpha1) PgBouncerOpsRequests

func (c *FakeOpsV1alpha1) PgBouncerOpsRequests(namespace string) v1alpha1.PgBouncerOpsRequestInterface

func (*FakeOpsV1alpha1) PostgresOpsRequests

func (c *FakeOpsV1alpha1) PostgresOpsRequests(namespace string) v1alpha1.PostgresOpsRequestInterface

func (*FakeOpsV1alpha1) ProxySQLOpsRequests

func (c *FakeOpsV1alpha1) ProxySQLOpsRequests(namespace string) v1alpha1.ProxySQLOpsRequestInterface

func (*FakeOpsV1alpha1) RESTClient

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

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

func (*FakeOpsV1alpha1) RedisOpsRequests

func (c *FakeOpsV1alpha1) RedisOpsRequests(namespace string) v1alpha1.RedisOpsRequestInterface

type FakePerconaXtraDBOpsRequests

type FakePerconaXtraDBOpsRequests struct {
	Fake *FakeOpsV1alpha1
	// contains filtered or unexported fields
}

FakePerconaXtraDBOpsRequests implements PerconaXtraDBOpsRequestInterface

func (*FakePerconaXtraDBOpsRequests) Create

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

func (*FakePerconaXtraDBOpsRequests) Delete

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

func (*FakePerconaXtraDBOpsRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePerconaXtraDBOpsRequests) Get

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

func (*FakePerconaXtraDBOpsRequests) List

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

func (*FakePerconaXtraDBOpsRequests) Patch

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

Patch applies the patch and returns the patched perconaXtraDBOpsRequest.

func (*FakePerconaXtraDBOpsRequests) Update

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

func (*FakePerconaXtraDBOpsRequests) UpdateStatus

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

func (*FakePerconaXtraDBOpsRequests) Watch

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

type FakePgBouncerOpsRequests

type FakePgBouncerOpsRequests struct {
	Fake *FakeOpsV1alpha1
	// contains filtered or unexported fields
}

FakePgBouncerOpsRequests implements PgBouncerOpsRequestInterface

func (*FakePgBouncerOpsRequests) Create

func (c *FakePgBouncerOpsRequests) Create(ctx context.Context, pgBouncerOpsRequest *v1alpha1.PgBouncerOpsRequest, opts v1.CreateOptions) (result *v1alpha1.PgBouncerOpsRequest, err error)

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

func (*FakePgBouncerOpsRequests) Delete

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

func (*FakePgBouncerOpsRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePgBouncerOpsRequests) Get

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

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

func (*FakePgBouncerOpsRequests) List

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

func (*FakePgBouncerOpsRequests) Patch

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

Patch applies the patch and returns the patched pgBouncerOpsRequest.

func (*FakePgBouncerOpsRequests) Update

func (c *FakePgBouncerOpsRequests) Update(ctx context.Context, pgBouncerOpsRequest *v1alpha1.PgBouncerOpsRequest, opts v1.UpdateOptions) (result *v1alpha1.PgBouncerOpsRequest, err error)

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

func (*FakePgBouncerOpsRequests) UpdateStatus

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

func (*FakePgBouncerOpsRequests) Watch

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

type FakePostgresOpsRequests

type FakePostgresOpsRequests struct {
	Fake *FakeOpsV1alpha1
	// contains filtered or unexported fields
}

FakePostgresOpsRequests implements PostgresOpsRequestInterface

func (*FakePostgresOpsRequests) Create

func (c *FakePostgresOpsRequests) Create(ctx context.Context, postgresOpsRequest *v1alpha1.PostgresOpsRequest, opts v1.CreateOptions) (result *v1alpha1.PostgresOpsRequest, err error)

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

func (*FakePostgresOpsRequests) Delete

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

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

func (*FakePostgresOpsRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePostgresOpsRequests) Get

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

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

func (*FakePostgresOpsRequests) List

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

func (*FakePostgresOpsRequests) Patch

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

Patch applies the patch and returns the patched postgresOpsRequest.

func (*FakePostgresOpsRequests) Update

func (c *FakePostgresOpsRequests) Update(ctx context.Context, postgresOpsRequest *v1alpha1.PostgresOpsRequest, opts v1.UpdateOptions) (result *v1alpha1.PostgresOpsRequest, err error)

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

func (*FakePostgresOpsRequests) UpdateStatus

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

func (*FakePostgresOpsRequests) Watch

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

type FakeProxySQLOpsRequests

type FakeProxySQLOpsRequests struct {
	Fake *FakeOpsV1alpha1
	// contains filtered or unexported fields
}

FakeProxySQLOpsRequests implements ProxySQLOpsRequestInterface

func (*FakeProxySQLOpsRequests) Create

func (c *FakeProxySQLOpsRequests) Create(ctx context.Context, proxySQLOpsRequest *v1alpha1.ProxySQLOpsRequest, opts v1.CreateOptions) (result *v1alpha1.ProxySQLOpsRequest, err error)

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

func (*FakeProxySQLOpsRequests) Delete

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

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

func (*FakeProxySQLOpsRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeProxySQLOpsRequests) Get

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

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

func (*FakeProxySQLOpsRequests) List

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

func (*FakeProxySQLOpsRequests) Patch

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

Patch applies the patch and returns the patched proxySQLOpsRequest.

func (*FakeProxySQLOpsRequests) Update

func (c *FakeProxySQLOpsRequests) Update(ctx context.Context, proxySQLOpsRequest *v1alpha1.ProxySQLOpsRequest, opts v1.UpdateOptions) (result *v1alpha1.ProxySQLOpsRequest, err error)

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

func (*FakeProxySQLOpsRequests) UpdateStatus

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

func (*FakeProxySQLOpsRequests) Watch

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

type FakeRedisOpsRequests

type FakeRedisOpsRequests struct {
	Fake *FakeOpsV1alpha1
	// contains filtered or unexported fields
}

FakeRedisOpsRequests implements RedisOpsRequestInterface

func (*FakeRedisOpsRequests) Create

func (c *FakeRedisOpsRequests) Create(ctx context.Context, redisOpsRequest *v1alpha1.RedisOpsRequest, opts v1.CreateOptions) (result *v1alpha1.RedisOpsRequest, err error)

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

func (*FakeRedisOpsRequests) Delete

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

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

func (*FakeRedisOpsRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRedisOpsRequests) Get

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

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

func (*FakeRedisOpsRequests) List

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

func (*FakeRedisOpsRequests) Patch

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

Patch applies the patch and returns the patched redisOpsRequest.

func (*FakeRedisOpsRequests) Update

func (c *FakeRedisOpsRequests) Update(ctx context.Context, redisOpsRequest *v1alpha1.RedisOpsRequest, opts v1.UpdateOptions) (result *v1alpha1.RedisOpsRequest, err error)

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

func (*FakeRedisOpsRequests) UpdateStatus

func (c *FakeRedisOpsRequests) UpdateStatus(ctx context.Context, redisOpsRequest *v1alpha1.RedisOpsRequest, opts v1.UpdateOptions) (*v1alpha1.RedisOpsRequest, error)

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

func (*FakeRedisOpsRequests) Watch

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

Jump to

Keyboard shortcuts

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