Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBlockDeviceClaims
- func (c *FakeBlockDeviceClaims) Create(blockDeviceClaim *v1alpha1.BlockDeviceClaim) (result *v1alpha1.BlockDeviceClaim, err error)
- func (c *FakeBlockDeviceClaims) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBlockDeviceClaims) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBlockDeviceClaims) Get(name string, options v1.GetOptions) (result *v1alpha1.BlockDeviceClaim, err error)
- func (c *FakeBlockDeviceClaims) List(opts v1.ListOptions) (result *v1alpha1.BlockDeviceClaimList, err error)
- func (c *FakeBlockDeviceClaims) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BlockDeviceClaim, err error)
- func (c *FakeBlockDeviceClaims) Update(blockDeviceClaim *v1alpha1.BlockDeviceClaim) (result *v1alpha1.BlockDeviceClaim, err error)
- func (c *FakeBlockDeviceClaims) UpdateStatus(blockDeviceClaim *v1alpha1.BlockDeviceClaim) (*v1alpha1.BlockDeviceClaim, error)
- func (c *FakeBlockDeviceClaims) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBlockDevices
- func (c *FakeBlockDevices) Create(blockDevice *v1alpha1.BlockDevice) (result *v1alpha1.BlockDevice, err error)
- func (c *FakeBlockDevices) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBlockDevices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBlockDevices) Get(name string, options v1.GetOptions) (result *v1alpha1.BlockDevice, err error)
- func (c *FakeBlockDevices) List(opts v1.ListOptions) (result *v1alpha1.BlockDeviceList, err error)
- func (c *FakeBlockDevices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BlockDevice, err error)
- func (c *FakeBlockDevices) Update(blockDevice *v1alpha1.BlockDevice) (result *v1alpha1.BlockDevice, err error)
- func (c *FakeBlockDevices) UpdateStatus(blockDevice *v1alpha1.BlockDevice) (*v1alpha1.BlockDevice, error)
- func (c *FakeBlockDevices) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDisks
- func (c *FakeDisks) Create(disk *v1alpha1.Disk) (result *v1alpha1.Disk, err error)
- func (c *FakeDisks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDisks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDisks) Get(name string, options v1.GetOptions) (result *v1alpha1.Disk, err error)
- func (c *FakeDisks) List(opts v1.ListOptions) (result *v1alpha1.DiskList, err error)
- func (c *FakeDisks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Disk, err error)
- func (c *FakeDisks) Update(disk *v1alpha1.Disk) (result *v1alpha1.Disk, err error)
- func (c *FakeDisks) UpdateStatus(disk *v1alpha1.Disk) (*v1alpha1.Disk, error)
- func (c *FakeDisks) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeOpenebsV1alpha1
- func (c *FakeOpenebsV1alpha1) BlockDeviceClaims(namespace string) v1alpha1.BlockDeviceClaimInterface
- func (c *FakeOpenebsV1alpha1) BlockDevices(namespace string) v1alpha1.BlockDeviceInterface
- func (c *FakeOpenebsV1alpha1) Disks() v1alpha1.DiskInterface
- func (c *FakeOpenebsV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBlockDeviceClaims ¶
type FakeBlockDeviceClaims struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeBlockDeviceClaims implements BlockDeviceClaimInterface
func (*FakeBlockDeviceClaims) Create ¶
func (c *FakeBlockDeviceClaims) Create(blockDeviceClaim *v1alpha1.BlockDeviceClaim) (result *v1alpha1.BlockDeviceClaim, err error)
Create takes the representation of a blockDeviceClaim and creates it. Returns the server's representation of the blockDeviceClaim, and an error, if there is any.
func (*FakeBlockDeviceClaims) Delete ¶
func (c *FakeBlockDeviceClaims) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the blockDeviceClaim and deletes it. Returns an error if one occurs.
func (*FakeBlockDeviceClaims) DeleteCollection ¶
func (c *FakeBlockDeviceClaims) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBlockDeviceClaims) Get ¶
func (c *FakeBlockDeviceClaims) Get(name string, options v1.GetOptions) (result *v1alpha1.BlockDeviceClaim, err error)
Get takes name of the blockDeviceClaim, and returns the corresponding blockDeviceClaim object, and an error if there is any.
func (*FakeBlockDeviceClaims) List ¶
func (c *FakeBlockDeviceClaims) List(opts v1.ListOptions) (result *v1alpha1.BlockDeviceClaimList, err error)
List takes label and field selectors, and returns the list of BlockDeviceClaims that match those selectors.
func (*FakeBlockDeviceClaims) Patch ¶
func (c *FakeBlockDeviceClaims) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BlockDeviceClaim, err error)
Patch applies the patch and returns the patched blockDeviceClaim.
func (*FakeBlockDeviceClaims) Update ¶
func (c *FakeBlockDeviceClaims) Update(blockDeviceClaim *v1alpha1.BlockDeviceClaim) (result *v1alpha1.BlockDeviceClaim, err error)
Update takes the representation of a blockDeviceClaim and updates it. Returns the server's representation of the blockDeviceClaim, and an error, if there is any.
func (*FakeBlockDeviceClaims) UpdateStatus ¶
func (c *FakeBlockDeviceClaims) UpdateStatus(blockDeviceClaim *v1alpha1.BlockDeviceClaim) (*v1alpha1.BlockDeviceClaim, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBlockDeviceClaims) Watch ¶
func (c *FakeBlockDeviceClaims) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested blockDeviceClaims.
type FakeBlockDevices ¶
type FakeBlockDevices struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeBlockDevices implements BlockDeviceInterface
func (*FakeBlockDevices) Create ¶
func (c *FakeBlockDevices) Create(blockDevice *v1alpha1.BlockDevice) (result *v1alpha1.BlockDevice, err error)
Create takes the representation of a blockDevice and creates it. Returns the server's representation of the blockDevice, and an error, if there is any.
func (*FakeBlockDevices) Delete ¶
func (c *FakeBlockDevices) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the blockDevice and deletes it. Returns an error if one occurs.
func (*FakeBlockDevices) DeleteCollection ¶
func (c *FakeBlockDevices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBlockDevices) Get ¶
func (c *FakeBlockDevices) Get(name string, options v1.GetOptions) (result *v1alpha1.BlockDevice, err error)
Get takes name of the blockDevice, and returns the corresponding blockDevice object, and an error if there is any.
func (*FakeBlockDevices) List ¶
func (c *FakeBlockDevices) List(opts v1.ListOptions) (result *v1alpha1.BlockDeviceList, err error)
List takes label and field selectors, and returns the list of BlockDevices that match those selectors.
func (*FakeBlockDevices) Patch ¶
func (c *FakeBlockDevices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BlockDevice, err error)
Patch applies the patch and returns the patched blockDevice.
func (*FakeBlockDevices) Update ¶
func (c *FakeBlockDevices) Update(blockDevice *v1alpha1.BlockDevice) (result *v1alpha1.BlockDevice, err error)
Update takes the representation of a blockDevice and updates it. Returns the server's representation of the blockDevice, and an error, if there is any.
func (*FakeBlockDevices) UpdateStatus ¶
func (c *FakeBlockDevices) UpdateStatus(blockDevice *v1alpha1.BlockDevice) (*v1alpha1.BlockDevice, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBlockDevices) Watch ¶
func (c *FakeBlockDevices) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested blockDevices.
type FakeDisks ¶
type FakeDisks struct {
Fake *FakeOpenebsV1alpha1
}
FakeDisks implements DiskInterface
func (*FakeDisks) Create ¶
Create takes the representation of a disk and creates it. Returns the server's representation of the disk, and an error, if there is any.
func (*FakeDisks) Delete ¶
func (c *FakeDisks) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the disk and deletes it. Returns an error if one occurs.
func (*FakeDisks) DeleteCollection ¶
func (c *FakeDisks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDisks) Get ¶
Get takes name of the disk, and returns the corresponding disk object, and an error if there is any.
func (*FakeDisks) List ¶
List takes label and field selectors, and returns the list of Disks that match those selectors.
func (*FakeDisks) Patch ¶
func (c *FakeDisks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Disk, err error)
Patch applies the patch and returns the patched disk.
func (*FakeDisks) Update ¶
Update takes the representation of a disk and updates it. Returns the server's representation of the disk, and an error, if there is any.
func (*FakeDisks) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeOpenebsV1alpha1 ¶
func (*FakeOpenebsV1alpha1) BlockDeviceClaims ¶
func (c *FakeOpenebsV1alpha1) BlockDeviceClaims(namespace string) v1alpha1.BlockDeviceClaimInterface
func (*FakeOpenebsV1alpha1) BlockDevices ¶
func (c *FakeOpenebsV1alpha1) BlockDevices(namespace string) v1alpha1.BlockDeviceInterface
func (*FakeOpenebsV1alpha1) Disks ¶
func (c *FakeOpenebsV1alpha1) Disks() v1alpha1.DiskInterface
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.