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 FakeGENIDClaims

type FakeGENIDClaims struct {
	Fake *FakeGenidV1alpha1
	// contains filtered or unexported fields
}

FakeGENIDClaims implements GENIDClaimInterface

func (*FakeGENIDClaims) Create

func (c *FakeGENIDClaims) Create(ctx context.Context, gENIDClaim *v1alpha1.GENIDClaim, opts v1.CreateOptions) (result *v1alpha1.GENIDClaim, err error)

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

func (*FakeGENIDClaims) Delete

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

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

func (*FakeGENIDClaims) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGENIDClaims) Get

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

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

func (*FakeGENIDClaims) List

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

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

func (*FakeGENIDClaims) Patch

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

Patch applies the patch and returns the patched gENIDClaim.

func (*FakeGENIDClaims) Update

func (c *FakeGENIDClaims) Update(ctx context.Context, gENIDClaim *v1alpha1.GENIDClaim, opts v1.UpdateOptions) (result *v1alpha1.GENIDClaim, err error)

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

func (*FakeGENIDClaims) UpdateStatus

func (c *FakeGENIDClaims) UpdateStatus(ctx context.Context, gENIDClaim *v1alpha1.GENIDClaim, opts v1.UpdateOptions) (*v1alpha1.GENIDClaim, error)

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

func (*FakeGENIDClaims) Watch

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

type FakeGENIDEntries

type FakeGENIDEntries struct {
	Fake *FakeGenidV1alpha1
	// contains filtered or unexported fields
}

FakeGENIDEntries implements GENIDEntryInterface

func (*FakeGENIDEntries) Create

func (c *FakeGENIDEntries) Create(ctx context.Context, gENIDEntry *v1alpha1.GENIDEntry, opts v1.CreateOptions) (result *v1alpha1.GENIDEntry, err error)

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

func (*FakeGENIDEntries) Delete

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

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

func (*FakeGENIDEntries) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGENIDEntries) Get

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

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

func (*FakeGENIDEntries) List

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

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

func (*FakeGENIDEntries) Patch

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

Patch applies the patch and returns the patched gENIDEntry.

func (*FakeGENIDEntries) Update

func (c *FakeGENIDEntries) Update(ctx context.Context, gENIDEntry *v1alpha1.GENIDEntry, opts v1.UpdateOptions) (result *v1alpha1.GENIDEntry, err error)

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

func (*FakeGENIDEntries) UpdateStatus

func (c *FakeGENIDEntries) UpdateStatus(ctx context.Context, gENIDEntry *v1alpha1.GENIDEntry, opts v1.UpdateOptions) (*v1alpha1.GENIDEntry, error)

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

func (*FakeGENIDEntries) Watch

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

type FakeGENIDIndexes

type FakeGENIDIndexes struct {
	Fake *FakeGenidV1alpha1
	// contains filtered or unexported fields
}

FakeGENIDIndexes implements GENIDIndexInterface

func (*FakeGENIDIndexes) Create

func (c *FakeGENIDIndexes) Create(ctx context.Context, gENIDIndex *v1alpha1.GENIDIndex, opts v1.CreateOptions) (result *v1alpha1.GENIDIndex, err error)

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

func (*FakeGENIDIndexes) Delete

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

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

func (*FakeGENIDIndexes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGENIDIndexes) Get

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

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

func (*FakeGENIDIndexes) List

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

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

func (*FakeGENIDIndexes) Patch

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

Patch applies the patch and returns the patched gENIDIndex.

func (*FakeGENIDIndexes) Update

func (c *FakeGENIDIndexes) Update(ctx context.Context, gENIDIndex *v1alpha1.GENIDIndex, opts v1.UpdateOptions) (result *v1alpha1.GENIDIndex, err error)

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

func (*FakeGENIDIndexes) UpdateStatus

func (c *FakeGENIDIndexes) UpdateStatus(ctx context.Context, gENIDIndex *v1alpha1.GENIDIndex, opts v1.UpdateOptions) (*v1alpha1.GENIDIndex, error)

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

func (*FakeGENIDIndexes) Watch

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

type FakeGenidV1alpha1

type FakeGenidV1alpha1 struct {
	*testing.Fake
}

func (*FakeGenidV1alpha1) GENIDClaims

func (c *FakeGenidV1alpha1) GENIDClaims(namespace string) v1alpha1.GENIDClaimInterface

func (*FakeGenidV1alpha1) GENIDEntries

func (c *FakeGenidV1alpha1) GENIDEntries(namespace string) v1alpha1.GENIDEntryInterface

func (*FakeGenidV1alpha1) GENIDIndexes

func (c *FakeGenidV1alpha1) GENIDIndexes(namespace string) v1alpha1.GENIDIndexInterface

func (*FakeGenidV1alpha1) RESTClient

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