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 FakeCertificates added in v0.5.0

type FakeCertificates struct {
	Fake *FakeIothubV1alpha1
	// contains filtered or unexported fields
}

FakeCertificates implements CertificateInterface

func (*FakeCertificates) Create added in v0.5.0

func (c *FakeCertificates) Create(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.CreateOptions) (result *v1alpha1.Certificate, err error)

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

func (*FakeCertificates) Delete added in v0.5.0

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

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

func (*FakeCertificates) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCertificates) Get added in v0.5.0

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

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

func (*FakeCertificates) List added in v0.5.0

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

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

func (*FakeCertificates) Patch added in v0.5.0

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

Patch applies the patch and returns the patched certificate.

func (*FakeCertificates) Update added in v0.5.0

func (c *FakeCertificates) Update(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.UpdateOptions) (result *v1alpha1.Certificate, err error)

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

func (*FakeCertificates) UpdateStatus added in v0.5.0

func (c *FakeCertificates) UpdateStatus(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.UpdateOptions) (*v1alpha1.Certificate, error)

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

func (*FakeCertificates) Watch added in v0.5.0

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

type FakeConsumerGroups

type FakeConsumerGroups struct {
	Fake *FakeIothubV1alpha1
	// contains filtered or unexported fields
}

FakeConsumerGroups implements ConsumerGroupInterface

func (*FakeConsumerGroups) Create

func (c *FakeConsumerGroups) Create(ctx context.Context, consumerGroup *v1alpha1.ConsumerGroup, opts v1.CreateOptions) (result *v1alpha1.ConsumerGroup, err error)

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

func (*FakeConsumerGroups) Delete

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

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

func (*FakeConsumerGroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeConsumerGroups) Get

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

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

func (*FakeConsumerGroups) List

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

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

func (*FakeConsumerGroups) Patch

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

Patch applies the patch and returns the patched consumerGroup.

func (*FakeConsumerGroups) Update

func (c *FakeConsumerGroups) Update(ctx context.Context, consumerGroup *v1alpha1.ConsumerGroup, opts v1.UpdateOptions) (result *v1alpha1.ConsumerGroup, err error)

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

func (*FakeConsumerGroups) UpdateStatus

func (c *FakeConsumerGroups) UpdateStatus(ctx context.Context, consumerGroup *v1alpha1.ConsumerGroup, opts v1.UpdateOptions) (*v1alpha1.ConsumerGroup, error)

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

func (*FakeConsumerGroups) Watch

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

type FakeDpsCertificates

type FakeDpsCertificates struct {
	Fake *FakeIothubV1alpha1
	// contains filtered or unexported fields
}

FakeDpsCertificates implements DpsCertificateInterface

func (*FakeDpsCertificates) Create

func (c *FakeDpsCertificates) Create(ctx context.Context, dpsCertificate *v1alpha1.DpsCertificate, opts v1.CreateOptions) (result *v1alpha1.DpsCertificate, err error)

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

func (*FakeDpsCertificates) Delete

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

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

func (*FakeDpsCertificates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDpsCertificates) Get

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

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

func (*FakeDpsCertificates) List

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

func (*FakeDpsCertificates) Patch

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

Patch applies the patch and returns the patched dpsCertificate.

func (*FakeDpsCertificates) Update

func (c *FakeDpsCertificates) Update(ctx context.Context, dpsCertificate *v1alpha1.DpsCertificate, opts v1.UpdateOptions) (result *v1alpha1.DpsCertificate, err error)

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

func (*FakeDpsCertificates) UpdateStatus

func (c *FakeDpsCertificates) UpdateStatus(ctx context.Context, dpsCertificate *v1alpha1.DpsCertificate, opts v1.UpdateOptions) (*v1alpha1.DpsCertificate, error)

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

func (*FakeDpsCertificates) Watch

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

type FakeDpsSharedAccessPolicies

type FakeDpsSharedAccessPolicies struct {
	Fake *FakeIothubV1alpha1
	// contains filtered or unexported fields
}

FakeDpsSharedAccessPolicies implements DpsSharedAccessPolicyInterface

func (*FakeDpsSharedAccessPolicies) Create

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

func (*FakeDpsSharedAccessPolicies) Delete

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

func (*FakeDpsSharedAccessPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDpsSharedAccessPolicies) Get

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

func (*FakeDpsSharedAccessPolicies) List

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

func (*FakeDpsSharedAccessPolicies) Patch

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

Patch applies the patch and returns the patched dpsSharedAccessPolicy.

func (*FakeDpsSharedAccessPolicies) Update

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

func (*FakeDpsSharedAccessPolicies) UpdateStatus

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

