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