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 FakeDialogflowCXAgents

type FakeDialogflowCXAgents struct {
	Fake *FakeDialogflowcxV1alpha1
	// contains filtered or unexported fields
}

FakeDialogflowCXAgents implements DialogflowCXAgentInterface

func (*FakeDialogflowCXAgents) Create

func (c *FakeDialogflowCXAgents) Create(ctx context.Context, dialogflowCXAgent *v1alpha1.DialogflowCXAgent, opts v1.CreateOptions) (result *v1alpha1.DialogflowCXAgent, err error)

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

func (*FakeDialogflowCXAgents) Delete

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

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

func (*FakeDialogflowCXAgents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDialogflowCXAgents) Get

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

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

func (*FakeDialogflowCXAgents) List

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

func (*FakeDialogflowCXAgents) Patch

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

Patch applies the patch and returns the patched dialogflowCXAgent.

func (*FakeDialogflowCXAgents) Update

func (c *FakeDialogflowCXAgents) Update(ctx context.Context, dialogflowCXAgent *v1alpha1.DialogflowCXAgent, opts v1.UpdateOptions) (result *v1alpha1.DialogflowCXAgent, err error)

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

func (*FakeDialogflowCXAgents) UpdateStatus

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

func (*FakeDialogflowCXAgents) Watch

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

type FakeDialogflowCXEntityTypes

type FakeDialogflowCXEntityTypes struct {
	Fake *FakeDialogflowcxV1alpha1
	// contains filtered or unexported fields
}

FakeDialogflowCXEntityTypes implements DialogflowCXEntityTypeInterface

func (*FakeDialogflowCXEntityTypes) Create

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

func (*FakeDialogflowCXEntityTypes) Delete

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

func (*FakeDialogflowCXEntityTypes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDialogflowCXEntityTypes) Get

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

func (*FakeDialogflowCXEntityTypes) List

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

func (*FakeDialogflowCXEntityTypes) Patch

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

Patch applies the patch and returns the patched dialogflowCXEntityType.

func (*FakeDialogflowCXEntityTypes) Update

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

func (*FakeDialogflowCXEntityTypes) UpdateStatus

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

func (*FakeDialogflowCXEntityTypes) Watch

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

type FakeDialogflowCXFlows

type FakeDialogflowCXFlows struct {
	Fake *FakeDialogflowcxV1alpha1
	// contains filtered or unexported fields
}

FakeDialogflowCXFlows implements DialogflowCXFlowInterface

func (*FakeDialogflowCXFlows) Create

func (c *FakeDialogflowCXFlows) Create(ctx context.Context, dialogflowCXFlow *v1alpha1.DialogflowCXFlow, opts v1.CreateOptions) (result *v1alpha1.DialogflowCXFlow, err error)

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

func (*FakeDialogflowCXFlows) Delete

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

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

func (*FakeDialogflowCXFlows) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDialogflowCXFlows) Get

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

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

func (*FakeDialogflowCXFlows) List

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

func (*FakeDialogflowCXFlows) Patch

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

Patch applies the patch and returns the patched dialogflowCXFlow.

func (*FakeDialogflowCXFlows) Update

func (c *FakeDialogflowCXFlows) Update(ctx context.Context, dialogflowCXFlow *v1alpha1.DialogflowCXFlow, opts v1.UpdateOptions) (result *v1alpha1.DialogflowCXFlow, err error)

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

func (*FakeDialogflowCXFlows) UpdateStatus

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

func (*FakeDialogflowCXFlows) Watch

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

type FakeDialogflowCXIntents

type FakeDialogflowCXIntents struct {
	Fake *FakeDialogflowcxV1alpha1
	// contains filtered or unexported fields
}

FakeDialogflowCXIntents implements DialogflowCXIntentInterface

func (*FakeDialogflowCXIntents) Create

func (c *FakeDialogflowCXIntents) Create(ctx context.Context, dialogflowCXIntent *v1alpha1.DialogflowCXIntent, opts v1.CreateOptions) (result *v1alpha1.DialogflowCXIntent, err error)

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

func (*FakeDialogflowCXIntents) Delete

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

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

func (*FakeDialogflowCXIntents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDialogflowCXIntents) Get

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

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

func (*FakeDialogflowCXIntents) List

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

func (*FakeDialogflowCXIntents) Patch

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

Patch applies the patch and returns the patched dialogflowCXIntent.

func (*FakeDialogflowCXIntents) Update

