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 FakeApigeeAddonsConfigs

type FakeApigeeAddonsConfigs struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeApigeeAddonsConfigs implements ApigeeAddonsConfigInterface

func (*FakeApigeeAddonsConfigs) Create

func (c *FakeApigeeAddonsConfigs) Create(ctx context.Context, apigeeAddonsConfig *v1alpha1.ApigeeAddonsConfig, opts v1.CreateOptions) (result *v1alpha1.ApigeeAddonsConfig, err error)

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

func (*FakeApigeeAddonsConfigs) Delete

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

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

func (*FakeApigeeAddonsConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApigeeAddonsConfigs) Get

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

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

func (*FakeApigeeAddonsConfigs) List

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

func (*FakeApigeeAddonsConfigs) Patch

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

Patch applies the patch and returns the patched apigeeAddonsConfig.

func (*FakeApigeeAddonsConfigs) Update

func (c *FakeApigeeAddonsConfigs) Update(ctx context.Context, apigeeAddonsConfig *v1alpha1.ApigeeAddonsConfig, opts v1.UpdateOptions) (result *v1alpha1.ApigeeAddonsConfig, err error)

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

func (*FakeApigeeAddonsConfigs) UpdateStatus

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

func (*FakeApigeeAddonsConfigs) Watch

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

type FakeApigeeEndpointAttachments

type FakeApigeeEndpointAttachments struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeApigeeEndpointAttachments implements ApigeeEndpointAttachmentInterface

func (*FakeApigeeEndpointAttachments) Create

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

func (*FakeApigeeEndpointAttachments) Delete

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

func (*FakeApigeeEndpointAttachments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApigeeEndpointAttachments) Get

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

func (*FakeApigeeEndpointAttachments) List

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

func (*FakeApigeeEndpointAttachments) Patch

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

Patch applies the patch and returns the patched apigeeEndpointAttachment.

func (*FakeApigeeEndpointAttachments) Update

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

func (*FakeApigeeEndpointAttachments) UpdateStatus

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

func (*FakeApigeeEndpointAttachments) Watch

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

type FakeApigeeEnvgroupAttachments

type FakeApigeeEnvgroupAttachments struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeApigeeEnvgroupAttachments implements ApigeeEnvgroupAttachmentInterface

func (*FakeApigeeEnvgroupAttachments) Create

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

func (*FakeApigeeEnvgroupAttachments) Delete

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

func (*FakeApigeeEnvgroupAttachments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApigeeEnvgroupAttachments) Get

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

func (*FakeApigeeEnvgroupAttachments) List

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

func (*FakeApigeeEnvgroupAttachments) Patch

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

Patch applies the patch and returns the patched apigeeEnvgroupAttachment.

func (*FakeApigeeEnvgroupAttachments) Update

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

func (*FakeApigeeEnvgroupAttachments) UpdateStatus

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

func (*FakeApigeeEnvgroupAttachments) Watch

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

type FakeApigeeEnvgroups

type FakeApigeeEnvgroups struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeApigeeEnvgroups implements ApigeeEnvgroupInterface

func (*FakeApigeeEnvgroups) Create

func (c *FakeApigeeEnvgroups) Create(ctx context.Context, apigeeEnvgroup *v1alpha1.ApigeeEnvgroup, opts v1.CreateOptions) (result *v1alpha1.ApigeeEnvgroup, err error)

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

func (*FakeApigeeEnvgroups) Delete

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

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

func (*FakeApigeeEnvgroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApigeeEnvgroups) Get

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

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

func (*FakeApigeeEnvgroups) List

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

func (*FakeApigeeEnvgroups) Patch

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

Patch applies the patch and returns the patched apigeeEnvgroup.

func (*FakeApigeeEnvgroups) Update

func (c *FakeApigeeEnvgroups) Update(ctx context.Context, apigeeEnvgroup *v1alpha1.ApigeeEnvgroup, opts v1.UpdateOptions) (result *v1alpha1.ApigeeEnvgroup, err error)

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

func (*FakeApigeeEnvgroups) UpdateStatus

func (c *FakeApigeeEnvgroups) UpdateStatus(ctx context.Context, apigeeEnvgroup *v1alpha1.ApigeeEnvgroup, opts v1.UpdateOptions) (*v1alpha1.ApigeeEnvgroup, error)

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

func (*FakeApigeeEnvgroups) Watch

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

type FakeApigeeInstanceAttachments

type FakeApigeeInstanceAttachments struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeApigeeInstanceAttachments implements ApigeeInstanceAttachmentInterface

func (*FakeApigeeInstanceAttachments) Create

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

func (*FakeApigeeInstanceAttachments) Delete

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

func (*FakeApigeeInstanceAttachments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApigeeInstanceAttachments) Get

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

func (*FakeApigeeInstanceAttachments) List

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

func (*FakeApigeeInstanceAttachments) Patch

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

Patch applies the patch and returns the patched apigeeInstanceAttachment.

func (*FakeApigeeInstanceAttachments) Update

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

func (*FakeApigeeInstanceAttachments) UpdateStatus

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

func (*FakeApigeeInstanceAttachments) Watch

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

type FakeApigeeInstances

type FakeApigeeInstances struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeApigeeInstances implements ApigeeInstanceInterface

