Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeSnapshotV1alpha1
- func (c *FakeSnapshotV1alpha1) RESTClient() rest.Interface
- func (c *FakeSnapshotV1alpha1) VolumeSnapshotClasses() v1alpha1.VolumeSnapshotClassInterface
- func (c *FakeSnapshotV1alpha1) VolumeSnapshotContents() v1alpha1.VolumeSnapshotContentInterface
- func (c *FakeSnapshotV1alpha1) VolumeSnapshots(namespace string) v1alpha1.VolumeSnapshotInterface
- type FakeVolumeSnapshotClasses
- func (c *FakeVolumeSnapshotClasses) Create(volumeSnapshotClass *v1alpha1.VolumeSnapshotClass) (result *v1alpha1.VolumeSnapshotClass, err error)
- func (c *FakeVolumeSnapshotClasses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeVolumeSnapshotClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeVolumeSnapshotClasses) Get(name string, options v1.GetOptions) (result *v1alpha1.VolumeSnapshotClass, err error)
- func (c *FakeVolumeSnapshotClasses) List(opts v1.ListOptions) (result *v1alpha1.VolumeSnapshotClassList, err error)
- func (c *FakeVolumeSnapshotClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.VolumeSnapshotClass, err error)
- func (c *FakeVolumeSnapshotClasses) Update(volumeSnapshotClass *v1alpha1.VolumeSnapshotClass) (result *v1alpha1.VolumeSnapshotClass, err error)
- func (c *FakeVolumeSnapshotClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumeSnapshotContents
- func (c *FakeVolumeSnapshotContents) Create(volumeSnapshotContent *v1alpha1.VolumeSnapshotContent) (result *v1alpha1.VolumeSnapshotContent, err error)
- func (c *FakeVolumeSnapshotContents) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeVolumeSnapshotContents) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeVolumeSnapshotContents) Get(name string, options v1.GetOptions) (result *v1alpha1.VolumeSnapshotContent, err error)
- func (c *FakeVolumeSnapshotContents) List(opts v1.ListOptions) (result *v1alpha1.VolumeSnapshotContentList, err error)
- func (c *FakeVolumeSnapshotContents) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.VolumeSnapshotContent, err error)
- func (c *FakeVolumeSnapshotContents) Update(volumeSnapshotContent *v1alpha1.VolumeSnapshotContent) (result *v1alpha1.VolumeSnapshotContent, err error)
- func (c *FakeVolumeSnapshotContents) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumeSnapshots
- func (c *FakeVolumeSnapshots) Create(volumeSnapshot *v1alpha1.VolumeSnapshot) (result *v1alpha1.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 *v1alpha1.VolumeSnapshot, err error)
- func (c *FakeVolumeSnapshots) List(opts v1.ListOptions) (result *v1alpha1.VolumeSnapshotList, err error)
- func (c *FakeVolumeSnapshots) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.VolumeSnapshot, err error)
- func (c *FakeVolumeSnapshots) Update(volumeSnapshot *v1alpha1.VolumeSnapshot) (result *v1alpha1.VolumeSnapshot, err error)
- func (c *FakeVolumeSnapshots) UpdateStatus(volumeSnapshot *v1alpha1.VolumeSnapshot) (*v1alpha1.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 FakeSnapshotV1alpha1 ¶
func (*FakeSnapshotV1alpha1) RESTClient ¶
func (c *FakeSnapshotV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSnapshotV1alpha1) VolumeSnapshotClasses ¶
func (c *FakeSnapshotV1alpha1) VolumeSnapshotClasses() v1alpha1.VolumeSnapshotClassInterface
func (*FakeSnapshotV1alpha1) VolumeSnapshotContents ¶
func (c *FakeSnapshotV1alpha1) VolumeSnapshotContents() v1alpha1.VolumeSnapshotContentInterface
func (*FakeSnapshotV1alpha1) VolumeSnapshots ¶
func (c *FakeSnapshotV1alpha1) VolumeSnapshots(namespace string) v1alpha1.VolumeSnapshotInterface
type FakeVolumeSnapshotClasses ¶
type FakeVolumeSnapshotClasses struct {
Fake *FakeSnapshotV1alpha1
}
FakeVolumeSnapshotClasses implements VolumeSnapshotClassInterface
func (*FakeVolumeSnapshotClasses) Create ¶
func (c *FakeVolumeSnapshotClasses) Create(volumeSnapshotClass *v1alpha1.VolumeSnapshotClass) (result *v1alpha1.VolumeSnapshotClass, err error)
Create takes the representation of a volumeSnapshotClass and creates it. Returns the server's representation of the volumeSnapshotClass, and an error, if there is any.
func (*FakeVolumeSnapshotClasses) Delete ¶
func (c *FakeVolumeSnapshotClasses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the volumeSnapshotClass and deletes it. Returns an error if one occurs.
func (*FakeVolumeSnapshotClasses) DeleteCollection ¶
func (c *FakeVolumeSnapshotClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumeSnapshotClasses) Get ¶
func (c *FakeVolumeSnapshotClasses) Get(name string, options v1.GetOptions) (result *v1alpha1.VolumeSnapshotClass, err error)
Get takes name of the volumeSnapshotClass, and returns the corresponding volumeSnapshotClass object, and an error if there is any.
func (*FakeVolumeSnapshotClasses) List ¶
func (c *FakeVolumeSnapshotClasses) List(opts v1.ListOptions) (result *v1alpha1.VolumeSnapshotClassList, err error)
List takes label and field selectors, and returns the list of VolumeSnapshotClasses that match those selectors.
func (*FakeVolumeSnapshotClasses) Patch ¶
func (c *FakeVolumeSnapshotClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.VolumeSnapshotClass, err error)
Patch applies the patch and returns the patched volumeSnapshotClass.
func (*FakeVolumeSnapshotClasses) Update ¶
func (c *FakeVolumeSnapshotClasses) Update(volumeSnapshotClass *v1alpha1.VolumeSnapshotClass) (result *v1alpha1.VolumeSnapshotClass, err error)
Update takes the representation of a volumeSnapshotClass and updates it. Returns the server's representation of the volumeSnapshotClass, and an error, if there is any.
func (*FakeVolumeSnapshotClasses) Watch ¶
func (c *FakeVolumeSnapshotClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumeSnapshotClasses.
type FakeVolumeSnapshotContents ¶
type FakeVolumeSnapshotContents struct {
Fake *FakeSnapshotV1alpha1
}
FakeVolumeSnapshotContents implements VolumeSnapshotContentInterface
func (*FakeVolumeSnapshotContents) Create ¶
func (c *FakeVolumeSnapshotContents) Create(volumeSnapshotContent *v1alpha1.VolumeSnapshotContent) (result *v1alpha1.VolumeSnapshotContent, err error)
Create takes the representation of a volumeSnapshotContent and creates it. Returns the server's representation of the volumeSnapshotContent, and an error, if there is any.
func (*FakeVolumeSnapshotContents) Delete ¶
func (c *FakeVolumeSnapshotContents) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the volumeSnapshotContent and deletes it. Returns an error if one occurs.
func (*FakeVolumeSnapshotContents) DeleteCollection ¶
func (c *FakeVolumeSnapshotContents) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumeSnapshotContents) Get ¶
func (c *FakeVolumeSnapshotContents) Get(name string, options v1.GetOptions) (result *v1alpha1.VolumeSnapshotContent, err error)
Get takes name of the volumeSnapshotContent, and returns the corresponding volumeSnapshotContent object, and an error if there is any.
func (*FakeVolumeSnapshotContents) List ¶
func (c *FakeVolumeSnapshotContents) List(opts v1.ListOptions) (result *v1alpha1.VolumeSnapshotContentList, err error)
List takes label and field selectors, and returns the list of VolumeSnapshotContents that match those selectors.
func (*FakeVolumeSnapshotContents) Patch ¶
func (c *FakeVolumeSnapshotContents) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.VolumeSnapshotContent, err error)
Patch applies the patch and returns the patched volumeSnapshotContent.
func (*FakeVolumeSnapshotContents) Update ¶
func (c *FakeVolumeSnapshotContents) Update(volumeSnapshotContent *v1alpha1.VolumeSnapshotContent) (result *v1alpha1.VolumeSnapshotContent, err error)
Update takes the representation of a volumeSnapshotContent and updates it. Returns the server's representation of the volumeSnapshotContent, and an error, if there is any.
func (*FakeVolumeSnapshotContents) Watch ¶
func (c *FakeVolumeSnapshotContents) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumeSnapshotContents.
type FakeVolumeSnapshots ¶
type FakeVolumeSnapshots struct { Fake *FakeSnapshotV1alpha1 // contains filtered or unexported fields }
FakeVolumeSnapshots implements VolumeSnapshotInterface
func (*FakeVolumeSnapshots) Create ¶
func (c *FakeVolumeSnapshots) Create(volumeSnapshot *v1alpha1.VolumeSnapshot) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.VolumeSnapshot, err error)
Patch applies the patch and returns the patched volumeSnapshot.
func (*FakeVolumeSnapshots) Update ¶
func (c *FakeVolumeSnapshots) Update(volumeSnapshot *v1alpha1.VolumeSnapshot) (result *v1alpha1.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 *v1alpha1.VolumeSnapshot) (*v1alpha1.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.