Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCore
- type FakeServices
- func (c *FakeServices) Create(service *api.Service) (result *api.Service, err error)
- func (c *FakeServices) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeServices) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeServices) Get(name string) (result *api.Service, err error)
- func (c *FakeServices) List(opts api.ListOptions) (result *api.ServiceList, err error)
- func (c *FakeServices) Patch(name string, pt api.PatchType, data []byte) (result *api.Service, err error)
- func (c *FakeServices) Update(service *api.Service) (result *api.Service, err error)
- func (c *FakeServices) UpdateStatus(service *api.Service) (*api.Service, error)
- func (c *FakeServices) Watch(opts 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) Services ¶
func (c *FakeCore) Services(namespace string) unversioned.ServiceInterface
type FakeServices ¶
type FakeServices struct { Fake *FakeCore // contains filtered or unexported fields }
FakeServices implements ServiceInterface
func (*FakeServices) Delete ¶
func (c *FakeServices) Delete(name string, options *api.DeleteOptions) error
func (*FakeServices) DeleteCollection ¶
func (c *FakeServices) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeServices) List ¶
func (c *FakeServices) List(opts api.ListOptions) (result *api.ServiceList, err error)
func (*FakeServices) Patch ¶ added in v1.4.1
func (c *FakeServices) Patch(name string, pt api.PatchType, data []byte) (result *api.Service, err error)
Patch applies the patch and returns the patched service.
func (*FakeServices) UpdateStatus ¶
func (*FakeServices) Watch ¶
func (c *FakeServices) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested services.
Click to show internal directories.
Click to hide internal directories.