Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeSnapshotGroups
- func (c *FakeSnapshotGroups) Create(ctx context.Context, snapshotGroup *v1.SnapshotGroup, ...) (result *v1.SnapshotGroup, err error)
- func (c *FakeSnapshotGroups) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeSnapshotGroups) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeSnapshotGroups) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.SnapshotGroup, err error)
- func (c *FakeSnapshotGroups) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SnapshotGroupList, err error)
- func (c *FakeSnapshotGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.SnapshotGroup, err error)
- func (c *FakeSnapshotGroups) Update(ctx context.Context, snapshotGroup *v1.SnapshotGroup, ...) (result *v1.SnapshotGroup, err error)
- func (c *FakeSnapshotGroups) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeSnapshotgroupV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSnapshotGroups ¶
type FakeSnapshotGroups struct { Fake *FakeSnapshotgroupV1 // contains filtered or unexported fields }
FakeSnapshotGroups implements SnapshotGroupInterface
func (*FakeSnapshotGroups) Create ¶
func (c *FakeSnapshotGroups) Create(ctx context.Context, snapshotGroup *v1.SnapshotGroup, opts metav1.CreateOptions) (result *v1.SnapshotGroup, err error)
Create takes the representation of a snapshotGroup and creates it. Returns the server's representation of the snapshotGroup, and an error, if there is any.
func (*FakeSnapshotGroups) Delete ¶
func (c *FakeSnapshotGroups) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the snapshotGroup and deletes it. Returns an error if one occurs.
func (*FakeSnapshotGroups) DeleteCollection ¶
func (c *FakeSnapshotGroups) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSnapshotGroups) Get ¶
func (c *FakeSnapshotGroups) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.SnapshotGroup, err error)
Get takes name of the snapshotGroup, and returns the corresponding snapshotGroup object, and an error if there is any.
func (*FakeSnapshotGroups) List ¶
func (c *FakeSnapshotGroups) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SnapshotGroupList, err error)
List takes label and field selectors, and returns the list of SnapshotGroups that match those selectors.
func (*FakeSnapshotGroups) Patch ¶
func (c *FakeSnapshotGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.SnapshotGroup, err error)
Patch applies the patch and returns the patched snapshotGroup.
func (*FakeSnapshotGroups) Update ¶
func (c *FakeSnapshotGroups) Update(ctx context.Context, snapshotGroup *v1.SnapshotGroup, opts metav1.UpdateOptions) (result *v1.SnapshotGroup, err error)
Update takes the representation of a snapshotGroup and updates it. Returns the server's representation of the snapshotGroup, and an error, if there is any.
func (*FakeSnapshotGroups) Watch ¶
func (c *FakeSnapshotGroups) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested snapshotGroups.
type FakeSnapshotgroupV1 ¶
func (*FakeSnapshotgroupV1) RESTClient ¶
func (c *FakeSnapshotgroupV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSnapshotgroupV1) SnapshotGroups ¶
func (c *FakeSnapshotgroupV1) SnapshotGroups(namespace string) v1.SnapshotGroupInterface