Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApisixRoutes
- func (c *FakeApisixRoutes) Create(ctx context.Context, apisixRoute *configv1.ApisixRoute, opts v1.CreateOptions) (result *configv1.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 *configv1.ApisixRoute, err error)
- func (c *FakeApisixRoutes) List(ctx context.Context, opts v1.ListOptions) (result *configv1.ApisixRouteList, err error)
- func (c *FakeApisixRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *configv1.ApisixRoute, err error)
- func (c *FakeApisixRoutes) Update(ctx context.Context, apisixRoute *configv1.ApisixRoute, opts v1.UpdateOptions) (result *configv1.ApisixRoute, err error)
- func (c *FakeApisixRoutes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApisixTlses
- func (c *FakeApisixTlses) Create(ctx context.Context, apisixTls *configv1.ApisixTls, opts v1.CreateOptions) (result *configv1.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 *configv1.ApisixTls, err error)
- func (c *FakeApisixTlses) List(ctx context.Context, opts v1.ListOptions) (result *configv1.ApisixTlsList, err error)
- func (c *FakeApisixTlses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *configv1.ApisixTls, err error)
- func (c *FakeApisixTlses) Update(ctx context.Context, apisixTls *configv1.ApisixTls, opts v1.UpdateOptions) (result *configv1.ApisixTls, err error)
- func (c *FakeApisixTlses) UpdateStatus(ctx context.Context, apisixTls *configv1.ApisixTls, opts v1.UpdateOptions) (*configv1.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 *configv1.ApisixUpstream, ...) (result *configv1.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 *configv1.ApisixUpstream, err error)
- func (c *FakeApisixUpstreams) List(ctx context.Context, opts v1.ListOptions) (result *configv1.ApisixUpstreamList, err error)
- func (c *FakeApisixUpstreams) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *configv1.ApisixUpstream, err error)
- func (c *FakeApisixUpstreams) Update(ctx context.Context, apisixUpstream *configv1.ApisixUpstream, ...) (result *configv1.ApisixUpstream, err error)
- func (c *FakeApisixUpstreams) UpdateStatus(ctx context.Context, apisixUpstream *configv1.ApisixUpstream, ...) (*configv1.ApisixUpstream, error)
- func (c *FakeApisixUpstreams) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApisixV1
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(ctx context.Context, apisixRoute *configv1.ApisixRoute, opts v1.CreateOptions) (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(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 *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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configv1.ApisixRoute, err error)
Patch applies the patch and returns the patched apisixRoute.
func (*FakeApisixRoutes) Update ¶
func (c *FakeApisixRoutes) Update(ctx context.Context, apisixRoute *configv1.ApisixRoute, opts v1.UpdateOptions) (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(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 *FakeApisixV1 // contains filtered or unexported fields }
FakeApisixTlses implements ApisixTlsInterface
func (*FakeApisixTlses) Create ¶
func (c *FakeApisixTlses) Create(ctx context.Context, apisixTls *configv1.ApisixTls, opts v1.CreateOptions) (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(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 *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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configv1.ApisixTls, err error)
Patch applies the patch and returns the patched apisixTls.
func (*FakeApisixTlses) Update ¶
func (c *FakeApisixTlses) Update(ctx context.Context, apisixTls *configv1.ApisixTls, opts v1.UpdateOptions) (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) UpdateStatus ¶ added in v1.0.0
func (c *FakeApisixTlses) UpdateStatus(ctx context.Context, apisixTls *configv1.ApisixTls, opts v1.UpdateOptions) (*configv1.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 *FakeApisixV1 // contains filtered or unexported fields }
FakeApisixUpstreams implements ApisixUpstreamInterface
func (*FakeApisixUpstreams) Create ¶
func (c *FakeApisixUpstreams) Create(ctx context.Context, apisixUpstream *configv1.ApisixUpstream, opts v1.CreateOptions) (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(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 *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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configv1.ApisixUpstream, err error)
Patch applies the patch and returns the patched apisixUpstream.
func (*FakeApisixUpstreams) Update ¶
func (c *FakeApisixUpstreams) Update(ctx context.Context, apisixUpstream *configv1.ApisixUpstream, opts v1.UpdateOptions) (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) UpdateStatus ¶ added in v1.0.0
func (c *FakeApisixUpstreams) UpdateStatus(ctx context.Context, apisixUpstream *configv1.ApisixUpstream, opts v1.UpdateOptions) (*configv1.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 FakeApisixV1 ¶
func (*FakeApisixV1) ApisixRoutes ¶
func (c *FakeApisixV1) ApisixRoutes(namespace string) v1.ApisixRouteInterface
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.