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