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