Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFabricEventStreams
- func (c *FakeFabricEventStreams) Create(ctx context.Context, fabricEventStream *zalandoorgv1.FabricEventStream, ...) (result *zalandoorgv1.FabricEventStream, err error)
- func (c *FakeFabricEventStreams) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFabricEventStreams) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFabricEventStreams) Get(ctx context.Context, name string, options v1.GetOptions) (result *zalandoorgv1.FabricEventStream, err error)
- func (c *FakeFabricEventStreams) List(ctx context.Context, opts v1.ListOptions) (result *zalandoorgv1.FabricEventStreamList, err error)
- func (c *FakeFabricEventStreams) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *zalandoorgv1.FabricEventStream, err error)
- func (c *FakeFabricEventStreams) Update(ctx context.Context, fabricEventStream *zalandoorgv1.FabricEventStream, ...) (result *zalandoorgv1.FabricEventStream, err error)
- func (c *FakeFabricEventStreams) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeZalandoV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFabricEventStreams ¶
type FakeFabricEventStreams struct { Fake *FakeZalandoV1 // contains filtered or unexported fields }
FakeFabricEventStreams implements FabricEventStreamInterface
func (*FakeFabricEventStreams) Create ¶
func (c *FakeFabricEventStreams) Create(ctx context.Context, fabricEventStream *zalandoorgv1.FabricEventStream, opts v1.CreateOptions) (result *zalandoorgv1.FabricEventStream, err error)
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 ¶
func (c *FakeFabricEventStreams) Get(ctx context.Context, name string, options v1.GetOptions) (result *zalandoorgv1.FabricEventStream, err error)
Get takes name of the fabricEventStream, and returns the corresponding fabricEventStream object, and an error if there is any.
func (*FakeFabricEventStreams) List ¶
func (c *FakeFabricEventStreams) List(ctx context.Context, opts v1.ListOptions) (result *zalandoorgv1.FabricEventStreamList, err error)
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 *zalandoorgv1.FabricEventStream, err error)
Patch applies the patch and returns the patched fabricEventStream.
func (*FakeFabricEventStreams) Update ¶
func (c *FakeFabricEventStreams) Update(ctx context.Context, fabricEventStream *zalandoorgv1.FabricEventStream, opts v1.UpdateOptions) (result *zalandoorgv1.FabricEventStream, err error)
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 ¶
func (c *FakeFabricEventStreams) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested fabricEventStreams.
type FakeZalandoV1 ¶
func (*FakeZalandoV1) FabricEventStreams ¶
func (c *FakeZalandoV1) FabricEventStreams(namespace string) v1.FabricEventStreamInterface
func (*FakeZalandoV1) RESTClient ¶
func (c *FakeZalandoV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.