Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeProxyV1alpha1
- type FakeRateLimitConditions
- func (c *FakeRateLimitConditions) Acquire(ctx context.Context, rateLimitConditionName string, ...) (result *v1alpha1.RateLimitAcquire, err error)
- func (c *FakeRateLimitConditions) Create(ctx context.Context, rateLimitCondition *v1alpha1.RateLimitCondition, ...) (result *v1alpha1.RateLimitCondition, err error)
- func (c *FakeRateLimitConditions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRateLimitConditions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRateLimitConditions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RateLimitCondition, err error)
- func (c *FakeRateLimitConditions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RateLimitConditionList, err error)
- func (c *FakeRateLimitConditions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RateLimitCondition, err error)
- func (c *FakeRateLimitConditions) Update(ctx context.Context, rateLimitCondition *v1alpha1.RateLimitCondition, ...) (result *v1alpha1.RateLimitCondition, err error)
- func (c *FakeRateLimitConditions) UpdateStatus(ctx context.Context, rateLimitCondition *v1alpha1.RateLimitCondition, ...) (*v1alpha1.RateLimitCondition, error)
- func (c *FakeRateLimitConditions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUpstreamClusters
- func (c *FakeUpstreamClusters) Create(ctx context.Context, upstreamCluster *v1alpha1.UpstreamCluster, ...) (result *v1alpha1.UpstreamCluster, err error)
- func (c *FakeUpstreamClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUpstreamClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUpstreamClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.UpstreamCluster, err error)
- func (c *FakeUpstreamClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UpstreamClusterList, err error)
- func (c *FakeUpstreamClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.UpstreamCluster, err error)
- func (c *FakeUpstreamClusters) Update(ctx context.Context, upstreamCluster *v1alpha1.UpstreamCluster, ...) (result *v1alpha1.UpstreamCluster, err error)
- func (c *FakeUpstreamClusters) UpdateStatus(ctx context.Context, upstreamCluster *v1alpha1.UpstreamCluster, ...) (*v1alpha1.UpstreamCluster, error)
- func (c *FakeUpstreamClusters) 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 FakeProxyV1alpha1 ¶
func (*FakeProxyV1alpha1) RESTClient ¶
func (c *FakeProxyV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeProxyV1alpha1) RateLimitConditions ¶
func (c *FakeProxyV1alpha1) RateLimitConditions() v1alpha1.RateLimitConditionInterface
func (*FakeProxyV1alpha1) UpstreamClusters ¶
func (c *FakeProxyV1alpha1) UpstreamClusters() v1alpha1.UpstreamClusterInterface
type FakeRateLimitConditions ¶
type FakeRateLimitConditions struct {
Fake *FakeProxyV1alpha1
}
FakeRateLimitConditions implements RateLimitConditionInterface
func (*FakeRateLimitConditions) Acquire ¶
func (c *FakeRateLimitConditions) Acquire(ctx context.Context, rateLimitConditionName string, rateLimitAcquire *v1alpha1.RateLimitAcquire, opts v1.CreateOptions) (result *v1alpha1.RateLimitAcquire, err error)
Acquire takes the representation of a rateLimitAcquire and creates it. Returns the server's representation of the rateLimitAcquire, and an error, if there is any.
func (*FakeRateLimitConditions) Create ¶
func (c *FakeRateLimitConditions) Create(ctx context.Context, rateLimitCondition *v1alpha1.RateLimitCondition, opts v1.CreateOptions) (result *v1alpha1.RateLimitCondition, err error)
Create takes the representation of a rateLimitCondition and creates it. Returns the server's representation of the rateLimitCondition, and an error, if there is any.
func (*FakeRateLimitConditions) Delete ¶
func (c *FakeRateLimitConditions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the rateLimitCondition and deletes it. Returns an error if one occurs.
func (*FakeRateLimitConditions) DeleteCollection ¶
func (c *FakeRateLimitConditions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRateLimitConditions) Get ¶
func (c *FakeRateLimitConditions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RateLimitCondition, err error)
Get takes name of the rateLimitCondition, and returns the corresponding rateLimitCondition object, and an error if there is any.
func (*FakeRateLimitConditions) List ¶
func (c *FakeRateLimitConditions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RateLimitConditionList, err error)
List takes label and field selectors, and returns the list of RateLimitConditions that match those selectors.
func (*FakeRateLimitConditions) Patch ¶
func (c *FakeRateLimitConditions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RateLimitCondition, err error)
Patch applies the patch and returns the patched rateLimitCondition.
func (*FakeRateLimitConditions) Update ¶
func (c *FakeRateLimitConditions) Update(ctx context.Context, rateLimitCondition *v1alpha1.RateLimitCondition, opts v1.UpdateOptions) (result *v1alpha1.RateLimitCondition, err error)
Update takes the representation of a rateLimitCondition and updates it. Returns the server's representation of the rateLimitCondition, and an error, if there is any.
func (*FakeRateLimitConditions) UpdateStatus ¶
func (c *FakeRateLimitConditions) UpdateStatus(ctx context.Context, rateLimitCondition *v1alpha1.RateLimitCondition, opts v1.UpdateOptions) (*v1alpha1.RateLimitCondition, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRateLimitConditions) Watch ¶
func (c *FakeRateLimitConditions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested rateLimitConditions.
type FakeUpstreamClusters ¶
type FakeUpstreamClusters struct {
Fake *FakeProxyV1alpha1
}
FakeUpstreamClusters implements UpstreamClusterInterface
func (*FakeUpstreamClusters) Create ¶
func (c *FakeUpstreamClusters) Create(ctx context.Context, upstreamCluster *v1alpha1.UpstreamCluster, opts v1.CreateOptions) (result *v1alpha1.UpstreamCluster, err error)
Create takes the representation of a upstreamCluster and creates it. Returns the server's representation of the upstreamCluster, and an error, if there is any.
func (*FakeUpstreamClusters) Delete ¶
func (c *FakeUpstreamClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the upstreamCluster and deletes it. Returns an error if one occurs.
func (*FakeUpstreamClusters) DeleteCollection ¶
func (c *FakeUpstreamClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUpstreamClusters) Get ¶
func (c *FakeUpstreamClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.UpstreamCluster, err error)
Get takes name of the upstreamCluster, and returns the corresponding upstreamCluster object, and an error if there is any.
func (*FakeUpstreamClusters) List ¶
func (c *FakeUpstreamClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UpstreamClusterList, err error)
List takes label and field selectors, and returns the list of UpstreamClusters that match those selectors.
func (*FakeUpstreamClusters) Patch ¶
func (c *FakeUpstreamClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.UpstreamCluster, err error)
Patch applies the patch and returns the patched upstreamCluster.
func (*FakeUpstreamClusters) Update ¶
func (c *FakeUpstreamClusters) Update(ctx context.Context, upstreamCluster *v1alpha1.UpstreamCluster, opts v1.UpdateOptions) (result *v1alpha1.UpstreamCluster, err error)
Update takes the representation of a upstreamCluster and updates it. Returns the server's representation of the upstreamCluster, and an error, if there is any.
func (*FakeUpstreamClusters) UpdateStatus ¶
func (c *FakeUpstreamClusters) UpdateStatus(ctx context.Context, upstreamCluster *v1alpha1.UpstreamCluster, opts v1.UpdateOptions) (*v1alpha1.UpstreamCluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeUpstreamClusters) Watch ¶
func (c *FakeUpstreamClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested upstreamClusters.