Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackendModules
- func (c *FakeBackendModules) Create(backendModule *v1alpha1.BackendModule) (result *v1alpha1.BackendModule, err error)
- func (c *FakeBackendModules) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBackendModules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBackendModules) Get(name string, options v1.GetOptions) (result *v1alpha1.BackendModule, err error)
- func (c *FakeBackendModules) List(opts v1.ListOptions) (result *v1alpha1.BackendModuleList, err error)
- func (c *FakeBackendModules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BackendModule, err error)
- func (c *FakeBackendModules) Update(backendModule *v1alpha1.BackendModule) (result *v1alpha1.BackendModule, err error)
- func (c *FakeBackendModules) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeUiV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBackendModules ¶
type FakeBackendModules struct {
Fake *FakeUiV1alpha1
}
FakeBackendModules implements BackendModuleInterface
func (*FakeBackendModules) Create ¶
func (c *FakeBackendModules) Create(backendModule *v1alpha1.BackendModule) (result *v1alpha1.BackendModule, err error)
Create takes the representation of a backendModule and creates it. Returns the server's representation of the backendModule, and an error, if there is any.
func (*FakeBackendModules) Delete ¶
func (c *FakeBackendModules) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the backendModule and deletes it. Returns an error if one occurs.
func (*FakeBackendModules) DeleteCollection ¶
func (c *FakeBackendModules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackendModules) Get ¶
func (c *FakeBackendModules) Get(name string, options v1.GetOptions) (result *v1alpha1.BackendModule, err error)
Get takes name of the backendModule, and returns the corresponding backendModule object, and an error if there is any.
func (*FakeBackendModules) List ¶
func (c *FakeBackendModules) List(opts v1.ListOptions) (result *v1alpha1.BackendModuleList, err error)
List takes label and field selectors, and returns the list of BackendModules that match those selectors.
func (*FakeBackendModules) Patch ¶
func (c *FakeBackendModules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BackendModule, err error)
Patch applies the patch and returns the patched backendModule.
func (*FakeBackendModules) Update ¶
func (c *FakeBackendModules) Update(backendModule *v1alpha1.BackendModule) (result *v1alpha1.BackendModule, err error)
Update takes the representation of a backendModule and updates it. Returns the server's representation of the backendModule, and an error, if there is any.
func (*FakeBackendModules) Watch ¶
func (c *FakeBackendModules) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backendModules.
type FakeUiV1alpha1 ¶
func (*FakeUiV1alpha1) BackendModules ¶
func (c *FakeUiV1alpha1) BackendModules() v1alpha1.BackendModuleInterface
func (*FakeUiV1alpha1) RESTClient ¶
func (c *FakeUiV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.