Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeSnapshotV1beta1
- func (c *FakeSnapshotV1beta1) RESTClient() rest.Interface
- func (c *FakeSnapshotV1beta1) VirtualMachineRestores(namespace string) v1beta1.VirtualMachineRestoreInterface
- func (c *FakeSnapshotV1beta1) VirtualMachineSnapshotContents(namespace string) v1beta1.VirtualMachineSnapshotContentInterface
- func (c *FakeSnapshotV1beta1) VirtualMachineSnapshots(namespace string) v1beta1.VirtualMachineSnapshotInterface
- type FakeVirtualMachineRestores
- func (c *FakeVirtualMachineRestores) Create(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, ...) (result *v1beta1.VirtualMachineRestore, err error)
- func (c *FakeVirtualMachineRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineRestore, err error)
- func (c *FakeVirtualMachineRestores) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineRestoreList, err error)
- func (c *FakeVirtualMachineRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.VirtualMachineRestore, err error)
- func (c *FakeVirtualMachineRestores) Update(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, ...) (result *v1beta1.VirtualMachineRestore, err error)
- func (c *FakeVirtualMachineRestores) UpdateStatus(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, ...) (result *v1beta1.VirtualMachineRestore, err error)
- func (c *FakeVirtualMachineRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineSnapshotContents
- func (c *FakeVirtualMachineSnapshotContents) Create(ctx context.Context, ...) (result *v1beta1.VirtualMachineSnapshotContent, err error)
- func (c *FakeVirtualMachineSnapshotContents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineSnapshotContents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineSnapshotContents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineSnapshotContent, err error)
- func (c *FakeVirtualMachineSnapshotContents) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineSnapshotContentList, err error)
- func (c *FakeVirtualMachineSnapshotContents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.VirtualMachineSnapshotContent, err error)
- func (c *FakeVirtualMachineSnapshotContents) Update(ctx context.Context, ...) (result *v1beta1.VirtualMachineSnapshotContent, err error)
- func (c *FakeVirtualMachineSnapshotContents) UpdateStatus(ctx context.Context, ...) (result *v1beta1.VirtualMachineSnapshotContent, err error)
- func (c *FakeVirtualMachineSnapshotContents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineSnapshots
- func (c *FakeVirtualMachineSnapshots) Create(ctx context.Context, virtualMachineSnapshot *v1beta1.VirtualMachineSnapshot, ...) (result *v1beta1.VirtualMachineSnapshot, err error)
- func (c *FakeVirtualMachineSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineSnapshot, err error)
- func (c *FakeVirtualMachineSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineSnapshotList, err error)
- func (c *FakeVirtualMachineSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.VirtualMachineSnapshot, err error)
- func (c *FakeVirtualMachineSnapshots) Update(ctx context.Context, virtualMachineSnapshot *v1beta1.VirtualMachineSnapshot, ...) (result *v1beta1.VirtualMachineSnapshot, err error)
- func (c *FakeVirtualMachineSnapshots) UpdateStatus(ctx context.Context, virtualMachineSnapshot *v1beta1.VirtualMachineSnapshot, ...) (result *v1beta1.VirtualMachineSnapshot, err error)
- func (c *FakeVirtualMachineSnapshots) 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 FakeSnapshotV1beta1 ¶
func (*FakeSnapshotV1beta1) RESTClient ¶
func (c *FakeSnapshotV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSnapshotV1beta1) VirtualMachineRestores ¶
func (c *FakeSnapshotV1beta1) VirtualMachineRestores(namespace string) v1beta1.VirtualMachineRestoreInterface
func (*FakeSnapshotV1beta1) VirtualMachineSnapshotContents ¶
func (c *FakeSnapshotV1beta1) VirtualMachineSnapshotContents(namespace string) v1beta1.VirtualMachineSnapshotContentInterface
func (*FakeSnapshotV1beta1) VirtualMachineSnapshots ¶
func (c *FakeSnapshotV1beta1) VirtualMachineSnapshots(namespace string) v1beta1.VirtualMachineSnapshotInterface
type FakeVirtualMachineRestores ¶
type FakeVirtualMachineRestores struct { Fake *FakeSnapshotV1beta1 // contains filtered or unexported fields }
FakeVirtualMachineRestores implements VirtualMachineRestoreInterface
func (*FakeVirtualMachineRestores) Create ¶
func (c *FakeVirtualMachineRestores) Create(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, opts v1.CreateOptions) (result *v1beta1.VirtualMachineRestore, err error)
Create takes the representation of a virtualMachineRestore and creates it. Returns the server's representation of the virtualMachineRestore, and an error, if there is any.
func (*FakeVirtualMachineRestores) Delete ¶
func (c *FakeVirtualMachineRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachineRestore and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineRestores) DeleteCollection ¶
func (c *FakeVirtualMachineRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineRestores) Get ¶
func (c *FakeVirtualMachineRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineRestore, err error)
Get takes name of the virtualMachineRestore, and returns the corresponding virtualMachineRestore object, and an error if there is any.
func (*FakeVirtualMachineRestores) List ¶
func (c *FakeVirtualMachineRestores) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineRestoreList, err error)
List takes label and field selectors, and returns the list of VirtualMachineRestores that match those selectors.
func (*FakeVirtualMachineRestores) Patch ¶
func (c *FakeVirtualMachineRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VirtualMachineRestore, err error)
Patch applies the patch and returns the patched virtualMachineRestore.
func (*FakeVirtualMachineRestores) Update ¶
func (c *FakeVirtualMachineRestores) Update(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, opts v1.UpdateOptions) (result *v1beta1.VirtualMachineRestore, err error)
Update takes the representation of a virtualMachineRestore and updates it. Returns the server's representation of the virtualMachineRestore, and an error, if there is any.
func (*FakeVirtualMachineRestores) UpdateStatus ¶
func (c *FakeVirtualMachineRestores) UpdateStatus(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, opts v1.UpdateOptions) (result *v1beta1.VirtualMachineRestore, err error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualMachineRestores) Watch ¶
func (c *FakeVirtualMachineRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineRestores.
type FakeVirtualMachineSnapshotContents ¶
type FakeVirtualMachineSnapshotContents struct { Fake *FakeSnapshotV1beta1 // contains filtered or unexported fields }
FakeVirtualMachineSnapshotContents implements VirtualMachineSnapshotContentInterface
func (*FakeVirtualMachineSnapshotContents) Create ¶
func (c *FakeVirtualMachineSnapshotContents) Create(ctx context.Context, virtualMachineSnapshotContent *v1beta1.VirtualMachineSnapshotContent, opts v1.CreateOptions) (result *v1beta1.VirtualMachineSnapshotContent, err error)
Create takes the representation of a virtualMachineSnapshotContent and creates it. Returns the server's representation of the virtualMachineSnapshotContent, and an error, if there is any.
func (*FakeVirtualMachineSnapshotContents) Delete ¶
func (c *FakeVirtualMachineSnapshotContents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachineSnapshotContent and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineSnapshotContents) DeleteCollection ¶
func (c *FakeVirtualMachineSnapshotContents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineSnapshotContents) Get ¶
func (c *FakeVirtualMachineSnapshotContents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineSnapshotContent, err error)
Get takes name of the virtualMachineSnapshotContent, and returns the corresponding virtualMachineSnapshotContent object, and an error if there is any.
func (*FakeVirtualMachineSnapshotContents) List ¶
func (c *FakeVirtualMachineSnapshotContents) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineSnapshotContentList, err error)
List takes label and field selectors, and returns the list of VirtualMachineSnapshotContents that match those selectors.
func (*FakeVirtualMachineSnapshotContents) Patch ¶
func (c *FakeVirtualMachineSnapshotContents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VirtualMachineSnapshotContent, err error)
Patch applies the patch and returns the patched virtualMachineSnapshotContent.
func (*FakeVirtualMachineSnapshotContents) Update ¶
func (c *FakeVirtualMachineSnapshotContents) Update(ctx context.Context, virtualMachineSnapshotContent *v1beta1.VirtualMachineSnapshotContent, opts v1.UpdateOptions) (result *v1beta1.VirtualMachineSnapshotContent, err error)
Update takes the representation of a virtualMachineSnapshotContent and updates it. Returns the server's representation of the virtualMachineSnapshotContent, and an error, if there is any.
func (*FakeVirtualMachineSnapshotContents) UpdateStatus ¶
func (c *FakeVirtualMachineSnapshotContents) UpdateStatus(ctx context.Context, virtualMachineSnapshotContent *v1beta1.VirtualMachineSnapshotContent, opts v1.UpdateOptions) (result *v1beta1.VirtualMachineSnapshotContent, err error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualMachineSnapshotContents) Watch ¶
func (c *FakeVirtualMachineSnapshotContents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineSnapshotContents.
type FakeVirtualMachineSnapshots ¶
type FakeVirtualMachineSnapshots struct { Fake *FakeSnapshotV1beta1 // contains filtered or unexported fields }
FakeVirtualMachineSnapshots implements VirtualMachineSnapshotInterface
func (*FakeVirtualMachineSnapshots) Create ¶
func (c *FakeVirtualMachineSnapshots) Create(ctx context.Context, virtualMachineSnapshot *v1beta1.VirtualMachineSnapshot, opts v1.CreateOptions) (result *v1beta1.VirtualMachineSnapshot, err error)
Create takes the representation of a virtualMachineSnapshot and creates it. Returns the server's representation of the virtualMachineSnapshot, and an error, if there is any.
func (*FakeVirtualMachineSnapshots) Delete ¶
func (c *FakeVirtualMachineSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachineSnapshot and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineSnapshots) DeleteCollection ¶
func (c *FakeVirtualMachineSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineSnapshots) Get ¶
func (c *FakeVirtualMachineSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineSnapshot, err error)
Get takes name of the virtualMachineSnapshot, and returns the corresponding virtualMachineSnapshot object, and an error if there is any.
func (*FakeVirtualMachineSnapshots) List ¶
func (c *FakeVirtualMachineSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineSnapshotList, err error)
List takes label and field selectors, and returns the list of VirtualMachineSnapshots that match those selectors.
func (*FakeVirtualMachineSnapshots) Patch ¶
func (c *FakeVirtualMachineSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VirtualMachineSnapshot, err error)
Patch applies the patch and returns the patched virtualMachineSnapshot.
func (*FakeVirtualMachineSnapshots) Update ¶
func (c *FakeVirtualMachineSnapshots) Update(ctx context.Context, virtualMachineSnapshot *v1beta1.VirtualMachineSnapshot, opts v1.UpdateOptions) (result *v1beta1.VirtualMachineSnapshot, err error)
Update takes the representation of a virtualMachineSnapshot and updates it. Returns the server's representation of the virtualMachineSnapshot, and an error, if there is any.
func (*FakeVirtualMachineSnapshots) UpdateStatus ¶
func (c *FakeVirtualMachineSnapshots) UpdateStatus(ctx context.Context, virtualMachineSnapshot *v1beta1.VirtualMachineSnapshot, opts v1.UpdateOptions) (result *v1beta1.VirtualMachineSnapshot, err error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualMachineSnapshots) Watch ¶
func (c *FakeVirtualMachineSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineSnapshots.