fake

package
v0.0.0-...-63651a1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: Apache-2.0 Imports: 12 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 FakeExtendedJobManagers

type FakeExtendedJobManagers struct {
	Fake *FakeExtendedjobmanagerV1
	// contains filtered or unexported fields
}

FakeExtendedJobManagers implements ExtendedJobManagerInterface

func (*FakeExtendedJobManagers) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied extendedJobManager.

func (*FakeExtendedJobManagers) ApplyStatus

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

func (*FakeExtendedJobManagers) Create

func (c *FakeExtendedJobManagers) Create(ctx context.Context, extendedJobManager *v1.ExtendedJobManager, opts metav1.CreateOptions) (result *v1.ExtendedJobManager, err error)

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

func (*FakeExtendedJobManagers) Delete

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

func (*FakeExtendedJobManagers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeExtendedJobManagers) Get

func (c *FakeExtendedJobManagers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ExtendedJobManager, err error)

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

func (*FakeExtendedJobManagers) List

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

func (*FakeExtendedJobManagers) Patch

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

Patch applies the patch and returns the patched extendedJobManager.

func (*FakeExtendedJobManagers) Update

func (c *FakeExtendedJobManagers) Update(ctx context.Context, extendedJobManager *v1.ExtendedJobManager, opts metav1.UpdateOptions) (result *v1.ExtendedJobManager, err error)

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

func (*FakeExtendedJobManagers) UpdateStatus

func (c *FakeExtendedJobManagers) UpdateStatus(ctx context.Context, extendedJobManager *v1.ExtendedJobManager, opts metav1.UpdateOptions) (*v1.ExtendedJobManager, error)

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

func (*FakeExtendedJobManagers) Watch

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

type FakeExtendedjobmanagerV1

type FakeExtendedjobmanagerV1 struct {
	*testing.Fake
}

func (*FakeExtendedjobmanagerV1) ExtendedJobManagers

func (c *FakeExtendedjobmanagerV1) ExtendedJobManagers(namespace string) v1.ExtendedJobManagerInterface

func (*FakeExtendedjobmanagerV1) RESTClient

func (c *FakeExtendedjobmanagerV1) 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