Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppBindings
- func (c *FakeAppBindings) Apply(ctx context.Context, ...) (result *v1alpha1.AppBinding, err error)
- func (c *FakeAppBindings) Create(ctx context.Context, appBinding *v1alpha1.AppBinding, opts v1.CreateOptions) (result *v1alpha1.AppBinding, err error)
- func (c *FakeAppBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAppBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAppBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AppBinding, err error)
- func (c *FakeAppBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AppBindingList, err error)
- func (c *FakeAppBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AppBinding, err error)
- func (c *FakeAppBindings) Update(ctx context.Context, appBinding *v1alpha1.AppBinding, opts v1.UpdateOptions) (result *v1alpha1.AppBinding, err error)
- func (c *FakeAppBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAppcatalogV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppBindings ¶
type FakeAppBindings struct { Fake *FakeAppcatalogV1alpha1 // contains filtered or unexported fields }
FakeAppBindings implements AppBindingInterface
func (*FakeAppBindings) Apply ¶ added in v0.29.0
func (c *FakeAppBindings) Apply(ctx context.Context, appBinding *appcatalogv1alpha1.AppBindingApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.AppBinding, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied appBinding.
func (*FakeAppBindings) Create ¶
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 ¶
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 ¶
func (c *FakeAppBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAppBindings) Get ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (*FakeAppcatalogV1alpha1) AppBindings ¶
func (c *FakeAppcatalogV1alpha1) AppBindings(namespace string) v1alpha1.AppBindingInterface
func (*FakeAppcatalogV1alpha1) RESTClient ¶
func (c *FakeAppcatalogV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.