fake

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 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 FakeDataflowFlexTemplateJobs

type FakeDataflowFlexTemplateJobs struct {
	Fake *FakeDataflowV1beta1
	// contains filtered or unexported fields
}

FakeDataflowFlexTemplateJobs implements DataflowFlexTemplateJobInterface

func (*FakeDataflowFlexTemplateJobs) Create

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

func (*FakeDataflowFlexTemplateJobs) Delete

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

func (*FakeDataflowFlexTemplateJobs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDataflowFlexTemplateJobs) Get

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

func (*FakeDataflowFlexTemplateJobs) List

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

func (*FakeDataflowFlexTemplateJobs) Patch

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

Patch applies the patch and returns the patched dataflowFlexTemplateJob.

func (*FakeDataflowFlexTemplateJobs) Update

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

func (*FakeDataflowFlexTemplateJobs) UpdateStatus

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

func (*FakeDataflowFlexTemplateJobs) Watch

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

type FakeDataflowJobs

type FakeDataflowJobs struct {
	Fake *FakeDataflowV1beta1
	// contains filtered or unexported fields
}

FakeDataflowJobs implements DataflowJobInterface

func (*FakeDataflowJobs) Create

func (c *FakeDataflowJobs) Create(ctx context.Context, dataflowJob *v1beta1.DataflowJob, opts v1.CreateOptions) (result *v1beta1.DataflowJob, err error)

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

func (*FakeDataflowJobs) Delete

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

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

func (*FakeDataflowJobs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDataflowJobs) Get

func (c *FakeDataflowJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DataflowJob, err error)

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

func (*FakeDataflowJobs) List

func (c *FakeDataflowJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DataflowJobList, err error)

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

func (*FakeDataflowJobs) Patch

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

Patch applies the patch and returns the patched dataflowJob.

func (*FakeDataflowJobs) Update

func (c *FakeDataflowJobs) Update(ctx context.Context, dataflowJob *v1beta1.DataflowJob, opts v1.UpdateOptions) (result *v1beta1.DataflowJob, err error)

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

func (*FakeDataflowJobs) UpdateStatus

func (c *FakeDataflowJobs) UpdateStatus(ctx context.Context, dataflowJob *v1beta1.DataflowJob, opts v1.UpdateOptions) (*v1beta1.DataflowJob, error)

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

func (*FakeDataflowJobs) Watch

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

type FakeDataflowV1beta1

type FakeDataflowV1beta1 struct {
	*testing.Fake
}

func (*FakeDataflowV1beta1) DataflowFlexTemplateJobs

func (c *FakeDataflowV1beta1) DataflowFlexTemplateJobs(namespace string) v1beta1.DataflowFlexTemplateJobInterface

func (*FakeDataflowV1beta1) DataflowJobs

func (c *FakeDataflowV1beta1) DataflowJobs(namespace string) v1beta1.DataflowJobInterface

func (*FakeDataflowV1beta1) RESTClient

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

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

Jump to

Keyboard shortcuts

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