Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApis
- func (c *FakeApis) Create(api *v1alpha2.Api) (result *v1alpha2.Api, err error)
- func (c *FakeApis) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApis) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApis) Get(name string, options v1.GetOptions) (result *v1alpha2.Api, err error)
- func (c *FakeApis) List(opts v1.ListOptions) (result *v1alpha2.ApiList, err error)
- func (c *FakeApis) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Api, err error)
- func (c *FakeApis) Update(api *v1alpha2.Api) (result *v1alpha2.Api, err error)
- func (c *FakeApis) UpdateStatus(api *v1alpha2.Api) (*v1alpha2.Api, error)
- func (c *FakeApis) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeGatewayV1alpha2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApis ¶
type FakeApis struct { Fake *FakeGatewayV1alpha2 // contains filtered or unexported fields }
FakeApis implements ApiInterface
func (*FakeApis) Create ¶
Create takes the representation of a api and creates it. Returns the server's representation of the api, and an error, if there is any.
func (*FakeApis) Delete ¶
func (c *FakeApis) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the api and deletes it. Returns an error if one occurs.
func (*FakeApis) DeleteCollection ¶
func (c *FakeApis) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApis) Get ¶
Get takes name of the api, and returns the corresponding api object, and an error if there is any.
func (*FakeApis) List ¶
List takes label and field selectors, and returns the list of Apis that match those selectors.
func (*FakeApis) Patch ¶
func (c *FakeApis) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Api, err error)
Patch applies the patch and returns the patched api.
func (*FakeApis) Update ¶
Update takes the representation of a api and updates it. Returns the server's representation of the api, and an error, if there is any.
func (*FakeApis) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeGatewayV1alpha2 ¶
func (*FakeGatewayV1alpha2) Apis ¶
func (c *FakeGatewayV1alpha2) Apis(namespace string) v1alpha2.ApiInterface
func (*FakeGatewayV1alpha2) RESTClient ¶
func (c *FakeGatewayV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.