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