func (*FakeDpsSharedAccessPolicies) Watch

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

type FakeDpses

type FakeDpses struct {
	Fake *FakeIothubV1alpha1
	// contains filtered or unexported fields
}

FakeDpses implements DpsInterface

func (*FakeDpses) Create

func (c *FakeDpses) Create(ctx context.Context, dps *v1alpha1.Dps, opts v1.CreateOptions) (result *v1alpha1.Dps, err error)

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

func (*FakeDpses) Delete

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

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

func (*FakeDpses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDpses) Get

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

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

func (*FakeDpses) List

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

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

func (*FakeDpses) Patch

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

Patch applies the patch and returns the patched dps.

func (*FakeDpses) Update

func (c *FakeDpses) Update(ctx context.Context, dps *v1alpha1.Dps, opts v1.UpdateOptions) (result *v1alpha1.Dps, err error)

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

func (*FakeDpses) UpdateStatus

func (c *FakeDpses) UpdateStatus(ctx context.Context, dps *v1alpha1.Dps, opts v1.UpdateOptions) (*v1alpha1.Dps, error)

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

func (*FakeDpses) Watch

func (c *FakeDpses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeEndpointEventhubs

type FakeEndpointEventhubs struct {
	Fake *FakeIothubV1alpha1
	// contains filtered or unexported fields
}

FakeEndpointEventhubs implements EndpointEventhubInterface

func (*FakeEndpointEventhubs) Create

func (c *FakeEndpointEventhubs) Create(ctx context.Context, endpointEventhub *v1alpha1.EndpointEventhub, opts v1.CreateOptions) (result *v1alpha1.EndpointEventhub, err error)

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

func (*FakeEndpointEventhubs) Delete

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

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

func (*FakeEndpointEventhubs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEndpointEventhubs) Get

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

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

func (*FakeEndpointEventhubs) List

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

func (*FakeEndpointEventhubs) Patch

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

Patch applies the patch and returns the patched endpointEventhub.

func (*FakeEndpointEventhubs) Update

func (c *FakeEndpointEventhubs) Update(ctx context.Context, endpointEventhub *v1alpha1.EndpointEventhub, opts v1.UpdateOptions) (result *v1alpha1.EndpointEventhub, err error)

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

func (*FakeEndpointEventhubs) UpdateStatus

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

func (*FakeEndpointEventhubs) Watch

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

type FakeEndpointServicebusQueues

type FakeEndpointServicebusQueues struct {
	Fake *FakeIothubV1alpha1
	// contains filtered or unexported fields
}

FakeEndpointServicebusQueues implements EndpointServicebusQueueInterface

func (*FakeEndpointServicebusQueues) Create

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

func (*FakeEndpointServicebusQueues) Delete

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

func (*FakeEndpointServicebusQueues) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEndpointServicebusQueues) Get

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

func (*FakeEndpointServicebusQueues) List

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

func (*FakeEndpointServicebusQueues) Patch

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

Patch applies the patch and returns the patched endpointServicebusQueue.

func (*FakeEndpointServicebusQueues) Update

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

func (*FakeEndpointServicebusQueues) UpdateStatus

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

func (*FakeEndpointServicebusQueues) Watch

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

type FakeEndpointServicebusTopics

type FakeEndpointServicebusTopics struct {
	Fake *FakeIothubV1alpha1
	// contains filtered or unexported fields
}

FakeEndpointServicebusTopics implements EndpointServicebusTopicInterface

func (*FakeEndpointServicebusTopics) Create

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

func (*FakeEndpointServicebusTopics) Delete

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

func (*FakeEndpointServicebusTopics) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEndpointServicebusTopics) Get

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

func (*FakeEndpointServicebusTopics) List

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

func (*FakeEndpointServicebusTopics) Patch

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

Patch applies the patch and returns the patched endpointServicebusTopic.

func (*FakeEndpointServicebusTopics) Update

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

func (*FakeEndpointServicebusTopics) UpdateStatus

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

func (*FakeEndpointServicebusTopics) Watch

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

type FakeEndpointStorageContainers

type FakeEndpointStorageContainers struct {
	Fake *FakeIothubV1alpha1
	// contains filtered or unexported fields
}

FakeEndpointStorageContainers implements EndpointStorageContainerInterface

func (*FakeEndpointStorageContainers) Create

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

func (*FakeEndpointStorageContainers) Delete

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

func (*FakeEndpointStorageContainers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEndpointStorageContainers) Get

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

func (*FakeEndpointStorageContainers) List

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

func (*FakeEndpointStorageContainers) Patch

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

