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 FakeEXTCOMMClaims

type FakeEXTCOMMClaims struct {
	Fake *FakeExtcommV1alpha1
	// contains filtered or unexported fields
}

FakeEXTCOMMClaims implements EXTCOMMClaimInterface

func (*FakeEXTCOMMClaims) Create

func (c *FakeEXTCOMMClaims) Create(ctx context.Context, eXTCOMMClaim *v1alpha1.EXTCOMMClaim, opts v1.CreateOptions) (result *v1alpha1.EXTCOMMClaim, err error)

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

func (*FakeEXTCOMMClaims) Delete

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

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

func (*FakeEXTCOMMClaims) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEXTCOMMClaims) Get

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

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

func (*FakeEXTCOMMClaims) List

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

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

func (*FakeEXTCOMMClaims) Patch

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

Patch applies the patch and returns the patched eXTCOMMClaim.

func (*FakeEXTCOMMClaims) Update

func (c *FakeEXTCOMMClaims) Update(ctx context.Context, eXTCOMMClaim *v1alpha1.EXTCOMMClaim, opts v1.UpdateOptions) (result *v1alpha1.EXTCOMMClaim, err error)

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

func (*FakeEXTCOMMClaims) UpdateStatus

func (c *FakeEXTCOMMClaims) UpdateStatus(ctx context.Context, eXTCOMMClaim *v1alpha1.EXTCOMMClaim, opts v1.UpdateOptions) (*v1alpha1.EXTCOMMClaim, error)

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

func (*FakeEXTCOMMClaims) Watch

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

type FakeEXTCOMMEntries

type FakeEXTCOMMEntries struct {
	Fake *FakeExtcommV1alpha1
	// contains filtered or unexported fields
}

FakeEXTCOMMEntries implements EXTCOMMEntryInterface

func (*FakeEXTCOMMEntries) Create

func (c *FakeEXTCOMMEntries) Create(ctx context.Context, eXTCOMMEntry *v1alpha1.EXTCOMMEntry, opts v1.CreateOptions) (result *v1alpha1.EXTCOMMEntry, err error)

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

func (*FakeEXTCOMMEntries) Delete

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

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

func (*FakeEXTCOMMEntries) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEXTCOMMEntries) Get

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

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

func (*FakeEXTCOMMEntries) List

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

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

func (*FakeEXTCOMMEntries) Patch

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

Patch applies the patch and returns the patched eXTCOMMEntry.

func (*FakeEXTCOMMEntries) Update

func (c *FakeEXTCOMMEntries) Update(ctx context.Context, eXTCOMMEntry *v1alpha1.EXTCOMMEntry, opts v1.UpdateOptions) (result *v1alpha1.EXTCOMMEntry, err error)

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

func (*FakeEXTCOMMEntries) UpdateStatus

func (c *FakeEXTCOMMEntries) UpdateStatus(ctx context.Context, eXTCOMMEntry *v1alpha1.EXTCOMMEntry, opts v1.UpdateOptions) (*v1alpha1.EXTCOMMEntry, error)

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

func (*FakeEXTCOMMEntries) Watch

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

type FakeEXTCOMMIndexes

type FakeEXTCOMMIndexes struct {
	Fake *FakeExtcommV1alpha1
	// contains filtered or unexported fields
}

FakeEXTCOMMIndexes implements EXTCOMMIndexInterface

func (*FakeEXTCOMMIndexes) Create

func (c *FakeEXTCOMMIndexes) Create(ctx context.Context, eXTCOMMIndex *v1alpha1.EXTCOMMIndex, opts v1.CreateOptions) (result *v1alpha1.EXTCOMMIndex, err error)

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

func (*FakeEXTCOMMIndexes) Delete

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

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

func (*FakeEXTCOMMIndexes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEXTCOMMIndexes) Get

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

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

func (*FakeEXTCOMMIndexes) List

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

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

func (*FakeEXTCOMMIndexes) Patch

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

Patch applies the patch and returns the patched eXTCOMMIndex.

func (*FakeEXTCOMMIndexes) Update

func (c *FakeEXTCOMMIndexes) Update(ctx context.Context, eXTCOMMIndex *v1alpha1.EXTCOMMIndex, opts v1.UpdateOptions) (result *v1alpha1.EXTCOMMIndex, err error)

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

func (*FakeEXTCOMMIndexes) UpdateStatus

func (c *FakeEXTCOMMIndexes) UpdateStatus(ctx context.Context, eXTCOMMIndex *v1alpha1.EXTCOMMIndex, opts v1.UpdateOptions) (*v1alpha1.EXTCOMMIndex, error)

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

func (*FakeEXTCOMMIndexes) Watch

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

type FakeExtcommV1alpha1

type FakeExtcommV1alpha1 struct {
	*testing.Fake
}

func (*FakeExtcommV1alpha1) EXTCOMMClaims

func (c *FakeExtcommV1alpha1) EXTCOMMClaims(namespace string) v1alpha1.EXTCOMMClaimInterface

func (*FakeExtcommV1alpha1) EXTCOMMEntries

func (c *FakeExtcommV1alpha1) EXTCOMMEntries(namespace string) v1alpha1.EXTCOMMEntryInterface

func (*FakeExtcommV1alpha1) EXTCOMMIndexes

func (c *FakeExtcommV1alpha1) EXTCOMMIndexes(namespace string) v1alpha1.EXTCOMMIndexInterface

func (*FakeExtcommV1alpha1) RESTClient

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