Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMysqls
- func (c *FakeMysqls) Create(mysql *v1alpha1.Mysql) (result *v1alpha1.Mysql, err error)
- func (c *FakeMysqls) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMysqls) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMysqls) Get(name string, options v1.GetOptions) (result *v1alpha1.Mysql, err error)
- func (c *FakeMysqls) List(opts v1.ListOptions) (result *v1alpha1.MysqlList, err error)
- func (c *FakeMysqls) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Mysql, err error)
- func (c *FakeMysqls) Update(mysql *v1alpha1.Mysql) (result *v1alpha1.Mysql, err error)
- func (c *FakeMysqls) UpdateStatus(mysql *v1alpha1.Mysql) (*v1alpha1.Mysql, error)
- func (c *FakeMysqls) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRdsV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMysqls ¶
type FakeMysqls struct { Fake *FakeRdsV1alpha1 // contains filtered or unexported fields }
FakeMysqls implements MysqlInterface
func (*FakeMysqls) Create ¶
Create takes the representation of a mysql and creates it. Returns the server's representation of the mysql, and an error, if there is any.
func (*FakeMysqls) Delete ¶
func (c *FakeMysqls) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the mysql and deletes it. Returns an error if one occurs.
func (*FakeMysqls) DeleteCollection ¶
func (c *FakeMysqls) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMysqls) Get ¶
func (c *FakeMysqls) Get(name string, options v1.GetOptions) (result *v1alpha1.Mysql, err error)
Get takes name of the mysql, and returns the corresponding mysql object, and an error if there is any.
func (*FakeMysqls) List ¶
func (c *FakeMysqls) List(opts v1.ListOptions) (result *v1alpha1.MysqlList, err error)
List takes label and field selectors, and returns the list of Mysqls that match those selectors.
func (*FakeMysqls) Patch ¶
func (c *FakeMysqls) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Mysql, err error)
Patch applies the patch and returns the patched mysql.
func (*FakeMysqls) Update ¶
Update takes the representation of a mysql and updates it. Returns the server's representation of the mysql, and an error, if there is any.
func (*FakeMysqls) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMysqls) Watch ¶
func (c *FakeMysqls) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mysqls.
type FakeRdsV1alpha1 ¶
func (*FakeRdsV1alpha1) Mysqls ¶
func (c *FakeRdsV1alpha1) Mysqls(namespace string) v1alpha1.MysqlInterface
func (*FakeRdsV1alpha1) RESTClient ¶
func (c *FakeRdsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.