Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApisixClusterConfigs
- func (c *FakeApisixClusterConfigs) Create(ctx context.Context, apisixClusterConfig *v2.ApisixClusterConfig, ...) (result *v2.ApisixClusterConfig, err error)
- func (c *FakeApisixClusterConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApisixClusterConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApisixClusterConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ApisixClusterConfig, err error)
- func (c *FakeApisixClusterConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v2.ApisixClusterConfigList, err error)
- func (c *FakeApisixClusterConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2.ApisixClusterConfig, err error)
- func (c *FakeApisixClusterConfigs) Update(ctx context.Context, apisixClusterConfig *v2.ApisixClusterConfig, ...) (result *v2.ApisixClusterConfig, err error)
- func (c *FakeApisixClusterConfigs) UpdateStatus(ctx context.Context, apisixClusterConfig *v2.ApisixClusterConfig, ...) (*v2.ApisixClusterConfig, error)
- func (c *FakeApisixClusterConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApisixConsumers
- func (c *FakeApisixConsumers) Create(ctx context.Context, apisixConsumer *v2.ApisixConsumer, opts v1.CreateOptions) (result *v2.ApisixConsumer, err error)
- func (c *FakeApisixConsumers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApisixConsumers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApisixConsumers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ApisixConsumer, err error)
- func (c *FakeApisixConsumers) List(ctx context.Context, opts v1.ListOptions) (result *v2.ApisixConsumerList, err error)
- func (c *FakeApisixConsumers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2.ApisixConsumer, err error)
- func (c *FakeApisixConsumers) Update(ctx context.Context, apisixConsumer *v2.ApisixConsumer, opts v1.UpdateOptions) (result *v2.ApisixConsumer, err error)
- func (c *FakeApisixConsumers) UpdateStatus(ctx context.Context, apisixConsumer *v2.ApisixConsumer, opts v1.UpdateOptions) (*v2.ApisixConsumer, error)
- func (c *FakeApisixConsumers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApisixGlobalRules
- func (c *FakeApisixGlobalRules) Create(ctx context.Context, apisixGlobalRule *v2.ApisixGlobalRule, ...) (result *v2.ApisixGlobalRule, err error)
- func (c *FakeApisixGlobalRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApisixGlobalRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApisixGlobalRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ApisixGlobalRule, err error)
- func (c *FakeApisixGlobalRules) List(ctx context.Context, opts v1.ListOptions) (result *v2.ApisixGlobalRuleList, err error)
- func (c *FakeApisixGlobalRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2.ApisixGlobalRule, err error)
- func (c *FakeApisixGlobalRules) Update(ctx context.Context, apisixGlobalRule *v2.ApisixGlobalRule, ...) (result *v2.ApisixGlobalRule, err error)
- func (c *FakeApisixGlobalRules) UpdateStatus(ctx context.Context, apisixGlobalRule *v2.ApisixGlobalRule, ...) (*v2.ApisixGlobalRule, error)
- func (c *FakeApisixGlobalRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApisixPluginConfigs
- func (c *FakeApisixPluginConfigs) Create(ctx context.Context, apisixPluginConfig *v2.ApisixPluginConfig, ...) (result *v2.ApisixPluginConfig, err error)
- func (c *FakeApisixPluginConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApisixPluginConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApisixPluginConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ApisixPluginConfig, err error)
- func (c *FakeApisixPluginConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v2.ApisixPluginConfigList, err error)
- func (c *FakeApisixPluginConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2.ApisixPluginConfig, err error)
- func (c *FakeApisixPluginConfigs) Update(ctx context.Context, apisixPluginConfig *v2.ApisixPluginConfig, ...) (result *v2.ApisixPluginConfig, err error)
- func (c *FakeApisixPluginConfigs) UpdateStatus(ctx context.Context, apisixPluginConfig *v2.ApisixPluginConfig, ...) (*v2.ApisixPluginConfig, error)
- func (c *FakeApisixPluginConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApisixRoutes
- func (c *FakeApisixRoutes) Create(ctx context.Context, apisixRoute *v2.ApisixRoute, opts v1.CreateOptions) (result *v2.ApisixRoute, err error)
- func (c *FakeApisixRoutes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApisixRoutes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApisixRoutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ApisixRoute, err error)
- func (c *FakeApisixRoutes) List(ctx context.Context, opts v1.ListOptions) (result *v2.ApisixRouteList, err error)
- func (c *FakeApisixRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2.ApisixRoute, err error)
- func (c *FakeApisixRoutes) Update(ctx context.Context, apisixRoute *v2.ApisixRoute, opts v1.UpdateOptions) (result *v2.ApisixRoute, err error)
- func (c *FakeApisixRoutes) UpdateStatus(ctx context.Context, apisixRoute *v2.ApisixRoute, opts v1.UpdateOptions) (*v2.ApisixRoute, error)
- func (c *FakeApisixRoutes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApisixTlses
- func (c *FakeApisixTlses) Create(ctx context.Context, apisixTls *v2.ApisixTls, opts v1.CreateOptions) (result *v2.ApisixTls, err error)
- func (c *FakeApisixTlses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApisixTlses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApisixTlses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ApisixTls, err error)
- func (c *FakeApisixTlses) List(ctx context.Context, opts v1.ListOptions) (result *v2.ApisixTlsList, err error)
- func (c *FakeApisixTlses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2.ApisixTls, err error)
- func (c *FakeApisixTlses) Update(ctx context.Context, apisixTls *v2.ApisixTls, opts v1.UpdateOptions) (result *v2.ApisixTls, err error)
- func (c *FakeApisixTlses) UpdateStatus(ctx context.Context, apisixTls *v2.ApisixTls, opts v1.UpdateOptions) (*v2.ApisixTls, error)
- func (c *FakeApisixTlses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApisixUpstreams
- func (c *FakeApisixUpstreams) Create(ctx context.Context, apisixUpstream *v2.ApisixUpstream, opts v1.CreateOptions) (result *v2.ApisixUpstream, err error)
- func (c *FakeApisixUpstreams) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApisixUpstreams) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApisixUpstreams) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ApisixUpstream, err error)
- func (c *FakeApisixUpstreams) List(ctx context.Context, opts v1.ListOptions) (result *v2.ApisixUpstreamList, err error)
- func (c *FakeApisixUpstreams) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2.ApisixUpstream, err error)
- func (c *FakeApisixUpstreams) Update(ctx context.Context, apisixUpstream *v2.ApisixUpstream, opts v1.UpdateOptions) (result *v2.ApisixUpstream, err error)
- func (c *FakeApisixUpstreams) UpdateStatus(ctx context.Context, apisixUpstream *v2.ApisixUpstream, opts v1.UpdateOptions) (*v2.ApisixUpstream, error)
- func (c *FakeApisixUpstreams) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApisixV2
- func (c *FakeApisixV2) ApisixClusterConfigs() v2.ApisixClusterConfigInterface
- func (c *FakeApisixV2) ApisixConsumers(namespace string) v2.ApisixConsumerInterface
- func (c *FakeApisixV2) ApisixGlobalRules(namespace string) v2.ApisixGlobalRuleInterface
- func (c *FakeApisixV2) ApisixPluginConfigs(namespace string) v2.ApisixPluginConfigInterface
- func (c *FakeApisixV2) ApisixRoutes(namespace string) v2.ApisixRouteInterface
- func (c *FakeApisixV2) ApisixTlses(namespace string) v2.ApisixTlsInterface
- func (c *FakeApisixV2) ApisixUpstreams(namespace string) v2.ApisixUpstreamInterface
- func (c *FakeApisixV2) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApisixClusterConfigs ¶
type FakeApisixClusterConfigs struct {
Fake *FakeApisixV2
}
FakeApisixClusterConfigs implements ApisixClusterConfigInterface
func (*FakeApisixClusterConfigs) Create ¶
func (c *FakeApisixClusterConfigs) Create(ctx context.Context, apisixClusterConfig *v2.ApisixClusterConfig, opts v1.CreateOptions) (result *v2.ApisixClusterConfig, err error)
Create takes the representation of a apisixClusterConfig and creates it. Returns the server's representation of the apisixClusterConfig, and an error, if there is any.
func (*FakeApisixClusterConfigs) Delete ¶
func (c *FakeApisixClusterConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the apisixClusterConfig and deletes it. Returns an error if one occurs.
func (*FakeApisixClusterConfigs) DeleteCollection ¶
func (c *FakeApisixClusterConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApisixClusterConfigs) Get ¶
func (c *FakeApisixClusterConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ApisixClusterConfig, err error)
Get takes name of the apisixClusterConfig, and returns the corresponding apisixClusterConfig object, and an error if there is any.
func (*FakeApisixClusterConfigs) List ¶
func (c *FakeApisixClusterConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v2.ApisixClusterConfigList, err error)
List takes label and field selectors, and returns the list of ApisixClusterConfigs that match those selectors.
func (*FakeApisixClusterConfigs) Patch ¶
func (c *FakeApisixClusterConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.ApisixClusterConfig, err error)
Patch applies the patch and returns the patched apisixClusterConfig.
func (*FakeApisixClusterConfigs) Update ¶
func (c *FakeApisixClusterConfigs) Update(ctx context.Context, apisixClusterConfig *v2.ApisixClusterConfig, opts v1.UpdateOptions) (result *v2.ApisixClusterConfig, err error)
Update takes the representation of a apisixClusterConfig and updates it. Returns the server's representation of the apisixClusterConfig, and an error, if there is any.
func (*FakeApisixClusterConfigs) UpdateStatus ¶
func (c *FakeApisixClusterConfigs) UpdateStatus(ctx context.Context, apisixClusterConfig *v2.ApisixClusterConfig, opts v1.UpdateOptions) (*v2.ApisixClusterConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApisixClusterConfigs) Watch ¶
func (c *FakeApisixClusterConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested apisixClusterConfigs.
type FakeApisixConsumers ¶
type FakeApisixConsumers struct { Fake *FakeApisixV2 // contains filtered or unexported fields }
FakeApisixConsumers implements ApisixConsumerInterface
func (*FakeApisixConsumers) Create ¶
func (c *FakeApisixConsumers) Create(ctx context.Context, apisixConsumer *v2.ApisixConsumer, opts v1.CreateOptions) (result *v2.ApisixConsumer, err error)
Create takes the representation of a apisixConsumer and creates it. Returns the server's representation of the apisixConsumer, and an error, if there is any.
func (*FakeApisixConsumers) Delete ¶
func (c *FakeApisixConsumers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the apisixConsumer and deletes it. Returns an error if one occurs.
func (*FakeApisixConsumers) DeleteCollection ¶
func (c *FakeApisixConsumers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApisixConsumers) Get ¶
func (c *FakeApisixConsumers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ApisixConsumer, err error)
Get takes name of the apisixConsumer, and returns the corresponding apisixConsumer object, and an error if there is any.
func (*FakeApisixConsumers) List ¶
func (c *FakeApisixConsumers) List(ctx context.Context, opts v1.ListOptions) (result *v2.ApisixConsumerList, err error)
List takes label and field selectors, and returns the list of ApisixConsumers that match those selectors.
func (*FakeApisixConsumers) Patch ¶
func (c *FakeApisixConsumers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.ApisixConsumer, err error)
Patch applies the patch and returns the patched apisixConsumer.
func (*FakeApisixConsumers) Update ¶
func (c *FakeApisixConsumers) Update(ctx context.Context, apisixConsumer *v2.ApisixConsumer, opts v1.UpdateOptions) (result *v2.ApisixConsumer, err error)
Update takes the representation of a apisixConsumer and updates it. Returns the server's representation of the apisixConsumer, and an error, if there is any.
func (*FakeApisixConsumers) UpdateStatus ¶
func (c *FakeApisixConsumers) UpdateStatus(ctx context.Context, apisixConsumer *v2.ApisixConsumer, opts v1.UpdateOptions) (*v2.ApisixConsumer, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApisixConsumers) Watch ¶
func (c *FakeApisixConsumers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested apisixConsumers.
type FakeApisixGlobalRules ¶
type FakeApisixGlobalRules struct { Fake *FakeApisixV2 // contains filtered or unexported fields }
FakeApisixGlobalRules implements ApisixGlobalRuleInterface
func (*FakeApisixGlobalRules) Create ¶
func (c *FakeApisixGlobalRules) Create(ctx context.Context, apisixGlobalRule *v2.ApisixGlobalRule, opts v1.CreateOptions) (result *v2.ApisixGlobalRule, err error)
Create takes the representation of a apisixGlobalRule and creates it. Returns the server's representation of the apisixGlobalRule, and an error, if there is any.
func (*FakeApisixGlobalRules) Delete ¶
func (c *FakeApisixGlobalRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the apisixGlobalRule and deletes it. Returns an error if one occurs.
func (*FakeApisixGlobalRules) DeleteCollection ¶
func (c *FakeApisixGlobalRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApisixGlobalRules) Get ¶
func (c *FakeApisixGlobalRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ApisixGlobalRule, err error)
Get takes name of the apisixGlobalRule, and returns the corresponding apisixGlobalRule object, and an error if there is any.
func (*FakeApisixGlobalRules) List ¶
func (c *FakeApisixGlobalRules) List(ctx context.Context, opts v1.ListOptions) (result *v2.ApisixGlobalRuleList, err error)
List takes label and field selectors, and returns the list of ApisixGlobalRules that match those selectors.
func (*FakeApisixGlobalRules) Patch ¶
func (c *FakeApisixGlobalRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.ApisixGlobalRule, err error)
Patch applies the patch and returns the patched apisixGlobalRule.
func (*FakeApisixGlobalRules) Update ¶
func (c *FakeApisixGlobalRules) Update(ctx context.Context, apisixGlobalRule *v2.ApisixGlobalRule, opts v1.UpdateOptions) (result *v2.ApisixGlobalRule, err error)
Update takes the representation of a apisixGlobalRule and updates it. Returns the server's representation of the apisixGlobalRule, and an error, if there is any.
func (*FakeApisixGlobalRules) UpdateStatus ¶
func (c *FakeApisixGlobalRules) UpdateStatus(ctx context.Context, apisixGlobalRule *v2.ApisixGlobalRule, opts v1.UpdateOptions) (*v2.ApisixGlobalRule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApisixGlobalRules) Watch ¶
func (c *FakeApisixGlobalRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested apisixGlobalRules.
type FakeApisixPluginConfigs ¶
type FakeApisixPluginConfigs struct { Fake *FakeApisixV2 // contains filtered or unexported fields }
FakeApisixPluginConfigs implements ApisixPluginConfigInterface
func (*FakeApisixPluginConfigs) Create ¶
func (c *FakeApisixPluginConfigs) Create(ctx context.Context, apisixPluginConfig *v2.ApisixPluginConfig, opts v1.CreateOptions) (result *v2.ApisixPluginConfig, err error)
Create takes the representation of a apisixPluginConfig and creates it. Returns the server's representation of the apisixPluginConfig, and an error, if there is any.
func (*FakeApisixPluginConfigs) Delete ¶
func (c *FakeApisixPluginConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the apisixPluginConfig and deletes it. Returns an error if one occurs.
func (*FakeApisixPluginConfigs) DeleteCollection ¶
func (c *FakeApisixPluginConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApisixPluginConfigs) Get ¶
func (c *FakeApisixPluginConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ApisixPluginConfig, err error)
Get takes name of the apisixPluginConfig, and returns the corresponding apisixPluginConfig object, and an error if there is any.
func (*FakeApisixPluginConfigs) List ¶
func (c *FakeApisixPluginConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v2.ApisixPluginConfigList, err error)
List takes label and field selectors, and returns the list of ApisixPluginConfigs that match those selectors.
func (*FakeApisixPluginConfigs) Patch ¶
func (c *FakeApisixPluginConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.ApisixPluginConfig, err error)
Patch applies the patch and returns the patched apisixPluginConfig.
func (*FakeApisixPluginConfigs) Update ¶
func (c *FakeApisixPluginConfigs) Update(ctx context.Context, apisixPluginConfig *v2.ApisixPluginConfig, opts v1.UpdateOptions) (result *v2.ApisixPluginConfig, err error)
Update takes the representation of a apisixPluginConfig and updates it. Returns the server's representation of the apisixPluginConfig, and an error, if there is any.
func (*FakeApisixPluginConfigs) UpdateStatus ¶
func (c *FakeApisixPluginConfigs) UpdateStatus(ctx context.Context, apisixPluginConfig *v2.ApisixPluginConfig, opts v1.UpdateOptions) (*v2.ApisixPluginConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApisixPluginConfigs) Watch ¶
func (c *FakeApisixPluginConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested apisixPluginConfigs.
type FakeApisixRoutes ¶
type FakeApisixRoutes struct { Fake *FakeApisixV2 // contains filtered or unexported fields }
FakeApisixRoutes implements ApisixRouteInterface
func (*FakeApisixRoutes) Create ¶
func (c *FakeApisixRoutes) Create(ctx context.Context, apisixRoute *v2.ApisixRoute, opts v1.CreateOptions) (result *v2.ApisixRoute, err error)
Create takes the representation of a apisixRoute and creates it. Returns the server's representation of the apisixRoute, and an error, if there is any.
func (*FakeApisixRoutes) Delete ¶
func (c *FakeApisixRoutes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the apisixRoute and deletes it. Returns an error if one occurs.
func (*FakeApisixRoutes) DeleteCollection ¶
func (c *FakeApisixRoutes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApisixRoutes) Get ¶
func (c *FakeApisixRoutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ApisixRoute, err error)
Get takes name of the apisixRoute, and returns the corresponding apisixRoute object, and an error if there is any.
func (*FakeApisixRoutes) List ¶
func (c *FakeApisixRoutes) List(ctx context.Context, opts v1.ListOptions) (result *v2.ApisixRouteList, err error)
List takes label and field selectors, and returns the list of ApisixRoutes that match those selectors.
func (*FakeApisixRoutes) Patch ¶
func (c *FakeApisixRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.ApisixRoute, err error)
Patch applies the patch and returns the patched apisixRoute.
func (*FakeApisixRoutes) Update ¶
func (c *FakeApisixRoutes) Update(ctx context.Context, apisixRoute *v2.ApisixRoute, opts v1.UpdateOptions) (result *v2.ApisixRoute, err error)
Update takes the representation of a apisixRoute and updates it. Returns the server's representation of the apisixRoute, and an error, if there is any.
func (*FakeApisixRoutes) UpdateStatus ¶
func (c *FakeApisixRoutes) UpdateStatus(ctx context.Context, apisixRoute *v2.ApisixRoute, opts v1.UpdateOptions) (*v2.ApisixRoute, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApisixRoutes) Watch ¶
func (c *FakeApisixRoutes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested apisixRoutes.
type FakeApisixTlses ¶
type FakeApisixTlses struct { Fake *FakeApisixV2 // contains filtered or unexported fields }
FakeApisixTlses implements ApisixTlsInterface
func (*FakeApisixTlses) Create ¶
func (c *FakeApisixTlses) Create(ctx context.Context, apisixTls *v2.ApisixTls, opts v1.CreateOptions) (result *v2.ApisixTls, err error)
Create takes the representation of a apisixTls and creates it. Returns the server's representation of the apisixTls, and an error, if there is any.
func (*FakeApisixTlses) Delete ¶
func (c *FakeApisixTlses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the apisixTls and deletes it. Returns an error if one occurs.
func (*FakeApisixTlses) DeleteCollection ¶
func (c *FakeApisixTlses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApisixTlses) Get ¶
func (c *FakeApisixTlses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ApisixTls, err error)
Get takes name of the apisixTls, and returns the corresponding apisixTls object, and an error if there is any.
func (*FakeApisixTlses) List ¶
func (c *FakeApisixTlses) List(ctx context.Context, opts v1.ListOptions) (result *v2.ApisixTlsList, err error)
List takes label and field selectors, and returns the list of ApisixTlses that match those selectors.
func (*FakeApisixTlses) Patch ¶
func (c *FakeApisixTlses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.ApisixTls, err error)
Patch applies the patch and returns the patched apisixTls.
func (*FakeApisixTlses) Update ¶
func (c *FakeApisixTlses) Update(ctx context.Context, apisixTls *v2.ApisixTls, opts v1.UpdateOptions) (result *v2.ApisixTls, err error)
Update takes the representation of a apisixTls and updates it. Returns the server's representation of the apisixTls, and an error, if there is any.
func (*FakeApisixTlses) UpdateStatus ¶
func (c *FakeApisixTlses) UpdateStatus(ctx context.Context, apisixTls *v2.ApisixTls, opts v1.UpdateOptions) (*v2.ApisixTls, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApisixTlses) Watch ¶
func (c *FakeApisixTlses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested apisixTlses.
type FakeApisixUpstreams ¶
type FakeApisixUpstreams struct { Fake *FakeApisixV2 // contains filtered or unexported fields }
FakeApisixUpstreams implements ApisixUpstreamInterface
func (*FakeApisixUpstreams) Create ¶
func (c *FakeApisixUpstreams) Create(ctx context.Context, apisixUpstream *v2.ApisixUpstream, opts v1.CreateOptions) (result *v2.ApisixUpstream, err error)
Create takes the representation of a apisixUpstream and creates it. Returns the server's representation of the apisixUpstream, and an error, if there is any.
func (*FakeApisixUpstreams) Delete ¶
func (c *FakeApisixUpstreams) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the apisixUpstream and deletes it. Returns an error if one occurs.
func (*FakeApisixUpstreams) DeleteCollection ¶
func (c *FakeApisixUpstreams) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApisixUpstreams) Get ¶
func (c *FakeApisixUpstreams) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ApisixUpstream, err error)
Get takes name of the apisixUpstream, and returns the corresponding apisixUpstream object, and an error if there is any.
func (*FakeApisixUpstreams) List ¶
func (c *FakeApisixUpstreams) List(ctx context.Context, opts v1.ListOptions) (result *v2.ApisixUpstreamList, err error)
List takes label and field selectors, and returns the list of ApisixUpstreams that match those selectors.
func (*FakeApisixUpstreams) Patch ¶
func (c *FakeApisixUpstreams) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.ApisixUpstream, err error)
Patch applies the patch and returns the patched apisixUpstream.
func (*FakeApisixUpstreams) Update ¶
func (c *FakeApisixUpstreams) Update(ctx context.Context, apisixUpstream *v2.ApisixUpstream, opts v1.UpdateOptions) (result *v2.ApisixUpstream, err error)
Update takes the representation of a apisixUpstream and updates it. Returns the server's representation of the apisixUpstream, and an error, if there is any.
func (*FakeApisixUpstreams) UpdateStatus ¶
func (c *FakeApisixUpstreams) UpdateStatus(ctx context.Context, apisixUpstream *v2.ApisixUpstream, opts v1.UpdateOptions) (*v2.ApisixUpstream, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApisixUpstreams) Watch ¶
func (c *FakeApisixUpstreams) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested apisixUpstreams.
type FakeApisixV2 ¶
func (*FakeApisixV2) ApisixClusterConfigs ¶
func (c *FakeApisixV2) ApisixClusterConfigs() v2.ApisixClusterConfigInterface
func (*FakeApisixV2) ApisixConsumers ¶
func (c *FakeApisixV2) ApisixConsumers(namespace string) v2.ApisixConsumerInterface
func (*FakeApisixV2) ApisixGlobalRules ¶
func (c *FakeApisixV2) ApisixGlobalRules(namespace string) v2.ApisixGlobalRuleInterface
func (*FakeApisixV2) ApisixPluginConfigs ¶
func (c *FakeApisixV2) ApisixPluginConfigs(namespace string) v2.ApisixPluginConfigInterface
func (*FakeApisixV2) ApisixRoutes ¶
func (c *FakeApisixV2) ApisixRoutes(namespace string) v2.ApisixRouteInterface
func (*FakeApisixV2) ApisixTlses ¶
func (c *FakeApisixV2) ApisixTlses(namespace string) v2.ApisixTlsInterface
func (*FakeApisixV2) ApisixUpstreams ¶
func (c *FakeApisixV2) ApisixUpstreams(namespace string) v2.ApisixUpstreamInterface
func (*FakeApisixV2) RESTClient ¶
func (c *FakeApisixV2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.