fake

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 9 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 FakeDialogflowAgents

type FakeDialogflowAgents struct {
	Fake *FakeDialogflowV1alpha1
	// contains filtered or unexported fields
}

FakeDialogflowAgents implements DialogflowAgentInterface

func (*FakeDialogflowAgents) Create

func (c *FakeDialogflowAgents) Create(ctx context.Context, dialogflowAgent *v1alpha1.DialogflowAgent, opts v1.CreateOptions) (result *v1alpha1.DialogflowAgent, err error)

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

func (*FakeDialogflowAgents) Delete

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

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

func (*FakeDialogflowAgents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDialogflowAgents) Get

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

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

func (*FakeDialogflowAgents) List

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

func (*FakeDialogflowAgents) Patch

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

Patch applies the patch and returns the patched dialogflowAgent.

func (*FakeDialogflowAgents) Update

func (c *FakeDialogflowAgents) Update(ctx context.Context, dialogflowAgent *v1alpha1.DialogflowAgent, opts v1.UpdateOptions) (result *v1alpha1.DialogflowAgent, err error)

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

func (*FakeDialogflowAgents) UpdateStatus

func (c *FakeDialogflowAgents) UpdateStatus(ctx context.Context, dialogflowAgent *v1alpha1.DialogflowAgent, opts v1.UpdateOptions) (*v1alpha1.DialogflowAgent, error)

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

func (*FakeDialogflowAgents) Watch

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

type FakeDialogflowEntityTypes

type FakeDialogflowEntityTypes struct {
	Fake *FakeDialogflowV1alpha1
	// contains filtered or unexported fields
}

FakeDialogflowEntityTypes implements DialogflowEntityTypeInterface

func (*FakeDialogflowEntityTypes) Create

func (c *FakeDialogflowEntityTypes) Create(ctx context.Context, dialogflowEntityType *v1alpha1.DialogflowEntityType, opts v1.CreateOptions) (result *v1alpha1.DialogflowEntityType, err error)

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

func (*FakeDialogflowEntityTypes) Delete

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

func (*FakeDialogflowEntityTypes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDialogflowEntityTypes) Get

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

func (*FakeDialogflowEntityTypes) List

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

func (*FakeDialogflowEntityTypes) Patch

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

Patch applies the patch and returns the patched dialogflowEntityType.

func (*FakeDialogflowEntityTypes) Update

func (c *FakeDialogflowEntityTypes) Update(ctx context.Context, dialogflowEntityType *v1alpha1.DialogflowEntityType, opts v1.UpdateOptions) (result *v1alpha1.DialogflowEntityType, err error)

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

func (*FakeDialogflowEntityTypes) UpdateStatus

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

func (*FakeDialogflowEntityTypes) Watch

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

type FakeDialogflowFulfillments

type FakeDialogflowFulfillments struct {
	Fake *FakeDialogflowV1alpha1
	// contains filtered or unexported fields
}

FakeDialogflowFulfillments implements DialogflowFulfillmentInterface

func (*FakeDialogflowFulfillments) Create

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

func (*FakeDialogflowFulfillments) Delete

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

func (*FakeDialogflowFulfillments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDialogflowFulfillments) Get

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

func (*FakeDialogflowFulfillments) List

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

func (*FakeDialogflowFulfillments) Patch

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

Patch applies the patch and returns the patched dialogflowFulfillment.

func (*FakeDialogflowFulfillments) Update

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

func (*FakeDialogflowFulfillments) UpdateStatus

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

func (*FakeDialogflowFulfillments) Watch

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

type FakeDialogflowIntents

type FakeDialogflowIntents struct {
	Fake *FakeDialogflowV1alpha1
	// contains filtered or unexported fields
}

FakeDialogflowIntents implements DialogflowIntentInterface

func (*FakeDialogflowIntents) Create

func (c *FakeDialogflowIntents) Create(ctx context.Context, dialogflowIntent *v1alpha1.DialogflowIntent, opts v1.CreateOptions) (result *v1alpha1.DialogflowIntent, err error)

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

func (*FakeDialogflowIntents) Delete

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

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

func (*FakeDialogflowIntents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDialogflowIntents) Get

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

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

func (*FakeDialogflowIntents) List

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

func (*FakeDialogflowIntents) Patch

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

Patch applies the patch and returns the patched dialogflowIntent.

func (*FakeDialogflowIntents) Update

func (c *FakeDialogflowIntents) Update(ctx context.Context, dialogflowIntent *v1alpha1.DialogflowIntent, opts v1.UpdateOptions) (result *v1alpha1.DialogflowIntent, err error)

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

func (*FakeDialogflowIntents) UpdateStatus

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

func (*FakeDialogflowIntents) Watch

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

type FakeDialogflowV1alpha1

type FakeDialogflowV1alpha1 struct {
	*testing.Fake
}

func (*FakeDialogflowV1alpha1) DialogflowAgents

func (c *FakeDialogflowV1alpha1) DialogflowAgents(namespace string) v1alpha1.DialogflowAgentInterface

func (*FakeDialogflowV1alpha1) DialogflowEntityTypes

func (c *FakeDialogflowV1alpha1) DialogflowEntityTypes(namespace string) v1alpha1.DialogflowEntityTypeInterface

func (*FakeDialogflowV1alpha1) DialogflowFulfillments

func (c *FakeDialogflowV1alpha1) DialogflowFulfillments(namespace string) v1alpha1.DialogflowFulfillmentInterface

func (*FakeDialogflowV1alpha1) DialogflowIntents

func (c *FakeDialogflowV1alpha1) DialogflowIntents(namespace string) v1alpha1.DialogflowIntentInterface

func (*FakeDialogflowV1alpha1) RESTClient

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

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

Jump to

Keyboard shortcuts

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