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