fake

package
v3.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 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 FakeConfigurationV1alpha1

type FakeConfigurationV1alpha1 struct {
	*testing.Fake
}

func (*FakeConfigurationV1alpha1) IngressClassParameterses

func (c *FakeConfigurationV1alpha1) IngressClassParameterses(namespace string) v1alpha1.IngressClassParametersInterface

func (*FakeConfigurationV1alpha1) KongCustomEntities added in v3.2.0

func (c *FakeConfigurationV1alpha1) KongCustomEntities(namespace string) v1alpha1.KongCustomEntityInterface

func (*FakeConfigurationV1alpha1) KongLicenses added in v3.1.0

func (*FakeConfigurationV1alpha1) KongVaults added in v3.1.0

func (*FakeConfigurationV1alpha1) RESTClient

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

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

type FakeIngressClassParameterses

type FakeIngressClassParameterses struct {
	Fake *FakeConfigurationV1alpha1
	// contains filtered or unexported fields
}

FakeIngressClassParameterses implements IngressClassParametersInterface

func (*FakeIngressClassParameterses) Create

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

func (*FakeIngressClassParameterses) Delete

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

func (*FakeIngressClassParameterses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIngressClassParameterses) Get

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

func (*FakeIngressClassParameterses) List

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

func (*FakeIngressClassParameterses) Patch

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

Patch applies the patch and returns the patched ingressClassParameters.

func (*FakeIngressClassParameterses) Update

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

func (*FakeIngressClassParameterses) Watch

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

type FakeKongCustomEntities added in v3.2.0

type FakeKongCustomEntities struct {
	Fake *FakeConfigurationV1alpha1
	// contains filtered or unexported fields
}

FakeKongCustomEntities implements KongCustomEntityInterface

func (*FakeKongCustomEntities) Create added in v3.2.0

func (c *FakeKongCustomEntities) Create(ctx context.Context, kongCustomEntity *v1alpha1.KongCustomEntity, opts v1.CreateOptions) (result *v1alpha1.KongCustomEntity, err error)

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

func (*FakeKongCustomEntities) Delete added in v3.2.0

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

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

func (*FakeKongCustomEntities) DeleteCollection added in v3.2.0

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

DeleteCollection deletes a collection of objects.

func (*FakeKongCustomEntities) Get added in v3.2.0

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

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

func (*FakeKongCustomEntities) List added in v3.2.0

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

func (*FakeKongCustomEntities) Patch added in v3.2.0

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

Patch applies the patch and returns the patched kongCustomEntity.

func (*FakeKongCustomEntities) Update added in v3.2.0

func (c *FakeKongCustomEntities) Update(ctx context.Context, kongCustomEntity *v1alpha1.KongCustomEntity, opts v1.UpdateOptions) (result *v1alpha1.KongCustomEntity, err error)

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

func (*FakeKongCustomEntities) UpdateStatus added in v3.2.0

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

func (*FakeKongCustomEntities) Watch added in v3.2.0

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

type FakeKongLicenses added in v3.1.0

type FakeKongLicenses struct {
	Fake *FakeConfigurationV1alpha1
}

FakeKongLicenses implements KongLicenseInterface

func (*FakeKongLicenses) Create added in v3.1.0

func (c *FakeKongLicenses) Create(ctx context.Context, kongLicense *v1alpha1.KongLicense, opts v1.CreateOptions) (result *v1alpha1.KongLicense, err error)

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

func (*FakeKongLicenses) Delete added in v3.1.0

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

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

func (*FakeKongLicenses) DeleteCollection added in v3.1.0

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

DeleteCollection deletes a collection of objects.

func (*FakeKongLicenses) Get added in v3.1.0

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

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

func (*FakeKongLicenses) List added in v3.1.0

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

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

func (*FakeKongLicenses) Patch added in v3.1.0

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

Patch applies the patch and returns the patched kongLicense.

func (*FakeKongLicenses) Update added in v3.1.0

func (c *FakeKongLicenses) Update(ctx context.Context, kongLicense *v1alpha1.KongLicense, opts v1.UpdateOptions) (result *v1alpha1.KongLicense, err error)

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

func (*FakeKongLicenses) UpdateStatus added in v3.1.0

func (c *FakeKongLicenses) UpdateStatus(ctx context.Context, kongLicense *v1alpha1.KongLicense, opts v1.UpdateOptions) (*v1alpha1.KongLicense, error)

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

func (*FakeKongLicenses) Watch added in v3.1.0

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

type FakeKongVaults added in v3.1.0

type FakeKongVaults struct {
	Fake *FakeConfigurationV1alpha1
}

FakeKongVaults implements KongVaultInterface

func (*FakeKongVaults) Create added in v3.1.0

func (c *FakeKongVaults) Create(ctx context.Context, kongVault *v1alpha1.KongVault, opts v1.CreateOptions) (result *v1alpha1.KongVault, err error)

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

func (*FakeKongVaults) Delete added in v3.1.0

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

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

func (*FakeKongVaults) DeleteCollection added in v3.1.0

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

DeleteCollection deletes a collection of objects.

func (*FakeKongVaults) Get added in v3.1.0

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

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

func (*FakeKongVaults) List added in v3.1.0

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

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

func (*FakeKongVaults) Patch added in v3.1.0

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

Patch applies the patch and returns the patched kongVault.

func (*FakeKongVaults) Update added in v3.1.0

func (c *FakeKongVaults) Update(ctx context.Context, kongVault *v1alpha1.KongVault, opts v1.UpdateOptions) (result *v1alpha1.KongVault, err error)

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

func (*FakeKongVaults) UpdateStatus added in v3.1.0

func (c *FakeKongVaults) UpdateStatus(ctx context.Context, kongVault *v1alpha1.KongVault, opts v1.UpdateOptions) (*v1alpha1.KongVault, error)

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

func (*FakeKongVaults) Watch added in v3.1.0

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

Jump to

Keyboard shortcuts

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