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 FakeAPIGatewayAPIConfigs

type FakeAPIGatewayAPIConfigs struct {
	Fake *FakeApigatewayV1alpha1
	// contains filtered or unexported fields
}

FakeAPIGatewayAPIConfigs implements APIGatewayAPIConfigInterface

func (*FakeAPIGatewayAPIConfigs) Create

func (c *FakeAPIGatewayAPIConfigs) Create(ctx context.Context, aPIGatewayAPIConfig *v1alpha1.APIGatewayAPIConfig, opts v1.CreateOptions) (result *v1alpha1.APIGatewayAPIConfig, err error)

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

func (*FakeAPIGatewayAPIConfigs) Delete

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

func (*FakeAPIGatewayAPIConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAPIGatewayAPIConfigs) Get

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

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

func (*FakeAPIGatewayAPIConfigs) List

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

func (*FakeAPIGatewayAPIConfigs) Patch

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

Patch applies the patch and returns the patched aPIGatewayAPIConfig.

func (*FakeAPIGatewayAPIConfigs) Update

func (c *FakeAPIGatewayAPIConfigs) Update(ctx context.Context, aPIGatewayAPIConfig *v1alpha1.APIGatewayAPIConfig, opts v1.UpdateOptions) (result *v1alpha1.APIGatewayAPIConfig, err error)

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

func (*FakeAPIGatewayAPIConfigs) UpdateStatus

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

func (*FakeAPIGatewayAPIConfigs) Watch

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

type FakeAPIGatewayAPIs

type FakeAPIGatewayAPIs struct {
	Fake *FakeApigatewayV1alpha1
	// contains filtered or unexported fields
}

FakeAPIGatewayAPIs implements APIGatewayAPIInterface

func (*FakeAPIGatewayAPIs) Create

func (c *FakeAPIGatewayAPIs) Create(ctx context.Context, aPIGatewayAPI *v1alpha1.APIGatewayAPI, opts v1.CreateOptions) (result *v1alpha1.APIGatewayAPI, err error)

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

func (*FakeAPIGatewayAPIs) Delete

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

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

func (*FakeAPIGatewayAPIs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAPIGatewayAPIs) Get

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

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

func (*FakeAPIGatewayAPIs) List

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

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

func (*FakeAPIGatewayAPIs) Patch

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

Patch applies the patch and returns the patched aPIGatewayAPI.

func (*FakeAPIGatewayAPIs) Update

func (c *FakeAPIGatewayAPIs) Update(ctx context.Context, aPIGatewayAPI *v1alpha1.APIGatewayAPI, opts v1.UpdateOptions) (result *v1alpha1.APIGatewayAPI, err error)

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

func (*FakeAPIGatewayAPIs) UpdateStatus

func (c *FakeAPIGatewayAPIs) UpdateStatus(ctx context.Context, aPIGatewayAPI *v1alpha1.APIGatewayAPI, opts v1.UpdateOptions) (*v1alpha1.APIGatewayAPI, error)

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

func (*FakeAPIGatewayAPIs) Watch

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

type FakeAPIGatewayGateways

type FakeAPIGatewayGateways struct {
	Fake *FakeApigatewayV1alpha1
	// contains filtered or unexported fields
}

FakeAPIGatewayGateways implements APIGatewayGatewayInterface

func (*FakeAPIGatewayGateways) Create

func (c *FakeAPIGatewayGateways) Create(ctx context.Context, aPIGatewayGateway *v1alpha1.APIGatewayGateway, opts v1.CreateOptions) (result *v1alpha1.APIGatewayGateway, err error)

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

func (*FakeAPIGatewayGateways) Delete

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

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

func (*FakeAPIGatewayGateways) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAPIGatewayGateways) Get

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

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

func (*FakeAPIGatewayGateways) List

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

func (*FakeAPIGatewayGateways) Patch

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

Patch applies the patch and returns the patched aPIGatewayGateway.

func (*FakeAPIGatewayGateways) Update

func (c *FakeAPIGatewayGateways) Update(ctx context.Context, aPIGatewayGateway *v1alpha1.APIGatewayGateway, opts v1.UpdateOptions) (result *v1alpha1.APIGatewayGateway, err error)

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

func (*FakeAPIGatewayGateways) UpdateStatus

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

func (*FakeAPIGatewayGateways) Watch

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

type FakeApigatewayV1alpha1

type FakeApigatewayV1alpha1 struct {
	*testing.Fake
}

func (*FakeApigatewayV1alpha1) APIGatewayAPIConfigs

func (c *FakeApigatewayV1alpha1) APIGatewayAPIConfigs(namespace string) v1alpha1.APIGatewayAPIConfigInterface

func (*FakeApigatewayV1alpha1) APIGatewayAPIs

func (c *FakeApigatewayV1alpha1) APIGatewayAPIs(namespace string) v1alpha1.APIGatewayAPIInterface

func (*FakeApigatewayV1alpha1) APIGatewayGateways

func (c *FakeApigatewayV1alpha1) APIGatewayGateways(namespace string) v1alpha1.APIGatewayGatewayInterface

func (*FakeApigatewayV1alpha1) RESTClient

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