custom-resources: Index | Files

package fake

import ""

Package fake has the automatically generated clients.


Package Files

doc.go fake_appbinding.go fake_appcatalog_client.go

type FakeAppBindings Uses

type FakeAppBindings struct {
    Fake *FakeAppcatalogV1alpha1
    // contains filtered or unexported fields

FakeAppBindings implements AppBindingInterface

func (*FakeAppBindings) Create Uses

func (c *FakeAppBindings) Create(ctx context.Context, appBinding *v1alpha1.AppBinding, opts v1.CreateOptions) (result *v1alpha1.AppBinding, err error)

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

func (*FakeAppBindings) Delete Uses

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

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

func (*FakeAppBindings) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeAppBindings) Get Uses

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

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

func (*FakeAppBindings) List Uses

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

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

func (*FakeAppBindings) Patch Uses

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

Patch applies the patch and returns the patched appBinding.

func (*FakeAppBindings) Update Uses

func (c *FakeAppBindings) Update(ctx context.Context, appBinding *v1alpha1.AppBinding, opts v1.UpdateOptions) (result *v1alpha1.AppBinding, err error)

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

func (*FakeAppBindings) Watch Uses

func (c *FakeAppBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeAppcatalogV1alpha1 Uses

type FakeAppcatalogV1alpha1 struct {

func (*FakeAppcatalogV1alpha1) AppBindings Uses

func (c *FakeAppcatalogV1alpha1) AppBindings(namespace string) v1alpha1.AppBindingInterface

func (*FakeAppcatalogV1alpha1) RESTClient Uses

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

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

Package fake imports 10 packages (graph) and is imported by 1 packages. Updated 2020-09-25. Refresh now. Tools for package owners.