Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterVirtualImages
- func (c *FakeClusterVirtualImages) Create(ctx context.Context, clusterVirtualImage *v1alpha2.ClusterVirtualImage, ...) (result *v1alpha2.ClusterVirtualImage, err error)
- func (c *FakeClusterVirtualImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterVirtualImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterVirtualImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterVirtualImage, err error)
- func (c *FakeClusterVirtualImages) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterVirtualImageList, err error)
- func (c *FakeClusterVirtualImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.ClusterVirtualImage, err error)
- func (c *FakeClusterVirtualImages) Update(ctx context.Context, clusterVirtualImage *v1alpha2.ClusterVirtualImage, ...) (result *v1alpha2.ClusterVirtualImage, err error)
- func (c *FakeClusterVirtualImages) UpdateStatus(ctx context.Context, clusterVirtualImage *v1alpha2.ClusterVirtualImage, ...) (*v1alpha2.ClusterVirtualImage, error)
- func (c *FakeClusterVirtualImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualDisks
- func (c *FakeVirtualDisks) Create(ctx context.Context, virtualDisk *v1alpha2.VirtualDisk, opts v1.CreateOptions) (result *v1alpha2.VirtualDisk, err error)
- func (c *FakeVirtualDisks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualDisks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualDisks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualDisk, err error)
- func (c *FakeVirtualDisks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualDiskList, err error)
- func (c *FakeVirtualDisks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.VirtualDisk, err error)
- func (c *FakeVirtualDisks) Update(ctx context.Context, virtualDisk *v1alpha2.VirtualDisk, opts v1.UpdateOptions) (result *v1alpha2.VirtualDisk, err error)
- func (c *FakeVirtualDisks) UpdateStatus(ctx context.Context, virtualDisk *v1alpha2.VirtualDisk, opts v1.UpdateOptions) (*v1alpha2.VirtualDisk, error)
- func (c *FakeVirtualDisks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualImages
- func (c *FakeVirtualImages) Create(ctx context.Context, virtualImage *v1alpha2.VirtualImage, ...) (result *v1alpha2.VirtualImage, err error)
- func (c *FakeVirtualImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualImage, err error)
- func (c *FakeVirtualImages) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualImageList, err error)
- func (c *FakeVirtualImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.VirtualImage, err error)
- func (c *FakeVirtualImages) Update(ctx context.Context, virtualImage *v1alpha2.VirtualImage, ...) (result *v1alpha2.VirtualImage, err error)
- func (c *FakeVirtualImages) UpdateStatus(ctx context.Context, virtualImage *v1alpha2.VirtualImage, ...) (*v1alpha2.VirtualImage, error)
- func (c *FakeVirtualImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineBlockDeviceAttachments
- func (c *FakeVirtualMachineBlockDeviceAttachments) Create(ctx context.Context, ...) (result *v1alpha2.VirtualMachineBlockDeviceAttachment, err error)
- func (c *FakeVirtualMachineBlockDeviceAttachments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineBlockDeviceAttachments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineBlockDeviceAttachments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineBlockDeviceAttachment, err error)
- func (c *FakeVirtualMachineBlockDeviceAttachments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineBlockDeviceAttachmentList, err error)
- func (c *FakeVirtualMachineBlockDeviceAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.VirtualMachineBlockDeviceAttachment, err error)
- func (c *FakeVirtualMachineBlockDeviceAttachments) Update(ctx context.Context, ...) (result *v1alpha2.VirtualMachineBlockDeviceAttachment, err error)
- func (c *FakeVirtualMachineBlockDeviceAttachments) UpdateStatus(ctx context.Context, ...) (*v1alpha2.VirtualMachineBlockDeviceAttachment, error)
- func (c *FakeVirtualMachineBlockDeviceAttachments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineCPUModels
- func (c *FakeVirtualMachineCPUModels) Create(ctx context.Context, virtualMachineCPUModel *v1alpha2.VirtualMachineCPUModel, ...) (result *v1alpha2.VirtualMachineCPUModel, err error)
- func (c *FakeVirtualMachineCPUModels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineCPUModels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineCPUModels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineCPUModel, err error)
- func (c *FakeVirtualMachineCPUModels) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineCPUModelList, err error)
- func (c *FakeVirtualMachineCPUModels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.VirtualMachineCPUModel, err error)
- func (c *FakeVirtualMachineCPUModels) Update(ctx context.Context, virtualMachineCPUModel *v1alpha2.VirtualMachineCPUModel, ...) (result *v1alpha2.VirtualMachineCPUModel, err error)
- func (c *FakeVirtualMachineCPUModels) UpdateStatus(ctx context.Context, virtualMachineCPUModel *v1alpha2.VirtualMachineCPUModel, ...) (*v1alpha2.VirtualMachineCPUModel, error)
- func (c *FakeVirtualMachineCPUModels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineIPAddressClaims
- func (c *FakeVirtualMachineIPAddressClaims) Create(ctx context.Context, ...) (result *v1alpha2.VirtualMachineIPAddressClaim, err error)
- func (c *FakeVirtualMachineIPAddressClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineIPAddressClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineIPAddressClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineIPAddressClaim, err error)
- func (c *FakeVirtualMachineIPAddressClaims) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineIPAddressClaimList, err error)
- func (c *FakeVirtualMachineIPAddressClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.VirtualMachineIPAddressClaim, err error)
- func (c *FakeVirtualMachineIPAddressClaims) Update(ctx context.Context, ...) (result *v1alpha2.VirtualMachineIPAddressClaim, err error)
- func (c *FakeVirtualMachineIPAddressClaims) UpdateStatus(ctx context.Context, ...) (*v1alpha2.VirtualMachineIPAddressClaim, error)
- func (c *FakeVirtualMachineIPAddressClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineIPAddressLeases
- func (c *FakeVirtualMachineIPAddressLeases) Create(ctx context.Context, ...) (result *v1alpha2.VirtualMachineIPAddressLease, err error)
- func (c *FakeVirtualMachineIPAddressLeases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineIPAddressLeases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineIPAddressLeases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineIPAddressLease, err error)
- func (c *FakeVirtualMachineIPAddressLeases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineIPAddressLeaseList, err error)
- func (c *FakeVirtualMachineIPAddressLeases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.VirtualMachineIPAddressLease, err error)
- func (c *FakeVirtualMachineIPAddressLeases) Update(ctx context.Context, ...) (result *v1alpha2.VirtualMachineIPAddressLease, err error)
- func (c *FakeVirtualMachineIPAddressLeases) UpdateStatus(ctx context.Context, ...) (*v1alpha2.VirtualMachineIPAddressLease, error)
- func (c *FakeVirtualMachineIPAddressLeases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineOperations
- func (c *FakeVirtualMachineOperations) Create(ctx context.Context, virtualMachineOperation *v1alpha2.VirtualMachineOperation, ...) (result *v1alpha2.VirtualMachineOperation, err error)
- func (c *FakeVirtualMachineOperations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineOperations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineOperations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineOperation, err error)
- func (c *FakeVirtualMachineOperations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineOperationList, err error)
- func (c *FakeVirtualMachineOperations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.VirtualMachineOperation, err error)
- func (c *FakeVirtualMachineOperations) Update(ctx context.Context, virtualMachineOperation *v1alpha2.VirtualMachineOperation, ...) (result *v1alpha2.VirtualMachineOperation, err error)
- func (c *FakeVirtualMachineOperations) UpdateStatus(ctx context.Context, virtualMachineOperation *v1alpha2.VirtualMachineOperation, ...) (*v1alpha2.VirtualMachineOperation, error)
- func (c *FakeVirtualMachineOperations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachines
- func (c *FakeVirtualMachines) Create(ctx context.Context, virtualMachine *v1alpha2.VirtualMachine, ...) (result *v1alpha2.VirtualMachine, err error)
- func (c *FakeVirtualMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachine, err error)
- func (c *FakeVirtualMachines) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineList, err error)
- func (c *FakeVirtualMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.VirtualMachine, err error)
- func (c *FakeVirtualMachines) Update(ctx context.Context, virtualMachine *v1alpha2.VirtualMachine, ...) (result *v1alpha2.VirtualMachine, err error)
- func (c *FakeVirtualMachines) UpdateStatus(ctx context.Context, virtualMachine *v1alpha2.VirtualMachine, ...) (*v1alpha2.VirtualMachine, error)
- func (c *FakeVirtualMachines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualizationV1alpha2
- func (c *FakeVirtualizationV1alpha2) ClusterVirtualImages() v1alpha2.ClusterVirtualImageInterface
- func (c *FakeVirtualizationV1alpha2) RESTClient() rest.Interface
- func (c *FakeVirtualizationV1alpha2) VirtualDisks(namespace string) v1alpha2.VirtualDiskInterface
- func (c *FakeVirtualizationV1alpha2) VirtualImages(namespace string) v1alpha2.VirtualImageInterface
- func (c *FakeVirtualizationV1alpha2) VirtualMachineBlockDeviceAttachments(namespace string) v1alpha2.VirtualMachineBlockDeviceAttachmentInterface
- func (c *FakeVirtualizationV1alpha2) VirtualMachineCPUModels() v1alpha2.VirtualMachineCPUModelInterface
- func (c *FakeVirtualizationV1alpha2) VirtualMachineIPAddressClaims(namespace string) v1alpha2.VirtualMachineIPAddressClaimInterface
- func (c *FakeVirtualizationV1alpha2) VirtualMachineIPAddressLeases() v1alpha2.VirtualMachineIPAddressLeaseInterface
- func (c *FakeVirtualizationV1alpha2) VirtualMachineOperations(namespace string) v1alpha2.VirtualMachineOperationInterface
- func (c *FakeVirtualizationV1alpha2) VirtualMachines(namespace string) v1alpha2.VirtualMachineInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterVirtualImages ¶
type FakeClusterVirtualImages struct {
Fake *FakeVirtualizationV1alpha2
}
FakeClusterVirtualImages implements ClusterVirtualImageInterface
func (*FakeClusterVirtualImages) Create ¶
func (c *FakeClusterVirtualImages) Create(ctx context.Context, clusterVirtualImage *v1alpha2.ClusterVirtualImage, opts v1.CreateOptions) (result *v1alpha2.ClusterVirtualImage, err error)
Create takes the representation of a clusterVirtualImage and creates it. Returns the server's representation of the clusterVirtualImage, and an error, if there is any.
func (*FakeClusterVirtualImages) Delete ¶
func (c *FakeClusterVirtualImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterVirtualImage and deletes it. Returns an error if one occurs.
func (*FakeClusterVirtualImages) DeleteCollection ¶
func (c *FakeClusterVirtualImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterVirtualImages) Get ¶
func (c *FakeClusterVirtualImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterVirtualImage, err error)
Get takes name of the clusterVirtualImage, and returns the corresponding clusterVirtualImage object, and an error if there is any.
func (*FakeClusterVirtualImages) List ¶
func (c *FakeClusterVirtualImages) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterVirtualImageList, err error)
List takes label and field selectors, and returns the list of ClusterVirtualImages that match those selectors.
func (*FakeClusterVirtualImages) Patch ¶
func (c *FakeClusterVirtualImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.ClusterVirtualImage, err error)
Patch applies the patch and returns the patched clusterVirtualImage.
func (*FakeClusterVirtualImages) Update ¶
func (c *FakeClusterVirtualImages) Update(ctx context.Context, clusterVirtualImage *v1alpha2.ClusterVirtualImage, opts v1.UpdateOptions) (result *v1alpha2.ClusterVirtualImage, err error)
Update takes the representation of a clusterVirtualImage and updates it. Returns the server's representation of the clusterVirtualImage, and an error, if there is any.
func (*FakeClusterVirtualImages) UpdateStatus ¶
func (c *FakeClusterVirtualImages) UpdateStatus(ctx context.Context, clusterVirtualImage *v1alpha2.ClusterVirtualImage, opts v1.UpdateOptions) (*v1alpha2.ClusterVirtualImage, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterVirtualImages) Watch ¶
func (c *FakeClusterVirtualImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterVirtualImages.
type FakeVirtualDisks ¶
type FakeVirtualDisks struct { Fake *FakeVirtualizationV1alpha2 // contains filtered or unexported fields }
FakeVirtualDisks implements VirtualDiskInterface
func (*FakeVirtualDisks) Create ¶
func (c *FakeVirtualDisks) Create(ctx context.Context, virtualDisk *v1alpha2.VirtualDisk, opts v1.CreateOptions) (result *v1alpha2.VirtualDisk, err error)
Create takes the representation of a virtualDisk and creates it. Returns the server's representation of the virtualDisk, and an error, if there is any.
func (*FakeVirtualDisks) Delete ¶
func (c *FakeVirtualDisks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualDisk and deletes it. Returns an error if one occurs.
func (*FakeVirtualDisks) DeleteCollection ¶
func (c *FakeVirtualDisks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualDisks) Get ¶
func (c *FakeVirtualDisks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualDisk, err error)
Get takes name of the virtualDisk, and returns the corresponding virtualDisk object, and an error if there is any.
func (*FakeVirtualDisks) List ¶
func (c *FakeVirtualDisks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualDiskList, err error)
List takes label and field selectors, and returns the list of VirtualDisks that match those selectors.
func (*FakeVirtualDisks) Patch ¶
func (c *FakeVirtualDisks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.VirtualDisk, err error)
Patch applies the patch and returns the patched virtualDisk.
func (*FakeVirtualDisks) Update ¶
func (c *FakeVirtualDisks) Update(ctx context.Context, virtualDisk *v1alpha2.VirtualDisk, opts v1.UpdateOptions) (result *v1alpha2.VirtualDisk, err error)
Update takes the representation of a virtualDisk and updates it. Returns the server's representation of the virtualDisk, and an error, if there is any.
func (*FakeVirtualDisks) UpdateStatus ¶
func (c *FakeVirtualDisks) UpdateStatus(ctx context.Context, virtualDisk *v1alpha2.VirtualDisk, opts v1.UpdateOptions) (*v1alpha2.VirtualDisk, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualDisks) Watch ¶
func (c *FakeVirtualDisks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualDisks.
type FakeVirtualImages ¶
type FakeVirtualImages struct { Fake *FakeVirtualizationV1alpha2 // contains filtered or unexported fields }
FakeVirtualImages implements VirtualImageInterface
func (*FakeVirtualImages) Create ¶
func (c *FakeVirtualImages) Create(ctx context.Context, virtualImage *v1alpha2.VirtualImage, opts v1.CreateOptions) (result *v1alpha2.VirtualImage, err error)
Create takes the representation of a virtualImage and creates it. Returns the server's representation of the virtualImage, and an error, if there is any.
func (*FakeVirtualImages) Delete ¶
func (c *FakeVirtualImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualImage and deletes it. Returns an error if one occurs.
func (*FakeVirtualImages) DeleteCollection ¶
func (c *FakeVirtualImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualImages) Get ¶
func (c *FakeVirtualImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualImage, err error)
Get takes name of the virtualImage, and returns the corresponding virtualImage object, and an error if there is any.
func (*FakeVirtualImages) List ¶
func (c *FakeVirtualImages) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualImageList, err error)
List takes label and field selectors, and returns the list of VirtualImages that match those selectors.
func (*FakeVirtualImages) Patch ¶
func (c *FakeVirtualImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.VirtualImage, err error)
Patch applies the patch and returns the patched virtualImage.
func (*FakeVirtualImages) Update ¶
func (c *FakeVirtualImages) Update(ctx context.Context, virtualImage *v1alpha2.VirtualImage, opts v1.UpdateOptions) (result *v1alpha2.VirtualImage, err error)
Update takes the representation of a virtualImage and updates it. Returns the server's representation of the virtualImage, and an error, if there is any.
func (*FakeVirtualImages) UpdateStatus ¶
func (c *FakeVirtualImages) UpdateStatus(ctx context.Context, virtualImage *v1alpha2.VirtualImage, opts v1.UpdateOptions) (*v1alpha2.VirtualImage, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualImages) Watch ¶
func (c *FakeVirtualImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualImages.
type FakeVirtualMachineBlockDeviceAttachments ¶
type FakeVirtualMachineBlockDeviceAttachments struct { Fake *FakeVirtualizationV1alpha2 // contains filtered or unexported fields }
FakeVirtualMachineBlockDeviceAttachments implements VirtualMachineBlockDeviceAttachmentInterface
func (*FakeVirtualMachineBlockDeviceAttachments) Create ¶
func (c *FakeVirtualMachineBlockDeviceAttachments) Create(ctx context.Context, virtualMachineBlockDeviceAttachment *v1alpha2.VirtualMachineBlockDeviceAttachment, opts v1.CreateOptions) (result *v1alpha2.VirtualMachineBlockDeviceAttachment, err error)
Create takes the representation of a virtualMachineBlockDeviceAttachment and creates it. Returns the server's representation of the virtualMachineBlockDeviceAttachment, and an error, if there is any.
func (*FakeVirtualMachineBlockDeviceAttachments) Delete ¶
func (c *FakeVirtualMachineBlockDeviceAttachments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachineBlockDeviceAttachment and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineBlockDeviceAttachments) DeleteCollection ¶
func (c *FakeVirtualMachineBlockDeviceAttachments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineBlockDeviceAttachments) Get ¶
func (c *FakeVirtualMachineBlockDeviceAttachments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineBlockDeviceAttachment, err error)
Get takes name of the virtualMachineBlockDeviceAttachment, and returns the corresponding virtualMachineBlockDeviceAttachment object, and an error if there is any.
func (*FakeVirtualMachineBlockDeviceAttachments) List ¶
func (c *FakeVirtualMachineBlockDeviceAttachments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineBlockDeviceAttachmentList, err error)
List takes label and field selectors, and returns the list of VirtualMachineBlockDeviceAttachments that match those selectors.
func (*FakeVirtualMachineBlockDeviceAttachments) Patch ¶
func (c *FakeVirtualMachineBlockDeviceAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.VirtualMachineBlockDeviceAttachment, err error)
Patch applies the patch and returns the patched virtualMachineBlockDeviceAttachment.
func (*FakeVirtualMachineBlockDeviceAttachments) Update ¶
func (c *FakeVirtualMachineBlockDeviceAttachments) Update(ctx context.Context, virtualMachineBlockDeviceAttachment *v1alpha2.VirtualMachineBlockDeviceAttachment, opts v1.UpdateOptions) (result *v1alpha2.VirtualMachineBlockDeviceAttachment, err error)
Update takes the representation of a virtualMachineBlockDeviceAttachment and updates it. Returns the server's representation of the virtualMachineBlockDeviceAttachment, and an error, if there is any.
func (*FakeVirtualMachineBlockDeviceAttachments) UpdateStatus ¶
func (c *FakeVirtualMachineBlockDeviceAttachments) UpdateStatus(ctx context.Context, virtualMachineBlockDeviceAttachment *v1alpha2.VirtualMachineBlockDeviceAttachment, opts v1.UpdateOptions) (*v1alpha2.VirtualMachineBlockDeviceAttachment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualMachineBlockDeviceAttachments) Watch ¶
func (c *FakeVirtualMachineBlockDeviceAttachments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineBlockDeviceAttachments.
type FakeVirtualMachineCPUModels ¶
type FakeVirtualMachineCPUModels struct {
Fake *FakeVirtualizationV1alpha2
}
FakeVirtualMachineCPUModels implements VirtualMachineCPUModelInterface
func (*FakeVirtualMachineCPUModels) Create ¶
func (c *FakeVirtualMachineCPUModels) Create(ctx context.Context, virtualMachineCPUModel *v1alpha2.VirtualMachineCPUModel, opts v1.CreateOptions) (result *v1alpha2.VirtualMachineCPUModel, err error)
Create takes the representation of a virtualMachineCPUModel and creates it. Returns the server's representation of the virtualMachineCPUModel, and an error, if there is any.
func (*FakeVirtualMachineCPUModels) Delete ¶
func (c *FakeVirtualMachineCPUModels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachineCPUModel and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineCPUModels) DeleteCollection ¶
func (c *FakeVirtualMachineCPUModels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineCPUModels) Get ¶
func (c *FakeVirtualMachineCPUModels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineCPUModel, err error)
Get takes name of the virtualMachineCPUModel, and returns the corresponding virtualMachineCPUModel object, and an error if there is any.
func (*FakeVirtualMachineCPUModels) List ¶
func (c *FakeVirtualMachineCPUModels) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineCPUModelList, err error)
List takes label and field selectors, and returns the list of VirtualMachineCPUModels that match those selectors.
func (*FakeVirtualMachineCPUModels) Patch ¶
func (c *FakeVirtualMachineCPUModels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.VirtualMachineCPUModel, err error)
Patch applies the patch and returns the patched virtualMachineCPUModel.
func (*FakeVirtualMachineCPUModels) Update ¶
func (c *FakeVirtualMachineCPUModels) Update(ctx context.Context, virtualMachineCPUModel *v1alpha2.VirtualMachineCPUModel, opts v1.UpdateOptions) (result *v1alpha2.VirtualMachineCPUModel, err error)
Update takes the representation of a virtualMachineCPUModel and updates it. Returns the server's representation of the virtualMachineCPUModel, and an error, if there is any.
func (*FakeVirtualMachineCPUModels) UpdateStatus ¶
func (c *FakeVirtualMachineCPUModels) UpdateStatus(ctx context.Context, virtualMachineCPUModel *v1alpha2.VirtualMachineCPUModel, opts v1.UpdateOptions) (*v1alpha2.VirtualMachineCPUModel, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualMachineCPUModels) Watch ¶
func (c *FakeVirtualMachineCPUModels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineCPUModels.
type FakeVirtualMachineIPAddressClaims ¶
type FakeVirtualMachineIPAddressClaims struct { Fake *FakeVirtualizationV1alpha2 // contains filtered or unexported fields }
FakeVirtualMachineIPAddressClaims implements VirtualMachineIPAddressClaimInterface
func (*FakeVirtualMachineIPAddressClaims) Create ¶
func (c *FakeVirtualMachineIPAddressClaims) Create(ctx context.Context, virtualMachineIPAddressClaim *v1alpha2.VirtualMachineIPAddressClaim, opts v1.CreateOptions) (result *v1alpha2.VirtualMachineIPAddressClaim, err error)
Create takes the representation of a virtualMachineIPAddressClaim and creates it. Returns the server's representation of the virtualMachineIPAddressClaim, and an error, if there is any.
func (*FakeVirtualMachineIPAddressClaims) Delete ¶
func (c *FakeVirtualMachineIPAddressClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachineIPAddressClaim and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineIPAddressClaims) DeleteCollection ¶
func (c *FakeVirtualMachineIPAddressClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineIPAddressClaims) Get ¶
func (c *FakeVirtualMachineIPAddressClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineIPAddressClaim, err error)
Get takes name of the virtualMachineIPAddressClaim, and returns the corresponding virtualMachineIPAddressClaim object, and an error if there is any.
func (*FakeVirtualMachineIPAddressClaims) List ¶
func (c *FakeVirtualMachineIPAddressClaims) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineIPAddressClaimList, err error)
List takes label and field selectors, and returns the list of VirtualMachineIPAddressClaims that match those selectors.
func (*FakeVirtualMachineIPAddressClaims) Patch ¶
func (c *FakeVirtualMachineIPAddressClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.VirtualMachineIPAddressClaim, err error)
Patch applies the patch and returns the patched virtualMachineIPAddressClaim.
func (*FakeVirtualMachineIPAddressClaims) Update ¶
func (c *FakeVirtualMachineIPAddressClaims) Update(ctx context.Context, virtualMachineIPAddressClaim *v1alpha2.VirtualMachineIPAddressClaim, opts v1.UpdateOptions) (result *v1alpha2.VirtualMachineIPAddressClaim, err error)
Update takes the representation of a virtualMachineIPAddressClaim and updates it. Returns the server's representation of the virtualMachineIPAddressClaim, and an error, if there is any.
func (*FakeVirtualMachineIPAddressClaims) UpdateStatus ¶
func (c *FakeVirtualMachineIPAddressClaims) UpdateStatus(ctx context.Context, virtualMachineIPAddressClaim *v1alpha2.VirtualMachineIPAddressClaim, opts v1.UpdateOptions) (*v1alpha2.VirtualMachineIPAddressClaim, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualMachineIPAddressClaims) Watch ¶
func (c *FakeVirtualMachineIPAddressClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineIPAddressClaims.
type FakeVirtualMachineIPAddressLeases ¶
type FakeVirtualMachineIPAddressLeases struct {
Fake *FakeVirtualizationV1alpha2
}
FakeVirtualMachineIPAddressLeases implements VirtualMachineIPAddressLeaseInterface
func (*FakeVirtualMachineIPAddressLeases) Create ¶
func (c *FakeVirtualMachineIPAddressLeases) Create(ctx context.Context, virtualMachineIPAddressLease *v1alpha2.VirtualMachineIPAddressLease, opts v1.CreateOptions) (result *v1alpha2.VirtualMachineIPAddressLease, err error)
Create takes the representation of a virtualMachineIPAddressLease and creates it. Returns the server's representation of the virtualMachineIPAddressLease, and an error, if there is any.
func (*FakeVirtualMachineIPAddressLeases) Delete ¶
func (c *FakeVirtualMachineIPAddressLeases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachineIPAddressLease and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineIPAddressLeases) DeleteCollection ¶
func (c *FakeVirtualMachineIPAddressLeases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineIPAddressLeases) Get ¶
func (c *FakeVirtualMachineIPAddressLeases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineIPAddressLease, err error)
Get takes name of the virtualMachineIPAddressLease, and returns the corresponding virtualMachineIPAddressLease object, and an error if there is any.
func (*FakeVirtualMachineIPAddressLeases) List ¶
func (c *FakeVirtualMachineIPAddressLeases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineIPAddressLeaseList, err error)
List takes label and field selectors, and returns the list of VirtualMachineIPAddressLeases that match those selectors.
func (*FakeVirtualMachineIPAddressLeases) Patch ¶
func (c *FakeVirtualMachineIPAddressLeases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.VirtualMachineIPAddressLease, err error)
Patch applies the patch and returns the patched virtualMachineIPAddressLease.
func (*FakeVirtualMachineIPAddressLeases) Update ¶
func (c *FakeVirtualMachineIPAddressLeases) Update(ctx context.Context, virtualMachineIPAddressLease *v1alpha2.VirtualMachineIPAddressLease, opts v1.UpdateOptions) (result *v1alpha2.VirtualMachineIPAddressLease, err error)
Update takes the representation of a virtualMachineIPAddressLease and updates it. Returns the server's representation of the virtualMachineIPAddressLease, and an error, if there is any.
func (*FakeVirtualMachineIPAddressLeases) UpdateStatus ¶
func (c *FakeVirtualMachineIPAddressLeases) UpdateStatus(ctx context.Context, virtualMachineIPAddressLease *v1alpha2.VirtualMachineIPAddressLease, opts v1.UpdateOptions) (*v1alpha2.VirtualMachineIPAddressLease, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualMachineIPAddressLeases) Watch ¶
func (c *FakeVirtualMachineIPAddressLeases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineIPAddressLeases.
type FakeVirtualMachineOperations ¶
type FakeVirtualMachineOperations struct { Fake *FakeVirtualizationV1alpha2 // contains filtered or unexported fields }
FakeVirtualMachineOperations implements VirtualMachineOperationInterface
func (*FakeVirtualMachineOperations) Create ¶
func (c *FakeVirtualMachineOperations) Create(ctx context.Context, virtualMachineOperation *v1alpha2.VirtualMachineOperation, opts v1.CreateOptions) (result *v1alpha2.VirtualMachineOperation, err error)
Create takes the representation of a virtualMachineOperation and creates it. Returns the server's representation of the virtualMachineOperation, and an error, if there is any.
func (*FakeVirtualMachineOperations) Delete ¶
func (c *FakeVirtualMachineOperations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachineOperation and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineOperations) DeleteCollection ¶
func (c *FakeVirtualMachineOperations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineOperations) Get ¶
func (c *FakeVirtualMachineOperations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineOperation, err error)
Get takes name of the virtualMachineOperation, and returns the corresponding virtualMachineOperation object, and an error if there is any.
func (*FakeVirtualMachineOperations) List ¶
func (c *FakeVirtualMachineOperations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineOperationList, err error)
List takes label and field selectors, and returns the list of VirtualMachineOperations that match those selectors.
func (*FakeVirtualMachineOperations) Patch ¶
func (c *FakeVirtualMachineOperations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.VirtualMachineOperation, err error)
Patch applies the patch and returns the patched virtualMachineOperation.
func (*FakeVirtualMachineOperations) Update ¶
func (c *FakeVirtualMachineOperations) Update(ctx context.Context, virtualMachineOperation *v1alpha2.VirtualMachineOperation, opts v1.UpdateOptions) (result *v1alpha2.VirtualMachineOperation, err error)
Update takes the representation of a virtualMachineOperation and updates it. Returns the server's representation of the virtualMachineOperation, and an error, if there is any.
func (*FakeVirtualMachineOperations) UpdateStatus ¶
func (c *FakeVirtualMachineOperations) UpdateStatus(ctx context.Context, virtualMachineOperation *v1alpha2.VirtualMachineOperation, opts v1.UpdateOptions) (*v1alpha2.VirtualMachineOperation, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualMachineOperations) Watch ¶
func (c *FakeVirtualMachineOperations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineOperations.
type FakeVirtualMachines ¶
type FakeVirtualMachines struct { Fake *FakeVirtualizationV1alpha2 // contains filtered or unexported fields }
FakeVirtualMachines implements VirtualMachineInterface
func (*FakeVirtualMachines) Create ¶
func (c *FakeVirtualMachines) Create(ctx context.Context, virtualMachine *v1alpha2.VirtualMachine, opts v1.CreateOptions) (result *v1alpha2.VirtualMachine, err error)
Create takes the representation of a virtualMachine and creates it. Returns the server's representation of the virtualMachine, and an error, if there is any.
func (*FakeVirtualMachines) Delete ¶
func (c *FakeVirtualMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachine and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachines) DeleteCollection ¶
func (c *FakeVirtualMachines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachines) Get ¶
func (c *FakeVirtualMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachine, err error)
Get takes name of the virtualMachine, and returns the corresponding virtualMachine object, and an error if there is any.
func (*FakeVirtualMachines) List ¶
func (c *FakeVirtualMachines) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineList, err error)
List takes label and field selectors, and returns the list of VirtualMachines that match those selectors.
func (*FakeVirtualMachines) Patch ¶
func (c *FakeVirtualMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.VirtualMachine, err error)
Patch applies the patch and returns the patched virtualMachine.
func (*FakeVirtualMachines) Update ¶
func (c *FakeVirtualMachines) Update(ctx context.Context, virtualMachine *v1alpha2.VirtualMachine, opts v1.UpdateOptions) (result *v1alpha2.VirtualMachine, err error)
Update takes the representation of a virtualMachine and updates it. Returns the server's representation of the virtualMachine, and an error, if there is any.
func (*FakeVirtualMachines) UpdateStatus ¶
func (c *FakeVirtualMachines) UpdateStatus(ctx context.Context, virtualMachine *v1alpha2.VirtualMachine, opts v1.UpdateOptions) (*v1alpha2.VirtualMachine, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualMachines) Watch ¶
func (c *FakeVirtualMachines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachines.
type FakeVirtualizationV1alpha2 ¶
func (*FakeVirtualizationV1alpha2) ClusterVirtualImages ¶
func (c *FakeVirtualizationV1alpha2) ClusterVirtualImages() v1alpha2.ClusterVirtualImageInterface
func (*FakeVirtualizationV1alpha2) RESTClient ¶
func (c *FakeVirtualizationV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeVirtualizationV1alpha2) VirtualDisks ¶
func (c *FakeVirtualizationV1alpha2) VirtualDisks(namespace string) v1alpha2.VirtualDiskInterface
func (*FakeVirtualizationV1alpha2) VirtualImages ¶
func (c *FakeVirtualizationV1alpha2) VirtualImages(namespace string) v1alpha2.VirtualImageInterface
func (*FakeVirtualizationV1alpha2) VirtualMachineBlockDeviceAttachments ¶
func (c *FakeVirtualizationV1alpha2) VirtualMachineBlockDeviceAttachments(namespace string) v1alpha2.VirtualMachineBlockDeviceAttachmentInterface
func (*FakeVirtualizationV1alpha2) VirtualMachineCPUModels ¶
func (c *FakeVirtualizationV1alpha2) VirtualMachineCPUModels() v1alpha2.VirtualMachineCPUModelInterface
func (*FakeVirtualizationV1alpha2) VirtualMachineIPAddressClaims ¶
func (c *FakeVirtualizationV1alpha2) VirtualMachineIPAddressClaims(namespace string) v1alpha2.VirtualMachineIPAddressClaimInterface
func (*FakeVirtualizationV1alpha2) VirtualMachineIPAddressLeases ¶
func (c *FakeVirtualizationV1alpha2) VirtualMachineIPAddressLeases() v1alpha2.VirtualMachineIPAddressLeaseInterface
func (*FakeVirtualizationV1alpha2) VirtualMachineOperations ¶
func (c *FakeVirtualizationV1alpha2) VirtualMachineOperations(namespace string) v1alpha2.VirtualMachineOperationInterface
func (*FakeVirtualizationV1alpha2) VirtualMachines ¶
func (c *FakeVirtualizationV1alpha2) VirtualMachines(namespace string) v1alpha2.VirtualMachineInterface