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 FakeChimeV1alpha1

type FakeChimeV1alpha1 struct {
	*testing.Fake
}

func (*FakeChimeV1alpha1) RESTClient

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

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

func (*FakeChimeV1alpha1) VoiceConnectorGroups

func (c *FakeChimeV1alpha1) VoiceConnectorGroups(namespace string) v1alpha1.VoiceConnectorGroupInterface

func (*FakeChimeV1alpha1) VoiceConnectorLoggings

func (c *FakeChimeV1alpha1) VoiceConnectorLoggings(namespace string) v1alpha1.VoiceConnectorLoggingInterface

func (*FakeChimeV1alpha1) VoiceConnectorOriginations

func (c *FakeChimeV1alpha1) VoiceConnectorOriginations(namespace string) v1alpha1.VoiceConnectorOriginationInterface

func (*FakeChimeV1alpha1) VoiceConnectorStreamings

func (c *FakeChimeV1alpha1) VoiceConnectorStreamings(namespace string) v1alpha1.VoiceConnectorStreamingInterface

func (*FakeChimeV1alpha1) VoiceConnectorTerminationCredentialses

func (c *FakeChimeV1alpha1) VoiceConnectorTerminationCredentialses(namespace string) v1alpha1.VoiceConnectorTerminationCredentialsInterface

func (*FakeChimeV1alpha1) VoiceConnectorTerminations

func (c *FakeChimeV1alpha1) VoiceConnectorTerminations(namespace string) v1alpha1.VoiceConnectorTerminationInterface

func (*FakeChimeV1alpha1) VoiceConnectors

func (c *FakeChimeV1alpha1) VoiceConnectors(namespace string) v1alpha1.VoiceConnectorInterface

type FakeVoiceConnectorGroups

type FakeVoiceConnectorGroups struct {
	Fake *FakeChimeV1alpha1
	// contains filtered or unexported fields
}

FakeVoiceConnectorGroups implements VoiceConnectorGroupInterface

func (*FakeVoiceConnectorGroups) Create

func (c *FakeVoiceConnectorGroups) Create(ctx context.Context, voiceConnectorGroup *v1alpha1.VoiceConnectorGroup, opts v1.CreateOptions) (result *v1alpha1.VoiceConnectorGroup, err error)

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

func (*FakeVoiceConnectorGroups) Delete

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

func (*FakeVoiceConnectorGroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVoiceConnectorGroups) Get

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

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

func (*FakeVoiceConnectorGroups) List

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

func (*FakeVoiceConnectorGroups) Patch

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

Patch applies the patch and returns the patched voiceConnectorGroup.

func (*FakeVoiceConnectorGroups) Update

func (c *FakeVoiceConnectorGroups) Update(ctx context.Context, voiceConnectorGroup *v1alpha1.VoiceConnectorGroup, opts v1.UpdateOptions) (result *v1alpha1.VoiceConnectorGroup, err error)

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

func (*FakeVoiceConnectorGroups) UpdateStatus

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

func (*FakeVoiceConnectorGroups) Watch

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

type FakeVoiceConnectorLoggings

type FakeVoiceConnectorLoggings struct {
	Fake *FakeChimeV1alpha1
	// contains filtered or unexported fields
}

FakeVoiceConnectorLoggings implements VoiceConnectorLoggingInterface

func (*FakeVoiceConnectorLoggings) Create

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

func (*FakeVoiceConnectorLoggings) Delete

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

func (*FakeVoiceConnectorLoggings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVoiceConnectorLoggings) Get

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

func (*FakeVoiceConnectorLoggings) List

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

func (*FakeVoiceConnectorLoggings) Patch

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

Patch applies the patch and returns the patched voiceConnectorLogging.

func (*FakeVoiceConnectorLoggings) Update

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

func (*FakeVoiceConnectorLoggings) UpdateStatus

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

func (*FakeVoiceConnectorLoggings) Watch

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

type FakeVoiceConnectorOriginations

type FakeVoiceConnectorOriginations struct {
	Fake *FakeChimeV1alpha1
	// contains filtered or unexported fields
}

FakeVoiceConnectorOriginations implements VoiceConnectorOriginationInterface

func (*FakeVoiceConnectorOriginations) Create

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

func (*FakeVoiceConnectorOriginations) Delete

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

func (*FakeVoiceConnectorOriginations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVoiceConnectorOriginations) Get

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

func (*FakeVoiceConnectorOriginations) List

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

func (*FakeVoiceConnectorOriginations) Patch

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

