v0.28.0 Latest Latest

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

Go to latest
Published: Mar 18, 2023 License: Apache-2.0 Imports: 8 Imported by: 0



Package fake has the automatically generated clients.



This section is empty.


This section is empty.


This section is empty.


type FakeRepositoriesV1alpha1

type FakeRepositoriesV1alpha1 struct {

func (*FakeRepositoriesV1alpha1) RESTClient

func (c *FakeRepositoriesV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeRepositoriesV1alpha1) Snapshots

type FakeSnapshots

type FakeSnapshots struct {
	Fake *FakeRepositoriesV1alpha1
	// contains filtered or unexported fields

FakeSnapshots implements SnapshotInterface

func (*FakeSnapshots) Delete

func (c *FakeSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the snapshot and deletes it. Returns an error if one occurs.

func (*FakeSnapshots) Get

func (c *FakeSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Snapshot, err error)

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

func (*FakeSnapshots) List

func (c *FakeSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SnapshotList, err error)

List takes label and field selectors, and returns the list of Snapshots that match those selectors.

func (*FakeSnapshots) UpdateStatus

func (c *FakeSnapshots) UpdateStatus(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.UpdateOptions) (*v1alpha1.Snapshot, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

Jump to

Keyboard shortcuts

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