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