Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeRouteV1
- type FakeRoutes
- func (c *FakeRoutes) Create(route *v1.Route) (result *v1.Route, err error)
- func (c *FakeRoutes) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeRoutes) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeRoutes) Get(name string, options meta_v1.GetOptions) (result *v1.Route, err error)
- func (c *FakeRoutes) List(opts meta_v1.ListOptions) (result *v1.RouteList, err error)
- func (c *FakeRoutes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Route, err error)
- func (c *FakeRoutes) Update(route *v1.Route) (result *v1.Route, err error)
- func (c *FakeRoutes) UpdateStatus(route *v1.Route) (*v1.Route, error)
- func (c *FakeRoutes) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRouteV1 ¶
func (*FakeRouteV1) RESTClient ¶
func (c *FakeRouteV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeRouteV1) Routes ¶
func (c *FakeRouteV1) Routes(namespace string) v1.RouteResourceInterface
type FakeRoutes ¶
type FakeRoutes struct { Fake *FakeRouteV1 // contains filtered or unexported fields }
FakeRoutes implements RouteResourceInterface
func (*FakeRoutes) Delete ¶
func (c *FakeRoutes) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeRoutes) DeleteCollection ¶
func (c *FakeRoutes) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakeRoutes) Get ¶
func (c *FakeRoutes) Get(name string, options meta_v1.GetOptions) (result *v1.Route, err error)
func (*FakeRoutes) List ¶
func (c *FakeRoutes) List(opts meta_v1.ListOptions) (result *v1.RouteList, err error)
func (*FakeRoutes) Patch ¶
func (c *FakeRoutes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Route, err error)
Patch applies the patch and returns the patched route.
func (*FakeRoutes) UpdateStatus ¶
func (*FakeRoutes) Watch ¶
func (c *FakeRoutes) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested routes.
Click to show internal directories.
Click to hide internal directories.