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 FakeAgents

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

FakeAgents implements AgentInterface

func (*FakeAgents) Create

func (c *FakeAgents) Create(ctx context.Context, agent *v1alpha1.Agent, opts v1.CreateOptions) (result *v1alpha1.Agent, err error)

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

func (*FakeAgents) Delete

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

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

func (*FakeAgents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAgents) Get

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

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

func (*FakeAgents) List

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

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

func (*FakeAgents) Patch

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

Patch applies the patch and returns the patched agent.

func (*FakeAgents) Update

func (c *FakeAgents) Update(ctx context.Context, agent *v1alpha1.Agent, opts v1.UpdateOptions) (result *v1alpha1.Agent, err error)

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

func (*FakeAgents) UpdateStatus

func (c *FakeAgents) UpdateStatus(ctx context.Context, agent *v1alpha1.Agent, opts v1.UpdateOptions) (*v1alpha1.Agent, error)

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

func (*FakeAgents) Watch

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

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

type FakeCxAgents

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

FakeCxAgents implements CxAgentInterface

func (*FakeCxAgents) Create

func (c *FakeCxAgents) Create(ctx context.Context, cxAgent *v1alpha1.CxAgent, opts v1.CreateOptions) (result *v1alpha1.CxAgent, err error)

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

func (*FakeCxAgents) Delete

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

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

func (*FakeCxAgents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCxAgents) Get

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

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

func (*FakeCxAgents) List

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

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

func (*FakeCxAgents) Patch

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

Patch applies the patch and returns the patched cxAgent.

func (*FakeCxAgents) Update

func (c *FakeCxAgents) Update(ctx context.Context, cxAgent *v1alpha1.CxAgent, opts v1.UpdateOptions) (result *v1alpha1.CxAgent, err error)

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

func (*FakeCxAgents) UpdateStatus

func (c *FakeCxAgents) UpdateStatus(ctx context.Context, cxAgent *v1alpha1.CxAgent, opts v1.UpdateOptions) (*v1alpha1.CxAgent, error)

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

func (*FakeCxAgents) Watch

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

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

type FakeCxEntityTypes added in v0.4.0

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

FakeCxEntityTypes implements CxEntityTypeInterface

func (*FakeCxEntityTypes) Create added in v0.4.0

func (c *FakeCxEntityTypes) Create(ctx context.Context, cxEntityType *v1alpha1.CxEntityType, opts v1.CreateOptions) (result *v1alpha1.CxEntityType, err error)

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

func (*FakeCxEntityTypes) Delete added in v0.4.0

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

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

func (*FakeCxEntityTypes) DeleteCollection added in v0.4.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCxEntityTypes) Get added in v0.4.0

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

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

func (*FakeCxEntityTypes) List added in v0.4.0

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

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

func (*FakeCxEntityTypes) Patch added in v0.4.0

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

Patch applies the patch and returns the patched cxEntityType.

func (*FakeCxEntityTypes) Update added in v0.4.0

func (c *FakeCxEntityTypes) Update(ctx context.Context, cxEntityType *v1alpha1.CxEntityType, opts v1.UpdateOptions) (result *v1alpha1.CxEntityType, err error)

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

func (*FakeCxEntityTypes) UpdateStatus added in v0.4.0

func (c *FakeCxEntityTypes) UpdateStatus(ctx context.Context, cxEntityType *v1alpha1.CxEntityType, opts v1.UpdateOptions) (*v1alpha1.CxEntityType, error)

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

func (*FakeCxEntityTypes) Watch added in v0.4.0

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

type FakeCxEnvironments added in v0.4.0

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

FakeCxEnvironments implements CxEnvironmentInterface

func (*FakeCxEnvironments) Create added in v0.4.0

func (c *FakeCxEnvironments) Create(ctx context.Context, cxEnvironment *v1alpha1.CxEnvironment, opts v1.CreateOptions) (result *v1alpha1.CxEnvironment, err error)

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

