fake

package
v0.0.0-...-1aaef2a Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0, BSD-3-Clause, CC-BY-3.0, + 1 more 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 FakeOsbV1alpha1

type FakeOsbV1alpha1 struct {
	*testing.Fake
}

func (*FakeOsbV1alpha1) RESTClient

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

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

func (*FakeOsbV1alpha1) SFPlans

func (c *FakeOsbV1alpha1) SFPlans(namespace string) v1alpha1.SFPlanInterface

func (*FakeOsbV1alpha1) SFServiceBindings

func (c *FakeOsbV1alpha1) SFServiceBindings(namespace string) v1alpha1.SFServiceBindingInterface

func (*FakeOsbV1alpha1) SFServiceInstances

func (c *FakeOsbV1alpha1) SFServiceInstances(namespace string) v1alpha1.SFServiceInstanceInterface

func (*FakeOsbV1alpha1) SFServices

func (c *FakeOsbV1alpha1) SFServices(namespace string) v1alpha1.SFServiceInterface

type FakeSFPlans

type FakeSFPlans struct {
	Fake *FakeOsbV1alpha1
	// contains filtered or unexported fields
}

FakeSFPlans implements SFPlanInterface

func (*FakeSFPlans) Create

func (c *FakeSFPlans) Create(ctx context.Context, sFPlan *v1alpha1.SFPlan, opts v1.CreateOptions) (result *v1alpha1.SFPlan, err error)

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

func (*FakeSFPlans) Delete

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

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

func (*FakeSFPlans) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSFPlans) Get

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

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

func (*FakeSFPlans) List

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

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

func (*FakeSFPlans) Patch

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

Patch applies the patch and returns the patched sFPlan.

func (*FakeSFPlans) Update

func (c *FakeSFPlans) Update(ctx context.Context, sFPlan *v1alpha1.SFPlan, opts v1.UpdateOptions) (result *v1alpha1.SFPlan, err error)

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

func (*FakeSFPlans) Watch

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

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

type FakeSFServiceBindings

type FakeSFServiceBindings struct {
	Fake *FakeOsbV1alpha1
	// contains filtered or unexported fields
}

FakeSFServiceBindings implements SFServiceBindingInterface

func (*FakeSFServiceBindings) Create

func (c *FakeSFServiceBindings) Create(ctx context.Context, sFServiceBinding *v1alpha1.SFServiceBinding, opts v1.CreateOptions) (result *v1alpha1.SFServiceBinding, err error)

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

func (*FakeSFServiceBindings) Delete

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

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

func (*FakeSFServiceBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSFServiceBindings) Get

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

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

func (*FakeSFServiceBindings) List

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

func (*FakeSFServiceBindings) Patch

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

Patch applies the patch and returns the patched sFServiceBinding.

func (*FakeSFServiceBindings) Update

func (c *FakeSFServiceBindings) Update(ctx context.Context, sFServiceBinding *v1alpha1.SFServiceBinding, opts v1.UpdateOptions) (result *v1alpha1.SFServiceBinding, err error)

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

func (*FakeSFServiceBindings) Watch

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

type FakeSFServiceInstances

type FakeSFServiceInstances struct {
	Fake *FakeOsbV1alpha1
	// contains filtered or unexported fields
}

FakeSFServiceInstances implements SFServiceInstanceInterface

func (*FakeSFServiceInstances) Create

func (c *FakeSFServiceInstances) Create(ctx context.Context, sFServiceInstance *v1alpha1.SFServiceInstance, opts v1.CreateOptions) (result *v1alpha1.SFServiceInstance, err error)

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

func (*FakeSFServiceInstances) Delete

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

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

func (*FakeSFServiceInstances) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSFServiceInstances) Get

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

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

func (*FakeSFServiceInstances) List

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

func (*FakeSFServiceInstances) Patch

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

Patch applies the patch and returns the patched sFServiceInstance.

func (*FakeSFServiceInstances) Update

func (c *FakeSFServiceInstances) Update(ctx context.Context, sFServiceInstance *v1alpha1.SFServiceInstance, opts v1.UpdateOptions) (result *v1alpha1.SFServiceInstance, err error)

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

func (*FakeSFServiceInstances) Watch

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

type FakeSFServices

type FakeSFServices struct {
	Fake *FakeOsbV1alpha1
	// contains filtered or unexported fields
}

FakeSFServices implements SFServiceInterface

func (*FakeSFServices) Create

func (c *FakeSFServices) Create(ctx context.Context, sFService *v1alpha1.SFService, opts v1.CreateOptions) (result *v1alpha1.SFService, err error)

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

func (*FakeSFServices) Delete

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

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

func (*FakeSFServices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSFServices) Get

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

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

func (*FakeSFServices) List

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

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

func (*FakeSFServices) Patch

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

Patch applies the patch and returns the patched sFService.

func (*FakeSFServices) Update

func (c *FakeSFServices) Update(ctx context.Context, sFService *v1alpha1.SFService, opts v1.UpdateOptions) (result *v1alpha1.SFService, err error)

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

func (*FakeSFServices) Watch

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

Jump to

Keyboard shortcuts

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