fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 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 FakeCatalogPrivateApplications

type FakeCatalogPrivateApplications struct {
	Fake *FakeServiceV1alpha1
	// contains filtered or unexported fields
}

FakeCatalogPrivateApplications implements CatalogPrivateApplicationInterface

func (*FakeCatalogPrivateApplications) Create

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

func (*FakeCatalogPrivateApplications) Delete

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

func (*FakeCatalogPrivateApplications) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCatalogPrivateApplications) Get

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

func (*FakeCatalogPrivateApplications) List

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

func (*FakeCatalogPrivateApplications) Patch

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

Patch applies the patch and returns the patched catalogPrivateApplication.

func (*FakeCatalogPrivateApplications) Update

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

func (*FakeCatalogPrivateApplications) UpdateStatus

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

func (*FakeCatalogPrivateApplications) Watch

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

type FakeCatalogServiceCatalogAssociations

type FakeCatalogServiceCatalogAssociations struct {
	Fake *FakeServiceV1alpha1
	// contains filtered or unexported fields
}

FakeCatalogServiceCatalogAssociations implements CatalogServiceCatalogAssociationInterface

func (*FakeCatalogServiceCatalogAssociations) Create

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

func (*FakeCatalogServiceCatalogAssociations) Delete

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

func (*FakeCatalogServiceCatalogAssociations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCatalogServiceCatalogAssociations) Get

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

func (*FakeCatalogServiceCatalogAssociations) List

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

func (*FakeCatalogServiceCatalogAssociations) Patch

Patch applies the patch and returns the patched catalogServiceCatalogAssociation.

func (*FakeCatalogServiceCatalogAssociations) Update

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

func (*FakeCatalogServiceCatalogAssociations) UpdateStatus

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

func (*FakeCatalogServiceCatalogAssociations) Watch

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

type FakeCatalogServiceCatalogs

type FakeCatalogServiceCatalogs struct {
	Fake *FakeServiceV1alpha1
	// contains filtered or unexported fields
}

FakeCatalogServiceCatalogs implements CatalogServiceCatalogInterface

func (*FakeCatalogServiceCatalogs) Create

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

func (*FakeCatalogServiceCatalogs) Delete

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

func (*FakeCatalogServiceCatalogs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCatalogServiceCatalogs) Get

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

func (*FakeCatalogServiceCatalogs) List

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

func (*FakeCatalogServiceCatalogs) Patch

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

Patch applies the patch and returns the patched catalogServiceCatalog.

func (*FakeCatalogServiceCatalogs) Update

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

func (*FakeCatalogServiceCatalogs) UpdateStatus

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

func (*FakeCatalogServiceCatalogs) Watch

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

type FakeServiceV1alpha1

type FakeServiceV1alpha1 struct {
	*testing.Fake
}

func (*FakeServiceV1alpha1) CatalogPrivateApplications

func (c *FakeServiceV1alpha1) CatalogPrivateApplications(namespace string) v1alpha1.CatalogPrivateApplicationInterface

func (*FakeServiceV1alpha1) CatalogServiceCatalogAssociations

func (c *FakeServiceV1alpha1) CatalogServiceCatalogAssociations(namespace string) v1alpha1.CatalogServiceCatalogAssociationInterface

func (*FakeServiceV1alpha1) CatalogServiceCatalogs

func (c *FakeServiceV1alpha1) CatalogServiceCatalogs(namespace string) v1alpha1.CatalogServiceCatalogInterface

func (*FakeServiceV1alpha1) RESTClient

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