fake

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 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 FakeFlowV1alpha1

type FakeFlowV1alpha1 struct {
	*testing.Fake
}

func (*FakeFlowV1alpha1) JQTransformations added in v1.16.0

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 added in v1.14.0

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

func (*FakeFlowV1alpha1) Transformations

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

func (*FakeFlowV1alpha1) XMLToJSONTransformations added in v1.14.0

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

func (*FakeFlowV1alpha1) XSLTTransformations added in v1.14.1

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

type FakeJQTransformations added in v1.16.0

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

FakeJQTransformations implements JQTransformationInterface

func (*FakeJQTransformations) Create added in v1.16.0

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 added in v1.16.0

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 added in v1.16.0

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

DeleteCollection deletes a collection of objects.

func (*FakeJQTransformations) Get added in v1.16.0

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 added in v1.16.0

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

func (*FakeJQTransformations) Patch added in v1.16.0

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 added in v1.16.0

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 added in v1.16.0

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 added in v1.16.0

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

type FakeSynchronizers added in v1.14.0

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

FakeSynchronizers implements SynchronizerInterface

func (*FakeSynchronizers) Create added in v1.14.0

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 added in v1.14.0

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 added in v1.14.0

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

DeleteCollection deletes a collection of objects.

func (*FakeSynchronizers) Get added in v1.14.0

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 added in v1.14.0

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 added in v1.14.0

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 added in v1.14.0

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 added in v1.14.0

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 added in v1.14.0

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 added in v1.14.0

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

FakeXMLToJSONTransformations implements XMLToJSONTransformationInterface

func (*FakeXMLToJSONTransformations) Create added in v1.14.0

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 added in v1.14.0

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

func (*FakeXMLToJSONTransformations) DeleteCollection added in v1.14.0

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

DeleteCollection deletes a collection of objects.

func (*FakeXMLToJSONTransformations) Get added in v1.14.0

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

func (*FakeXMLToJSONTransformations) List added in v1.14.0

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

func (*FakeXMLToJSONTransformations) Patch added in v1.14.0

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 added in v1.14.0

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 added in v1.14.0

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 added in v1.14.0

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

type FakeXSLTTransformations added in v1.14.1

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

FakeXSLTTransformations implements XSLTTransformationInterface

func (*FakeXSLTTransformations) Create added in v1.14.1

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 added in v1.14.1

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 added in v1.14.1

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

DeleteCollection deletes a collection of objects.

func (*FakeXSLTTransformations) Get added in v1.14.1

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 added in v1.14.1

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

func (*FakeXSLTTransformations) Patch added in v1.14.1

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 added in v1.14.1

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 added in v1.14.1

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 added in v1.14.1

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