Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFabrics
- func (c *FakeFabrics) Create(ctx context.Context, fabric *v1alpha1.Fabric, opts v1.CreateOptions) (result *v1alpha1.Fabric, err error)
- func (c *FakeFabrics) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFabrics) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFabrics) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Fabric, err error)
- func (c *FakeFabrics) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FabricList, err error)
- func (c *FakeFabrics) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Fabric, err error)
- func (c *FakeFabrics) Update(ctx context.Context, fabric *v1alpha1.Fabric, opts v1.UpdateOptions) (result *v1alpha1.Fabric, err error)
- func (c *FakeFabrics) UpdateStatus(ctx context.Context, fabric *v1alpha1.Fabric, opts v1.UpdateOptions) (*v1alpha1.Fabric, error)
- func (c *FakeFabrics) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkMappings
- func (c *FakeNetworkMappings) Create(ctx context.Context, networkMapping *v1alpha1.NetworkMapping, ...) (result *v1alpha1.NetworkMapping, err error)
- func (c *FakeNetworkMappings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetworkMappings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetworkMappings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkMapping, err error)
- func (c *FakeNetworkMappings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkMappingList, err error)
- func (c *FakeNetworkMappings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NetworkMapping, err error)
- func (c *FakeNetworkMappings) Update(ctx context.Context, networkMapping *v1alpha1.NetworkMapping, ...) (result *v1alpha1.NetworkMapping, err error)
- func (c *FakeNetworkMappings) UpdateStatus(ctx context.Context, networkMapping *v1alpha1.NetworkMapping, ...) (*v1alpha1.NetworkMapping, error)
- func (c *FakeNetworkMappings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeProtectionContainerMappings
- func (c *FakeProtectionContainerMappings) Create(ctx context.Context, ...) (result *v1alpha1.ProtectionContainerMapping, err error)
- func (c *FakeProtectionContainerMappings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProtectionContainerMappings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProtectionContainerMappings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ProtectionContainerMapping, err error)
- func (c *FakeProtectionContainerMappings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProtectionContainerMappingList, err error)
- func (c *FakeProtectionContainerMappings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ProtectionContainerMapping, err error)
- func (c *FakeProtectionContainerMappings) Update(ctx context.Context, ...) (result *v1alpha1.ProtectionContainerMapping, err error)
- func (c *FakeProtectionContainerMappings) UpdateStatus(ctx context.Context, ...) (*v1alpha1.ProtectionContainerMapping, error)
- func (c *FakeProtectionContainerMappings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeProtectionContainers
- func (c *FakeProtectionContainers) Create(ctx context.Context, protectionContainer *v1alpha1.ProtectionContainer, ...) (result *v1alpha1.ProtectionContainer, err error)
- func (c *FakeProtectionContainers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProtectionContainers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProtectionContainers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ProtectionContainer, err error)
- func (c *FakeProtectionContainers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProtectionContainerList, err error)
- func (c *FakeProtectionContainers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ProtectionContainer, err error)
- func (c *FakeProtectionContainers) Update(ctx context.Context, protectionContainer *v1alpha1.ProtectionContainer, ...) (result *v1alpha1.ProtectionContainer, err error)
- func (c *FakeProtectionContainers) UpdateStatus(ctx context.Context, protectionContainer *v1alpha1.ProtectionContainer, ...) (*v1alpha1.ProtectionContainer, error)
- func (c *FakeProtectionContainers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeReplicatedVms
- func (c *FakeReplicatedVms) Create(ctx context.Context, replicatedVm *v1alpha1.ReplicatedVm, ...) (result *v1alpha1.ReplicatedVm, err error)
- func (c *FakeReplicatedVms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeReplicatedVms) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeReplicatedVms) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ReplicatedVm, err error)
- func (c *FakeReplicatedVms) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ReplicatedVmList, err error)
- func (c *FakeReplicatedVms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ReplicatedVm, err error)
- func (c *FakeReplicatedVms) Update(ctx context.Context, replicatedVm *v1alpha1.ReplicatedVm, ...) (result *v1alpha1.ReplicatedVm, err error)
- func (c *FakeReplicatedVms) UpdateStatus(ctx context.Context, replicatedVm *v1alpha1.ReplicatedVm, ...) (*v1alpha1.ReplicatedVm, error)
- func (c *FakeReplicatedVms) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeReplicationPolicies
- func (c *FakeReplicationPolicies) Create(ctx context.Context, replicationPolicy *v1alpha1.ReplicationPolicy, ...) (result *v1alpha1.ReplicationPolicy, err error)
- func (c *FakeReplicationPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeReplicationPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeReplicationPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ReplicationPolicy, err error)
- func (c *FakeReplicationPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ReplicationPolicyList, err error)
- func (c *FakeReplicationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ReplicationPolicy, err error)
- func (c *FakeReplicationPolicies) Update(ctx context.Context, replicationPolicy *v1alpha1.ReplicationPolicy, ...) (result *v1alpha1.ReplicationPolicy, err error)
- func (c *FakeReplicationPolicies) UpdateStatus(ctx context.Context, replicationPolicy *v1alpha1.ReplicationPolicy, ...) (*v1alpha1.ReplicationPolicy, error)
- func (c *FakeReplicationPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSiterecoveryV1alpha1
- func (c *FakeSiterecoveryV1alpha1) Fabrics(namespace string) v1alpha1.FabricInterface
- func (c *FakeSiterecoveryV1alpha1) NetworkMappings(namespace string) v1alpha1.NetworkMappingInterface
- func (c *FakeSiterecoveryV1alpha1) ProtectionContainerMappings(namespace string) v1alpha1.ProtectionContainerMappingInterface
- func (c *FakeSiterecoveryV1alpha1) ProtectionContainers(namespace string) v1alpha1.ProtectionContainerInterface
- func (c *FakeSiterecoveryV1alpha1) RESTClient() rest.Interface
- func (c *FakeSiterecoveryV1alpha1) ReplicatedVms(namespace string) v1alpha1.ReplicatedVmInterface
- func (c *FakeSiterecoveryV1alpha1) ReplicationPolicies(namespace string) v1alpha1.ReplicationPolicyInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFabrics ¶
type FakeFabrics struct { Fake *FakeSiterecoveryV1alpha1 // contains filtered or unexported fields }
FakeFabrics implements FabricInterface
func (*FakeFabrics) Create ¶
func (c *FakeFabrics) Create(ctx context.Context, fabric *v1alpha1.Fabric, opts v1.CreateOptions) (result *v1alpha1.Fabric, err error)
Create takes the representation of a fabric and creates it. Returns the server's representation of the fabric, and an error, if there is any.
func (*FakeFabrics) Delete ¶
func (c *FakeFabrics) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the fabric and deletes it. Returns an error if one occurs.
func (*FakeFabrics) DeleteCollection ¶
func (c *FakeFabrics) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFabrics) Get ¶
func (c *FakeFabrics) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Fabric, err error)
Get takes name of the fabric, and returns the corresponding fabric object, and an error if there is any.
func (*FakeFabrics) List ¶
func (c *FakeFabrics) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FabricList, err error)
List takes label and field selectors, and returns the list of Fabrics that match those selectors.
func (*FakeFabrics) Patch ¶
func (c *FakeFabrics) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Fabric, err error)
Patch applies the patch and returns the patched fabric.
func (*FakeFabrics) Update ¶
func (c *FakeFabrics) Update(ctx context.Context, fabric *v1alpha1.Fabric, opts v1.UpdateOptions) (result *v1alpha1.Fabric, err error)
Update takes the representation of a fabric and updates it. Returns the server's representation of the fabric, and an error, if there is any.
func (*FakeFabrics) UpdateStatus ¶
func (c *FakeFabrics) UpdateStatus(ctx context.Context, fabric *v1alpha1.Fabric, opts v1.UpdateOptions) (*v1alpha1.Fabric, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFabrics) Watch ¶
func (c *FakeFabrics) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested fabrics.
type FakeNetworkMappings ¶
type FakeNetworkMappings struct { Fake *FakeSiterecoveryV1alpha1 // contains filtered or unexported fields }
FakeNetworkMappings implements NetworkMappingInterface
func (*FakeNetworkMappings) Create ¶
func (c *FakeNetworkMappings) Create(ctx context.Context, networkMapping *v1alpha1.NetworkMapping, opts v1.CreateOptions) (result *v1alpha1.NetworkMapping, err error)
Create takes the representation of a networkMapping and creates it. Returns the server's representation of the networkMapping, and an error, if there is any.
func (*FakeNetworkMappings) Delete ¶
func (c *FakeNetworkMappings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the networkMapping and deletes it. Returns an error if one occurs.
func (*FakeNetworkMappings) DeleteCollection ¶
func (c *FakeNetworkMappings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetworkMappings) Get ¶
func (c *FakeNetworkMappings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkMapping, err error)
Get takes name of the networkMapping, and returns the corresponding networkMapping object, and an error if there is any.
func (*FakeNetworkMappings) List ¶
func (c *FakeNetworkMappings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkMappingList, err error)
List takes label and field selectors, and returns the list of NetworkMappings that match those selectors.
func (*FakeNetworkMappings) Patch ¶
func (c *FakeNetworkMappings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkMapping, err error)
Patch applies the patch and returns the patched networkMapping.
func (*FakeNetworkMappings) Update ¶
func (c *FakeNetworkMappings) Update(ctx context.Context, networkMapping *v1alpha1.NetworkMapping, opts v1.UpdateOptions) (result *v1alpha1.NetworkMapping, err error)
Update takes the representation of a networkMapping and updates it. Returns the server's representation of the networkMapping, and an error, if there is any.
func (*FakeNetworkMappings) UpdateStatus ¶
func (c *FakeNetworkMappings) UpdateStatus(ctx context.Context, networkMapping *v1alpha1.NetworkMapping, opts v1.UpdateOptions) (*v1alpha1.NetworkMapping, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNetworkMappings) Watch ¶
func (c *FakeNetworkMappings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkMappings.
type FakeProtectionContainerMappings ¶
type FakeProtectionContainerMappings struct { Fake *FakeSiterecoveryV1alpha1 // contains filtered or unexported fields }
FakeProtectionContainerMappings implements ProtectionContainerMappingInterface
func (*FakeProtectionContainerMappings) Create ¶
func (c *FakeProtectionContainerMappings) Create(ctx context.Context, protectionContainerMapping *v1alpha1.ProtectionContainerMapping, opts v1.CreateOptions) (result *v1alpha1.ProtectionContainerMapping, err error)
Create takes the representation of a protectionContainerMapping and creates it. Returns the server's representation of the protectionContainerMapping, and an error, if there is any.
func (*FakeProtectionContainerMappings) Delete ¶
func (c *FakeProtectionContainerMappings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the protectionContainerMapping and deletes it. Returns an error if one occurs.
func (*FakeProtectionContainerMappings) DeleteCollection ¶
func (c *FakeProtectionContainerMappings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProtectionContainerMappings) Get ¶
func (c *FakeProtectionContainerMappings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ProtectionContainerMapping, err error)
Get takes name of the protectionContainerMapping, and returns the corresponding protectionContainerMapping object, and an error if there is any.
func (*FakeProtectionContainerMappings) List ¶
func (c *FakeProtectionContainerMappings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProtectionContainerMappingList, err error)
List takes label and field selectors, and returns the list of ProtectionContainerMappings that match those selectors.
func (*FakeProtectionContainerMappings) Patch ¶
func (c *FakeProtectionContainerMappings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ProtectionContainerMapping, err error)
Patch applies the patch and returns the patched protectionContainerMapping.
func (*FakeProtectionContainerMappings) Update ¶
func (c *FakeProtectionContainerMappings) Update(ctx context.Context, protectionContainerMapping *v1alpha1.ProtectionContainerMapping, opts v1.UpdateOptions) (result *v1alpha1.ProtectionContainerMapping, err error)
Update takes the representation of a protectionContainerMapping and updates it. Returns the server's representation of the protectionContainerMapping, and an error, if there is any.
func (*FakeProtectionContainerMappings) UpdateStatus ¶
func (c *FakeProtectionContainerMappings) UpdateStatus(ctx context.Context, protectionContainerMapping *v1alpha1.ProtectionContainerMapping, opts v1.UpdateOptions) (*v1alpha1.ProtectionContainerMapping, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProtectionContainerMappings) Watch ¶
func (c *FakeProtectionContainerMappings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested protectionContainerMappings.
type FakeProtectionContainers ¶
type FakeProtectionContainers struct { Fake *FakeSiterecoveryV1alpha1 // contains filtered or unexported fields }
FakeProtectionContainers implements ProtectionContainerInterface
func (*FakeProtectionContainers) Create ¶
func (c *FakeProtectionContainers) Create(ctx context.Context, protectionContainer *v1alpha1.ProtectionContainer, opts v1.CreateOptions) (result *v1alpha1.ProtectionContainer, err error)
Create takes the representation of a protectionContainer and creates it. Returns the server's representation of the protectionContainer, and an error, if there is any.
func (*FakeProtectionContainers) Delete ¶
func (c *FakeProtectionContainers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the protectionContainer and deletes it. Returns an error if one occurs.
func (*FakeProtectionContainers) DeleteCollection ¶
func (c *FakeProtectionContainers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProtectionContainers) Get ¶
func (c *FakeProtectionContainers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ProtectionContainer, err error)
Get takes name of the protectionContainer, and returns the corresponding protectionContainer object, and an error if there is any.
func (*FakeProtectionContainers) List ¶
func (c *FakeProtectionContainers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProtectionContainerList, err error)
List takes label and field selectors, and returns the list of ProtectionContainers that match those selectors.
func (*FakeProtectionContainers) Patch ¶
func (c *FakeProtectionContainers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ProtectionContainer, err error)
Patch applies the patch and returns the patched protectionContainer.
func (*FakeProtectionContainers) Update ¶
func (c *FakeProtectionContainers) Update(ctx context.Context, protectionContainer *v1alpha1.ProtectionContainer, opts v1.UpdateOptions) (result *v1alpha1.ProtectionContainer, err error)
Update takes the representation of a protectionContainer and updates it. Returns the server's representation of the protectionContainer, and an error, if there is any.
func (*FakeProtectionContainers) UpdateStatus ¶
func (c *FakeProtectionContainers) UpdateStatus(ctx context.Context, protectionContainer *v1alpha1.ProtectionContainer, opts v1.UpdateOptions) (*v1alpha1.ProtectionContainer, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProtectionContainers) Watch ¶
func (c *FakeProtectionContainers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested protectionContainers.
type FakeReplicatedVms ¶
type FakeReplicatedVms struct { Fake *FakeSiterecoveryV1alpha1 // contains filtered or unexported fields }
FakeReplicatedVms implements ReplicatedVmInterface
func (*FakeReplicatedVms) Create ¶
func (c *FakeReplicatedVms) Create(ctx context.Context, replicatedVm *v1alpha1.ReplicatedVm, opts v1.CreateOptions) (result *v1alpha1.ReplicatedVm, err error)
Create takes the representation of a replicatedVm and creates it. Returns the server's representation of the replicatedVm, and an error, if there is any.
func (*FakeReplicatedVms) Delete ¶
func (c *FakeReplicatedVms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the replicatedVm and deletes it. Returns an error if one occurs.
func (*FakeReplicatedVms) DeleteCollection ¶
func (c *FakeReplicatedVms) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeReplicatedVms) Get ¶
func (c *FakeReplicatedVms) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ReplicatedVm, err error)
Get takes name of the replicatedVm, and returns the corresponding replicatedVm object, and an error if there is any.
func (*FakeReplicatedVms) List ¶
func (c *FakeReplicatedVms) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ReplicatedVmList, err error)
List takes label and field selectors, and returns the list of ReplicatedVms that match those selectors.
func (*FakeReplicatedVms) Patch ¶
func (c *FakeReplicatedVms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ReplicatedVm, err error)
Patch applies the patch and returns the patched replicatedVm.
func (*FakeReplicatedVms) Update ¶
func (c *FakeReplicatedVms) Update(ctx context.Context, replicatedVm *v1alpha1.ReplicatedVm, opts v1.UpdateOptions) (result *v1alpha1.ReplicatedVm, err error)
Update takes the representation of a replicatedVm and updates it. Returns the server's representation of the replicatedVm, and an error, if there is any.
func (*FakeReplicatedVms) UpdateStatus ¶
func (c *FakeReplicatedVms) UpdateStatus(ctx context.Context, replicatedVm *v1alpha1.ReplicatedVm, opts v1.UpdateOptions) (*v1alpha1.ReplicatedVm, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeReplicatedVms) Watch ¶
func (c *FakeReplicatedVms) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested replicatedVms.
type FakeReplicationPolicies ¶
type FakeReplicationPolicies struct { Fake *FakeSiterecoveryV1alpha1 // contains filtered or unexported fields }
FakeReplicationPolicies implements ReplicationPolicyInterface
func (*FakeReplicationPolicies) Create ¶
func (c *FakeReplicationPolicies) Create(ctx context.Context, replicationPolicy *v1alpha1.ReplicationPolicy, opts v1.CreateOptions) (result *v1alpha1.ReplicationPolicy, err error)
Create takes the representation of a replicationPolicy and creates it. Returns the server's representation of the replicationPolicy, and an error, if there is any.
func (*FakeReplicationPolicies) Delete ¶
func (c *FakeReplicationPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the replicationPolicy and deletes it. Returns an error if one occurs.
func (*FakeReplicationPolicies) DeleteCollection ¶
func (c *FakeReplicationPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeReplicationPolicies) Get ¶
func (c *FakeReplicationPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ReplicationPolicy, err error)
Get takes name of the replicationPolicy, and returns the corresponding replicationPolicy object, and an error if there is any.
func (*FakeReplicationPolicies) List ¶
func (c *FakeReplicationPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ReplicationPolicyList, err error)
List takes label and field selectors, and returns the list of ReplicationPolicies that match those selectors.
func (*FakeReplicationPolicies) Patch ¶
func (c *FakeReplicationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ReplicationPolicy, err error)
Patch applies the patch and returns the patched replicationPolicy.
func (*FakeReplicationPolicies) Update ¶
func (c *FakeReplicationPolicies) Update(ctx context.Context, replicationPolicy *v1alpha1.ReplicationPolicy, opts v1.UpdateOptions) (result *v1alpha1.ReplicationPolicy, err error)
Update takes the representation of a replicationPolicy and updates it. Returns the server's representation of the replicationPolicy, and an error, if there is any.
func (*FakeReplicationPolicies) UpdateStatus ¶
func (c *FakeReplicationPolicies) UpdateStatus(ctx context.Context, replicationPolicy *v1alpha1.ReplicationPolicy, opts v1.UpdateOptions) (*v1alpha1.ReplicationPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeReplicationPolicies) Watch ¶
func (c *FakeReplicationPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested replicationPolicies.
type FakeSiterecoveryV1alpha1 ¶
func (*FakeSiterecoveryV1alpha1) Fabrics ¶
func (c *FakeSiterecoveryV1alpha1) Fabrics(namespace string) v1alpha1.FabricInterface
func (*FakeSiterecoveryV1alpha1) NetworkMappings ¶
func (c *FakeSiterecoveryV1alpha1) NetworkMappings(namespace string) v1alpha1.NetworkMappingInterface
func (*FakeSiterecoveryV1alpha1) ProtectionContainerMappings ¶
func (c *FakeSiterecoveryV1alpha1) ProtectionContainerMappings(namespace string) v1alpha1.ProtectionContainerMappingInterface
func (*FakeSiterecoveryV1alpha1) ProtectionContainers ¶
func (c *FakeSiterecoveryV1alpha1) ProtectionContainers(namespace string) v1alpha1.ProtectionContainerInterface
func (*FakeSiterecoveryV1alpha1) RESTClient ¶
func (c *FakeSiterecoveryV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSiterecoveryV1alpha1) ReplicatedVms ¶
func (c *FakeSiterecoveryV1alpha1) ReplicatedVms(namespace string) v1alpha1.ReplicatedVmInterface
func (*FakeSiterecoveryV1alpha1) ReplicationPolicies ¶
func (c *FakeSiterecoveryV1alpha1) ReplicationPolicies(namespace string) v1alpha1.ReplicationPolicyInterface