Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApisixRoutes
- func (c *FakeApisixRoutes) Create(apisixRoute *configv1.ApisixRoute) (result *configv1.ApisixRoute, err error)
- func (c *FakeApisixRoutes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApisixRoutes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApisixRoutes) Get(name string, options v1.GetOptions) (result *configv1.ApisixRoute, err error)
- func (c *FakeApisixRoutes) List(opts v1.ListOptions) (result *configv1.ApisixRouteList, err error)
- func (c *FakeApisixRoutes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *configv1.ApisixRoute, err error)
- func (c *FakeApisixRoutes) Update(apisixRoute *configv1.ApisixRoute) (result *configv1.ApisixRoute, err error)
- func (c *FakeApisixRoutes) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeApisixServices
- func (c *FakeApisixServices) Create(apisixService *configv1.ApisixService) (result *configv1.ApisixService, err error)
- func (c *FakeApisixServices) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApisixServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApisixServices) Get(name string, options v1.GetOptions) (result *configv1.ApisixService, err error)
- func (c *FakeApisixServices) List(opts v1.ListOptions) (result *configv1.ApisixServiceList, err error)
- func (c *FakeApisixServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *configv1.ApisixService, err error)
- func (c *FakeApisixServices) Update(apisixService *configv1.ApisixService) (result *configv1.ApisixService, err error)
- func (c *FakeApisixServices) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeApisixTlses
- func (c *FakeApisixTlses) Create(apisixTls *configv1.ApisixTls) (result *configv1.ApisixTls, err error)
- func (c *FakeApisixTlses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApisixTlses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApisixTlses) Get(name string, options v1.GetOptions) (result *configv1.ApisixTls, err error)
- func (c *FakeApisixTlses) List(opts v1.ListOptions) (result *configv1.ApisixTlsList, err error)
- func (c *FakeApisixTlses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *configv1.ApisixTls, err error)
- func (c *FakeApisixTlses) Update(apisixTls *configv1.ApisixTls) (result *configv1.ApisixTls, err error)
- func (c *FakeApisixTlses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeApisixUpstreams
- func (c *FakeApisixUpstreams) Create(apisixUpstream *configv1.ApisixUpstream) (result *configv1.ApisixUpstream, err error)
- func (c *FakeApisixUpstreams) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApisixUpstreams) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApisixUpstreams) Get(name string, options v1.GetOptions) (result *configv1.ApisixUpstream, err error)
- func (c *FakeApisixUpstreams) List(opts v1.ListOptions) (result *configv1.ApisixUpstreamList, err error)
- func (c *FakeApisixUpstreams) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *configv1.ApisixUpstream, err error)
- func (c *FakeApisixUpstreams) Update(apisixUpstream *configv1.ApisixUpstream) (result *configv1.ApisixUpstream, err error)
- func (c *FakeApisixUpstreams) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeApisixV1
- func (c *FakeApisixV1) ApisixRoutes(namespace string) v1.ApisixRouteInterface
- func (c *FakeApisixV1) ApisixServices(namespace string) v1.ApisixServiceInterface
- func (c *FakeApisixV1) ApisixTlses(namespace string) v1.ApisixTlsInterface
- func (c *FakeApisixV1) ApisixUpstreams(namespace string) v1.ApisixUpstreamInterface
- func (c *FakeApisixV1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApisixRoutes ¶
type FakeApisixRoutes struct { Fake *FakeApisixV1 // contains filtered or unexported fields }
FakeApisixRoutes implements ApisixRouteInterface
func (*FakeApisixRoutes) Create ¶
func (c *FakeApisixRoutes) Create(apisixRoute *configv1.ApisixRoute) (result *configv1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApisixRoutes) Get ¶
func (c *FakeApisixRoutes) Get(name string, options v1.GetOptions) (result *configv1.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(opts v1.ListOptions) (result *configv1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *configv1.ApisixRoute, err error)
Patch applies the patch and returns the patched apisixRoute.
func (*FakeApisixRoutes) Update ¶
func (c *FakeApisixRoutes) Update(apisixRoute *configv1.ApisixRoute) (result *configv1.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) Watch ¶
func (c *FakeApisixRoutes) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested apisixRoutes.
type FakeApisixServices ¶
type FakeApisixServices struct { Fake *FakeApisixV1 // contains filtered or unexported fields }
FakeApisixServices implements ApisixServiceInterface
func (*FakeApisixServices) Create ¶
func (c *FakeApisixServices) Create(apisixService *configv1.ApisixService) (result *configv1.ApisixService, err error)
Create takes the representation of a apisixService and creates it. Returns the server's representation of the apisixService, and an error, if there is any.
func (*FakeApisixServices) Delete ¶
func (c *FakeApisixServices) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the apisixService and deletes it. Returns an error if one occurs.
func (*FakeApisixServices) DeleteCollection ¶
func (c *FakeApisixServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApisixServices) Get ¶
func (c *FakeApisixServices) Get(name string, options v1.GetOptions) (result *configv1.ApisixService, err error)
Get takes name of the apisixService, and returns the corresponding apisixService object, and an error if there is any.
func (*FakeApisixServices) List ¶
func (c *FakeApisixServices) List(opts v1.ListOptions) (result *configv1.ApisixServiceList, err error)
List takes label and field selectors, and returns the list of ApisixServices that match those selectors.
func (*FakeApisixServices) Patch ¶
func (c *FakeApisixServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *configv1.ApisixService, err error)
Patch applies the patch and returns the patched apisixService.
func (*FakeApisixServices) Update ¶
func (c *FakeApisixServices) Update(apisixService *configv1.ApisixService) (result *configv1.ApisixService, err error)
Update takes the representation of a apisixService and updates it. Returns the server's representation of the apisixService, and an error, if there is any.
func (*FakeApisixServices) Watch ¶
func (c *FakeApisixServices) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested apisixServices.
type FakeApisixTlses ¶
type FakeApisixTlses struct { Fake *FakeApisixV1 // contains filtered or unexported fields }
FakeApisixTlses implements ApisixTlsInterface
func (*FakeApisixTlses) Create ¶
func (c *FakeApisixTlses) Create(apisixTls *configv1.ApisixTls) (result *configv1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApisixTlses) Get ¶
func (c *FakeApisixTlses) Get(name string, options v1.GetOptions) (result *configv1.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(opts v1.ListOptions) (result *configv1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *configv1.ApisixTls, err error)
Patch applies the patch and returns the patched apisixTls.
func (*FakeApisixTlses) Update ¶
func (c *FakeApisixTlses) Update(apisixTls *configv1.ApisixTls) (result *configv1.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) Watch ¶
func (c *FakeApisixTlses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested apisixTlses.
type FakeApisixUpstreams ¶
type FakeApisixUpstreams struct { Fake *FakeApisixV1 // contains filtered or unexported fields }
FakeApisixUpstreams implements ApisixUpstreamInterface
func (*FakeApisixUpstreams) Create ¶
func (c *FakeApisixUpstreams) Create(apisixUpstream *configv1.ApisixUpstream) (result *configv1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApisixUpstreams) Get ¶
func (c *FakeApisixUpstreams) Get(name string, options v1.GetOptions) (result *configv1.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(opts v1.ListOptions) (result *configv1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *configv1.ApisixUpstream, err error)
Patch applies the patch and returns the patched apisixUpstream.
func (*FakeApisixUpstreams) Update ¶
func (c *FakeApisixUpstreams) Update(apisixUpstream *configv1.ApisixUpstream) (result *configv1.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) Watch ¶
func (c *FakeApisixUpstreams) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested apisixUpstreams.
type FakeApisixV1 ¶
func (*FakeApisixV1) ApisixRoutes ¶
func (c *FakeApisixV1) ApisixRoutes(namespace string) v1.ApisixRouteInterface
func (*FakeApisixV1) ApisixServices ¶
func (c *FakeApisixV1) ApisixServices(namespace string) v1.ApisixServiceInterface
func (*FakeApisixV1) ApisixTlses ¶
func (c *FakeApisixV1) ApisixTlses(namespace string) v1.ApisixTlsInterface
func (*FakeApisixV1) ApisixUpstreams ¶
func (c *FakeApisixV1) ApisixUpstreams(namespace string) v1.ApisixUpstreamInterface
func (*FakeApisixV1) RESTClient ¶
func (c *FakeApisixV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.