func (*FakeCxEnvironments) Delete added in v0.4.0

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

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

func (*FakeCxEnvironments) DeleteCollection added in v0.4.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCxEnvironments) Get added in v0.4.0

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

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

func (*FakeCxEnvironments) List added in v0.4.0

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

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

func (*FakeCxEnvironments) Patch added in v0.4.0

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

Patch applies the patch and returns the patched cxEnvironment.

func (*FakeCxEnvironments) Update added in v0.4.0

func (c *FakeCxEnvironments) Update(ctx context.Context, cxEnvironment *v1alpha1.CxEnvironment, opts v1.UpdateOptions) (result *v1alpha1.CxEnvironment, err error)

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

func (*FakeCxEnvironments) UpdateStatus added in v0.4.0

func (c *FakeCxEnvironments) UpdateStatus(ctx context.Context, cxEnvironment *v1alpha1.CxEnvironment, opts v1.UpdateOptions) (*v1alpha1.CxEnvironment, error)

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

func (*FakeCxEnvironments) Watch added in v0.4.0

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

type FakeCxFlows added in v0.4.0

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

FakeCxFlows implements CxFlowInterface

func (*FakeCxFlows) Create added in v0.4.0

func (c *FakeCxFlows) Create(ctx context.Context, cxFlow *v1alpha1.CxFlow, opts v1.CreateOptions) (result *v1alpha1.CxFlow, err error)

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

func (*FakeCxFlows) Delete added in v0.4.0

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

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

func (*FakeCxFlows) DeleteCollection added in v0.4.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCxFlows) Get added in v0.4.0

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

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

func (*FakeCxFlows) List added in v0.4.0

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

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

func (*FakeCxFlows) Patch added in v0.4.0

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

Patch applies the patch and returns the patched cxFlow.

func (*FakeCxFlows) Update added in v0.4.0

func (c *FakeCxFlows) Update(ctx context.Context, cxFlow *v1alpha1.CxFlow, opts v1.UpdateOptions) (result *v1alpha1.CxFlow, err error)

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

func (*FakeCxFlows) UpdateStatus added in v0.4.0

func (c *FakeCxFlows) UpdateStatus(ctx context.Context, cxFlow *v1alpha1.CxFlow, opts v1.UpdateOptions) (*v1alpha1.CxFlow, error)

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

func (*FakeCxFlows) Watch added in v0.4.0

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

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

type FakeCxIntents added in v0.4.0

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

FakeCxIntents implements CxIntentInterface

func (*FakeCxIntents) Create added in v0.4.0

func (c *FakeCxIntents) Create(ctx context.Context, cxIntent *v1alpha1.CxIntent, opts v1.CreateOptions) (result *v1alpha1.CxIntent, err error)

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

func (*FakeCxIntents) Delete added in v0.4.0

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

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

func (*FakeCxIntents) DeleteCollection added in v0.4.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCxIntents) Get added in v0.4.0

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

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

func (*FakeCxIntents) List added in v0.4.0

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

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

func (*FakeCxIntents) Patch added in v0.4.0

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

Patch applies the patch and returns the patched cxIntent.

func (*FakeCxIntents) Update added in v0.4.0

func (c *FakeCxIntents) Update(ctx context.Context, cxIntent *v1alpha1.CxIntent, opts v1.UpdateOptions) (result *v1alpha1.CxIntent, err error)

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

func (*FakeCxIntents) UpdateStatus added in v0.4.0

func (c *FakeCxIntents) UpdateStatus(ctx context.Context, cxIntent *v1alpha1.CxIntent, opts v1.UpdateOptions) (*v1alpha1.CxIntent, error)

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

func (*FakeCxIntents) Watch added in v0.4.0

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

type FakeCxPages added in v0.4.0

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

FakeCxPages implements CxPageInterface

func (*FakeCxPages) Create added in v0.4.0

