fake

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 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 FakeIottimeV1alpha1

type FakeIottimeV1alpha1 struct {
	*testing.Fake
}

func (*FakeIottimeV1alpha1) RESTClient

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

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

func (*FakeIottimeV1alpha1) SeriesInsightsAccessPolicies

func (c *FakeIottimeV1alpha1) SeriesInsightsAccessPolicies(namespace string) v1alpha1.SeriesInsightsAccessPolicyInterface

func (*FakeIottimeV1alpha1) SeriesInsightsEventSourceIothubs

func (c *FakeIottimeV1alpha1) SeriesInsightsEventSourceIothubs(namespace string) v1alpha1.SeriesInsightsEventSourceIothubInterface

func (*FakeIottimeV1alpha1) SeriesInsightsGen2Environments

func (c *FakeIottimeV1alpha1) SeriesInsightsGen2Environments(namespace string) v1alpha1.SeriesInsightsGen2EnvironmentInterface

func (*FakeIottimeV1alpha1) SeriesInsightsReferenceDataSets

func (c *FakeIottimeV1alpha1) SeriesInsightsReferenceDataSets(namespace string) v1alpha1.SeriesInsightsReferenceDataSetInterface

func (*FakeIottimeV1alpha1) SeriesInsightsStandardEnvironments

func (c *FakeIottimeV1alpha1) SeriesInsightsStandardEnvironments(namespace string) v1alpha1.SeriesInsightsStandardEnvironmentInterface

type FakeSeriesInsightsAccessPolicies

type FakeSeriesInsightsAccessPolicies struct {
	Fake *FakeIottimeV1alpha1
	// contains filtered or unexported fields
}

FakeSeriesInsightsAccessPolicies implements SeriesInsightsAccessPolicyInterface

func (*FakeSeriesInsightsAccessPolicies) Create

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

func (*FakeSeriesInsightsAccessPolicies) Delete

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

func (*FakeSeriesInsightsAccessPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSeriesInsightsAccessPolicies) Get

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

func (*FakeSeriesInsightsAccessPolicies) List

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

func (*FakeSeriesInsightsAccessPolicies) Patch

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

Patch applies the patch and returns the patched seriesInsightsAccessPolicy.

func (*FakeSeriesInsightsAccessPolicies) Update

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

func (*FakeSeriesInsightsAccessPolicies) UpdateStatus

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

func (*FakeSeriesInsightsAccessPolicies) Watch

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

type FakeSeriesInsightsEventSourceIothubs

type FakeSeriesInsightsEventSourceIothubs struct {
	Fake *FakeIottimeV1alpha1
	// contains filtered or unexported fields
}

FakeSeriesInsightsEventSourceIothubs implements SeriesInsightsEventSourceIothubInterface

func (*FakeSeriesInsightsEventSourceIothubs) Create

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

func (*FakeSeriesInsightsEventSourceIothubs) Delete

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

func (*FakeSeriesInsightsEventSourceIothubs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSeriesInsightsEventSourceIothubs) Get

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

func (*FakeSeriesInsightsEventSourceIothubs) List

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

func (*FakeSeriesInsightsEventSourceIothubs) Patch

Patch applies the patch and returns the patched seriesInsightsEventSourceIothub.

func (*FakeSeriesInsightsEventSourceIothubs) Update

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

func (*FakeSeriesInsightsEventSourceIothubs) UpdateStatus

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

func (*FakeSeriesInsightsEventSourceIothubs) Watch

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

type FakeSeriesInsightsGen2Environments

type FakeSeriesInsightsGen2Environments struct {
	Fake *FakeIottimeV1alpha1
	// contains filtered or unexported fields
}

FakeSeriesInsightsGen2Environments implements SeriesInsightsGen2EnvironmentInterface

func (*FakeSeriesInsightsGen2Environments) Create

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

func (*FakeSeriesInsightsGen2Environments) Delete

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

func (*FakeSeriesInsightsGen2Environments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSeriesInsightsGen2Environments) Get

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

func (*FakeSeriesInsightsGen2Environments) List

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

func (*FakeSeriesInsightsGen2Environments) Patch

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

Patch applies the patch and returns the patched seriesInsightsGen2Environment.

func (*FakeSeriesInsightsGen2Environments) Update

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

func (*FakeSeriesInsightsGen2Environments) UpdateStatus

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

func (*FakeSeriesInsightsGen2Environments) Watch

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

type FakeSeriesInsightsReferenceDataSets

type FakeSeriesInsightsReferenceDataSets struct {
	Fake *FakeIottimeV1alpha1
	// contains filtered or unexported fields
}

FakeSeriesInsightsReferenceDataSets implements SeriesInsightsReferenceDataSetInterface

func (*FakeSeriesInsightsReferenceDataSets) Create

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

func (*FakeSeriesInsightsReferenceDataSets) Delete

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

func (*FakeSeriesInsightsReferenceDataSets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSeriesInsightsReferenceDataSets) Get

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

func (*FakeSeriesInsightsReferenceDataSets) List

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

func (*FakeSeriesInsightsReferenceDataSets) Patch

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

Patch applies the patch and returns the patched seriesInsightsReferenceDataSet.

func (*FakeSeriesInsightsReferenceDataSets) Update

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

func (*FakeSeriesInsightsReferenceDataSets) UpdateStatus

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

func (*FakeSeriesInsightsReferenceDataSets) Watch

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

type FakeSeriesInsightsStandardEnvironments

type FakeSeriesInsightsStandardEnvironments struct {
	Fake *FakeIottimeV1alpha1
	// contains filtered or unexported fields
}

FakeSeriesInsightsStandardEnvironments implements SeriesInsightsStandardEnvironmentInterface

func (*FakeSeriesInsightsStandardEnvironments) Create

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

func (*FakeSeriesInsightsStandardEnvironments) Delete

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

func (*FakeSeriesInsightsStandardEnvironments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSeriesInsightsStandardEnvironments) Get

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

func (*FakeSeriesInsightsStandardEnvironments) List

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

func (*FakeSeriesInsightsStandardEnvironments) Patch

Patch applies the patch and returns the patched seriesInsightsStandardEnvironment.

func (*FakeSeriesInsightsStandardEnvironments) Update

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

func (*FakeSeriesInsightsStandardEnvironments) UpdateStatus

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

func (*FakeSeriesInsightsStandardEnvironments) Watch

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

Jump to

Keyboard shortcuts

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