fake

package
v0.0.0-...-f6e1a93 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT 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 FakeCosmicV1

type FakeCosmicV1 struct {
	*testing.Fake
}

func (*FakeCosmicV1) FabricEventStreams

func (c *FakeCosmicV1) FabricEventStreams(namespace string) v1.FabricEventStreamInterface

func (*FakeCosmicV1) RESTClient

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

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

type FakeFabricEventStreams

type FakeFabricEventStreams struct {
	Fake *FakeCosmicV1
	// contains filtered or unexported fields
}

FakeFabricEventStreams implements FabricEventStreamInterface

func (*FakeFabricEventStreams) Create

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

func (*FakeFabricEventStreams) Delete

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

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

func (*FakeFabricEventStreams) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFabricEventStreams) Get

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

func (*FakeFabricEventStreams) List

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

func (*FakeFabricEventStreams) Patch

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

Patch applies the patch and returns the patched fabricEventStream.

func (*FakeFabricEventStreams) Update

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

func (*FakeFabricEventStreams) Watch

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

Jump to

Keyboard shortcuts

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