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