fake

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 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 FakeAccessControlPolicies

type FakeAccessControlPolicies struct {
	Fake *FakeGatewayV1alpha1
	// contains filtered or unexported fields
}

FakeAccessControlPolicies implements AccessControlPolicyInterface

func (*FakeAccessControlPolicies) Create

func (c *FakeAccessControlPolicies) Create(ctx context.Context, accessControlPolicy *v1alpha1.AccessControlPolicy, opts v1.CreateOptions) (result *v1alpha1.AccessControlPolicy, err error)

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

func (*FakeAccessControlPolicies) Delete

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

func (*FakeAccessControlPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAccessControlPolicies) Get

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

func (*FakeAccessControlPolicies) List

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

func (*FakeAccessControlPolicies) Patch

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

Patch applies the patch and returns the patched accessControlPolicy.

func (*FakeAccessControlPolicies) Update

func (c *FakeAccessControlPolicies) Update(ctx context.Context, accessControlPolicy *v1alpha1.AccessControlPolicy, opts v1.UpdateOptions) (result *v1alpha1.AccessControlPolicy, err error)

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

func (*FakeAccessControlPolicies) UpdateStatus

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

func (*FakeAccessControlPolicies) Watch

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

type FakeCircuitBreakingPolicies

type FakeCircuitBreakingPolicies struct {
	Fake *FakeGatewayV1alpha1
	// contains filtered or unexported fields
}

FakeCircuitBreakingPolicies implements CircuitBreakingPolicyInterface

func (*FakeCircuitBreakingPolicies) Create

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

func (*FakeCircuitBreakingPolicies) Delete

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

func (*FakeCircuitBreakingPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCircuitBreakingPolicies) Get

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

func (*FakeCircuitBreakingPolicies) List

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

func (*FakeCircuitBreakingPolicies) Patch

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

Patch applies the patch and returns the patched circuitBreakingPolicy.

func (*FakeCircuitBreakingPolicies) Update

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

func (*FakeCircuitBreakingPolicies) UpdateStatus

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

func (*FakeCircuitBreakingPolicies) Watch

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

type FakeFaultInjectionPolicies

type FakeFaultInjectionPolicies struct {
	Fake *FakeGatewayV1alpha1
	// contains filtered or unexported fields
}

FakeFaultInjectionPolicies implements FaultInjectionPolicyInterface

func (*FakeFaultInjectionPolicies) Create

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

func (*FakeFaultInjectionPolicies) Delete

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

func (*FakeFaultInjectionPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFaultInjectionPolicies) Get

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

func (*FakeFaultInjectionPolicies) List

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

func (*FakeFaultInjectionPolicies) Patch

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

Patch applies the patch and returns the patched faultInjectionPolicy.

func (*FakeFaultInjectionPolicies) Update

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

func (*FakeFaultInjectionPolicies) UpdateStatus

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

func (*FakeFaultInjectionPolicies) Watch

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

type FakeGatewayTLSPolicies

type FakeGatewayTLSPolicies struct {
	Fake *FakeGatewayV1alpha1
	// contains filtered or unexported fields
}

FakeGatewayTLSPolicies implements GatewayTLSPolicyInterface

func (*FakeGatewayTLSPolicies) Create

func (c *FakeGatewayTLSPolicies) Create(ctx context.Context, gatewayTLSPolicy *v1alpha1.GatewayTLSPolicy, opts v1.CreateOptions) (result *v1alpha1.GatewayTLSPolicy, err error)

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

func (*FakeGatewayTLSPolicies) Delete

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

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

func (*FakeGatewayTLSPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGatewayTLSPolicies) Get

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

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

func (*FakeGatewayTLSPolicies) List

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

func (*FakeGatewayTLSPolicies) Patch

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

Patch applies the patch and returns the patched gatewayTLSPolicy.

func (*FakeGatewayTLSPolicies) Update

func (c *FakeGatewayTLSPolicies) Update(ctx context.Context, gatewayTLSPolicy *v1alpha1.GatewayTLSPolicy, opts v1.UpdateOptions) (result *v1alpha1.GatewayTLSPolicy, err error)

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

func (*FakeGatewayTLSPolicies) UpdateStatus

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

func (*FakeGatewayTLSPolicies) Watch

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

type FakeGatewayV1alpha1

type FakeGatewayV1alpha1 struct {
	*testing.Fake
}

func (*FakeGatewayV1alpha1) AccessControlPolicies

func (c *FakeGatewayV1alpha1) AccessControlPolicies(namespace string) v1alpha1.AccessControlPolicyInterface

func (*FakeGatewayV1alpha1) CircuitBreakingPolicies

func (c *FakeGatewayV1alpha1) CircuitBreakingPolicies(namespace string) v1alpha1.CircuitBreakingPolicyInterface

