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