func (c *FakeCxPages) Create(ctx context.Context, cxPage *v1alpha1.CxPage, opts v1.CreateOptions) (result *v1alpha1.CxPage, err error)

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

func (*FakeCxPages) Delete added in v0.4.0

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

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

func (*FakeCxPages) DeleteCollection added in v0.4.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCxPages) Get added in v0.4.0

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

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

func (*FakeCxPages) List added in v0.4.0

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

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

func (*FakeCxPages) Patch added in v0.4.0

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

Patch applies the patch and returns the patched cxPage.

func (*FakeCxPages) Update added in v0.4.0

func (c *FakeCxPages) Update(ctx context.Context, cxPage *v1alpha1.CxPage, opts v1.UpdateOptions) (result *v1alpha1.CxPage, err error)

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

func (*FakeCxPages) UpdateStatus added in v0.4.0

func (c *FakeCxPages) UpdateStatus(ctx context.Context, cxPage *v1alpha1.CxPage, opts v1.UpdateOptions) (*v1alpha1.CxPage, error)

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

func (*FakeCxPages) Watch added in v0.4.0

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

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

type FakeCxVersions added in v0.4.0

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

FakeCxVersions implements CxVersionInterface

func (*FakeCxVersions) Create added in v0.4.0

func (c *FakeCxVersions) Create(ctx context.Context, cxVersion *v1alpha1.CxVersion, opts v1.CreateOptions) (result *v1alpha1.CxVersion, err error)

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

func (*FakeCxVersions) Delete added in v0.4.0

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

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

func (*FakeCxVersions) DeleteCollection added in v0.4.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCxVersions) Get added in v0.4.0

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

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

func (*FakeCxVersions) List added in v0.4.0

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

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

func (*FakeCxVersions) Patch added in v0.4.0

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

Patch applies the patch and returns the patched cxVersion.

func (*FakeCxVersions) Update added in v0.4.0

func (c *FakeCxVersions) Update(ctx context.Context, cxVersion *v1alpha1.CxVersion, opts v1.UpdateOptions) (result *v1alpha1.CxVersion, err error)

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

func (*FakeCxVersions) UpdateStatus added in v0.4.0

func (c *FakeCxVersions) UpdateStatus(ctx context.Context, cxVersion *v1alpha1.CxVersion, opts v1.UpdateOptions) (*v1alpha1.CxVersion, error)

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

func (*FakeCxVersions) Watch added in v0.4.0

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

type FakeDialogflowV1alpha1

type FakeDialogflowV1alpha1 struct {
	*testing.Fake
}

func (*FakeDialogflowV1alpha1) Agents

func (*FakeDialogflowV1alpha1) CxAgents

func (c *FakeDialogflowV1alpha1) CxAgents(namespace string) v1alpha1.CxAgentInterface

func (*FakeDialogflowV1alpha1) CxEntityTypes added in v0.4.0

func (c *FakeDialogflowV1alpha1) CxEntityTypes(namespace string) v1alpha1.CxEntityTypeInterface

func (*FakeDialogflowV1alpha1) CxEnvironments added in v0.4.0

func (c *FakeDialogflowV1alpha1) CxEnvironments(namespace string) v1alpha1.CxEnvironmentInterface

func (*FakeDialogflowV1alpha1) CxFlows added in v0.4.0

func (c *FakeDialogflowV1alpha1) CxFlows(namespace string) v1alpha1.CxFlowInterface

func (*FakeDialogflowV1alpha1) CxIntents added in v0.4.0

func (c *FakeDialogflowV1alpha1) CxIntents(namespace string) v1alpha1.CxIntentInterface

func (*FakeDialogflowV1alpha1) CxPages added in v0.4.0

func (c *FakeDialogflowV1alpha1) CxPages(namespace string) v1alpha1.CxPageInterface

func (*FakeDialogflowV1alpha1) CxVersions added in v0.4.0