Patch applies the patch and returns the patched endpointStorageContainer.

func (*FakeEndpointStorageContainers) Update

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

func (*FakeEndpointStorageContainers) UpdateStatus

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

func (*FakeEndpointStorageContainers) Watch

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

type FakeEnrichments

type FakeEnrichments struct {
	Fake *FakeIothubV1alpha1
	// contains filtered or unexported fields
}

FakeEnrichments implements EnrichmentInterface

func (*FakeEnrichments) Create

func (c *FakeEnrichments) Create(ctx context.Context, enrichment *v1alpha1.Enrichment, opts v1.CreateOptions) (result *v1alpha1.Enrichment, err error)

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

func (*FakeEnrichments) Delete

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

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

func (*FakeEnrichments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEnrichments) Get

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

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

func (*FakeEnrichments) List

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

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

func (*FakeEnrichments) Patch

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

Patch applies the patch and returns the patched enrichment.

func (*FakeEnrichments) Update

func (c *FakeEnrichments) Update(ctx context.Context, enrichment *v1alpha1.Enrichment, opts v1.UpdateOptions) (result *v1alpha1.Enrichment, err error)

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

func (*FakeEnrichments) UpdateStatus

func (c *FakeEnrichments) UpdateStatus(ctx context.Context, enrichment *v1alpha1.Enrichment, opts v1.UpdateOptions) (*v1alpha1.Enrichment, error)

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

func (*FakeEnrichments) Watch

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

type FakeFallbackRoutes

type FakeFallbackRoutes struct {
	Fake *FakeIothubV1alpha1
	// contains filtered or unexported fields
}

FakeFallbackRoutes implements FallbackRouteInterface

func (*FakeFallbackRoutes) Create

func (c *FakeFallbackRoutes) Create(ctx context.Context, fallbackRoute *v1alpha1.FallbackRoute, opts v1.CreateOptions) (result *v1alpha1.FallbackRoute, err error)

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

func (*FakeFallbackRoutes) Delete

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

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

func (*FakeFallbackRoutes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFallbackRoutes) Get

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

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

func (*FakeFallbackRoutes) List

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

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

func (*FakeFallbackRoutes) Patch

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

Patch applies the patch and returns the patched fallbackRoute.

func (*FakeFallbackRoutes) Update

func (c *FakeFallbackRoutes) Update(ctx context.Context, fallbackRoute *v1alpha1.FallbackRoute, opts v1.UpdateOptions) (result *v1alpha1.FallbackRoute, err error)

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

func (*FakeFallbackRoutes) UpdateStatus

func (c *FakeFallbackRoutes) UpdateStatus(ctx context.Context, fallbackRoute *v1alpha1.FallbackRoute, opts v1.UpdateOptions) (*v1alpha1.FallbackRoute, error)

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

func (*FakeFallbackRoutes) Watch

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

type FakeIothubV1alpha1

type FakeIothubV1alpha1 struct {
	*testing.Fake
}

func (*FakeIothubV1alpha1) Certificates added in v0.5.0

func (c *FakeIothubV1alpha1) Certificates(namespace string) v1alpha1.CertificateInterface

func (*FakeIothubV1alpha1) ConsumerGroups

func (c *FakeIothubV1alpha1) ConsumerGroups(namespace string) v1alpha1.ConsumerGroupInterface

func (*FakeIothubV1alpha1) DpsCertificates

func (c *FakeIothubV1alpha1) DpsCertificates(namespace string) v1alpha1.DpsCertificateInterface

func (*FakeIothubV1alpha1) DpsSharedAccessPolicies

func (c *FakeIothubV1alpha1) DpsSharedAccessPolicies(namespace string) v1alpha1.DpsSharedAccessPolicyInterface

func (*FakeIothubV1alpha1) Dpses

func (c *FakeIothubV1alpha1) Dpses(namespace string) v1alpha1.DpsInterface

func (*FakeIothubV1alpha1) EndpointEventhubs

func (c *FakeIothubV1alpha1) EndpointEventhubs(namespace string) v1alpha1.EndpointEventhubInterface

func (*FakeIothubV1alpha1) EndpointServicebusQueues

func (c *FakeIothubV1alpha1) EndpointServicebusQueues(namespace string) v1alpha1.EndpointServicebusQueueInterface

func (*FakeIothubV1alpha1) EndpointServicebusTopics

func (c *FakeIothubV1alpha1) EndpointServicebusTopics(namespace string) v1alpha1.EndpointServicebusTopicInterface

func (*FakeIothubV1alpha1) EndpointStorageContainers

