Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCore
- type FakeTemplates
- func (c *FakeTemplates) Create(template *api.Template) (result *api.Template, err error)
- func (c *FakeTemplates) Delete(name string, options *pkg_api.DeleteOptions) error
- func (c *FakeTemplates) DeleteCollection(options *pkg_api.DeleteOptions, listOptions pkg_api.ListOptions) error
- func (c *FakeTemplates) Get(name string) (result *api.Template, err error)
- func (c *FakeTemplates) List(opts pkg_api.ListOptions) (result *api.TemplateList, err error)
- func (c *FakeTemplates) Update(template *api.Template) (result *api.Template, err error)
- func (c *FakeTemplates) 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) Templates ¶
func (c *FakeCore) Templates(namespace string) unversioned.TemplateInterface
type FakeTemplates ¶
type FakeTemplates struct { Fake *FakeCore // contains filtered or unexported fields }
FakeTemplates implements TemplateInterface
func (*FakeTemplates) Delete ¶
func (c *FakeTemplates) Delete(name string, options *pkg_api.DeleteOptions) error
func (*FakeTemplates) DeleteCollection ¶
func (c *FakeTemplates) DeleteCollection(options *pkg_api.DeleteOptions, listOptions pkg_api.ListOptions) error
func (*FakeTemplates) Get ¶
func (c *FakeTemplates) Get(name string) (result *api.Template, err error)
func (*FakeTemplates) List ¶
func (c *FakeTemplates) List(opts pkg_api.ListOptions) (result *api.TemplateList, err error)
func (*FakeTemplates) Watch ¶
func (c *FakeTemplates) Watch(opts pkg_api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested templates.
Click to show internal directories.
Click to hide internal directories.