Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeLVMNodes
- func (c *FakeLVMNodes) Create(ctx context.Context, lVMNode *v1alpha1.LVMNode, opts v1.CreateOptions) (result *v1alpha1.LVMNode, err error)
- func (c *FakeLVMNodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLVMNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLVMNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LVMNode, err error)
- func (c *FakeLVMNodes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LVMNodeList, err error)
- func (c *FakeLVMNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.LVMNode, err error)
- func (c *FakeLVMNodes) Update(ctx context.Context, lVMNode *v1alpha1.LVMNode, opts v1.UpdateOptions) (result *v1alpha1.LVMNode, err error)
- func (c *FakeLVMNodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLVMSnapshots
- func (c *FakeLVMSnapshots) Create(ctx context.Context, lVMSnapshot *v1alpha1.LVMSnapshot, opts v1.CreateOptions) (result *v1alpha1.LVMSnapshot, err error)
- func (c *FakeLVMSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLVMSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLVMSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LVMSnapshot, err error)
- func (c *FakeLVMSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LVMSnapshotList, err error)
- func (c *FakeLVMSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.LVMSnapshot, err error)
- func (c *FakeLVMSnapshots) Update(ctx context.Context, lVMSnapshot *v1alpha1.LVMSnapshot, opts v1.UpdateOptions) (result *v1alpha1.LVMSnapshot, err error)
- func (c *FakeLVMSnapshots) UpdateStatus(ctx context.Context, lVMSnapshot *v1alpha1.LVMSnapshot, opts v1.UpdateOptions) (*v1alpha1.LVMSnapshot, error)
- func (c *FakeLVMSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLVMVolumes
- func (c *FakeLVMVolumes) Create(ctx context.Context, lVMVolume *v1alpha1.LVMVolume, opts v1.CreateOptions) (result *v1alpha1.LVMVolume, err error)
- func (c *FakeLVMVolumes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLVMVolumes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLVMVolumes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LVMVolume, err error)
- func (c *FakeLVMVolumes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LVMVolumeList, err error)
- func (c *FakeLVMVolumes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.LVMVolume, err error)
- func (c *FakeLVMVolumes) Update(ctx context.Context, lVMVolume *v1alpha1.LVMVolume, opts v1.UpdateOptions) (result *v1alpha1.LVMVolume, err error)
- func (c *FakeLVMVolumes) UpdateStatus(ctx context.Context, lVMVolume *v1alpha1.LVMVolume, opts v1.UpdateOptions) (*v1alpha1.LVMVolume, error)
- func (c *FakeLVMVolumes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLocalV1alpha1
- func (c *FakeLocalV1alpha1) LVMNodes(namespace string) v1alpha1.LVMNodeInterface
- func (c *FakeLocalV1alpha1) LVMSnapshots(namespace string) v1alpha1.LVMSnapshotInterface
- func (c *FakeLocalV1alpha1) LVMVolumes(namespace string) v1alpha1.LVMVolumeInterface
- func (c *FakeLocalV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeLVMNodes ¶ added in v0.3.0
type FakeLVMNodes struct { Fake *FakeLocalV1alpha1 // contains filtered or unexported fields }
FakeLVMNodes implements LVMNodeInterface
func (*FakeLVMNodes) Create ¶ added in v0.3.0
func (c *FakeLVMNodes) Create(ctx context.Context, lVMNode *v1alpha1.LVMNode, opts v1.CreateOptions) (result *v1alpha1.LVMNode, err error)
Create takes the representation of a lVMNode and creates it. Returns the server's representation of the lVMNode, and an error, if there is any.
func (*FakeLVMNodes) Delete ¶ added in v0.3.0
func (c *FakeLVMNodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the lVMNode and deletes it. Returns an error if one occurs.
func (*FakeLVMNodes) DeleteCollection ¶ added in v0.3.0
func (c *FakeLVMNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLVMNodes) Get ¶ added in v0.3.0
func (c *FakeLVMNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LVMNode, err error)
Get takes name of the lVMNode, and returns the corresponding lVMNode object, and an error if there is any.
func (*FakeLVMNodes) List ¶ added in v0.3.0
func (c *FakeLVMNodes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LVMNodeList, err error)
List takes label and field selectors, and returns the list of LVMNodes that match those selectors.
func (*FakeLVMNodes) Patch ¶ added in v0.3.0
func (c *FakeLVMNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LVMNode, err error)
Patch applies the patch and returns the patched lVMNode.
func (*FakeLVMNodes) Update ¶ added in v0.3.0
func (c *FakeLVMNodes) Update(ctx context.Context, lVMNode *v1alpha1.LVMNode, opts v1.UpdateOptions) (result *v1alpha1.LVMNode, err error)
Update takes the representation of a lVMNode and updates it. Returns the server's representation of the lVMNode, and an error, if there is any.
func (*FakeLVMNodes) Watch ¶ added in v0.3.0
func (c *FakeLVMNodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested lVMNodes.
type FakeLVMSnapshots ¶ added in v0.2.0
type FakeLVMSnapshots struct { Fake *FakeLocalV1alpha1 // contains filtered or unexported fields }
FakeLVMSnapshots implements LVMSnapshotInterface
func (*FakeLVMSnapshots) Create ¶ added in v0.2.0
func (c *FakeLVMSnapshots) Create(ctx context.Context, lVMSnapshot *v1alpha1.LVMSnapshot, opts v1.CreateOptions) (result *v1alpha1.LVMSnapshot, err error)
Create takes the representation of a lVMSnapshot and creates it. Returns the server's representation of the lVMSnapshot, and an error, if there is any.
func (*FakeLVMSnapshots) Delete ¶ added in v0.2.0
func (c *FakeLVMSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the lVMSnapshot and deletes it. Returns an error if one occurs.
func (*FakeLVMSnapshots) DeleteCollection ¶ added in v0.2.0
func (c *FakeLVMSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLVMSnapshots) Get ¶ added in v0.2.0
func (c *FakeLVMSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LVMSnapshot, err error)
Get takes name of the lVMSnapshot, and returns the corresponding lVMSnapshot object, and an error if there is any.
func (*FakeLVMSnapshots) List ¶ added in v0.2.0
func (c *FakeLVMSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LVMSnapshotList, err error)
List takes label and field selectors, and returns the list of LVMSnapshots that match those selectors.
func (*FakeLVMSnapshots) Patch ¶ added in v0.2.0
func (c *FakeLVMSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LVMSnapshot, err error)
Patch applies the patch and returns the patched lVMSnapshot.
func (*FakeLVMSnapshots) Update ¶ added in v0.2.0
func (c *FakeLVMSnapshots) Update(ctx context.Context, lVMSnapshot *v1alpha1.LVMSnapshot, opts v1.UpdateOptions) (result *v1alpha1.LVMSnapshot, err error)
Update takes the representation of a lVMSnapshot and updates it. Returns the server's representation of the lVMSnapshot, and an error, if there is any.
func (*FakeLVMSnapshots) UpdateStatus ¶ added in v0.2.0
func (c *FakeLVMSnapshots) UpdateStatus(ctx context.Context, lVMSnapshot *v1alpha1.LVMSnapshot, opts v1.UpdateOptions) (*v1alpha1.LVMSnapshot, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeLVMSnapshots) Watch ¶ added in v0.2.0
func (c *FakeLVMSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested lVMSnapshots.
type FakeLVMVolumes ¶
type FakeLVMVolumes struct { Fake *FakeLocalV1alpha1 // contains filtered or unexported fields }
FakeLVMVolumes implements LVMVolumeInterface
func (*FakeLVMVolumes) Create ¶
func (c *FakeLVMVolumes) Create(ctx context.Context, lVMVolume *v1alpha1.LVMVolume, opts v1.CreateOptions) (result *v1alpha1.LVMVolume, err error)
Create takes the representation of a lVMVolume and creates it. Returns the server's representation of the lVMVolume, and an error, if there is any.
func (*FakeLVMVolumes) Delete ¶
func (c *FakeLVMVolumes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the lVMVolume and deletes it. Returns an error if one occurs.
func (*FakeLVMVolumes) DeleteCollection ¶
func (c *FakeLVMVolumes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLVMVolumes) Get ¶
func (c *FakeLVMVolumes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LVMVolume, err error)
Get takes name of the lVMVolume, and returns the corresponding lVMVolume object, and an error if there is any.
func (*FakeLVMVolumes) List ¶
func (c *FakeLVMVolumes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LVMVolumeList, err error)
List takes label and field selectors, and returns the list of LVMVolumes that match those selectors.
func (*FakeLVMVolumes) Patch ¶
func (c *FakeLVMVolumes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LVMVolume, err error)
Patch applies the patch and returns the patched lVMVolume.
func (*FakeLVMVolumes) Update ¶
func (c *FakeLVMVolumes) Update(ctx context.Context, lVMVolume *v1alpha1.LVMVolume, opts v1.UpdateOptions) (result *v1alpha1.LVMVolume, err error)
Update takes the representation of a lVMVolume and updates it. Returns the server's representation of the lVMVolume, and an error, if there is any.
func (*FakeLVMVolumes) UpdateStatus ¶
func (c *FakeLVMVolumes) UpdateStatus(ctx context.Context, lVMVolume *v1alpha1.LVMVolume, opts v1.UpdateOptions) (*v1alpha1.LVMVolume, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeLVMVolumes) Watch ¶
func (c *FakeLVMVolumes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested lVMVolumes.
type FakeLocalV1alpha1 ¶
func (*FakeLocalV1alpha1) LVMNodes ¶ added in v0.3.0
func (c *FakeLocalV1alpha1) LVMNodes(namespace string) v1alpha1.LVMNodeInterface
func (*FakeLocalV1alpha1) LVMSnapshots ¶ added in v0.2.0
func (c *FakeLocalV1alpha1) LVMSnapshots(namespace string) v1alpha1.LVMSnapshotInterface
func (*FakeLocalV1alpha1) LVMVolumes ¶
func (c *FakeLocalV1alpha1) LVMVolumes(namespace string) v1alpha1.LVMVolumeInterface
func (*FakeLocalV1alpha1) RESTClient ¶
func (c *FakeLocalV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.