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 FakeNetworkServicesEndpointPolicies

type FakeNetworkServicesEndpointPolicies struct {
	Fake *FakeNetworkservicesV1beta1
	// contains filtered or unexported fields
}

FakeNetworkServicesEndpointPolicies implements NetworkServicesEndpointPolicyInterface

func (*FakeNetworkServicesEndpointPolicies) Create

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

func (*FakeNetworkServicesEndpointPolicies) Delete

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

func (*FakeNetworkServicesEndpointPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkServicesEndpointPolicies) Get

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

func (*FakeNetworkServicesEndpointPolicies) List

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

func (*FakeNetworkServicesEndpointPolicies) Patch

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

Patch applies the patch and returns the patched networkServicesEndpointPolicy.

func (*FakeNetworkServicesEndpointPolicies) Update

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

func (*FakeNetworkServicesEndpointPolicies) UpdateStatus

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

func (*FakeNetworkServicesEndpointPolicies) Watch

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

type FakeNetworkServicesGRPCRoutes

type FakeNetworkServicesGRPCRoutes struct {
	Fake *FakeNetworkservicesV1beta1
	// contains filtered or unexported fields
}

FakeNetworkServicesGRPCRoutes implements NetworkServicesGRPCRouteInterface

func (*FakeNetworkServicesGRPCRoutes) Create

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

func (*FakeNetworkServicesGRPCRoutes) Delete

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

func (*FakeNetworkServicesGRPCRoutes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkServicesGRPCRoutes) Get

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

func (*FakeNetworkServicesGRPCRoutes) List

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

func (*FakeNetworkServicesGRPCRoutes) Patch

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

Patch applies the patch and returns the patched networkServicesGRPCRoute.

func (*FakeNetworkServicesGRPCRoutes) Update

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

func (*FakeNetworkServicesGRPCRoutes) UpdateStatus

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

func (*FakeNetworkServicesGRPCRoutes) Watch

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

type FakeNetworkServicesGateways

type FakeNetworkServicesGateways struct {
	Fake *FakeNetworkservicesV1beta1
	// contains filtered or unexported fields
}

FakeNetworkServicesGateways implements NetworkServicesGatewayInterface

func (*FakeNetworkServicesGateways) Create

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

func (*FakeNetworkServicesGateways) Delete

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

func (*FakeNetworkServicesGateways) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkServicesGateways) Get

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

func (*FakeNetworkServicesGateways) List

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

func (*FakeNetworkServicesGateways) Patch

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

Patch applies the patch and returns the patched networkServicesGateway.

func (*FakeNetworkServicesGateways) Update

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

func (*FakeNetworkServicesGateways) UpdateStatus

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

func (*FakeNetworkServicesGateways) Watch

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

type FakeNetworkServicesHTTPRoutes

type FakeNetworkServicesHTTPRoutes struct {
	Fake *FakeNetworkservicesV1beta1
	// contains filtered or unexported fields
}

FakeNetworkServicesHTTPRoutes implements NetworkServicesHTTPRouteInterface

func (*FakeNetworkServicesHTTPRoutes) Create

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

func (*FakeNetworkServicesHTTPRoutes) Delete

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

func (*FakeNetworkServicesHTTPRoutes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkServicesHTTPRoutes) Get

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

func (*FakeNetworkServicesHTTPRoutes) List

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

func (*FakeNetworkServicesHTTPRoutes) Patch

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

Patch applies the patch and returns the patched networkServicesHTTPRoute.

func (*FakeNetworkServicesHTTPRoutes) Update

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

func (*FakeNetworkServicesHTTPRoutes) UpdateStatus

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

func (*FakeNetworkServicesHTTPRoutes) Watch

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

type FakeNetworkServicesMeshes

type FakeNetworkServicesMeshes struct {
	Fake *FakeNetworkservicesV1beta1
	// contains filtered or unexported fields
}

FakeNetworkServicesMeshes implements NetworkServicesMeshInterface

func (*FakeNetworkServicesMeshes) Create

func (c *FakeNetworkServicesMeshes) Create(ctx context.Context, networkServicesMesh *v1beta1.NetworkServicesMesh, opts v1.CreateOptions) (result *v1beta1.NetworkServicesMesh, err error)

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

func (*FakeNetworkServicesMeshes) Delete

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

func (*FakeNetworkServicesMeshes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkServicesMeshes) Get

func (c *FakeNetworkServicesMeshes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.NetworkServicesMesh, err error)

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

func (*FakeNetworkServicesMeshes) List

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

