fake

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 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 FakeFlowV1alpha1

type FakeFlowV1alpha1 struct {
	*testing.Fake
}

func (*FakeFlowV1alpha1) JQTransformations

func (c *FakeFlowV1alpha1) JQTransformations(namespace string) v1alpha1.JQTransformationInterface

func (*FakeFlowV1alpha1) RESTClient

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

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

func (*FakeFlowV1alpha1) Synchronizers

func (c *FakeFlowV1alpha1) Synchronizers(namespace string) v1alpha1.SynchronizerInterface

func (*FakeFlowV1alpha1) Transformations

func (c *FakeFlowV1alpha1) Transformations(namespace string) v1alpha1.TransformationInterface

func (*FakeFlowV1alpha1) XMLToJSONTransformations

func (c *FakeFlowV1alpha1) XMLToJSONTransformations(namespace string) v1alpha1.XMLToJSONTransformationInterface

func (*FakeFlowV1alpha1) XSLTTransformations

func (c *FakeFlowV1alpha1) XSLTTransformations(namespace string) v1alpha1.XSLTTransformationInterface

type FakeJQTransformations

type FakeJQTransformations struct {
	Fake *FakeFlowV1alpha1
	// contains filtered or unexported fields
}

FakeJQTransformations implements JQTransformationInterface

func (*FakeJQTransformations) Create

func (c *FakeJQTransformations) Create(ctx context.Context, jQTransformation *v1alpha1.JQTransformation, opts v1.CreateOptions) (result *v1alpha1.JQTransformation, err error)

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

func (*FakeJQTransformations) Delete

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

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

func (*FakeJQTransformations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeJQTransformations) Get

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

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

func (*FakeJQTransformations) List

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

func (*FakeJQTransformations) Patch

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

Patch applies the patch and returns the patched jQTransformation.

func (*FakeJQTransformations) Update

func (c *FakeJQTransformations) Update(ctx context.Context, jQTransformation *v1alpha1.JQTransformation, opts v1.UpdateOptions) (result *v1alpha1.JQTransformation, err error)

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

func (*FakeJQTransformations) UpdateStatus

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

func (*FakeJQTransformations) Watch

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

type FakeSynchronizers

type FakeSynchronizers struct {
	Fake *FakeFlowV1alpha1
	// contains filtered or unexported fields
}

FakeSynchronizers implements SynchronizerInterface

func (*FakeSynchronizers) Create

func (c *FakeSynchronizers) Create(ctx context.Context, synchronizer *v1alpha1.Synchronizer, opts v1.CreateOptions) (result *v1alpha1.Synchronizer, err error)

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

func (*FakeSynchronizers) Delete

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

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

func (*FakeSynchronizers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSynchronizers) Get

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

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

func (*FakeSynchronizers) List

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

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

func (*FakeSynchronizers) Patch

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

Patch applies the patch and returns the patched synchronizer.

func (*FakeSynchronizers) Update

func (c *FakeSynchronizers) Update(ctx context.Context, synchronizer *v1alpha1.Synchronizer, opts v1.UpdateOptions) (result *v1alpha1.Synchronizer, err error)

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

func (*FakeSynchronizers) UpdateStatus

func (c *FakeSynchronizers) UpdateStatus(ctx context.Context, synchronizer *v1alpha1.Synchronizer, opts v1.UpdateOptions) (*v1alpha1.Synchronizer, error)

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

func (*FakeSynchronizers) Watch

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

type FakeTransformations

type FakeTransformations struct {
	Fake *FakeFlowV1alpha1
	// contains filtered or unexported fields
}

FakeTransformations implements TransformationInterface

func (*FakeTransformations) Create

func (c *FakeTransformations) Create(ctx context.Context, transformation *v1alpha1.Transformation, opts v1.CreateOptions) (result *v1alpha1.Transformation, err error)

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

func (*FakeTransformations) Delete

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

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

func (*FakeTransformations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTransformations) Get

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

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

func (*FakeTransformations) List

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

func (*FakeTransformations) Patch

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

Patch applies the patch and returns the patched transformation.

func (*FakeTransformations) Update

func (c *FakeTransformations) Update(ctx context.Context, transformation *v1alpha1.Transformation, opts v1.UpdateOptions) (result *v1alpha1.Transformation, err error)

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

func (*FakeTransformations) UpdateStatus

func (c *FakeTransformations) UpdateStatus(ctx context.Context, transformation *v1alpha1.Transformation, opts v1.UpdateOptions) (*v1alpha1.Transformation, error)

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

func (*FakeTransformations) Watch

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

type FakeXMLToJSONTransformations

type FakeXMLToJSONTransformations struct {
	Fake *FakeFlowV1alpha1
	// contains filtered or unexported fields
}

FakeXMLToJSONTransformations implements XMLToJSONTransformationInterface

func (*FakeXMLToJSONTransformations) Create

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

func (*FakeXMLToJSONTransformations) Delete

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

func (*FakeXMLToJSONTransformations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeXMLToJSONTransformations) Get

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

func (*FakeXMLToJSONTransformations) List

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

func (*FakeXMLToJSONTransformations) Patch

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

Patch applies the patch and returns the patched xMLToJSONTransformation.

func (*FakeXMLToJSONTransformations) Update

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

func (*FakeXMLToJSONTransformations) UpdateStatus

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

func (*FakeXMLToJSONTransformations) Watch

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

type FakeXSLTTransformations

type FakeXSLTTransformations struct {
	Fake *FakeFlowV1alpha1
	// contains filtered or unexported fields
}

FakeXSLTTransformations implements XSLTTransformationInterface

func (*FakeXSLTTransformations) Create

func (c *FakeXSLTTransformations) Create(ctx context.Context, xSLTTransformation *v1alpha1.XSLTTransformation, opts v1.CreateOptions) (result *v1alpha1.XSLTTransformation, err error)

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

func (*FakeXSLTTransformations) Delete

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

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

func (*FakeXSLTTransformations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeXSLTTransformations) Get

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

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

func (*FakeXSLTTransformations) List

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

func (*FakeXSLTTransformations) Patch

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

Patch applies the patch and returns the patched xSLTTransformation.

func (*FakeXSLTTransformations) Update

func (c *FakeXSLTTransformations) Update(ctx context.Context, xSLTTransformation *v1alpha1.XSLTTransformation, opts v1.UpdateOptions) (result *v1alpha1.XSLTTransformation, err error)

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

func (*FakeXSLTTransformations) UpdateStatus

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

func (*FakeXSLTTransformations) Watch

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

Jump to

Keyboard shortcuts

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