Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakePluginChains
- func (c *FakePluginChains) Create(ctx context.Context, pluginChain *v1alpha1.PluginChain, opts v1.CreateOptions) (result *v1alpha1.PluginChain, err error)
- func (c *FakePluginChains) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePluginChains) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePluginChains) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PluginChain, err error)
- func (c *FakePluginChains) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PluginChainList, err error)
- func (c *FakePluginChains) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PluginChain, err error)
- func (c *FakePluginChains) Update(ctx context.Context, pluginChain *v1alpha1.PluginChain, opts v1.UpdateOptions) (result *v1alpha1.PluginChain, err error)
- func (c *FakePluginChains) UpdateStatus(ctx context.Context, pluginChain *v1alpha1.PluginChain, opts v1.UpdateOptions) (*v1alpha1.PluginChain, error)
- func (c *FakePluginChains) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePluginConfigs
- func (c *FakePluginConfigs) Create(ctx context.Context, pluginConfig *v1alpha1.PluginConfig, ...) (result *v1alpha1.PluginConfig, err error)
- func (c *FakePluginConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePluginConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePluginConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PluginConfig, err error)
- func (c *FakePluginConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PluginConfigList, err error)
- func (c *FakePluginConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PluginConfig, err error)
- func (c *FakePluginConfigs) Update(ctx context.Context, pluginConfig *v1alpha1.PluginConfig, ...) (result *v1alpha1.PluginConfig, err error)
- func (c *FakePluginConfigs) UpdateStatus(ctx context.Context, pluginConfig *v1alpha1.PluginConfig, ...) (*v1alpha1.PluginConfig, error)
- func (c *FakePluginConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePluginV1alpha1
- func (c *FakePluginV1alpha1) PluginChains(namespace string) v1alpha1.PluginChainInterface
- func (c *FakePluginV1alpha1) PluginConfigs(namespace string) v1alpha1.PluginConfigInterface
- func (c *FakePluginV1alpha1) Plugins() v1alpha1.PluginInterface
- func (c *FakePluginV1alpha1) RESTClient() rest.Interface
- type FakePlugins
- func (c *FakePlugins) Create(ctx context.Context, plugin *v1alpha1.Plugin, opts v1.CreateOptions) (result *v1alpha1.Plugin, err error)
- func (c *FakePlugins) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePlugins) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePlugins) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Plugin, err error)
- func (c *FakePlugins) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PluginList, err error)
- func (c *FakePlugins) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Plugin, err error)
- func (c *FakePlugins) Update(ctx context.Context, plugin *v1alpha1.Plugin, opts v1.UpdateOptions) (result *v1alpha1.Plugin, err error)
- func (c *FakePlugins) UpdateStatus(ctx context.Context, plugin *v1alpha1.Plugin, opts v1.UpdateOptions) (*v1alpha1.Plugin, error)
- func (c *FakePlugins) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePluginChains ¶
type FakePluginChains struct { Fake *FakePluginV1alpha1 // contains filtered or unexported fields }
FakePluginChains implements PluginChainInterface
func (*FakePluginChains) Create ¶
func (c *FakePluginChains) Create(ctx context.Context, pluginChain *v1alpha1.PluginChain, opts v1.CreateOptions) (result *v1alpha1.PluginChain, err error)
Create takes the representation of a pluginChain and creates it. Returns the server's representation of the pluginChain, and an error, if there is any.
func (*FakePluginChains) Delete ¶
func (c *FakePluginChains) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pluginChain and deletes it. Returns an error if one occurs.
func (*FakePluginChains) DeleteCollection ¶
func (c *FakePluginChains) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePluginChains) Get ¶
func (c *FakePluginChains) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PluginChain, err error)
Get takes name of the pluginChain, and returns the corresponding pluginChain object, and an error if there is any.
func (*FakePluginChains) List ¶
func (c *FakePluginChains) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PluginChainList, err error)
List takes label and field selectors, and returns the list of PluginChains that match those selectors.
func (*FakePluginChains) Patch ¶
func (c *FakePluginChains) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PluginChain, err error)
Patch applies the patch and returns the patched pluginChain.
func (*FakePluginChains) Update ¶
func (c *FakePluginChains) Update(ctx context.Context, pluginChain *v1alpha1.PluginChain, opts v1.UpdateOptions) (result *v1alpha1.PluginChain, err error)
Update takes the representation of a pluginChain and updates it. Returns the server's representation of the pluginChain, and an error, if there is any.
func (*FakePluginChains) UpdateStatus ¶
func (c *FakePluginChains) UpdateStatus(ctx context.Context, pluginChain *v1alpha1.PluginChain, opts v1.UpdateOptions) (*v1alpha1.PluginChain, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePluginChains) Watch ¶
func (c *FakePluginChains) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pluginChains.
type FakePluginConfigs ¶
type FakePluginConfigs struct { Fake *FakePluginV1alpha1 // contains filtered or unexported fields }
FakePluginConfigs implements PluginConfigInterface
func (*FakePluginConfigs) Create ¶
func (c *FakePluginConfigs) Create(ctx context.Context, pluginConfig *v1alpha1.PluginConfig, opts v1.CreateOptions) (result *v1alpha1.PluginConfig, err error)
Create takes the representation of a pluginConfig and creates it. Returns the server's representation of the pluginConfig, and an error, if there is any.
func (*FakePluginConfigs) Delete ¶
func (c *FakePluginConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pluginConfig and deletes it. Returns an error if one occurs.
func (*FakePluginConfigs) DeleteCollection ¶
func (c *FakePluginConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePluginConfigs) Get ¶
func (c *FakePluginConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PluginConfig, err error)
Get takes name of the pluginConfig, and returns the corresponding pluginConfig object, and an error if there is any.
func (*FakePluginConfigs) List ¶
func (c *FakePluginConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PluginConfigList, err error)
List takes label and field selectors, and returns the list of PluginConfigs that match those selectors.
func (*FakePluginConfigs) Patch ¶
func (c *FakePluginConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PluginConfig, err error)
Patch applies the patch and returns the patched pluginConfig.
func (*FakePluginConfigs) Update ¶
func (c *FakePluginConfigs) Update(ctx context.Context, pluginConfig *v1alpha1.PluginConfig, opts v1.UpdateOptions) (result *v1alpha1.PluginConfig, err error)
Update takes the representation of a pluginConfig and updates it. Returns the server's representation of the pluginConfig, and an error, if there is any.
func (*FakePluginConfigs) UpdateStatus ¶
func (c *FakePluginConfigs) UpdateStatus(ctx context.Context, pluginConfig *v1alpha1.PluginConfig, opts v1.UpdateOptions) (*v1alpha1.PluginConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePluginConfigs) Watch ¶
func (c *FakePluginConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pluginConfigs.
type FakePluginV1alpha1 ¶
func (*FakePluginV1alpha1) PluginChains ¶
func (c *FakePluginV1alpha1) PluginChains(namespace string) v1alpha1.PluginChainInterface
func (*FakePluginV1alpha1) PluginConfigs ¶
func (c *FakePluginV1alpha1) PluginConfigs(namespace string) v1alpha1.PluginConfigInterface
func (*FakePluginV1alpha1) Plugins ¶
func (c *FakePluginV1alpha1) Plugins() v1alpha1.PluginInterface
func (*FakePluginV1alpha1) RESTClient ¶
func (c *FakePluginV1alpha1) 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 *FakePluginV1alpha1
}
FakePlugins implements PluginInterface
func (*FakePlugins) Create ¶
func (c *FakePlugins) Create(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePlugins) Get ¶
func (c *FakePlugins) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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) UpdateStatus ¶
func (c *FakePlugins) UpdateStatus(ctx context.Context, plugin *v1alpha1.Plugin, opts v1.UpdateOptions) (*v1alpha1.Plugin, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePlugins) Watch ¶
func (c *FakePlugins) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested plugins.