Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCore
- type FakeTemplates
- func (c *FakeTemplates) Create(template *v1.Template) (result *v1.Template, err error)
- func (c *FakeTemplates) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeTemplates) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeTemplates) Get(name string) (result *v1.Template, err error)
- func (c *FakeTemplates) List(opts api.ListOptions) (result *v1.TemplateList, err error)
- func (c *FakeTemplates) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Template, err error)
- func (c *FakeTemplates) Update(template *v1.Template) (result *v1.Template, err error)
- func (c *FakeTemplates) 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.
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 *api.DeleteOptions) error
func (*FakeTemplates) DeleteCollection ¶
func (c *FakeTemplates) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeTemplates) Get ¶
func (c *FakeTemplates) Get(name string) (result *v1.Template, err error)
func (*FakeTemplates) List ¶
func (c *FakeTemplates) List(opts api.ListOptions) (result *v1.TemplateList, err error)
func (*FakeTemplates) Patch ¶
func (c *FakeTemplates) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Template, err error)
Patch applies the patch and returns the patched template.
func (*FakeTemplates) Watch ¶
func (c *FakeTemplates) Watch(opts 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.