fake

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 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 FakeInterStepBufferServices

type FakeInterStepBufferServices struct {
	Fake *FakeNumaflowV1alpha1
	// contains filtered or unexported fields
}

FakeInterStepBufferServices implements InterStepBufferServiceInterface

func (*FakeInterStepBufferServices) Create

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

func (*FakeInterStepBufferServices) Delete

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

func (*FakeInterStepBufferServices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeInterStepBufferServices) Get

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

func (*FakeInterStepBufferServices) List

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

func (*FakeInterStepBufferServices) Patch

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

Patch applies the patch and returns the patched interStepBufferService.

func (*FakeInterStepBufferServices) Update

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

func (*FakeInterStepBufferServices) UpdateStatus

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

func (*FakeInterStepBufferServices) Watch

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

type FakeNumaflowV1alpha1

type FakeNumaflowV1alpha1 struct {
	*testing.Fake
}

func (*FakeNumaflowV1alpha1) InterStepBufferServices

func (c *FakeNumaflowV1alpha1) InterStepBufferServices(namespace string) v1alpha1.InterStepBufferServiceInterface

func (*FakeNumaflowV1alpha1) Pipelines

func (c *FakeNumaflowV1alpha1) Pipelines(namespace string) v1alpha1.PipelineInterface

func (*FakeNumaflowV1alpha1) RESTClient

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

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

func (*FakeNumaflowV1alpha1) Vertices

func (c *FakeNumaflowV1alpha1) Vertices(namespace string) v1alpha1.VertexInterface

type FakePipelines

type FakePipelines struct {
	Fake *FakeNumaflowV1alpha1
	// contains filtered or unexported fields
}

FakePipelines implements PipelineInterface

func (*FakePipelines) Create

func (c *FakePipelines) Create(ctx context.Context, pipeline *v1alpha1.Pipeline, opts v1.CreateOptions) (result *v1alpha1.Pipeline, err error)

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

func (*FakePipelines) Delete

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

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

func (*FakePipelines) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePipelines) Get

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

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

func (*FakePipelines) List

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

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

func (*FakePipelines) Patch

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

Patch applies the patch and returns the patched pipeline.

func (*FakePipelines) Update

func (c *FakePipelines) Update(ctx context.Context, pipeline *v1alpha1.Pipeline, opts v1.UpdateOptions) (result *v1alpha1.Pipeline, err error)

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

func (*FakePipelines) UpdateStatus

func (c *FakePipelines) UpdateStatus(ctx context.Context, pipeline *v1alpha1.Pipeline, opts v1.UpdateOptions) (*v1alpha1.Pipeline, error)

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

func (*FakePipelines) Watch

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

type FakeVertices

type FakeVertices struct {
	Fake *FakeNumaflowV1alpha1
	// contains filtered or unexported fields
}

FakeVertices implements VertexInterface

func (*FakeVertices) Create

func (c *FakeVertices) Create(ctx context.Context, vertex *v1alpha1.Vertex, opts v1.CreateOptions) (result *v1alpha1.Vertex, err error)

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

func (*FakeVertices) Delete

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

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

func (*FakeVertices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVertices) Get

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

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

func (*FakeVertices) List

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

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

func (*FakeVertices) Patch

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

Patch applies the patch and returns the patched vertex.

func (*FakeVertices) Update

func (c *FakeVertices) Update(ctx context.Context, vertex *v1alpha1.Vertex, opts v1.UpdateOptions) (result *v1alpha1.Vertex, err error)

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

func (*FakeVertices) UpdateStatus

func (c *FakeVertices) UpdateStatus(ctx context.Context, vertex *v1alpha1.Vertex, opts v1.UpdateOptions) (*v1alpha1.Vertex, error)

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

func (*FakeVertices) Watch

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

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

Jump to

Keyboard shortcuts

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