func (*FakeGatewayV1alpha1) FaultInjectionPolicies

func (c *FakeGatewayV1alpha1) FaultInjectionPolicies(namespace string) v1alpha1.FaultInjectionPolicyInterface

func (*FakeGatewayV1alpha1) GatewayTLSPolicies

func (c *FakeGatewayV1alpha1) GatewayTLSPolicies(namespace string) v1alpha1.GatewayTLSPolicyInterface

func (*FakeGatewayV1alpha1) HealthCheckPolicies

func (c *FakeGatewayV1alpha1) HealthCheckPolicies(namespace string) v1alpha1.HealthCheckPolicyInterface

func (*FakeGatewayV1alpha1) LoadBalancerPolicies

func (c *FakeGatewayV1alpha1) LoadBalancerPolicies(namespace string) v1alpha1.LoadBalancerPolicyInterface

func (*FakeGatewayV1alpha1) RESTClient

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

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

func (*FakeGatewayV1alpha1) RateLimitPolicies

func (c *FakeGatewayV1alpha1) RateLimitPolicies(namespace string) v1alpha1.RateLimitPolicyInterface

func (*FakeGatewayV1alpha1) RetryPolicies

func (c *FakeGatewayV1alpha1) RetryPolicies(namespace string) v1alpha1.RetryPolicyInterface

func (*FakeGatewayV1alpha1) SessionStickyPolicies

func (c *FakeGatewayV1alpha1) SessionStickyPolicies(namespace string) v1alpha1.SessionStickyPolicyInterface

func (*FakeGatewayV1alpha1) UpstreamTLSPolicies

func (c *FakeGatewayV1alpha1) UpstreamTLSPolicies(namespace string) v1alpha1.UpstreamTLSPolicyInterface

type FakeHealthCheckPolicies

type FakeHealthCheckPolicies struct {
	Fake *FakeGatewayV1alpha1
	// contains filtered or unexported fields
}

FakeHealthCheckPolicies implements HealthCheckPolicyInterface

func (*FakeHealthCheckPolicies) Create

func (c *FakeHealthCheckPolicies) Create(ctx context.Context, healthCheckPolicy *v1alpha1.HealthCheckPolicy, opts v1.CreateOptions) (result *v1alpha1.HealthCheckPolicy, err error)

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

func (*FakeHealthCheckPolicies) Delete

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

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

func (*FakeHealthCheckPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHealthCheckPolicies) Get

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

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

func (*FakeHealthCheckPolicies) List

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

func (*FakeHealthCheckPolicies) Patch

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

Patch applies the patch and returns the patched healthCheckPolicy.

func (*FakeHealthCheckPolicies) Update

func (c *FakeHealthCheckPolicies) Update(ctx context.Context, healthCheckPolicy *v1alpha1.HealthCheckPolicy, opts v1.UpdateOptions) (result *v1alpha1.HealthCheckPolicy, err error)

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

func (*FakeHealthCheckPolicies) UpdateStatus

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

func (*FakeHealthCheckPolicies) Watch

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

type FakeLoadBalancerPolicies

type FakeLoadBalancerPolicies struct {
	Fake *FakeGatewayV1alpha1
	// contains filtered or unexported fields
}

FakeLoadBalancerPolicies implements LoadBalancerPolicyInterface

func (*FakeLoadBalancerPolicies) Create

func (c *FakeLoadBalancerPolicies) Create(ctx context.Context, loadBalancerPolicy *v1alpha1.LoadBalancerPolicy, opts v1.CreateOptions) (result *v1alpha1.LoadBalancerPolicy, err error)

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

func (*FakeLoadBalancerPolicies) Delete

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

func (*FakeLoadBalancerPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLoadBalancerPolicies) Get

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

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

func (*FakeLoadBalancerPolicies) List

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

func (*FakeLoadBalancerPolicies) Patch

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

Patch applies the patch and returns the patched loadBalancerPolicy.

func (*FakeLoadBalancerPolicies) Update

func (c *FakeLoadBalancerPolicies) Update(ctx context.Context, loadBalancerPolicy *v1alpha1.LoadBalancerPolicy, opts v1.UpdateOptions) (result *v1alpha1.LoadBalancerPolicy, err error)

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

func (*FakeLoadBalancerPolicies) UpdateStatus

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

func (*FakeLoadBalancerPolicies) Watch

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

type FakeRateLimitPolicies

type FakeRateLimitPolicies struct {
	Fake *FakeGatewayV1alpha1
	// contains filtered or unexported fields
}

FakeRateLimitPolicies implements RateLimitPolicyInterface

func (*FakeRateLimitPolicies) Create

func (c *FakeRateLimitPolicies) Create(ctx context.Context, rateLimitPolicy *v1alpha1.RateLimitPolicy, opts v1.CreateOptions) (result *v1alpha1.RateLimitPolicy, err error)

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