func (c *FakeDialogflowV1alpha1) CxVersions(namespace string) v1alpha1.CxVersionInterface

func (*FakeDialogflowV1alpha1) EntityTypes

func (c *FakeDialogflowV1alpha1) EntityTypes(namespace string) v1alpha1.EntityTypeInterface

func (*FakeDialogflowV1alpha1) Fulfillments

func (c *FakeDialogflowV1alpha1) Fulfillments(namespace string) v1alpha1.FulfillmentInterface

func (*FakeDialogflowV1alpha1) Intents

func (c *FakeDialogflowV1alpha1) Intents(namespace string) v1alpha1.IntentInterface

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.

type FakeEntityTypes

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

FakeEntityTypes implements EntityTypeInterface

func (*FakeEntityTypes) Create

func (c *FakeEntityTypes) Create(ctx context.Context, entityType *v1alpha1.EntityType, opts v1.CreateOptions) (result *v1alpha1.EntityType, err error)

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

func (*FakeEntityTypes) Delete

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

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

func (*FakeEntityTypes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEntityTypes) Get

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

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

func (*FakeEntityTypes) List

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

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

func (*FakeEntityTypes) Patch

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

Patch applies the patch and returns the patched entityType.

func (*FakeEntityTypes) Update

func (c *FakeEntityTypes) Update(ctx context.Context, entityType *v1alpha1.EntityType, opts v1.UpdateOptions) (result *v1alpha1.EntityType, err error)

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

func (*FakeEntityTypes) UpdateStatus

func (c *FakeEntityTypes) UpdateStatus(ctx context.Context, entityType *v1alpha1.EntityType, opts v1.UpdateOptions) (*v1alpha1.EntityType, error)

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

func (*FakeEntityTypes) Watch

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

type FakeFulfillments

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

FakeFulfillments implements FulfillmentInterface

func (*FakeFulfillments) Create

func (c *FakeFulfillments) Create(ctx context.Context, fulfillment *v1alpha1.Fulfillment, opts v1.CreateOptions) (result *v1alpha1.Fulfillment, err error)

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

func (*FakeFulfillments) Delete

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

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

func (*FakeFulfillments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFulfillments) Get

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

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

func (*FakeFulfillments) List

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

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

func (*FakeFulfillments) Patch

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

Patch applies the patch and returns the patched fulfillment.

func (*FakeFulfillments) Update

func (c *FakeFulfillments) Update(ctx context.Context, fulfillment *v1alpha1.Fulfillment, opts v1.UpdateOptions) (result *v1alpha1.Fulfillment, err error)

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

func (*FakeFulfillments) UpdateStatus

func (c *FakeFulfillments) UpdateStatus(ctx context.Context, fulfillment *v1alpha1.Fulfillment, opts v1.UpdateOptions) (*v1alpha1.Fulfillment, error)

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

func (*FakeFulfillments) Watch

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

type FakeIntents

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

FakeIntents implements IntentInterface

func (*FakeIntents) Create

func (c *FakeIntents) Create(ctx context.Context, intent *v1alpha1.Intent, opts v1.CreateOptions) (result *v1alpha1.Intent, err error)

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

func (*FakeIntents) Delete

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

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

func (*FakeIntents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIntents) Get

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

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

func (*FakeIntents) List

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

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

func (*FakeIntents) Patch

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

Patch applies the patch and returns the patched intent.

func (*FakeIntents) Update

func (c *FakeIntents) Update(ctx context.Context, intent *v1alpha1.Intent, opts v1.UpdateOptions) (result *v1alpha1.Intent, err error)

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

func (*FakeIntents) UpdateStatus

func (c *FakeIntents) UpdateStatus(ctx context.Context, intent *v1alpha1.Intent, opts v1.UpdateOptions) (*v1alpha1.Intent, error)

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

func (*FakeIntents) Watch

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

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

Jump to

Keyboard shortcuts

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