Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDashboardV1alpha1
- type FakePlugins
- func (c *FakePlugins) Create(plugin *v1alpha1.Plugin, opts v1.CreateOptions) (result *v1alpha1.Plugin, err error)
- func (c *FakePlugins) Delete(name string, opts v1.DeleteOptions) error
- func (c *FakePlugins) DeleteCollection(opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePlugins) Get(name string, options v1.GetOptions) (result *v1alpha1.Plugin, err error)
- func (c *FakePlugins) List(opts v1.ListOptions) (result *v1alpha1.PluginList, err error)
- func (c *FakePlugins) Patch(name string, pt types.PatchType, data []byte, opts v1.PatchOptions, ...) (result *v1alpha1.Plugin, err error)
- func (c *FakePlugins) Update(plugin *v1alpha1.Plugin, opts v1.UpdateOptions) (result *v1alpha1.Plugin, err error)
- func (c *FakePlugins) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDashboardV1alpha1 ¶
func (*FakeDashboardV1alpha1) Plugins ¶
func (c *FakeDashboardV1alpha1) Plugins(namespace string) v1alpha1.PluginInterface
func (*FakeDashboardV1alpha1) RESTClient ¶
func (c *FakeDashboardV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePlugins ¶
type FakePlugins struct { Fake *FakeDashboardV1alpha1 // contains filtered or unexported fields }
FakePlugins implements PluginInterface
func (*FakePlugins) Create ¶
func (c *FakePlugins) Create(plugin *v1alpha1.Plugin, opts v1.CreateOptions) (result *v1alpha1.Plugin, err error)
Create takes the representation of a plugin and creates it. Returns the server's representation of the plugin, and an error, if there is any.
func (*FakePlugins) Delete ¶
func (c *FakePlugins) Delete(name string, opts v1.DeleteOptions) error
Delete takes name of the plugin and deletes it. Returns an error if one occurs.
func (*FakePlugins) DeleteCollection ¶
func (c *FakePlugins) DeleteCollection(opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePlugins) Get ¶
func (c *FakePlugins) Get(name string, options v1.GetOptions) (result *v1alpha1.Plugin, err error)
Get takes name of the plugin, and returns the corresponding plugin object, and an error if there is any.
func (*FakePlugins) List ¶
func (c *FakePlugins) List(opts v1.ListOptions) (result *v1alpha1.PluginList, err error)
List takes label and field selectors, and returns the list of Plugins that match those selectors.
func (*FakePlugins) Patch ¶
func (c *FakePlugins) Patch(name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Plugin, err error)
Patch applies the patch and returns the patched plugin.
func (*FakePlugins) Update ¶
func (c *FakePlugins) Update(plugin *v1alpha1.Plugin, opts v1.UpdateOptions) (result *v1alpha1.Plugin, err error)
Update takes the representation of a plugin and updates it. Returns the server's representation of the plugin, and an error, if there is any.
func (*FakePlugins) Watch ¶
func (c *FakePlugins) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested plugins.