fake

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 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 FakeDataCatalogEntries

type FakeDataCatalogEntries struct {
	Fake *FakeDatacatalogV1alpha1
	// contains filtered or unexported fields
}

FakeDataCatalogEntries implements DataCatalogEntryInterface

func (*FakeDataCatalogEntries) Create

func (c *FakeDataCatalogEntries) Create(ctx context.Context, dataCatalogEntry *v1alpha1.DataCatalogEntry, opts v1.CreateOptions) (result *v1alpha1.DataCatalogEntry, err error)

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

func (*FakeDataCatalogEntries) Delete

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

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

func (*FakeDataCatalogEntries) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDataCatalogEntries) Get

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

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

func (*FakeDataCatalogEntries) List

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

func (*FakeDataCatalogEntries) Patch

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

Patch applies the patch and returns the patched dataCatalogEntry.

func (*FakeDataCatalogEntries) Update

func (c *FakeDataCatalogEntries) Update(ctx context.Context, dataCatalogEntry *v1alpha1.DataCatalogEntry, opts v1.UpdateOptions) (result *v1alpha1.DataCatalogEntry, err error)

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

func (*FakeDataCatalogEntries) UpdateStatus

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

func (*FakeDataCatalogEntries) Watch

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

type FakeDataCatalogEntryGroups

type FakeDataCatalogEntryGroups struct {
	Fake *FakeDatacatalogV1alpha1
	// contains filtered or unexported fields
}

FakeDataCatalogEntryGroups implements DataCatalogEntryGroupInterface

func (*FakeDataCatalogEntryGroups) Create

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

func (*FakeDataCatalogEntryGroups) Delete

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

func (*FakeDataCatalogEntryGroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDataCatalogEntryGroups) Get

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

func (*FakeDataCatalogEntryGroups) List

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

func (*FakeDataCatalogEntryGroups) Patch

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

Patch applies the patch and returns the patched dataCatalogEntryGroup.

func (*FakeDataCatalogEntryGroups) Update

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

func (*FakeDataCatalogEntryGroups) UpdateStatus

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

func (*FakeDataCatalogEntryGroups) Watch

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

type FakeDataCatalogTagTemplates

type FakeDataCatalogTagTemplates struct {
	Fake *FakeDatacatalogV1alpha1
	// contains filtered or unexported fields
}

FakeDataCatalogTagTemplates implements DataCatalogTagTemplateInterface

func (*FakeDataCatalogTagTemplates) Create

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

func (*FakeDataCatalogTagTemplates) Delete

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

func (*FakeDataCatalogTagTemplates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDataCatalogTagTemplates) Get

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

func (*FakeDataCatalogTagTemplates) List

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

func (*FakeDataCatalogTagTemplates) Patch

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

Patch applies the patch and returns the patched dataCatalogTagTemplate.

func (*FakeDataCatalogTagTemplates) Update

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

func (*FakeDataCatalogTagTemplates) UpdateStatus

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

func (*FakeDataCatalogTagTemplates) Watch

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

type FakeDataCatalogTags

type FakeDataCatalogTags struct {
	Fake *FakeDatacatalogV1alpha1
	// contains filtered or unexported fields
}

FakeDataCatalogTags implements DataCatalogTagInterface

func (*FakeDataCatalogTags) Create

func (c *FakeDataCatalogTags) Create(ctx context.Context, dataCatalogTag *v1alpha1.DataCatalogTag, opts v1.CreateOptions) (result *v1alpha1.DataCatalogTag, err error)

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

func (*FakeDataCatalogTags) Delete

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

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

func (*FakeDataCatalogTags) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDataCatalogTags) Get

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

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

func (*FakeDataCatalogTags) List

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

func (*FakeDataCatalogTags) Patch

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

Patch applies the patch and returns the patched dataCatalogTag.

func (*FakeDataCatalogTags) Update

func (c *FakeDataCatalogTags) Update(ctx context.Context, dataCatalogTag *v1alpha1.DataCatalogTag, opts v1.UpdateOptions) (result *v1alpha1.DataCatalogTag, err error)

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

func (*FakeDataCatalogTags) UpdateStatus

func (c *FakeDataCatalogTags) UpdateStatus(ctx context.Context, dataCatalogTag *v1alpha1.DataCatalogTag, opts v1.UpdateOptions) (*v1alpha1.DataCatalogTag, error)

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

func (*FakeDataCatalogTags) Watch

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

type FakeDatacatalogV1alpha1

type FakeDatacatalogV1alpha1 struct {
	*testing.Fake
}

func (*FakeDatacatalogV1alpha1) DataCatalogEntries

func (c *FakeDatacatalogV1alpha1) DataCatalogEntries(namespace string) v1alpha1.DataCatalogEntryInterface

func (*FakeDatacatalogV1alpha1) DataCatalogEntryGroups

func (c *FakeDatacatalogV1alpha1) DataCatalogEntryGroups(namespace string) v1alpha1.DataCatalogEntryGroupInterface

func (*FakeDatacatalogV1alpha1) DataCatalogTagTemplates

func (c *FakeDatacatalogV1alpha1) DataCatalogTagTemplates(namespace string) v1alpha1.DataCatalogTagTemplateInterface

func (*FakeDatacatalogV1alpha1) DataCatalogTags

func (c *FakeDatacatalogV1alpha1) DataCatalogTags(namespace string) v1alpha1.DataCatalogTagInterface

func (*FakeDatacatalogV1alpha1) RESTClient

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