fake

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 10 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 FakeLighthouseBreakpoints added in v1.1.44

type FakeLighthouseBreakpoints struct {
	Fake *FakeLighthouseV1alpha1
	// contains filtered or unexported fields
}

FakeLighthouseBreakpoints implements LighthouseBreakpointInterface

func (*FakeLighthouseBreakpoints) Create added in v1.1.44

func (c *FakeLighthouseBreakpoints) Create(ctx context.Context, lighthouseBreakpoint *v1alpha1.LighthouseBreakpoint, opts v1.CreateOptions) (result *v1alpha1.LighthouseBreakpoint, err error)

Create takes the representation of a lighthouseBreakpoint and creates it. Returns the server's representation of the lighthouseBreakpoint, and an error, if there is any.

func (*FakeLighthouseBreakpoints) Delete added in v1.1.44

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

func (*FakeLighthouseBreakpoints) DeleteCollection added in v1.1.44

func (c *FakeLighthouseBreakpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeLighthouseBreakpoints) Get added in v1.1.44

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

func (*FakeLighthouseBreakpoints) List added in v1.1.44

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

func (*FakeLighthouseBreakpoints) Patch added in v1.1.44

func (c *FakeLighthouseBreakpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LighthouseBreakpoint, err error)

Patch applies the patch and returns the patched lighthouseBreakpoint.

func (*FakeLighthouseBreakpoints) Update added in v1.1.44

func (c *FakeLighthouseBreakpoints) Update(ctx context.Context, lighthouseBreakpoint *v1alpha1.LighthouseBreakpoint, opts v1.UpdateOptions) (result *v1alpha1.LighthouseBreakpoint, err error)

Update takes the representation of a lighthouseBreakpoint and updates it. Returns the server's representation of the lighthouseBreakpoint, and an error, if there is any.

func (*FakeLighthouseBreakpoints) Watch added in v1.1.44

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

type FakeLighthouseJobs

type FakeLighthouseJobs struct {
	Fake *FakeLighthouseV1alpha1
	// contains filtered or unexported fields
}

FakeLighthouseJobs implements LighthouseJobInterface

func (*FakeLighthouseJobs) Create

func (c *FakeLighthouseJobs) Create(ctx context.Context, lighthouseJob *v1alpha1.LighthouseJob, opts v1.CreateOptions) (result *v1alpha1.LighthouseJob, err error)

Create takes the representation of a lighthouseJob and creates it. Returns the server's representation of the lighthouseJob, and an error, if there is any.

func (*FakeLighthouseJobs) Delete

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

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

func (*FakeLighthouseJobs) DeleteCollection

func (c *FakeLighthouseJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeLighthouseJobs) Get

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

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

func (*FakeLighthouseJobs) List

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

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

func (*FakeLighthouseJobs) Patch

func (c *FakeLighthouseJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LighthouseJob, err error)

Patch applies the patch and returns the patched lighthouseJob.

func (*FakeLighthouseJobs) Update

func (c *FakeLighthouseJobs) Update(ctx context.Context, lighthouseJob *v1alpha1.LighthouseJob, opts v1.UpdateOptions) (result *v1alpha1.LighthouseJob, err error)

Update takes the representation of a lighthouseJob and updates it. Returns the server's representation of the lighthouseJob, and an error, if there is any.

func (*FakeLighthouseJobs) UpdateStatus

func (c *FakeLighthouseJobs) UpdateStatus(ctx context.Context, lighthouseJob *v1alpha1.LighthouseJob, opts v1.UpdateOptions) (*v1alpha1.LighthouseJob, error)

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

func (*FakeLighthouseJobs) Watch

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

type FakeLighthouseV1alpha1

type FakeLighthouseV1alpha1 struct {
	*testing.Fake
}

func (*FakeLighthouseV1alpha1) LighthouseBreakpoints added in v1.1.44

func (c *FakeLighthouseV1alpha1) LighthouseBreakpoints(namespace string) v1alpha1.LighthouseBreakpointInterface

func (*FakeLighthouseV1alpha1) LighthouseJobs

func (c *FakeLighthouseV1alpha1) LighthouseJobs(namespace string) v1alpha1.LighthouseJobInterface

func (*FakeLighthouseV1alpha1) RESTClient

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

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

Jump to

Keyboard shortcuts

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