func (*FakeNetworkServicesMeshes) Patch

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

Patch applies the patch and returns the patched networkServicesMesh.

func (*FakeNetworkServicesMeshes) Update

func (c *FakeNetworkServicesMeshes) Update(ctx context.Context, networkServicesMesh *v1beta1.NetworkServicesMesh, opts v1.UpdateOptions) (result *v1beta1.NetworkServicesMesh, err error)

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

func (*FakeNetworkServicesMeshes) UpdateStatus

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

func (*FakeNetworkServicesMeshes) Watch

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

type FakeNetworkServicesTCPRoutes

type FakeNetworkServicesTCPRoutes struct {
	Fake *FakeNetworkservicesV1beta1
	// contains filtered or unexported fields
}

FakeNetworkServicesTCPRoutes implements NetworkServicesTCPRouteInterface

func (*FakeNetworkServicesTCPRoutes) Create

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

func (*FakeNetworkServicesTCPRoutes) Delete

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

func (*FakeNetworkServicesTCPRoutes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkServicesTCPRoutes) Get

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

func (*FakeNetworkServicesTCPRoutes) List

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

func (*FakeNetworkServicesTCPRoutes) Patch

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

Patch applies the patch and returns the patched networkServicesTCPRoute.

func (*FakeNetworkServicesTCPRoutes) Update

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

func (*FakeNetworkServicesTCPRoutes) UpdateStatus

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

func (*FakeNetworkServicesTCPRoutes) Watch

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

type FakeNetworkServicesTLSRoutes added in v1.80.0

type FakeNetworkServicesTLSRoutes struct {
	Fake *FakeNetworkservicesV1beta1
	// contains filtered or unexported fields
}

FakeNetworkServicesTLSRoutes implements NetworkServicesTLSRouteInterface

func (*FakeNetworkServicesTLSRoutes) Create added in v1.80.0

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

func (*FakeNetworkServicesTLSRoutes) Delete added in v1.80.0

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

func (*FakeNetworkServicesTLSRoutes) DeleteCollection added in v1.80.0

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkServicesTLSRoutes) Get added in v1.80.0

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

func (*FakeNetworkServicesTLSRoutes) List added in v1.80.0

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

func (*FakeNetworkServicesTLSRoutes) Patch added in v1.80.0

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

Patch applies the patch and returns the patched networkServicesTLSRoute.

func (*FakeNetworkServicesTLSRoutes) Update added in v1.80.0

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

func (*FakeNetworkServicesTLSRoutes) UpdateStatus added in v1.80.0

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

func (*FakeNetworkServicesTLSRoutes) Watch added in v1.80.0

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

type FakeNetworkservicesV1beta1

type FakeNetworkservicesV1beta1 struct {
	*testing.Fake
}

func (*FakeNetworkservicesV1beta1) NetworkServicesEndpointPolicies

func (c *FakeNetworkservicesV1beta1) NetworkServicesEndpointPolicies(namespace string) v1beta1.NetworkServicesEndpointPolicyInterface

func (*FakeNetworkservicesV1beta1) NetworkServicesGRPCRoutes

func (c *FakeNetworkservicesV1beta1) NetworkServicesGRPCRoutes(namespace string) v1beta1.NetworkServicesGRPCRouteInterface

func (*FakeNetworkservicesV1beta1) NetworkServicesGateways

func (c *FakeNetworkservicesV1beta1) NetworkServicesGateways(namespace string) v1beta1.NetworkServicesGatewayInterface

func (*FakeNetworkservicesV1beta1) NetworkServicesHTTPRoutes

func (c *FakeNetworkservicesV1beta1) NetworkServicesHTTPRoutes(namespace string) v1beta1.NetworkServicesHTTPRouteInterface

func (*FakeNetworkservicesV1beta1) NetworkServicesMeshes

func (c *FakeNetworkservicesV1beta1) NetworkServicesMeshes(namespace string) v1beta1.NetworkServicesMeshInterface

func (*FakeNetworkservicesV1beta1) NetworkServicesTCPRoutes

func (c *FakeNetworkservicesV1beta1) NetworkServicesTCPRoutes(namespace string) v1beta1.NetworkServicesTCPRouteInterface

func (*FakeNetworkservicesV1beta1) NetworkServicesTLSRoutes added in v1.80.0

func (c *FakeNetworkservicesV1beta1) NetworkServicesTLSRoutes(namespace string) v1beta1.NetworkServicesTLSRouteInterface

func (*FakeNetworkservicesV1beta1) RESTClient

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