func (c *FakeIothubV1alpha1) EndpointStorageContainers(namespace string) v1alpha1.EndpointStorageContainerInterface

func (*FakeIothubV1alpha1) Enrichments

func (c *FakeIothubV1alpha1) Enrichments(namespace string) v1alpha1.EnrichmentInterface

func (*FakeIothubV1alpha1) FallbackRoutes

func (c *FakeIothubV1alpha1) FallbackRoutes(namespace string) v1alpha1.FallbackRouteInterface

func (*FakeIothubV1alpha1) Iothubs

func (c *FakeIothubV1alpha1) Iothubs(namespace string) v1alpha1.IothubInterface

func (*FakeIothubV1alpha1) RESTClient

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

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

func (*FakeIothubV1alpha1) Routes

func (c *FakeIothubV1alpha1) Routes(namespace string) v1alpha1.RouteInterface

func (*FakeIothubV1alpha1) SharedAccessPolicies

func (c *FakeIothubV1alpha1) SharedAccessPolicies(namespace string) v1alpha1.SharedAccessPolicyInterface

type FakeIothubs

type FakeIothubs struct {
	Fake *FakeIothubV1alpha1
	// contains filtered or unexported fields
}

FakeIothubs implements IothubInterface

func (*FakeIothubs) Create

func (c *FakeIothubs) Create(ctx context.Context, iothub *v1alpha1.Iothub, opts v1.CreateOptions) (result *v1alpha1.Iothub, err error)

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

func (*FakeIothubs) Delete

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

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

func (*FakeIothubs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIothubs) Get

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

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

func (*FakeIothubs) List

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

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

func (*FakeIothubs) Patch

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

Patch applies the patch and returns the patched iothub.

func (*FakeIothubs) Update

func (c *FakeIothubs) Update(ctx context.Context, iothub *v1alpha1.Iothub, opts v1.UpdateOptions) (result *v1alpha1.Iothub, err error)

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

func (*FakeIothubs) UpdateStatus

func (c *FakeIothubs) UpdateStatus(ctx context.Context, iothub *v1alpha1.Iothub, opts v1.UpdateOptions) (*v1alpha1.Iothub, error)

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

func (*FakeIothubs) Watch

func (c *FakeIothubs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeRoutes

type FakeRoutes struct {
	Fake *FakeIothubV1alpha1
	// contains filtered or unexported fields
}

FakeRoutes implements RouteInterface

func (*FakeRoutes) Create

func (c *FakeRoutes) Create(ctx context.Context, route *v1alpha1.Route, opts v1.CreateOptions) (result *v1alpha1.Route, err error)

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

func (*FakeRoutes) Delete

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

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

func (*FakeRoutes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRoutes) Get

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

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

func (*FakeRoutes) List

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

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

func (*FakeRoutes) Patch

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

Patch applies the patch and returns the patched route.

func (*FakeRoutes) Update

func (c *FakeRoutes) Update(ctx context.Context, route *v1alpha1.Route, opts v1.UpdateOptions) (result *v1alpha1.Route, err error)

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

func (*FakeRoutes) UpdateStatus

func (c *FakeRoutes) UpdateStatus(ctx context.Context, route *v1alpha1.Route, opts v1.UpdateOptions) (*v1alpha1.Route, error)

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

func (*FakeRoutes) Watch

func (c *FakeRoutes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeSharedAccessPolicies

type FakeSharedAccessPolicies struct {
	Fake *FakeIothubV1alpha1
	// contains filtered or unexported fields
}

FakeSharedAccessPolicies implements SharedAccessPolicyInterface

func (*FakeSharedAccessPolicies) Create

func (c *FakeSharedAccessPolicies) Create(ctx context.Context, sharedAccessPolicy *v1alpha1.SharedAccessPolicy, opts v1.CreateOptions) (result *v1alpha1.SharedAccessPolicy, err error)

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

func (*FakeSharedAccessPolicies) Delete

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

func (*FakeSharedAccessPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSharedAccessPolicies) Get

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

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

func (*FakeSharedAccessPolicies) List

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

func (*FakeSharedAccessPolicies) Patch

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

Patch applies the patch and returns the patched sharedAccessPolicy.

func (*FakeSharedAccessPolicies) Update

func (c *FakeSharedAccessPolicies) Update(ctx context.Context, sharedAccessPolicy *v1alpha1.SharedAccessPolicy, opts v1.UpdateOptions) (result *v1alpha1.SharedAccessPolicy, err error)

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

func (*FakeSharedAccessPolicies) UpdateStatus

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

func (*FakeSharedAccessPolicies) Watch

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

Jump to

Keyboard shortcuts

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