Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCbtV1alpha1
- type FakeSnapshotMetadataServices
- func (c *FakeSnapshotMetadataServices) Create(ctx context.Context, snapshotMetadataService *v1alpha1.SnapshotMetadataService, ...) (result *v1alpha1.SnapshotMetadataService, err error)
- func (c *FakeSnapshotMetadataServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSnapshotMetadataServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSnapshotMetadataServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SnapshotMetadataService, err error)
- func (c *FakeSnapshotMetadataServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SnapshotMetadataServiceList, err error)
- func (c *FakeSnapshotMetadataServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SnapshotMetadataService, err error)
- func (c *FakeSnapshotMetadataServices) Update(ctx context.Context, snapshotMetadataService *v1alpha1.SnapshotMetadataService, ...) (result *v1alpha1.SnapshotMetadataService, err error)
- func (c *FakeSnapshotMetadataServices) 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 FakeCbtV1alpha1 ¶
func (*FakeCbtV1alpha1) RESTClient ¶
func (c *FakeCbtV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCbtV1alpha1) SnapshotMetadataServices ¶
func (c *FakeCbtV1alpha1) SnapshotMetadataServices() v1alpha1.SnapshotMetadataServiceInterface
type FakeSnapshotMetadataServices ¶
type FakeSnapshotMetadataServices struct {
Fake *FakeCbtV1alpha1
}
FakeSnapshotMetadataServices implements SnapshotMetadataServiceInterface
func (*FakeSnapshotMetadataServices) Create ¶
func (c *FakeSnapshotMetadataServices) Create(ctx context.Context, snapshotMetadataService *v1alpha1.SnapshotMetadataService, opts v1.CreateOptions) (result *v1alpha1.SnapshotMetadataService, err error)
Create takes the representation of a snapshotMetadataService and creates it. Returns the server's representation of the snapshotMetadataService, and an error, if there is any.
func (*FakeSnapshotMetadataServices) Delete ¶
func (c *FakeSnapshotMetadataServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the snapshotMetadataService and deletes it. Returns an error if one occurs.
func (*FakeSnapshotMetadataServices) DeleteCollection ¶
func (c *FakeSnapshotMetadataServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSnapshotMetadataServices) Get ¶
func (c *FakeSnapshotMetadataServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SnapshotMetadataService, err error)
Get takes name of the snapshotMetadataService, and returns the corresponding snapshotMetadataService object, and an error if there is any.
func (*FakeSnapshotMetadataServices) List ¶
func (c *FakeSnapshotMetadataServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SnapshotMetadataServiceList, err error)
List takes label and field selectors, and returns the list of SnapshotMetadataServices that match those selectors.
func (*FakeSnapshotMetadataServices) Patch ¶
func (c *FakeSnapshotMetadataServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SnapshotMetadataService, err error)
Patch applies the patch and returns the patched snapshotMetadataService.
func (*FakeSnapshotMetadataServices) Update ¶
func (c *FakeSnapshotMetadataServices) Update(ctx context.Context, snapshotMetadataService *v1alpha1.SnapshotMetadataService, opts v1.UpdateOptions) (result *v1alpha1.SnapshotMetadataService, err error)
Update takes the representation of a snapshotMetadataService and updates it. Returns the server's representation of the snapshotMetadataService, and an error, if there is any.
func (*FakeSnapshotMetadataServices) Watch ¶
func (c *FakeSnapshotMetadataServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested snapshotMetadataServices.