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