Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGroupsnapshotV1alpha1
- func (c *FakeGroupsnapshotV1alpha1) RESTClient() rest.Interface
- func (c *FakeGroupsnapshotV1alpha1) VolumeGroupSnapshotClasses() v1alpha1.VolumeGroupSnapshotClassInterface
- func (c *FakeGroupsnapshotV1alpha1) VolumeGroupSnapshotContents() v1alpha1.VolumeGroupSnapshotContentInterface
- func (c *FakeGroupsnapshotV1alpha1) VolumeGroupSnapshots(namespace string) v1alpha1.VolumeGroupSnapshotInterface
- type FakeVolumeGroupSnapshotClasses
- func (c *FakeVolumeGroupSnapshotClasses) Create(ctx context.Context, ...) (result *v1alpha1.VolumeGroupSnapshotClass, err error)
- func (c *FakeVolumeGroupSnapshotClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVolumeGroupSnapshotClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVolumeGroupSnapshotClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VolumeGroupSnapshotClass, err error)
- func (c *FakeVolumeGroupSnapshotClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumeGroupSnapshotClassList, err error)
- func (c *FakeVolumeGroupSnapshotClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VolumeGroupSnapshotClass, err error)
- func (c *FakeVolumeGroupSnapshotClasses) Update(ctx context.Context, ...) (result *v1alpha1.VolumeGroupSnapshotClass, err error)
- func (c *FakeVolumeGroupSnapshotClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumeGroupSnapshotContents
- func (c *FakeVolumeGroupSnapshotContents) Create(ctx context.Context, ...) (result *v1alpha1.VolumeGroupSnapshotContent, err error)
- func (c *FakeVolumeGroupSnapshotContents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVolumeGroupSnapshotContents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVolumeGroupSnapshotContents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VolumeGroupSnapshotContent, err error)
- func (c *FakeVolumeGroupSnapshotContents) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumeGroupSnapshotContentList, err error)
- func (c *FakeVolumeGroupSnapshotContents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VolumeGroupSnapshotContent, err error)
- func (c *FakeVolumeGroupSnapshotContents) Update(ctx context.Context, ...) (result *v1alpha1.VolumeGroupSnapshotContent, err error)
- func (c *FakeVolumeGroupSnapshotContents) UpdateStatus(ctx context.Context, ...) (*v1alpha1.VolumeGroupSnapshotContent, error)
- func (c *FakeVolumeGroupSnapshotContents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumeGroupSnapshots
- func (c *FakeVolumeGroupSnapshots) Create(ctx context.Context, volumeGroupSnapshot *v1alpha1.VolumeGroupSnapshot, ...) (result *v1alpha1.VolumeGroupSnapshot, err error)
- func (c *FakeVolumeGroupSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVolumeGroupSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVolumeGroupSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VolumeGroupSnapshot, err error)
- func (c *FakeVolumeGroupSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumeGroupSnapshotList, err error)
- func (c *FakeVolumeGroupSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VolumeGroupSnapshot, err error)
- func (c *FakeVolumeGroupSnapshots) Update(ctx context.Context, volumeGroupSnapshot *v1alpha1.VolumeGroupSnapshot, ...) (result *v1alpha1.VolumeGroupSnapshot, err error)
- func (c *FakeVolumeGroupSnapshots) UpdateStatus(ctx context.Context, volumeGroupSnapshot *v1alpha1.VolumeGroupSnapshot, ...) (*v1alpha1.VolumeGroupSnapshot, error)
- func (c *FakeVolumeGroupSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGroupsnapshotV1alpha1 ¶
func (*FakeGroupsnapshotV1alpha1) RESTClient ¶
func (c *FakeGroupsnapshotV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeGroupsnapshotV1alpha1) VolumeGroupSnapshotClasses ¶
func (c *FakeGroupsnapshotV1alpha1) VolumeGroupSnapshotClasses() v1alpha1.VolumeGroupSnapshotClassInterface
func (*FakeGroupsnapshotV1alpha1) VolumeGroupSnapshotContents ¶
func (c *FakeGroupsnapshotV1alpha1) VolumeGroupSnapshotContents() v1alpha1.VolumeGroupSnapshotContentInterface
func (*FakeGroupsnapshotV1alpha1) VolumeGroupSnapshots ¶
func (c *FakeGroupsnapshotV1alpha1) VolumeGroupSnapshots(namespace string) v1alpha1.VolumeGroupSnapshotInterface
type FakeVolumeGroupSnapshotClasses ¶
type FakeVolumeGroupSnapshotClasses struct {
Fake *FakeGroupsnapshotV1alpha1
}
FakeVolumeGroupSnapshotClasses implements VolumeGroupSnapshotClassInterface
func (*FakeVolumeGroupSnapshotClasses) Create ¶
func (c *FakeVolumeGroupSnapshotClasses) Create(ctx context.Context, volumeGroupSnapshotClass *v1alpha1.VolumeGroupSnapshotClass, opts v1.CreateOptions) (result *v1alpha1.VolumeGroupSnapshotClass, err error)
Create takes the representation of a volumeGroupSnapshotClass and creates it. Returns the server's representation of the volumeGroupSnapshotClass, and an error, if there is any.
func (*FakeVolumeGroupSnapshotClasses) Delete ¶
func (c *FakeVolumeGroupSnapshotClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the volumeGroupSnapshotClass and deletes it. Returns an error if one occurs.
func (*FakeVolumeGroupSnapshotClasses) DeleteCollection ¶
func (c *FakeVolumeGroupSnapshotClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumeGroupSnapshotClasses) Get ¶
func (c *FakeVolumeGroupSnapshotClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VolumeGroupSnapshotClass, err error)
Get takes name of the volumeGroupSnapshotClass, and returns the corresponding volumeGroupSnapshotClass object, and an error if there is any.
func (*FakeVolumeGroupSnapshotClasses) List ¶
func (c *FakeVolumeGroupSnapshotClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumeGroupSnapshotClassList, err error)
List takes label and field selectors, and returns the list of VolumeGroupSnapshotClasses that match those selectors.
func (*FakeVolumeGroupSnapshotClasses) Patch ¶
func (c *FakeVolumeGroupSnapshotClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VolumeGroupSnapshotClass, err error)
Patch applies the patch and returns the patched volumeGroupSnapshotClass.
func (*FakeVolumeGroupSnapshotClasses) Update ¶
func (c *FakeVolumeGroupSnapshotClasses) Update(ctx context.Context, volumeGroupSnapshotClass *v1alpha1.VolumeGroupSnapshotClass, opts v1.UpdateOptions) (result *v1alpha1.VolumeGroupSnapshotClass, err error)
Update takes the representation of a volumeGroupSnapshotClass and updates it. Returns the server's representation of the volumeGroupSnapshotClass, and an error, if there is any.
func (*FakeVolumeGroupSnapshotClasses) Watch ¶
func (c *FakeVolumeGroupSnapshotClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumeGroupSnapshotClasses.
type FakeVolumeGroupSnapshotContents ¶
type FakeVolumeGroupSnapshotContents struct {
Fake *FakeGroupsnapshotV1alpha1
}
FakeVolumeGroupSnapshotContents implements VolumeGroupSnapshotContentInterface
func (*FakeVolumeGroupSnapshotContents) Create ¶
func (c *FakeVolumeGroupSnapshotContents) Create(ctx context.Context, volumeGroupSnapshotContent *v1alpha1.VolumeGroupSnapshotContent, opts v1.CreateOptions) (result *v1alpha1.VolumeGroupSnapshotContent, err error)
Create takes the representation of a volumeGroupSnapshotContent and creates it. Returns the server's representation of the volumeGroupSnapshotContent, and an error, if there is any.
func (*FakeVolumeGroupSnapshotContents) Delete ¶
func (c *FakeVolumeGroupSnapshotContents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the volumeGroupSnapshotContent and deletes it. Returns an error if one occurs.
func (*FakeVolumeGroupSnapshotContents) DeleteCollection ¶
func (c *FakeVolumeGroupSnapshotContents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumeGroupSnapshotContents) Get ¶
func (c *FakeVolumeGroupSnapshotContents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VolumeGroupSnapshotContent, err error)
Get takes name of the volumeGroupSnapshotContent, and returns the corresponding volumeGroupSnapshotContent object, and an error if there is any.
func (*FakeVolumeGroupSnapshotContents) List ¶
func (c *FakeVolumeGroupSnapshotContents) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumeGroupSnapshotContentList, err error)
List takes label and field selectors, and returns the list of VolumeGroupSnapshotContents that match those selectors.
func (*FakeVolumeGroupSnapshotContents) Patch ¶
func (c *FakeVolumeGroupSnapshotContents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VolumeGroupSnapshotContent, err error)
Patch applies the patch and returns the patched volumeGroupSnapshotContent.
func (*FakeVolumeGroupSnapshotContents) Update ¶
func (c *FakeVolumeGroupSnapshotContents) Update(ctx context.Context, volumeGroupSnapshotContent *v1alpha1.VolumeGroupSnapshotContent, opts v1.UpdateOptions) (result *v1alpha1.VolumeGroupSnapshotContent, err error)
Update takes the representation of a volumeGroupSnapshotContent and updates it. Returns the server's representation of the volumeGroupSnapshotContent, and an error, if there is any.
func (*FakeVolumeGroupSnapshotContents) UpdateStatus ¶
func (c *FakeVolumeGroupSnapshotContents) UpdateStatus(ctx context.Context, volumeGroupSnapshotContent *v1alpha1.VolumeGroupSnapshotContent, opts v1.UpdateOptions) (*v1alpha1.VolumeGroupSnapshotContent, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVolumeGroupSnapshotContents) Watch ¶
func (c *FakeVolumeGroupSnapshotContents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumeGroupSnapshotContents.
type FakeVolumeGroupSnapshots ¶
type FakeVolumeGroupSnapshots struct { Fake *FakeGroupsnapshotV1alpha1 // contains filtered or unexported fields }
FakeVolumeGroupSnapshots implements VolumeGroupSnapshotInterface
func (*FakeVolumeGroupSnapshots) Create ¶
func (c *FakeVolumeGroupSnapshots) Create(ctx context.Context, volumeGroupSnapshot *v1alpha1.VolumeGroupSnapshot, opts v1.CreateOptions) (result *v1alpha1.VolumeGroupSnapshot, err error)
Create takes the representation of a volumeGroupSnapshot and creates it. Returns the server's representation of the volumeGroupSnapshot, and an error, if there is any.
func (*FakeVolumeGroupSnapshots) Delete ¶
func (c *FakeVolumeGroupSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the volumeGroupSnapshot and deletes it. Returns an error if one occurs.
func (*FakeVolumeGroupSnapshots) DeleteCollection ¶
func (c *FakeVolumeGroupSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumeGroupSnapshots) Get ¶
func (c *FakeVolumeGroupSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VolumeGroupSnapshot, err error)
Get takes name of the volumeGroupSnapshot, and returns the corresponding volumeGroupSnapshot object, and an error if there is any.
func (*FakeVolumeGroupSnapshots) List ¶
func (c *FakeVolumeGroupSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumeGroupSnapshotList, err error)
List takes label and field selectors, and returns the list of VolumeGroupSnapshots that match those selectors.
func (*FakeVolumeGroupSnapshots) Patch ¶
func (c *FakeVolumeGroupSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VolumeGroupSnapshot, err error)
Patch applies the patch and returns the patched volumeGroupSnapshot.
func (*FakeVolumeGroupSnapshots) Update ¶
func (c *FakeVolumeGroupSnapshots) Update(ctx context.Context, volumeGroupSnapshot *v1alpha1.VolumeGroupSnapshot, opts v1.UpdateOptions) (result *v1alpha1.VolumeGroupSnapshot, err error)
Update takes the representation of a volumeGroupSnapshot and updates it. Returns the server's representation of the volumeGroupSnapshot, and an error, if there is any.
func (*FakeVolumeGroupSnapshots) UpdateStatus ¶
func (c *FakeVolumeGroupSnapshots) UpdateStatus(ctx context.Context, volumeGroupSnapshot *v1alpha1.VolumeGroupSnapshot, opts v1.UpdateOptions) (*v1alpha1.VolumeGroupSnapshot, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVolumeGroupSnapshots) Watch ¶
func (c *FakeVolumeGroupSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumeGroupSnapshots.