Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeVolumeSnapshotDatas
- func (c *FakeVolumeSnapshotDatas) Create(volumeSnapshotData *volumesnapshot_v1.VolumeSnapshotData) (result *volumesnapshot_v1.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 *volumesnapshot_v1.VolumeSnapshotData, err error)
- func (c *FakeVolumeSnapshotDatas) List(opts v1.ListOptions) (result *volumesnapshot_v1.VolumeSnapshotDataList, err error)
- func (c *FakeVolumeSnapshotDatas) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *volumesnapshot_v1.VolumeSnapshotData, err error)
- func (c *FakeVolumeSnapshotDatas) Update(volumeSnapshotData *volumesnapshot_v1.VolumeSnapshotData) (result *volumesnapshot_v1.VolumeSnapshotData, err error)
- func (c *FakeVolumeSnapshotDatas) UpdateStatus(volumeSnapshotData *volumesnapshot_v1.VolumeSnapshotData) (*volumesnapshot_v1.VolumeSnapshotData, error)
- func (c *FakeVolumeSnapshotDatas) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumeSnapshots
- func (c *FakeVolumeSnapshots) Create(volumeSnapshot *volumesnapshot_v1.VolumeSnapshot) (result *volumesnapshot_v1.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 *volumesnapshot_v1.VolumeSnapshot, err error)
- func (c *FakeVolumeSnapshots) List(opts v1.ListOptions) (result *volumesnapshot_v1.VolumeSnapshotList, err error)
- func (c *FakeVolumeSnapshots) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *volumesnapshot_v1.VolumeSnapshot, err error)
- func (c *FakeVolumeSnapshots) Update(volumeSnapshot *volumesnapshot_v1.VolumeSnapshot) (result *volumesnapshot_v1.VolumeSnapshot, err error)
- func (c *FakeVolumeSnapshots) UpdateStatus(volumeSnapshot *volumesnapshot_v1.VolumeSnapshot) (*volumesnapshot_v1.VolumeSnapshot, error)
- func (c *FakeVolumeSnapshots) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumesnapshotV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeVolumeSnapshotDatas ¶
type FakeVolumeSnapshotDatas struct {
Fake *FakeVolumesnapshotV1
}
FakeVolumeSnapshotDatas implements VolumeSnapshotDataInterface
func (*FakeVolumeSnapshotDatas) Create ¶
func (c *FakeVolumeSnapshotDatas) Create(volumeSnapshotData *volumesnapshot_v1.VolumeSnapshotData) (result *volumesnapshot_v1.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 *volumesnapshot_v1.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 *volumesnapshot_v1.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 *volumesnapshot_v1.VolumeSnapshotData, err error)
Patch applies the patch and returns the patched volumeSnapshotData.
func (*FakeVolumeSnapshotDatas) Update ¶
func (c *FakeVolumeSnapshotDatas) Update(volumeSnapshotData *volumesnapshot_v1.VolumeSnapshotData) (result *volumesnapshot_v1.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 *volumesnapshot_v1.VolumeSnapshotData) (*volumesnapshot_v1.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 *FakeVolumesnapshotV1 // contains filtered or unexported fields }
FakeVolumeSnapshots implements VolumeSnapshotInterface
func (*FakeVolumeSnapshots) Create ¶
func (c *FakeVolumeSnapshots) Create(volumeSnapshot *volumesnapshot_v1.VolumeSnapshot) (result *volumesnapshot_v1.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 *volumesnapshot_v1.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 *volumesnapshot_v1.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 *volumesnapshot_v1.VolumeSnapshot, err error)
Patch applies the patch and returns the patched volumeSnapshot.
func (*FakeVolumeSnapshots) Update ¶
func (c *FakeVolumeSnapshots) Update(volumeSnapshot *volumesnapshot_v1.VolumeSnapshot) (result *volumesnapshot_v1.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 *volumesnapshot_v1.VolumeSnapshot) (*volumesnapshot_v1.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.
type FakeVolumesnapshotV1 ¶
func (*FakeVolumesnapshotV1) RESTClient ¶
func (c *FakeVolumesnapshotV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeVolumesnapshotV1) VolumeSnapshotDatas ¶
func (c *FakeVolumesnapshotV1) VolumeSnapshotDatas() v1.VolumeSnapshotDataInterface
func (*FakeVolumesnapshotV1) VolumeSnapshots ¶
func (c *FakeVolumesnapshotV1) VolumeSnapshots(namespace string) v1.VolumeSnapshotInterface