fake

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 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 FakeESIClaims

type FakeESIClaims struct {
	Fake *FakeEsiV1alpha1
	// contains filtered or unexported fields
}

FakeESIClaims implements ESIClaimInterface

func (*FakeESIClaims) Create

func (c *FakeESIClaims) Create(ctx context.Context, eSIClaim *v1alpha1.ESIClaim, opts v1.CreateOptions) (result *v1alpha1.ESIClaim, err error)

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

func (*FakeESIClaims) Delete

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

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

func (*FakeESIClaims) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeESIClaims) Get

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

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

func (*FakeESIClaims) List

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

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

func (*FakeESIClaims) Patch

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

Patch applies the patch and returns the patched eSIClaim.

func (*FakeESIClaims) Update

func (c *FakeESIClaims) Update(ctx context.Context, eSIClaim *v1alpha1.ESIClaim, opts v1.UpdateOptions) (result *v1alpha1.ESIClaim, err error)

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

func (*FakeESIClaims) UpdateStatus

func (c *FakeESIClaims) UpdateStatus(ctx context.Context, eSIClaim *v1alpha1.ESIClaim, opts v1.UpdateOptions) (*v1alpha1.ESIClaim, error)

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

func (*FakeESIClaims) Watch

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

type FakeESIEntries

type FakeESIEntries struct {
	Fake *FakeEsiV1alpha1
	// contains filtered or unexported fields
}

FakeESIEntries implements ESIEntryInterface

func (*FakeESIEntries) Create

func (c *FakeESIEntries) Create(ctx context.Context, eSIEntry *v1alpha1.ESIEntry, opts v1.CreateOptions) (result *v1alpha1.ESIEntry, err error)

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

func (*FakeESIEntries) Delete

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

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

func (*FakeESIEntries) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeESIEntries) Get

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

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

func (*FakeESIEntries) List

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

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

func (*FakeESIEntries) Patch

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

Patch applies the patch and returns the patched eSIEntry.

func (*FakeESIEntries) Update

func (c *FakeESIEntries) Update(ctx context.Context, eSIEntry *v1alpha1.ESIEntry, opts v1.UpdateOptions) (result *v1alpha1.ESIEntry, err error)

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

func (*FakeESIEntries) UpdateStatus

func (c *FakeESIEntries) UpdateStatus(ctx context.Context, eSIEntry *v1alpha1.ESIEntry, opts v1.UpdateOptions) (*v1alpha1.ESIEntry, error)

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

func (*FakeESIEntries) Watch

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

type FakeESIIndexes

type FakeESIIndexes struct {
	Fake *FakeEsiV1alpha1
	// contains filtered or unexported fields
}

FakeESIIndexes implements ESIIndexInterface

func (*FakeESIIndexes) Create

func (c *FakeESIIndexes) Create(ctx context.Context, eSIIndex *v1alpha1.ESIIndex, opts v1.CreateOptions) (result *v1alpha1.ESIIndex, err error)

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

func (*FakeESIIndexes) Delete

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

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

func (*FakeESIIndexes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeESIIndexes) Get

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

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

func (*FakeESIIndexes) List

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

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

func (*FakeESIIndexes) Patch

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

Patch applies the patch and returns the patched eSIIndex.

func (*FakeESIIndexes) Update

func (c *FakeESIIndexes) Update(ctx context.Context, eSIIndex *v1alpha1.ESIIndex, opts v1.UpdateOptions) (result *v1alpha1.ESIIndex, err error)

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

func (*FakeESIIndexes) UpdateStatus

func (c *FakeESIIndexes) UpdateStatus(ctx context.Context, eSIIndex *v1alpha1.ESIIndex, opts v1.UpdateOptions) (*v1alpha1.ESIIndex, error)

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

func (*FakeESIIndexes) Watch

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

type FakeEsiV1alpha1

type FakeEsiV1alpha1 struct {
	*testing.Fake
}

func (*FakeEsiV1alpha1) ESIClaims

func (c *FakeEsiV1alpha1) ESIClaims(namespace string) v1alpha1.ESIClaimInterface

func (*FakeEsiV1alpha1) ESIEntries

func (c *FakeEsiV1alpha1) ESIEntries(namespace string) v1alpha1.ESIEntryInterface

func (*FakeEsiV1alpha1) ESIIndexes

func (c *FakeEsiV1alpha1) ESIIndexes(namespace string) v1alpha1.ESIIndexInterface

func (*FakeEsiV1alpha1) RESTClient

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