func (*FakeRateLimitPolicies) Delete

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

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

func (*FakeRateLimitPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRateLimitPolicies) Get

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

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

func (*FakeRateLimitPolicies) List

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

func (*FakeRateLimitPolicies) Patch

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

Patch applies the patch and returns the patched rateLimitPolicy.

func (*FakeRateLimitPolicies) Update

func (c *FakeRateLimitPolicies) Update(ctx context.Context, rateLimitPolicy *v1alpha1.RateLimitPolicy, opts v1.UpdateOptions) (result *v1alpha1.RateLimitPolicy, err error)

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

func (*FakeRateLimitPolicies) UpdateStatus

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

func (*FakeRateLimitPolicies) Watch

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

type FakeRetryPolicies

type FakeRetryPolicies struct {
	Fake *FakeGatewayV1alpha1
	// contains filtered or unexported fields
}

FakeRetryPolicies implements RetryPolicyInterface

func (*FakeRetryPolicies) Create

func (c *FakeRetryPolicies) Create(ctx context.Context, retryPolicy *v1alpha1.RetryPolicy, opts v1.CreateOptions) (result *v1alpha1.RetryPolicy, err error)

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

func (*FakeRetryPolicies) Delete

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

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

func (*FakeRetryPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRetryPolicies) Get

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

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

func (*FakeRetryPolicies) List

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

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

func (*FakeRetryPolicies) Patch

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

Patch applies the patch and returns the patched retryPolicy.

func (*FakeRetryPolicies) Update

func (c *FakeRetryPolicies) Update(ctx context.Context, retryPolicy *v1alpha1.RetryPolicy, opts v1.UpdateOptions) (result *v1alpha1.RetryPolicy, err error)

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

func (*FakeRetryPolicies) UpdateStatus

func (c *FakeRetryPolicies) UpdateStatus(ctx context.Context, retryPolicy *v1alpha1.RetryPolicy, opts v1.UpdateOptions) (*v1alpha1.RetryPolicy, error)

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

func (*FakeRetryPolicies) Watch

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

type FakeSessionStickyPolicies

type FakeSessionStickyPolicies struct {
	Fake *FakeGatewayV1alpha1
	// contains filtered or unexported fields
}

FakeSessionStickyPolicies implements SessionStickyPolicyInterface

func (*FakeSessionStickyPolicies) Create

func (c *FakeSessionStickyPolicies) Create(ctx context.Context, sessionStickyPolicy *v1alpha1.SessionStickyPolicy, opts v1.CreateOptions) (result *v1alpha1.SessionStickyPolicy, err error)

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

func (*FakeSessionStickyPolicies) Delete

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

func (*FakeSessionStickyPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSessionStickyPolicies) Get

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

func (*FakeSessionStickyPolicies) List

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

func (*FakeSessionStickyPolicies) Patch

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

Patch applies the patch and returns the patched sessionStickyPolicy.

func (*FakeSessionStickyPolicies) Update

func (c *FakeSessionStickyPolicies) Update(ctx context.Context, sessionStickyPolicy *v1alpha1.SessionStickyPolicy, opts v1.UpdateOptions) (result *v1alpha1.SessionStickyPolicy, err error)

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

func (*FakeSessionStickyPolicies) UpdateStatus

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

func (*FakeSessionStickyPolicies) Watch

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

type FakeUpstreamTLSPolicies

type FakeUpstreamTLSPolicies struct {
	Fake *FakeGatewayV1alpha1
	// contains filtered or unexported fields
}

FakeUpstreamTLSPolicies implements UpstreamTLSPolicyInterface

func (*FakeUpstreamTLSPolicies) Create

func (c *FakeUpstreamTLSPolicies) Create(ctx context.Context, upstreamTLSPolicy *v1alpha1.UpstreamTLSPolicy, opts v1.CreateOptions) (result *v1alpha1.UpstreamTLSPolicy, err error)

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

func (*FakeUpstreamTLSPolicies) Delete

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

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

func (*FakeUpstreamTLSPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeUpstreamTLSPolicies) Get

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

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

func (*FakeUpstreamTLSPolicies) List

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

func (*FakeUpstreamTLSPolicies) Patch

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

Patch applies the patch and returns the patched upstreamTLSPolicy.

func (*FakeUpstreamTLSPolicies) Update

func (c *FakeUpstreamTLSPolicies) Update(ctx context.Context, upstreamTLSPolicy *v1alpha1.UpstreamTLSPolicy, opts v1.UpdateOptions) (result *v1alpha1.UpstreamTLSPolicy, err error)

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

func (*FakeUpstreamTLSPolicies) UpdateStatus

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

func (*FakeUpstreamTLSPolicies) Watch

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

Jump to

Keyboard shortcuts

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