fake

package
v0.0.0-...-1122709 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCbtV1alpha1

type FakeCbtV1alpha1 struct {
	*testing.Fake
}

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

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

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

Get takes name of the snapshotMetadataService, and returns the corresponding snapshotMetadataService object, and an error if there is any.

func (*FakeSnapshotMetadataServices) List

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

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

Watch returns a watch.Interface that watches the requested snapshotMetadataServices.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL