Documentation ¶
Overview ¶
Copyright 2018 Pressinfra SRL
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Package fake has the automatically generated clients.
Copyright 2018 Pressinfra SRL ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2018 Pressinfra SRL ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2018 Pressinfra SRL ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- type FakeMysqlBackups
- func (c *FakeMysqlBackups) Create(mysqlBackup *v1alpha1.MysqlBackup) (result *v1alpha1.MysqlBackup, err error)
- func (c *FakeMysqlBackups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMysqlBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMysqlBackups) Get(name string, options v1.GetOptions) (result *v1alpha1.MysqlBackup, err error)
- func (c *FakeMysqlBackups) List(opts v1.ListOptions) (result *v1alpha1.MysqlBackupList, err error)
- func (c *FakeMysqlBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MysqlBackup, err error)
- func (c *FakeMysqlBackups) Update(mysqlBackup *v1alpha1.MysqlBackup) (result *v1alpha1.MysqlBackup, err error)
- func (c *FakeMysqlBackups) UpdateStatus(mysqlBackup *v1alpha1.MysqlBackup) (*v1alpha1.MysqlBackup, error)
- func (c *FakeMysqlBackups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMysqlClusters
- func (c *FakeMysqlClusters) Create(mysqlCluster *v1alpha1.MysqlCluster) (result *v1alpha1.MysqlCluster, err error)
- func (c *FakeMysqlClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMysqlClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMysqlClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.MysqlCluster, err error)
- func (c *FakeMysqlClusters) List(opts v1.ListOptions) (result *v1alpha1.MysqlClusterList, err error)
- func (c *FakeMysqlClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MysqlCluster, err error)
- func (c *FakeMysqlClusters) Update(mysqlCluster *v1alpha1.MysqlCluster) (result *v1alpha1.MysqlCluster, err error)
- func (c *FakeMysqlClusters) UpdateStatus(mysqlCluster *v1alpha1.MysqlCluster) (*v1alpha1.MysqlCluster, error)
- func (c *FakeMysqlClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMysqlV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMysqlBackups ¶
type FakeMysqlBackups struct { Fake *FakeMysqlV1alpha1 // contains filtered or unexported fields }
FakeMysqlBackups implements MysqlBackupInterface
func (*FakeMysqlBackups) Create ¶
func (c *FakeMysqlBackups) Create(mysqlBackup *v1alpha1.MysqlBackup) (result *v1alpha1.MysqlBackup, err error)
Create takes the representation of a mysqlBackup and creates it. Returns the server's representation of the mysqlBackup, and an error, if there is any.
func (*FakeMysqlBackups) Delete ¶
func (c *FakeMysqlBackups) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the mysqlBackup and deletes it. Returns an error if one occurs.
func (*FakeMysqlBackups) DeleteCollection ¶
func (c *FakeMysqlBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMysqlBackups) Get ¶
func (c *FakeMysqlBackups) Get(name string, options v1.GetOptions) (result *v1alpha1.MysqlBackup, err error)
Get takes name of the mysqlBackup, and returns the corresponding mysqlBackup object, and an error if there is any.
func (*FakeMysqlBackups) List ¶
func (c *FakeMysqlBackups) List(opts v1.ListOptions) (result *v1alpha1.MysqlBackupList, err error)
List takes label and field selectors, and returns the list of MysqlBackups that match those selectors.
func (*FakeMysqlBackups) Patch ¶
func (c *FakeMysqlBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MysqlBackup, err error)
Patch applies the patch and returns the patched mysqlBackup.
func (*FakeMysqlBackups) Update ¶
func (c *FakeMysqlBackups) Update(mysqlBackup *v1alpha1.MysqlBackup) (result *v1alpha1.MysqlBackup, err error)
Update takes the representation of a mysqlBackup and updates it. Returns the server's representation of the mysqlBackup, and an error, if there is any.
func (*FakeMysqlBackups) UpdateStatus ¶
func (c *FakeMysqlBackups) UpdateStatus(mysqlBackup *v1alpha1.MysqlBackup) (*v1alpha1.MysqlBackup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMysqlBackups) Watch ¶
func (c *FakeMysqlBackups) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mysqlBackups.
type FakeMysqlClusters ¶
type FakeMysqlClusters struct { Fake *FakeMysqlV1alpha1 // contains filtered or unexported fields }
FakeMysqlClusters implements MysqlClusterInterface
func (*FakeMysqlClusters) Create ¶
func (c *FakeMysqlClusters) Create(mysqlCluster *v1alpha1.MysqlCluster) (result *v1alpha1.MysqlCluster, err error)
Create takes the representation of a mysqlCluster and creates it. Returns the server's representation of the mysqlCluster, and an error, if there is any.
func (*FakeMysqlClusters) Delete ¶
func (c *FakeMysqlClusters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the mysqlCluster and deletes it. Returns an error if one occurs.
func (*FakeMysqlClusters) DeleteCollection ¶
func (c *FakeMysqlClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMysqlClusters) Get ¶
func (c *FakeMysqlClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.MysqlCluster, err error)
Get takes name of the mysqlCluster, and returns the corresponding mysqlCluster object, and an error if there is any.
func (*FakeMysqlClusters) List ¶
func (c *FakeMysqlClusters) List(opts v1.ListOptions) (result *v1alpha1.MysqlClusterList, err error)
List takes label and field selectors, and returns the list of MysqlClusters that match those selectors.
func (*FakeMysqlClusters) Patch ¶
func (c *FakeMysqlClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MysqlCluster, err error)
Patch applies the patch and returns the patched mysqlCluster.
func (*FakeMysqlClusters) Update ¶
func (c *FakeMysqlClusters) Update(mysqlCluster *v1alpha1.MysqlCluster) (result *v1alpha1.MysqlCluster, err error)
Update takes the representation of a mysqlCluster and updates it. Returns the server's representation of the mysqlCluster, and an error, if there is any.
func (*FakeMysqlClusters) UpdateStatus ¶
func (c *FakeMysqlClusters) UpdateStatus(mysqlCluster *v1alpha1.MysqlCluster) (*v1alpha1.MysqlCluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMysqlClusters) Watch ¶
func (c *FakeMysqlClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mysqlClusters.
type FakeMysqlV1alpha1 ¶
func (*FakeMysqlV1alpha1) MysqlBackups ¶
func (c *FakeMysqlV1alpha1) MysqlBackups(namespace string) v1alpha1.MysqlBackupInterface
func (*FakeMysqlV1alpha1) MysqlClusters ¶
func (c *FakeMysqlV1alpha1) MysqlClusters(namespace string) v1alpha1.MysqlClusterInterface
func (*FakeMysqlV1alpha1) RESTClient ¶
func (c *FakeMysqlV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.