Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAccessControlPolicies
- func (c *FakeAccessControlPolicies) Create(ctx context.Context, accessControlPolicy *v1alpha1.AccessControlPolicy, ...) (result *v1alpha1.AccessControlPolicy, err error)
- func (c *FakeAccessControlPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAccessControlPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAccessControlPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AccessControlPolicy, err error)
- func (c *FakeAccessControlPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccessControlPolicyList, err error)
- func (c *FakeAccessControlPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AccessControlPolicy, err error)
- func (c *FakeAccessControlPolicies) Update(ctx context.Context, accessControlPolicy *v1alpha1.AccessControlPolicy, ...) (result *v1alpha1.AccessControlPolicy, err error)
- func (c *FakeAccessControlPolicies) UpdateStatus(ctx context.Context, accessControlPolicy *v1alpha1.AccessControlPolicy, ...) (*v1alpha1.AccessControlPolicy, error)
- func (c *FakeAccessControlPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCircuitBreakingPolicies
- func (c *FakeCircuitBreakingPolicies) Create(ctx context.Context, circuitBreakingPolicy *v1alpha1.CircuitBreakingPolicy, ...) (result *v1alpha1.CircuitBreakingPolicy, err error)
- func (c *FakeCircuitBreakingPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCircuitBreakingPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCircuitBreakingPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CircuitBreakingPolicy, err error)
- func (c *FakeCircuitBreakingPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CircuitBreakingPolicyList, err error)
- func (c *FakeCircuitBreakingPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CircuitBreakingPolicy, err error)
- func (c *FakeCircuitBreakingPolicies) Update(ctx context.Context, circuitBreakingPolicy *v1alpha1.CircuitBreakingPolicy, ...) (result *v1alpha1.CircuitBreakingPolicy, err error)
- func (c *FakeCircuitBreakingPolicies) UpdateStatus(ctx context.Context, circuitBreakingPolicy *v1alpha1.CircuitBreakingPolicy, ...) (*v1alpha1.CircuitBreakingPolicy, error)
- func (c *FakeCircuitBreakingPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFaultInjectionPolicies
- func (c *FakeFaultInjectionPolicies) Create(ctx context.Context, faultInjectionPolicy *v1alpha1.FaultInjectionPolicy, ...) (result *v1alpha1.FaultInjectionPolicy, err error)
- func (c *FakeFaultInjectionPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFaultInjectionPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFaultInjectionPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FaultInjectionPolicy, err error)
- func (c *FakeFaultInjectionPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FaultInjectionPolicyList, err error)
- func (c *FakeFaultInjectionPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.FaultInjectionPolicy, err error)
- func (c *FakeFaultInjectionPolicies) Update(ctx context.Context, faultInjectionPolicy *v1alpha1.FaultInjectionPolicy, ...) (result *v1alpha1.FaultInjectionPolicy, err error)
- func (c *FakeFaultInjectionPolicies) UpdateStatus(ctx context.Context, faultInjectionPolicy *v1alpha1.FaultInjectionPolicy, ...) (*v1alpha1.FaultInjectionPolicy, error)
- func (c *FakeFaultInjectionPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGatewayTLSPolicies
- func (c *FakeGatewayTLSPolicies) Create(ctx context.Context, gatewayTLSPolicy *v1alpha1.GatewayTLSPolicy, ...) (result *v1alpha1.GatewayTLSPolicy, err error)
- func (c *FakeGatewayTLSPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGatewayTLSPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGatewayTLSPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GatewayTLSPolicy, err error)
- func (c *FakeGatewayTLSPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GatewayTLSPolicyList, err error)
- func (c *FakeGatewayTLSPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.GatewayTLSPolicy, err error)
- func (c *FakeGatewayTLSPolicies) Update(ctx context.Context, gatewayTLSPolicy *v1alpha1.GatewayTLSPolicy, ...) (result *v1alpha1.GatewayTLSPolicy, err error)
- func (c *FakeGatewayTLSPolicies) UpdateStatus(ctx context.Context, gatewayTLSPolicy *v1alpha1.GatewayTLSPolicy, ...) (*v1alpha1.GatewayTLSPolicy, error)
- func (c *FakeGatewayTLSPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGatewayV1alpha1
- func (c *FakeGatewayV1alpha1) AccessControlPolicies(namespace string) v1alpha1.AccessControlPolicyInterface
- func (c *FakeGatewayV1alpha1) CircuitBreakingPolicies(namespace string) v1alpha1.CircuitBreakingPolicyInterface
- func (c *FakeGatewayV1alpha1) FaultInjectionPolicies(namespace string) v1alpha1.FaultInjectionPolicyInterface
- func (c *FakeGatewayV1alpha1) GatewayTLSPolicies(namespace string) v1alpha1.GatewayTLSPolicyInterface
- func (c *FakeGatewayV1alpha1) HealthCheckPolicies(namespace string) v1alpha1.HealthCheckPolicyInterface
- func (c *FakeGatewayV1alpha1) LoadBalancerPolicies(namespace string) v1alpha1.LoadBalancerPolicyInterface
- func (c *FakeGatewayV1alpha1) RESTClient() rest.Interface
- func (c *FakeGatewayV1alpha1) RateLimitPolicies(namespace string) v1alpha1.RateLimitPolicyInterface
- func (c *FakeGatewayV1alpha1) RetryPolicies(namespace string) v1alpha1.RetryPolicyInterface
- func (c *FakeGatewayV1alpha1) SessionStickyPolicies(namespace string) v1alpha1.SessionStickyPolicyInterface
- func (c *FakeGatewayV1alpha1) UpstreamTLSPolicies(namespace string) v1alpha1.UpstreamTLSPolicyInterface
- type FakeHealthCheckPolicies
- func (c *FakeHealthCheckPolicies) Create(ctx context.Context, healthCheckPolicy *v1alpha1.HealthCheckPolicy, ...) (result *v1alpha1.HealthCheckPolicy, err error)
- func (c *FakeHealthCheckPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeHealthCheckPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeHealthCheckPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HealthCheckPolicy, err error)
- func (c *FakeHealthCheckPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HealthCheckPolicyList, err error)
- func (c *FakeHealthCheckPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.HealthCheckPolicy, err error)
- func (c *FakeHealthCheckPolicies) Update(ctx context.Context, healthCheckPolicy *v1alpha1.HealthCheckPolicy, ...) (result *v1alpha1.HealthCheckPolicy, err error)
- func (c *FakeHealthCheckPolicies) UpdateStatus(ctx context.Context, healthCheckPolicy *v1alpha1.HealthCheckPolicy, ...) (*v1alpha1.HealthCheckPolicy, error)
- func (c *FakeHealthCheckPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLoadBalancerPolicies
- func (c *FakeLoadBalancerPolicies) Create(ctx context.Context, loadBalancerPolicy *v1alpha1.LoadBalancerPolicy, ...) (result *v1alpha1.LoadBalancerPolicy, err error)
- func (c *FakeLoadBalancerPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLoadBalancerPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLoadBalancerPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LoadBalancerPolicy, err error)
- func (c *FakeLoadBalancerPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LoadBalancerPolicyList, err error)
- func (c *FakeLoadBalancerPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.LoadBalancerPolicy, err error)
- func (c *FakeLoadBalancerPolicies) Update(ctx context.Context, loadBalancerPolicy *v1alpha1.LoadBalancerPolicy, ...) (result *v1alpha1.LoadBalancerPolicy, err error)
- func (c *FakeLoadBalancerPolicies) UpdateStatus(ctx context.Context, loadBalancerPolicy *v1alpha1.LoadBalancerPolicy, ...) (*v1alpha1.LoadBalancerPolicy, error)
- func (c *FakeLoadBalancerPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRateLimitPolicies
- func (c *FakeRateLimitPolicies) Create(ctx context.Context, rateLimitPolicy *v1alpha1.RateLimitPolicy, ...) (result *v1alpha1.RateLimitPolicy, err error)
- func (c *FakeRateLimitPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRateLimitPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRateLimitPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RateLimitPolicy, err error)
- func (c *FakeRateLimitPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RateLimitPolicyList, err error)
- func (c *FakeRateLimitPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RateLimitPolicy, err error)
- func (c *FakeRateLimitPolicies) Update(ctx context.Context, rateLimitPolicy *v1alpha1.RateLimitPolicy, ...) (result *v1alpha1.RateLimitPolicy, err error)
- func (c *FakeRateLimitPolicies) UpdateStatus(ctx context.Context, rateLimitPolicy *v1alpha1.RateLimitPolicy, ...) (*v1alpha1.RateLimitPolicy, error)
- func (c *FakeRateLimitPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRetryPolicies
- func (c *FakeRetryPolicies) Create(ctx context.Context, retryPolicy *v1alpha1.RetryPolicy, opts v1.CreateOptions) (result *v1alpha1.RetryPolicy, err error)
- func (c *FakeRetryPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRetryPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRetryPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RetryPolicy, err error)
- func (c *FakeRetryPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RetryPolicyList, err error)
- func (c *FakeRetryPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RetryPolicy, err error)
- func (c *FakeRetryPolicies) Update(ctx context.Context, retryPolicy *v1alpha1.RetryPolicy, opts v1.UpdateOptions) (result *v1alpha1.RetryPolicy, err error)
- func (c *FakeRetryPolicies) UpdateStatus(ctx context.Context, retryPolicy *v1alpha1.RetryPolicy, opts v1.UpdateOptions) (*v1alpha1.RetryPolicy, error)
- func (c *FakeRetryPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSessionStickyPolicies
- func (c *FakeSessionStickyPolicies) Create(ctx context.Context, sessionStickyPolicy *v1alpha1.SessionStickyPolicy, ...) (result *v1alpha1.SessionStickyPolicy, err error)
- func (c *FakeSessionStickyPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSessionStickyPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSessionStickyPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SessionStickyPolicy, err error)
- func (c *FakeSessionStickyPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SessionStickyPolicyList, err error)
- func (c *FakeSessionStickyPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SessionStickyPolicy, err error)
- func (c *FakeSessionStickyPolicies) Update(ctx context.Context, sessionStickyPolicy *v1alpha1.SessionStickyPolicy, ...) (result *v1alpha1.SessionStickyPolicy, err error)
- func (c *FakeSessionStickyPolicies) UpdateStatus(ctx context.Context, sessionStickyPolicy *v1alpha1.SessionStickyPolicy, ...) (*v1alpha1.SessionStickyPolicy, error)
- func (c *FakeSessionStickyPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUpstreamTLSPolicies
- func (c *FakeUpstreamTLSPolicies) Create(ctx context.Context, upstreamTLSPolicy *v1alpha1.UpstreamTLSPolicy, ...) (result *v1alpha1.UpstreamTLSPolicy, err error)
- func (c *FakeUpstreamTLSPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUpstreamTLSPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUpstreamTLSPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.UpstreamTLSPolicy, err error)
- func (c *FakeUpstreamTLSPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UpstreamTLSPolicyList, err error)
- func (c *FakeUpstreamTLSPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.UpstreamTLSPolicy, err error)
- func (c *FakeUpstreamTLSPolicies) Update(ctx context.Context, upstreamTLSPolicy *v1alpha1.UpstreamTLSPolicy, ...) (result *v1alpha1.UpstreamTLSPolicy, err error)
- func (c *FakeUpstreamTLSPolicies) UpdateStatus(ctx context.Context, upstreamTLSPolicy *v1alpha1.UpstreamTLSPolicy, ...) (*v1alpha1.UpstreamTLSPolicy, error)
- func (c *FakeUpstreamTLSPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeAccessControlPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeAccessControlPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AccessControlPolicy, err error)
Get takes name of the accessControlPolicy, and returns the corresponding accessControlPolicy object, and an error if there is any.
func (*FakeAccessControlPolicies) List ¶
func (c *FakeAccessControlPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccessControlPolicyList, err error)
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 ¶
func (c *FakeAccessControlPolicies) UpdateStatus(ctx context.Context, accessControlPolicy *v1alpha1.AccessControlPolicy, opts v1.UpdateOptions) (*v1alpha1.AccessControlPolicy, error)
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 ¶
func (c *FakeAccessControlPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeCircuitBreakingPolicies) Create(ctx context.Context, circuitBreakingPolicy *v1alpha1.CircuitBreakingPolicy, opts v1.CreateOptions) (result *v1alpha1.CircuitBreakingPolicy, err error)
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 ¶
func (c *FakeCircuitBreakingPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeCircuitBreakingPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CircuitBreakingPolicy, err error)
Get takes name of the circuitBreakingPolicy, and returns the corresponding circuitBreakingPolicy object, and an error if there is any.
func (*FakeCircuitBreakingPolicies) List ¶
func (c *FakeCircuitBreakingPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CircuitBreakingPolicyList, err error)
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 ¶
func (c *FakeCircuitBreakingPolicies) Update(ctx context.Context, circuitBreakingPolicy *v1alpha1.CircuitBreakingPolicy, opts v1.UpdateOptions) (result *v1alpha1.CircuitBreakingPolicy, err error)
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 ¶
func (c *FakeCircuitBreakingPolicies) UpdateStatus(ctx context.Context, circuitBreakingPolicy *v1alpha1.CircuitBreakingPolicy, opts v1.UpdateOptions) (*v1alpha1.CircuitBreakingPolicy, error)
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 ¶
func (c *FakeCircuitBreakingPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeFaultInjectionPolicies) Create(ctx context.Context, faultInjectionPolicy *v1alpha1.FaultInjectionPolicy, opts v1.CreateOptions) (result *v1alpha1.FaultInjectionPolicy, err error)
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 ¶
func (c *FakeFaultInjectionPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeFaultInjectionPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FaultInjectionPolicy, err error)
Get takes name of the faultInjectionPolicy, and returns the corresponding faultInjectionPolicy object, and an error if there is any.
func (*FakeFaultInjectionPolicies) List ¶
func (c *FakeFaultInjectionPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FaultInjectionPolicyList, err error)
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 ¶
func (c *FakeFaultInjectionPolicies) Update(ctx context.Context, faultInjectionPolicy *v1alpha1.FaultInjectionPolicy, opts v1.UpdateOptions) (result *v1alpha1.FaultInjectionPolicy, err error)
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 ¶
func (c *FakeFaultInjectionPolicies) UpdateStatus(ctx context.Context, faultInjectionPolicy *v1alpha1.FaultInjectionPolicy, opts v1.UpdateOptions) (*v1alpha1.FaultInjectionPolicy, error)
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 ¶
func (c *FakeFaultInjectionPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeGatewayTLSPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GatewayTLSPolicyList, err error)
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 ¶
func (c *FakeGatewayTLSPolicies) UpdateStatus(ctx context.Context, gatewayTLSPolicy *v1alpha1.GatewayTLSPolicy, opts v1.UpdateOptions) (*v1alpha1.GatewayTLSPolicy, error)
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 ¶
func (c *FakeGatewayTLSPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gatewayTLSPolicies.
type FakeGatewayV1alpha1 ¶
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 ¶
func (c *FakeHealthCheckPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HealthCheckPolicyList, err error)
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 ¶
func (c *FakeHealthCheckPolicies) UpdateStatus(ctx context.Context, healthCheckPolicy *v1alpha1.HealthCheckPolicy, opts v1.UpdateOptions) (*v1alpha1.HealthCheckPolicy, error)
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 ¶
func (c *FakeHealthCheckPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeLoadBalancerPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeLoadBalancerPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LoadBalancerPolicyList, err error)
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 ¶
func (c *FakeLoadBalancerPolicies) UpdateStatus(ctx context.Context, loadBalancerPolicy *v1alpha1.LoadBalancerPolicy, opts v1.UpdateOptions) (*v1alpha1.LoadBalancerPolicy, error)
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 ¶
func (c *FakeLoadBalancerPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeRateLimitPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RateLimitPolicyList, err error)
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 ¶
func (c *FakeRateLimitPolicies) UpdateStatus(ctx context.Context, rateLimitPolicy *v1alpha1.RateLimitPolicy, opts v1.UpdateOptions) (*v1alpha1.RateLimitPolicy, error)
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 ¶
func (c *FakeRateLimitPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeRetryPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeSessionStickyPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeSessionStickyPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SessionStickyPolicy, err error)
Get takes name of the sessionStickyPolicy, and returns the corresponding sessionStickyPolicy object, and an error if there is any.
func (*FakeSessionStickyPolicies) List ¶
func (c *FakeSessionStickyPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SessionStickyPolicyList, err error)
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 ¶
func (c *FakeSessionStickyPolicies) UpdateStatus(ctx context.Context, sessionStickyPolicy *v1alpha1.SessionStickyPolicy, opts v1.UpdateOptions) (*v1alpha1.SessionStickyPolicy, error)
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 ¶
func (c *FakeSessionStickyPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeUpstreamTLSPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UpstreamTLSPolicyList, err error)
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 ¶
func (c *FakeUpstreamTLSPolicies) UpdateStatus(ctx context.Context, upstreamTLSPolicy *v1alpha1.UpstreamTLSPolicy, opts v1.UpdateOptions) (*v1alpha1.UpstreamTLSPolicy, error)
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 ¶
func (c *FakeUpstreamTLSPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested upstreamTLSPolicies.
Source Files ¶
- doc.go
- fake_accesscontrolpolicy.go
- fake_circuitbreakingpolicy.go
- fake_faultinjectionpolicy.go
- fake_gatewaytlspolicy.go
- fake_healthcheckpolicy.go
- fake_loadbalancerpolicy.go
- fake_policyattachment_client.go
- fake_ratelimitpolicy.go
- fake_retrypolicy.go
- fake_sessionstickypolicy.go
- fake_upstreamtlspolicy.go