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 FakeDatastreamConnectionProfiles

type FakeDatastreamConnectionProfiles struct {
	Fake *FakeDatastreamV1alpha1
	// contains filtered or unexported fields
}

FakeDatastreamConnectionProfiles implements DatastreamConnectionProfileInterface

func (*FakeDatastreamConnectionProfiles) Create

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

func (*FakeDatastreamConnectionProfiles) Delete

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

func (*FakeDatastreamConnectionProfiles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDatastreamConnectionProfiles) Get

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

func (*FakeDatastreamConnectionProfiles) List

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

func (*FakeDatastreamConnectionProfiles) Patch

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

Patch applies the patch and returns the patched datastreamConnectionProfile.

func (*FakeDatastreamConnectionProfiles) Update

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

func (*FakeDatastreamConnectionProfiles) UpdateStatus

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

func (*FakeDatastreamConnectionProfiles) Watch

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

type FakeDatastreamPrivateConnections

type FakeDatastreamPrivateConnections struct {
	Fake *FakeDatastreamV1alpha1
	// contains filtered or unexported fields
}

FakeDatastreamPrivateConnections implements DatastreamPrivateConnectionInterface

func (*FakeDatastreamPrivateConnections) Create

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

func (*FakeDatastreamPrivateConnections) Delete

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

func (*FakeDatastreamPrivateConnections) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDatastreamPrivateConnections) Get

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

func (*FakeDatastreamPrivateConnections) List

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

func (*FakeDatastreamPrivateConnections) Patch

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

Patch applies the patch and returns the patched datastreamPrivateConnection.

func (*FakeDatastreamPrivateConnections) Update

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

func (*FakeDatastreamPrivateConnections) UpdateStatus

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

func (*FakeDatastreamPrivateConnections) Watch

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

type FakeDatastreamStreams

type FakeDatastreamStreams struct {
	Fake *FakeDatastreamV1alpha1
	// contains filtered or unexported fields
}

FakeDatastreamStreams implements DatastreamStreamInterface

func (*FakeDatastreamStreams) Create

func (c *FakeDatastreamStreams) Create(ctx context.Context, datastreamStream *v1alpha1.DatastreamStream, opts v1.CreateOptions) (result *v1alpha1.DatastreamStream, err error)

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

func (*FakeDatastreamStreams) Delete

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

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

func (*FakeDatastreamStreams) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDatastreamStreams) Get

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

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

func (*FakeDatastreamStreams) List

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

func (*FakeDatastreamStreams) Patch

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

Patch applies the patch and returns the patched datastreamStream.

func (*FakeDatastreamStreams) Update

func (c *FakeDatastreamStreams) Update(ctx context.Context, datastreamStream *v1alpha1.DatastreamStream, opts v1.UpdateOptions) (result *v1alpha1.DatastreamStream, err error)

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

func (*FakeDatastreamStreams) UpdateStatus

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

func (*FakeDatastreamStreams) Watch

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

type FakeDatastreamV1alpha1

type FakeDatastreamV1alpha1 struct {
	*testing.Fake
}

func (*FakeDatastreamV1alpha1) DatastreamConnectionProfiles

func (c *FakeDatastreamV1alpha1) DatastreamConnectionProfiles(namespace string) v1alpha1.DatastreamConnectionProfileInterface

func (*FakeDatastreamV1alpha1) DatastreamPrivateConnections

func (c *FakeDatastreamV1alpha1) DatastreamPrivateConnections(namespace string) v1alpha1.DatastreamPrivateConnectionInterface

func (*FakeDatastreamV1alpha1) DatastreamStreams

func (c *FakeDatastreamV1alpha1) DatastreamStreams(namespace string) v1alpha1.DatastreamStreamInterface

func (*FakeDatastreamV1alpha1) RESTClient

func (c *FakeDatastreamV1alpha1) 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