Patch applies the patch and returns the patched voiceConnectorOrigination.

func (*FakeVoiceConnectorOriginations) Update

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

func (*FakeVoiceConnectorOriginations) UpdateStatus

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

func (*FakeVoiceConnectorOriginations) Watch

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

type FakeVoiceConnectorStreamings

type FakeVoiceConnectorStreamings struct {
	Fake *FakeChimeV1alpha1
	// contains filtered or unexported fields
}

FakeVoiceConnectorStreamings implements VoiceConnectorStreamingInterface

func (*FakeVoiceConnectorStreamings) Create

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

func (*FakeVoiceConnectorStreamings) Delete

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

func (*FakeVoiceConnectorStreamings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVoiceConnectorStreamings) Get

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

func (*FakeVoiceConnectorStreamings) List

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

func (*FakeVoiceConnectorStreamings) Patch

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

Patch applies the patch and returns the patched voiceConnectorStreaming.

func (*FakeVoiceConnectorStreamings) Update

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

func (*FakeVoiceConnectorStreamings) UpdateStatus

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

func (*FakeVoiceConnectorStreamings) Watch

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

type FakeVoiceConnectorTerminationCredentialses

type FakeVoiceConnectorTerminationCredentialses struct {
	Fake *FakeChimeV1alpha1
	// contains filtered or unexported fields
}

FakeVoiceConnectorTerminationCredentialses implements VoiceConnectorTerminationCredentialsInterface

func (*FakeVoiceConnectorTerminationCredentialses) Create

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

func (*FakeVoiceConnectorTerminationCredentialses) Delete

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

func (*FakeVoiceConnectorTerminationCredentialses) DeleteCollection

DeleteCollection deletes a collection of objects.

func (*FakeVoiceConnectorTerminationCredentialses) Get

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

func (*FakeVoiceConnectorTerminationCredentialses) List

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

func (*FakeVoiceConnectorTerminationCredentialses) Patch

Patch applies the patch and returns the patched voiceConnectorTerminationCredentials.

func (*FakeVoiceConnectorTerminationCredentialses) Update

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

func (*FakeVoiceConnectorTerminationCredentialses) UpdateStatus

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

func (*FakeVoiceConnectorTerminationCredentialses) Watch

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

type FakeVoiceConnectorTerminations

type FakeVoiceConnectorTerminations struct {
	Fake *FakeChimeV1alpha1
	// contains filtered or unexported fields
}

FakeVoiceConnectorTerminations implements VoiceConnectorTerminationInterface

func (*FakeVoiceConnectorTerminations) Create

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

func (*FakeVoiceConnectorTerminations) Delete

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

func (*FakeVoiceConnectorTerminations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVoiceConnectorTerminations) Get

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

func (*FakeVoiceConnectorTerminations) List

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

func (*FakeVoiceConnectorTerminations) Patch

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

Patch applies the patch and returns the patched voiceConnectorTermination.

func (*FakeVoiceConnectorTerminations) Update

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

func (*FakeVoiceConnectorTerminations) UpdateStatus

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

func (*FakeVoiceConnectorTerminations) Watch

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

type FakeVoiceConnectors

type FakeVoiceConnectors struct {
	Fake *FakeChimeV1alpha1
	// contains filtered or unexported fields
}

FakeVoiceConnectors implements VoiceConnectorInterface

func (*FakeVoiceConnectors) Create

func (c *FakeVoiceConnectors) Create(ctx context.Context, voiceConnector *v1alpha1.VoiceConnector, opts v1.CreateOptions) (result *v1alpha1.VoiceConnector, err error)

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

func (*FakeVoiceConnectors) Delete

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

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

func (*FakeVoiceConnectors) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVoiceConnectors) Get

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

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

func (*FakeVoiceConnectors) List

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

func (*FakeVoiceConnectors) Patch

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

Patch applies the patch and returns the patched voiceConnector.

func (*FakeVoiceConnectors) Update

func (c *FakeVoiceConnectors) Update(ctx context.Context, voiceConnector *v1alpha1.VoiceConnector, opts v1.UpdateOptions) (result *v1alpha1.VoiceConnector, err error)

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

func (*FakeVoiceConnectors) UpdateStatus

func (c *FakeVoiceConnectors) UpdateStatus(ctx context.Context, voiceConnector *v1alpha1.VoiceConnector, opts v1.UpdateOptions) (*v1alpha1.VoiceConnector, error)

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

func (*FakeVoiceConnectors) Watch

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

Jump to

Keyboard shortcuts

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