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