Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeHTTPRouteGroups
- func (c *FakeHTTPRouteGroups) Create(ctx context.Context, hTTPRouteGroup *v1alpha1.HTTPRouteGroup, ...) (result *v1alpha1.HTTPRouteGroup, err error)
- func (c *FakeHTTPRouteGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeHTTPRouteGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeHTTPRouteGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HTTPRouteGroup, err error)
- func (c *FakeHTTPRouteGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HTTPRouteGroupList, err error)
- func (c *FakeHTTPRouteGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.HTTPRouteGroup, err error)
- func (c *FakeHTTPRouteGroups) Update(ctx context.Context, hTTPRouteGroup *v1alpha1.HTTPRouteGroup, ...) (result *v1alpha1.HTTPRouteGroup, err error)
- func (c *FakeHTTPRouteGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSpecsV1alpha1
- type FakeTCPRoutes
- func (c *FakeTCPRoutes) Create(ctx context.Context, tCPRoute *v1alpha1.TCPRoute, opts v1.CreateOptions) (result *v1alpha1.TCPRoute, err error)
- func (c *FakeTCPRoutes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTCPRoutes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTCPRoutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TCPRoute, err error)
- func (c *FakeTCPRoutes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TCPRouteList, err error)
- func (c *FakeTCPRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TCPRoute, err error)
- func (c *FakeTCPRoutes) Update(ctx context.Context, tCPRoute *v1alpha1.TCPRoute, opts v1.UpdateOptions) (result *v1alpha1.TCPRoute, err error)
- func (c *FakeTCPRoutes) 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 FakeHTTPRouteGroups ¶
type FakeHTTPRouteGroups struct { Fake *FakeSpecsV1alpha1 // contains filtered or unexported fields }
FakeHTTPRouteGroups implements HTTPRouteGroupInterface
func (*FakeHTTPRouteGroups) Create ¶
func (c *FakeHTTPRouteGroups) Create(ctx context.Context, hTTPRouteGroup *v1alpha1.HTTPRouteGroup, opts v1.CreateOptions) (result *v1alpha1.HTTPRouteGroup, err error)
Create takes the representation of a hTTPRouteGroup and creates it. Returns the server's representation of the hTTPRouteGroup, and an error, if there is any.
func (*FakeHTTPRouteGroups) Delete ¶
func (c *FakeHTTPRouteGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the hTTPRouteGroup and deletes it. Returns an error if one occurs.
func (*FakeHTTPRouteGroups) DeleteCollection ¶
func (c *FakeHTTPRouteGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHTTPRouteGroups) Get ¶
func (c *FakeHTTPRouteGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HTTPRouteGroup, err error)
Get takes name of the hTTPRouteGroup, and returns the corresponding hTTPRouteGroup object, and an error if there is any.
func (*FakeHTTPRouteGroups) List ¶
func (c *FakeHTTPRouteGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HTTPRouteGroupList, err error)
List takes label and field selectors, and returns the list of HTTPRouteGroups that match those selectors.
func (*FakeHTTPRouteGroups) Patch ¶
func (c *FakeHTTPRouteGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.HTTPRouteGroup, err error)
Patch applies the patch and returns the patched hTTPRouteGroup.
func (*FakeHTTPRouteGroups) Update ¶
func (c *FakeHTTPRouteGroups) Update(ctx context.Context, hTTPRouteGroup *v1alpha1.HTTPRouteGroup, opts v1.UpdateOptions) (result *v1alpha1.HTTPRouteGroup, err error)
Update takes the representation of a hTTPRouteGroup and updates it. Returns the server's representation of the hTTPRouteGroup, and an error, if there is any.
func (*FakeHTTPRouteGroups) Watch ¶
func (c *FakeHTTPRouteGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested hTTPRouteGroups.
type FakeSpecsV1alpha1 ¶
func (*FakeSpecsV1alpha1) HTTPRouteGroups ¶
func (c *FakeSpecsV1alpha1) HTTPRouteGroups(namespace string) v1alpha1.HTTPRouteGroupInterface
func (*FakeSpecsV1alpha1) RESTClient ¶
func (c *FakeSpecsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSpecsV1alpha1) TCPRoutes ¶
func (c *FakeSpecsV1alpha1) TCPRoutes(namespace string) v1alpha1.TCPRouteInterface
type FakeTCPRoutes ¶
type FakeTCPRoutes struct { Fake *FakeSpecsV1alpha1 // contains filtered or unexported fields }
FakeTCPRoutes implements TCPRouteInterface
func (*FakeTCPRoutes) Create ¶
func (c *FakeTCPRoutes) Create(ctx context.Context, tCPRoute *v1alpha1.TCPRoute, opts v1.CreateOptions) (result *v1alpha1.TCPRoute, err error)
Create takes the representation of a tCPRoute and creates it. Returns the server's representation of the tCPRoute, and an error, if there is any.
func (*FakeTCPRoutes) Delete ¶
func (c *FakeTCPRoutes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the tCPRoute and deletes it. Returns an error if one occurs.
func (*FakeTCPRoutes) DeleteCollection ¶
func (c *FakeTCPRoutes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTCPRoutes) Get ¶
func (c *FakeTCPRoutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TCPRoute, err error)
Get takes name of the tCPRoute, and returns the corresponding tCPRoute object, and an error if there is any.
func (*FakeTCPRoutes) List ¶
func (c *FakeTCPRoutes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TCPRouteList, err error)
List takes label and field selectors, and returns the list of TCPRoutes that match those selectors.
func (*FakeTCPRoutes) Patch ¶
func (c *FakeTCPRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TCPRoute, err error)
Patch applies the patch and returns the patched tCPRoute.
func (*FakeTCPRoutes) Update ¶
func (c *FakeTCPRoutes) Update(ctx context.Context, tCPRoute *v1alpha1.TCPRoute, opts v1.UpdateOptions) (result *v1alpha1.TCPRoute, err error)
Update takes the representation of a tCPRoute and updates it. Returns the server's representation of the tCPRoute, and an error, if there is any.
func (*FakeTCPRoutes) Watch ¶
func (c *FakeTCPRoutes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tCPRoutes.