func (*FakeApigeeInstances) Create

func (c *FakeApigeeInstances) Create(ctx context.Context, apigeeInstance *v1alpha1.ApigeeInstance, opts v1.CreateOptions) (result *v1alpha1.ApigeeInstance, err error)

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

func (*FakeApigeeInstances) Delete

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

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

func (*FakeApigeeInstances) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApigeeInstances) Get

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

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

func (*FakeApigeeInstances) List

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

func (*FakeApigeeInstances) Patch

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

Patch applies the patch and returns the patched apigeeInstance.

func (*FakeApigeeInstances) Update

func (c *FakeApigeeInstances) Update(ctx context.Context, apigeeInstance *v1alpha1.ApigeeInstance, opts v1.UpdateOptions) (result *v1alpha1.ApigeeInstance, err error)

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

func (*FakeApigeeInstances) UpdateStatus

func (c *FakeApigeeInstances) UpdateStatus(ctx context.Context, apigeeInstance *v1alpha1.ApigeeInstance, opts v1.UpdateOptions) (*v1alpha1.ApigeeInstance, error)

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

func (*FakeApigeeInstances) Watch

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

type FakeApigeeNATAddresses

type FakeApigeeNATAddresses struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeApigeeNATAddresses implements ApigeeNATAddressInterface

func (*FakeApigeeNATAddresses) Create

func (c *FakeApigeeNATAddresses) Create(ctx context.Context, apigeeNATAddress *v1alpha1.ApigeeNATAddress, opts v1.CreateOptions) (result *v1alpha1.ApigeeNATAddress, err error)

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

func (*FakeApigeeNATAddresses) Delete

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

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

func (*FakeApigeeNATAddresses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApigeeNATAddresses) Get

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

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

func (*FakeApigeeNATAddresses) List

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

func (*FakeApigeeNATAddresses) Patch

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

Patch applies the patch and returns the patched apigeeNATAddress.

func (*FakeApigeeNATAddresses) Update

func (c *FakeApigeeNATAddresses) Update(ctx context.Context, apigeeNATAddress *v1alpha1.ApigeeNATAddress, opts v1.UpdateOptions) (result *v1alpha1.ApigeeNATAddress, err error)

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

func (*FakeApigeeNATAddresses) UpdateStatus

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

func (*FakeApigeeNATAddresses) Watch

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

type FakeApigeeSyncAuthorizations

type FakeApigeeSyncAuthorizations struct {
	Fake *FakeApigeeV1alpha1
	// contains filtered or unexported fields
}

FakeApigeeSyncAuthorizations implements ApigeeSyncAuthorizationInterface

func (*FakeApigeeSyncAuthorizations) Create

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

func (*FakeApigeeSyncAuthorizations) Delete

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

func (*FakeApigeeSyncAuthorizations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApigeeSyncAuthorizations) Get

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

func (*FakeApigeeSyncAuthorizations) List

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

func (*FakeApigeeSyncAuthorizations) Patch

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

Patch applies the patch and returns the patched apigeeSyncAuthorization.

func (*FakeApigeeSyncAuthorizations) Update

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

func (*FakeApigeeSyncAuthorizations) UpdateStatus

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

func (*FakeApigeeSyncAuthorizations) Watch

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

type FakeApigeeV1alpha1

type FakeApigeeV1alpha1 struct {
	*testing.Fake
}

func (*FakeApigeeV1alpha1) ApigeeAddonsConfigs

func (c *FakeApigeeV1alpha1) ApigeeAddonsConfigs(namespace string) v1alpha1.ApigeeAddonsConfigInterface

func (*FakeApigeeV1alpha1) ApigeeEndpointAttachments

func (c *FakeApigeeV1alpha1) ApigeeEndpointAttachments(namespace string) v1alpha1.ApigeeEndpointAttachmentInterface

func (*FakeApigeeV1alpha1) ApigeeEnvgroupAttachments

func (c *FakeApigeeV1alpha1) ApigeeEnvgroupAttachments(namespace string) v1alpha1.ApigeeEnvgroupAttachmentInterface

func (*FakeApigeeV1alpha1) ApigeeEnvgroups

func (c *FakeApigeeV1alpha1) ApigeeEnvgroups(namespace string) v1alpha1.ApigeeEnvgroupInterface

func (*FakeApigeeV1alpha1) ApigeeInstanceAttachments

func (c *FakeApigeeV1alpha1) ApigeeInstanceAttachments(namespace string) v1alpha1.ApigeeInstanceAttachmentInterface

func (*FakeApigeeV1alpha1) ApigeeInstances

func (c *FakeApigeeV1alpha1) ApigeeInstances(namespace string) v1alpha1.ApigeeInstanceInterface

func (*FakeApigeeV1alpha1) ApigeeNATAddresses

func (c *FakeApigeeV1alpha1) ApigeeNATAddresses(namespace string) v1alpha1.ApigeeNATAddressInterface

func (*FakeApigeeV1alpha1) ApigeeSyncAuthorizations

func (c *FakeApigeeV1alpha1) ApigeeSyncAuthorizations(namespace string) v1alpha1.ApigeeSyncAuthorizationInterface

func (*FakeApigeeV1alpha1) RESTClient

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