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 FakeVXLANClaims

type FakeVXLANClaims struct {
	Fake *FakeVxlanV1alpha1
	// contains filtered or unexported fields
}

FakeVXLANClaims implements VXLANClaimInterface

func (*FakeVXLANClaims) Create

func (c *FakeVXLANClaims) Create(ctx context.Context, vXLANClaim *v1alpha1.VXLANClaim, opts v1.CreateOptions) (result *v1alpha1.VXLANClaim, err error)

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

func (*FakeVXLANClaims) Delete

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

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

func (*FakeVXLANClaims) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVXLANClaims) Get

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

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

func (*FakeVXLANClaims) List

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

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

func (*FakeVXLANClaims) Patch

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

Patch applies the patch and returns the patched vXLANClaim.

func (*FakeVXLANClaims) Update

func (c *FakeVXLANClaims) Update(ctx context.Context, vXLANClaim *v1alpha1.VXLANClaim, opts v1.UpdateOptions) (result *v1alpha1.VXLANClaim, err error)

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

func (*FakeVXLANClaims) UpdateStatus

func (c *FakeVXLANClaims) UpdateStatus(ctx context.Context, vXLANClaim *v1alpha1.VXLANClaim, opts v1.UpdateOptions) (*v1alpha1.VXLANClaim, error)

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

func (*FakeVXLANClaims) Watch

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

type FakeVXLANEntries

type FakeVXLANEntries struct {
	Fake *FakeVxlanV1alpha1
	// contains filtered or unexported fields
}

FakeVXLANEntries implements VXLANEntryInterface

func (*FakeVXLANEntries) Create

func (c *FakeVXLANEntries) Create(ctx context.Context, vXLANEntry *v1alpha1.VXLANEntry, opts v1.CreateOptions) (result *v1alpha1.VXLANEntry, err error)

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

func (*FakeVXLANEntries) Delete

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

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

func (*FakeVXLANEntries) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVXLANEntries) Get

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

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

func (*FakeVXLANEntries) List

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

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

func (*FakeVXLANEntries) Patch

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

Patch applies the patch and returns the patched vXLANEntry.

func (*FakeVXLANEntries) Update

func (c *FakeVXLANEntries) Update(ctx context.Context, vXLANEntry *v1alpha1.VXLANEntry, opts v1.UpdateOptions) (result *v1alpha1.VXLANEntry, err error)

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

func (*FakeVXLANEntries) UpdateStatus

func (c *FakeVXLANEntries) UpdateStatus(ctx context.Context, vXLANEntry *v1alpha1.VXLANEntry, opts v1.UpdateOptions) (*v1alpha1.VXLANEntry, error)

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

func (*FakeVXLANEntries) Watch

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

type FakeVXLANIndexes

type FakeVXLANIndexes struct {
	Fake *FakeVxlanV1alpha1
	// contains filtered or unexported fields
}

FakeVXLANIndexes implements VXLANIndexInterface

func (*FakeVXLANIndexes) Create

func (c *FakeVXLANIndexes) Create(ctx context.Context, vXLANIndex *v1alpha1.VXLANIndex, opts v1.CreateOptions) (result *v1alpha1.VXLANIndex, err error)

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

func (*FakeVXLANIndexes) Delete

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

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

func (*FakeVXLANIndexes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVXLANIndexes) Get

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

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

func (*FakeVXLANIndexes) List

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

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

func (*FakeVXLANIndexes) Patch

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

Patch applies the patch and returns the patched vXLANIndex.

func (*FakeVXLANIndexes) Update

func (c *FakeVXLANIndexes) Update(ctx context.Context, vXLANIndex *v1alpha1.VXLANIndex, opts v1.UpdateOptions) (result *v1alpha1.VXLANIndex, err error)

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

func (*FakeVXLANIndexes) UpdateStatus

func (c *FakeVXLANIndexes) UpdateStatus(ctx context.Context, vXLANIndex *v1alpha1.VXLANIndex, opts v1.UpdateOptions) (*v1alpha1.VXLANIndex, error)

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

func (*FakeVXLANIndexes) Watch

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

type FakeVxlanV1alpha1

type FakeVxlanV1alpha1 struct {
	*testing.Fake
}

func (*FakeVxlanV1alpha1) RESTClient

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

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

func (*FakeVxlanV1alpha1) VXLANClaims

func (c *FakeVxlanV1alpha1) VXLANClaims(namespace string) v1alpha1.VXLANClaimInterface

func (*FakeVxlanV1alpha1) VXLANEntries

func (c *FakeVxlanV1alpha1) VXLANEntries(namespace string) v1alpha1.VXLANEntryInterface

func (*FakeVxlanV1alpha1) VXLANIndexes

func (c *FakeVxlanV1alpha1) VXLANIndexes(namespace string) v1alpha1.VXLANIndexInterface

Jump to

Keyboard shortcuts

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