fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 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 FakeDigitalV1alpha1

type FakeDigitalV1alpha1 struct {
	*testing.Fake
}

func (*FakeDigitalV1alpha1) RESTClient

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

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

func (*FakeDigitalV1alpha1) TwinsEndpointEventgrids

func (c *FakeDigitalV1alpha1) TwinsEndpointEventgrids(namespace string) v1alpha1.TwinsEndpointEventgridInterface

func (*FakeDigitalV1alpha1) TwinsEndpointEventhubs

func (c *FakeDigitalV1alpha1) TwinsEndpointEventhubs(namespace string) v1alpha1.TwinsEndpointEventhubInterface

func (*FakeDigitalV1alpha1) TwinsEndpointServicebuses

func (c *FakeDigitalV1alpha1) TwinsEndpointServicebuses(namespace string) v1alpha1.TwinsEndpointServicebusInterface

func (*FakeDigitalV1alpha1) TwinsInstances

func (c *FakeDigitalV1alpha1) TwinsInstances(namespace string) v1alpha1.TwinsInstanceInterface

type FakeTwinsEndpointEventgrids

type FakeTwinsEndpointEventgrids struct {
	Fake *FakeDigitalV1alpha1
	// contains filtered or unexported fields
}

FakeTwinsEndpointEventgrids implements TwinsEndpointEventgridInterface

func (*FakeTwinsEndpointEventgrids) Create

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

func (*FakeTwinsEndpointEventgrids) Delete

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

func (*FakeTwinsEndpointEventgrids) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTwinsEndpointEventgrids) Get

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

func (*FakeTwinsEndpointEventgrids) List

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

func (*FakeTwinsEndpointEventgrids) Patch

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

Patch applies the patch and returns the patched twinsEndpointEventgrid.

func (*FakeTwinsEndpointEventgrids) Update

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

func (*FakeTwinsEndpointEventgrids) UpdateStatus

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

func (*FakeTwinsEndpointEventgrids) Watch

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

type FakeTwinsEndpointEventhubs

type FakeTwinsEndpointEventhubs struct {
	Fake *FakeDigitalV1alpha1
	// contains filtered or unexported fields
}

FakeTwinsEndpointEventhubs implements TwinsEndpointEventhubInterface

func (*FakeTwinsEndpointEventhubs) Create

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

func (*FakeTwinsEndpointEventhubs) Delete

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

func (*FakeTwinsEndpointEventhubs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTwinsEndpointEventhubs) Get

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

func (*FakeTwinsEndpointEventhubs) List

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

func (*FakeTwinsEndpointEventhubs) Patch

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

Patch applies the patch and returns the patched twinsEndpointEventhub.

func (*FakeTwinsEndpointEventhubs) Update

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

func (*FakeTwinsEndpointEventhubs) UpdateStatus

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

func (*FakeTwinsEndpointEventhubs) Watch

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

type FakeTwinsEndpointServicebuses

type FakeTwinsEndpointServicebuses struct {
	Fake *FakeDigitalV1alpha1
	// contains filtered or unexported fields
}

FakeTwinsEndpointServicebuses implements TwinsEndpointServicebusInterface

func (*FakeTwinsEndpointServicebuses) Create

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

func (*FakeTwinsEndpointServicebuses) Delete

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

func (*FakeTwinsEndpointServicebuses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTwinsEndpointServicebuses) Get

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

func (*FakeTwinsEndpointServicebuses) List

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

func (*FakeTwinsEndpointServicebuses) Patch

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

Patch applies the patch and returns the patched twinsEndpointServicebus.

func (*FakeTwinsEndpointServicebuses) Update

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

func (*FakeTwinsEndpointServicebuses) UpdateStatus

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

func (*FakeTwinsEndpointServicebuses) Watch

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

type FakeTwinsInstances

type FakeTwinsInstances struct {
	Fake *FakeDigitalV1alpha1
	// contains filtered or unexported fields
}

FakeTwinsInstances implements TwinsInstanceInterface

func (*FakeTwinsInstances) Create

func (c *FakeTwinsInstances) Create(ctx context.Context, twinsInstance *v1alpha1.TwinsInstance, opts v1.CreateOptions) (result *v1alpha1.TwinsInstance, err error)

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

func (*FakeTwinsInstances) Delete

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

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

func (*FakeTwinsInstances) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTwinsInstances) Get

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

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

func (*FakeTwinsInstances) List

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

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

func (*FakeTwinsInstances) Patch

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

Patch applies the patch and returns the patched twinsInstance.

func (*FakeTwinsInstances) Update

func (c *FakeTwinsInstances) Update(ctx context.Context, twinsInstance *v1alpha1.TwinsInstance, opts v1.UpdateOptions) (result *v1alpha1.TwinsInstance, err error)

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

func (*FakeTwinsInstances) UpdateStatus

func (c *FakeTwinsInstances) UpdateStatus(ctx context.Context, twinsInstance *v1alpha1.TwinsInstance, opts v1.UpdateOptions) (*v1alpha1.TwinsInstance, error)

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

func (*FakeTwinsInstances) Watch

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

Jump to

Keyboard shortcuts

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