func (c *FakeDialogflowCXIntents) Update(ctx context.Context, dialogflowCXIntent *v1alpha1.DialogflowCXIntent, opts v1.UpdateOptions) (result *v1alpha1.DialogflowCXIntent, err error)

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

func (*FakeDialogflowCXIntents) UpdateStatus

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

func (*FakeDialogflowCXIntents) Watch

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

type FakeDialogflowCXPages

type FakeDialogflowCXPages struct {
	Fake *FakeDialogflowcxV1alpha1
	// contains filtered or unexported fields
}

FakeDialogflowCXPages implements DialogflowCXPageInterface

func (*FakeDialogflowCXPages) Create

func (c *FakeDialogflowCXPages) Create(ctx context.Context, dialogflowCXPage *v1alpha1.DialogflowCXPage, opts v1.CreateOptions) (result *v1alpha1.DialogflowCXPage, err error)

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

func (*FakeDialogflowCXPages) Delete

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

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

func (*FakeDialogflowCXPages) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDialogflowCXPages) Get

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

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

func (*FakeDialogflowCXPages) List

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

func (*FakeDialogflowCXPages) Patch

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

Patch applies the patch and returns the patched dialogflowCXPage.

func (*FakeDialogflowCXPages) Update

func (c *FakeDialogflowCXPages) Update(ctx context.Context, dialogflowCXPage *v1alpha1.DialogflowCXPage, opts v1.UpdateOptions) (result *v1alpha1.DialogflowCXPage, err error)

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

func (*FakeDialogflowCXPages) UpdateStatus

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

func (*FakeDialogflowCXPages) Watch

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

type FakeDialogflowCXWebhooks

type FakeDialogflowCXWebhooks struct {
	Fake *FakeDialogflowcxV1alpha1
	// contains filtered or unexported fields
}

FakeDialogflowCXWebhooks implements DialogflowCXWebhookInterface

func (*FakeDialogflowCXWebhooks) Create

func (c *FakeDialogflowCXWebhooks) Create(ctx context.Context, dialogflowCXWebhook *v1alpha1.DialogflowCXWebhook, opts v1.CreateOptions) (result *v1alpha1.DialogflowCXWebhook, err error)

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

func (*FakeDialogflowCXWebhooks) Delete

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

func (*FakeDialogflowCXWebhooks) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDialogflowCXWebhooks) Get

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

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

func (*FakeDialogflowCXWebhooks) List

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

func (*FakeDialogflowCXWebhooks) Patch

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

Patch applies the patch and returns the patched dialogflowCXWebhook.

func (*FakeDialogflowCXWebhooks) Update

func (c *FakeDialogflowCXWebhooks) Update(ctx context.Context, dialogflowCXWebhook *v1alpha1.DialogflowCXWebhook, opts v1.UpdateOptions) (result *v1alpha1.DialogflowCXWebhook, err error)

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

func (*FakeDialogflowCXWebhooks) UpdateStatus

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

func (*FakeDialogflowCXWebhooks) Watch

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

type FakeDialogflowcxV1alpha1

type FakeDialogflowcxV1alpha1 struct {
	*testing.Fake
}

func (*FakeDialogflowcxV1alpha1) DialogflowCXAgents

func (c *FakeDialogflowcxV1alpha1) DialogflowCXAgents(namespace string) v1alpha1.DialogflowCXAgentInterface

func (*FakeDialogflowcxV1alpha1) DialogflowCXEntityTypes

func (c *FakeDialogflowcxV1alpha1) DialogflowCXEntityTypes(namespace string) v1alpha1.DialogflowCXEntityTypeInterface

func (*FakeDialogflowcxV1alpha1) DialogflowCXFlows

func (c *FakeDialogflowcxV1alpha1) DialogflowCXFlows(namespace string) v1alpha1.DialogflowCXFlowInterface

func (*FakeDialogflowcxV1alpha1) DialogflowCXIntents

func (c *FakeDialogflowcxV1alpha1) DialogflowCXIntents(namespace string) v1alpha1.DialogflowCXIntentInterface

func (*FakeDialogflowcxV1alpha1) DialogflowCXPages

func (c *FakeDialogflowcxV1alpha1) DialogflowCXPages(namespace string) v1alpha1.DialogflowCXPageInterface

func (*FakeDialogflowcxV1alpha1) DialogflowCXWebhooks

func (c *FakeDialogflowcxV1alpha1) DialogflowCXWebhooks(namespace string) v1alpha1.DialogflowCXWebhookInterface

func (*FakeDialogflowcxV1alpha1) RESTClient

func (c *FakeDialogflowcxV1alpha1) 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