Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeSQLDatabases
- func (c *FakeSQLDatabases) Create(ctx context.Context, sQLDatabase *v1beta1.SQLDatabase, opts v1.CreateOptions) (result *v1beta1.SQLDatabase, err error)
- func (c *FakeSQLDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSQLDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSQLDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SQLDatabase, err error)
- func (c *FakeSQLDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SQLDatabaseList, err error)
- func (c *FakeSQLDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.SQLDatabase, err error)
- func (c *FakeSQLDatabases) Update(ctx context.Context, sQLDatabase *v1beta1.SQLDatabase, opts v1.UpdateOptions) (result *v1beta1.SQLDatabase, err error)
- func (c *FakeSQLDatabases) UpdateStatus(ctx context.Context, sQLDatabase *v1beta1.SQLDatabase, opts v1.UpdateOptions) (*v1beta1.SQLDatabase, error)
- func (c *FakeSQLDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSQLInstances
- func (c *FakeSQLInstances) Create(ctx context.Context, sQLInstance *v1beta1.SQLInstance, opts v1.CreateOptions) (result *v1beta1.SQLInstance, err error)
- func (c *FakeSQLInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSQLInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSQLInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SQLInstance, err error)
- func (c *FakeSQLInstances) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SQLInstanceList, err error)
- func (c *FakeSQLInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.SQLInstance, err error)
- func (c *FakeSQLInstances) Update(ctx context.Context, sQLInstance *v1beta1.SQLInstance, opts v1.UpdateOptions) (result *v1beta1.SQLInstance, err error)
- func (c *FakeSQLInstances) UpdateStatus(ctx context.Context, sQLInstance *v1beta1.SQLInstance, opts v1.UpdateOptions) (*v1beta1.SQLInstance, error)
- func (c *FakeSQLInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSQLSSLCerts
- func (c *FakeSQLSSLCerts) Create(ctx context.Context, sQLSSLCert *v1beta1.SQLSSLCert, opts v1.CreateOptions) (result *v1beta1.SQLSSLCert, err error)
- func (c *FakeSQLSSLCerts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSQLSSLCerts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSQLSSLCerts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SQLSSLCert, err error)
- func (c *FakeSQLSSLCerts) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SQLSSLCertList, err error)
- func (c *FakeSQLSSLCerts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.SQLSSLCert, err error)
- func (c *FakeSQLSSLCerts) Update(ctx context.Context, sQLSSLCert *v1beta1.SQLSSLCert, opts v1.UpdateOptions) (result *v1beta1.SQLSSLCert, err error)
- func (c *FakeSQLSSLCerts) UpdateStatus(ctx context.Context, sQLSSLCert *v1beta1.SQLSSLCert, opts v1.UpdateOptions) (*v1beta1.SQLSSLCert, error)
- func (c *FakeSQLSSLCerts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSQLUsers
- func (c *FakeSQLUsers) Create(ctx context.Context, sQLUser *v1beta1.SQLUser, opts v1.CreateOptions) (result *v1beta1.SQLUser, err error)
- func (c *FakeSQLUsers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSQLUsers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSQLUsers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SQLUser, err error)
- func (c *FakeSQLUsers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SQLUserList, err error)
- func (c *FakeSQLUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.SQLUser, err error)
- func (c *FakeSQLUsers) Update(ctx context.Context, sQLUser *v1beta1.SQLUser, opts v1.UpdateOptions) (result *v1beta1.SQLUser, err error)
- func (c *FakeSQLUsers) UpdateStatus(ctx context.Context, sQLUser *v1beta1.SQLUser, opts v1.UpdateOptions) (*v1beta1.SQLUser, error)
- func (c *FakeSQLUsers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSqlV1beta1
- func (c *FakeSqlV1beta1) RESTClient() rest.Interface
- func (c *FakeSqlV1beta1) SQLDatabases(namespace string) v1beta1.SQLDatabaseInterface
- func (c *FakeSqlV1beta1) SQLInstances(namespace string) v1beta1.SQLInstanceInterface
- func (c *FakeSqlV1beta1) SQLSSLCerts(namespace string) v1beta1.SQLSSLCertInterface
- func (c *FakeSqlV1beta1) SQLUsers(namespace string) v1beta1.SQLUserInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSQLDatabases ¶
type FakeSQLDatabases struct { Fake *FakeSqlV1beta1 // contains filtered or unexported fields }
FakeSQLDatabases implements SQLDatabaseInterface
func (*FakeSQLDatabases) Create ¶
func (c *FakeSQLDatabases) Create(ctx context.Context, sQLDatabase *v1beta1.SQLDatabase, opts v1.CreateOptions) (result *v1beta1.SQLDatabase, err error)
Create takes the representation of a sQLDatabase and creates it. Returns the server's representation of the sQLDatabase, and an error, if there is any.
func (*FakeSQLDatabases) Delete ¶
func (c *FakeSQLDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sQLDatabase and deletes it. Returns an error if one occurs.
func (*FakeSQLDatabases) DeleteCollection ¶
func (c *FakeSQLDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSQLDatabases) Get ¶
func (c *FakeSQLDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SQLDatabase, err error)
Get takes name of the sQLDatabase, and returns the corresponding sQLDatabase object, and an error if there is any.
func (*FakeSQLDatabases) List ¶
func (c *FakeSQLDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SQLDatabaseList, err error)
List takes label and field selectors, and returns the list of SQLDatabases that match those selectors.
func (*FakeSQLDatabases) Patch ¶
func (c *FakeSQLDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.SQLDatabase, err error)
Patch applies the patch and returns the patched sQLDatabase.
func (*FakeSQLDatabases) Update ¶
func (c *FakeSQLDatabases) Update(ctx context.Context, sQLDatabase *v1beta1.SQLDatabase, opts v1.UpdateOptions) (result *v1beta1.SQLDatabase, err error)
Update takes the representation of a sQLDatabase and updates it. Returns the server's representation of the sQLDatabase, and an error, if there is any.
func (*FakeSQLDatabases) UpdateStatus ¶
func (c *FakeSQLDatabases) UpdateStatus(ctx context.Context, sQLDatabase *v1beta1.SQLDatabase, opts v1.UpdateOptions) (*v1beta1.SQLDatabase, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSQLDatabases) Watch ¶
func (c *FakeSQLDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sQLDatabases.
type FakeSQLInstances ¶
type FakeSQLInstances struct { Fake *FakeSqlV1beta1 // contains filtered or unexported fields }
FakeSQLInstances implements SQLInstanceInterface
func (*FakeSQLInstances) Create ¶
func (c *FakeSQLInstances) Create(ctx context.Context, sQLInstance *v1beta1.SQLInstance, opts v1.CreateOptions) (result *v1beta1.SQLInstance, err error)
Create takes the representation of a sQLInstance and creates it. Returns the server's representation of the sQLInstance, and an error, if there is any.
func (*FakeSQLInstances) Delete ¶
func (c *FakeSQLInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sQLInstance and deletes it. Returns an error if one occurs.
func (*FakeSQLInstances) DeleteCollection ¶
func (c *FakeSQLInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSQLInstances) Get ¶
func (c *FakeSQLInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SQLInstance, err error)
Get takes name of the sQLInstance, and returns the corresponding sQLInstance object, and an error if there is any.
func (*FakeSQLInstances) List ¶
func (c *FakeSQLInstances) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SQLInstanceList, err error)
List takes label and field selectors, and returns the list of SQLInstances that match those selectors.
func (*FakeSQLInstances) Patch ¶
func (c *FakeSQLInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.SQLInstance, err error)
Patch applies the patch and returns the patched sQLInstance.
func (*FakeSQLInstances) Update ¶
func (c *FakeSQLInstances) Update(ctx context.Context, sQLInstance *v1beta1.SQLInstance, opts v1.UpdateOptions) (result *v1beta1.SQLInstance, err error)
Update takes the representation of a sQLInstance and updates it. Returns the server's representation of the sQLInstance, and an error, if there is any.
func (*FakeSQLInstances) UpdateStatus ¶
func (c *FakeSQLInstances) UpdateStatus(ctx context.Context, sQLInstance *v1beta1.SQLInstance, opts v1.UpdateOptions) (*v1beta1.SQLInstance, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSQLInstances) Watch ¶
func (c *FakeSQLInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sQLInstances.
type FakeSQLSSLCerts ¶
type FakeSQLSSLCerts struct { Fake *FakeSqlV1beta1 // contains filtered or unexported fields }
FakeSQLSSLCerts implements SQLSSLCertInterface
func (*FakeSQLSSLCerts) Create ¶
func (c *FakeSQLSSLCerts) Create(ctx context.Context, sQLSSLCert *v1beta1.SQLSSLCert, opts v1.CreateOptions) (result *v1beta1.SQLSSLCert, err error)
Create takes the representation of a sQLSSLCert and creates it. Returns the server's representation of the sQLSSLCert, and an error, if there is any.
func (*FakeSQLSSLCerts) Delete ¶
func (c *FakeSQLSSLCerts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sQLSSLCert and deletes it. Returns an error if one occurs.
func (*FakeSQLSSLCerts) DeleteCollection ¶
func (c *FakeSQLSSLCerts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSQLSSLCerts) Get ¶
func (c *FakeSQLSSLCerts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SQLSSLCert, err error)
Get takes name of the sQLSSLCert, and returns the corresponding sQLSSLCert object, and an error if there is any.
func (*FakeSQLSSLCerts) List ¶
func (c *FakeSQLSSLCerts) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SQLSSLCertList, err error)
List takes label and field selectors, and returns the list of SQLSSLCerts that match those selectors.
func (*FakeSQLSSLCerts) Patch ¶
func (c *FakeSQLSSLCerts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.SQLSSLCert, err error)
Patch applies the patch and returns the patched sQLSSLCert.
func (*FakeSQLSSLCerts) Update ¶
func (c *FakeSQLSSLCerts) Update(ctx context.Context, sQLSSLCert *v1beta1.SQLSSLCert, opts v1.UpdateOptions) (result *v1beta1.SQLSSLCert, err error)
Update takes the representation of a sQLSSLCert and updates it. Returns the server's representation of the sQLSSLCert, and an error, if there is any.
func (*FakeSQLSSLCerts) UpdateStatus ¶
func (c *FakeSQLSSLCerts) UpdateStatus(ctx context.Context, sQLSSLCert *v1beta1.SQLSSLCert, opts v1.UpdateOptions) (*v1beta1.SQLSSLCert, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSQLSSLCerts) Watch ¶
func (c *FakeSQLSSLCerts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sQLSSLCerts.
type FakeSQLUsers ¶
type FakeSQLUsers struct { Fake *FakeSqlV1beta1 // contains filtered or unexported fields }
FakeSQLUsers implements SQLUserInterface
func (*FakeSQLUsers) Create ¶
func (c *FakeSQLUsers) Create(ctx context.Context, sQLUser *v1beta1.SQLUser, opts v1.CreateOptions) (result *v1beta1.SQLUser, err error)
Create takes the representation of a sQLUser and creates it. Returns the server's representation of the sQLUser, and an error, if there is any.
func (*FakeSQLUsers) Delete ¶
func (c *FakeSQLUsers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sQLUser and deletes it. Returns an error if one occurs.
func (*FakeSQLUsers) DeleteCollection ¶
func (c *FakeSQLUsers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSQLUsers) Get ¶
func (c *FakeSQLUsers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SQLUser, err error)
Get takes name of the sQLUser, and returns the corresponding sQLUser object, and an error if there is any.
func (*FakeSQLUsers) List ¶
func (c *FakeSQLUsers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SQLUserList, err error)
List takes label and field selectors, and returns the list of SQLUsers that match those selectors.
func (*FakeSQLUsers) Patch ¶
func (c *FakeSQLUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.SQLUser, err error)
Patch applies the patch and returns the patched sQLUser.
func (*FakeSQLUsers) Update ¶
func (c *FakeSQLUsers) Update(ctx context.Context, sQLUser *v1beta1.SQLUser, opts v1.UpdateOptions) (result *v1beta1.SQLUser, err error)
Update takes the representation of a sQLUser and updates it. Returns the server's representation of the sQLUser, and an error, if there is any.
func (*FakeSQLUsers) UpdateStatus ¶
func (c *FakeSQLUsers) UpdateStatus(ctx context.Context, sQLUser *v1beta1.SQLUser, opts v1.UpdateOptions) (*v1beta1.SQLUser, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSQLUsers) Watch ¶
func (c *FakeSQLUsers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sQLUsers.
type FakeSqlV1beta1 ¶
func (*FakeSqlV1beta1) RESTClient ¶
func (c *FakeSqlV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSqlV1beta1) SQLDatabases ¶
func (c *FakeSqlV1beta1) SQLDatabases(namespace string) v1beta1.SQLDatabaseInterface
func (*FakeSqlV1beta1) SQLInstances ¶
func (c *FakeSqlV1beta1) SQLInstances(namespace string) v1beta1.SQLInstanceInterface
func (*FakeSqlV1beta1) SQLSSLCerts ¶
func (c *FakeSqlV1beta1) SQLSSLCerts(namespace string) v1beta1.SQLSSLCertInterface
func (*FakeSqlV1beta1) SQLUsers ¶
func (c *FakeSqlV1beta1) SQLUsers(namespace string) v1beta1.SQLUserInterface