Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfigurationV1
- func (c *FakeConfigurationV1) KongClusterPlugins(namespace string) v1.KongClusterPluginInterface
- func (c *FakeConfigurationV1) KongConsumers(namespace string) v1.KongConsumerInterface
- func (c *FakeConfigurationV1) KongIngresses(namespace string) v1.KongIngressInterface
- func (c *FakeConfigurationV1) KongPlugins(namespace string) v1.KongPluginInterface
- func (c *FakeConfigurationV1) RESTClient() rest.Interface
- type FakeKongClusterPlugins
- func (c *FakeKongClusterPlugins) Create(ctx context.Context, kongClusterPlugin *configurationv1.KongClusterPlugin, ...) (result *configurationv1.KongClusterPlugin, err error)
- func (c *FakeKongClusterPlugins) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKongClusterPlugins) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKongClusterPlugins) Get(ctx context.Context, name string, options v1.GetOptions) (result *configurationv1.KongClusterPlugin, err error)
- func (c *FakeKongClusterPlugins) List(ctx context.Context, opts v1.ListOptions) (result *configurationv1.KongClusterPluginList, err error)
- func (c *FakeKongClusterPlugins) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *configurationv1.KongClusterPlugin, err error)
- func (c *FakeKongClusterPlugins) Update(ctx context.Context, kongClusterPlugin *configurationv1.KongClusterPlugin, ...) (result *configurationv1.KongClusterPlugin, err error)
- func (c *FakeKongClusterPlugins) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKongConsumers
- func (c *FakeKongConsumers) Create(ctx context.Context, kongConsumer *configurationv1.KongConsumer, ...) (result *configurationv1.KongConsumer, err error)
- func (c *FakeKongConsumers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKongConsumers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKongConsumers) Get(ctx context.Context, name string, options v1.GetOptions) (result *configurationv1.KongConsumer, err error)
- func (c *FakeKongConsumers) List(ctx context.Context, opts v1.ListOptions) (result *configurationv1.KongConsumerList, err error)
- func (c *FakeKongConsumers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *configurationv1.KongConsumer, err error)
- func (c *FakeKongConsumers) Update(ctx context.Context, kongConsumer *configurationv1.KongConsumer, ...) (result *configurationv1.KongConsumer, err error)
- func (c *FakeKongConsumers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKongIngresses
- func (c *FakeKongIngresses) Create(ctx context.Context, kongIngress *configurationv1.KongIngress, ...) (result *configurationv1.KongIngress, err error)
- func (c *FakeKongIngresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKongIngresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKongIngresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *configurationv1.KongIngress, err error)
- func (c *FakeKongIngresses) List(ctx context.Context, opts v1.ListOptions) (result *configurationv1.KongIngressList, err error)
- func (c *FakeKongIngresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *configurationv1.KongIngress, err error)
- func (c *FakeKongIngresses) Update(ctx context.Context, kongIngress *configurationv1.KongIngress, ...) (result *configurationv1.KongIngress, err error)
- func (c *FakeKongIngresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKongPlugins
- func (c *FakeKongPlugins) Create(ctx context.Context, kongPlugin *configurationv1.KongPlugin, ...) (result *configurationv1.KongPlugin, err error)
- func (c *FakeKongPlugins) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKongPlugins) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKongPlugins) Get(ctx context.Context, name string, options v1.GetOptions) (result *configurationv1.KongPlugin, err error)
- func (c *FakeKongPlugins) List(ctx context.Context, opts v1.ListOptions) (result *configurationv1.KongPluginList, err error)
- func (c *FakeKongPlugins) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *configurationv1.KongPlugin, err error)
- func (c *FakeKongPlugins) Update(ctx context.Context, kongPlugin *configurationv1.KongPlugin, ...) (result *configurationv1.KongPlugin, err error)
- func (c *FakeKongPlugins) 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 FakeConfigurationV1 ¶
func (*FakeConfigurationV1) KongClusterPlugins ¶
func (c *FakeConfigurationV1) KongClusterPlugins(namespace string) v1.KongClusterPluginInterface
func (*FakeConfigurationV1) KongConsumers ¶
func (c *FakeConfigurationV1) KongConsumers(namespace string) v1.KongConsumerInterface
func (*FakeConfigurationV1) KongIngresses ¶
func (c *FakeConfigurationV1) KongIngresses(namespace string) v1.KongIngressInterface
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 FakeKongClusterPlugins ¶
type FakeKongClusterPlugins struct { Fake *FakeConfigurationV1 // contains filtered or unexported fields }
FakeKongClusterPlugins implements KongClusterPluginInterface
func (*FakeKongClusterPlugins) Create ¶
func (c *FakeKongClusterPlugins) Create(ctx context.Context, kongClusterPlugin *configurationv1.KongClusterPlugin, opts v1.CreateOptions) (result *configurationv1.KongClusterPlugin, err error)
Create takes the representation of a kongClusterPlugin and creates it. Returns the server's representation of the kongClusterPlugin, and an error, if there is any.
func (*FakeKongClusterPlugins) Delete ¶
func (c *FakeKongClusterPlugins) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kongClusterPlugin and deletes it. Returns an error if one occurs.
func (*FakeKongClusterPlugins) DeleteCollection ¶
func (c *FakeKongClusterPlugins) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKongClusterPlugins) Get ¶
func (c *FakeKongClusterPlugins) Get(ctx context.Context, name string, options v1.GetOptions) (result *configurationv1.KongClusterPlugin, err error)
Get takes name of the kongClusterPlugin, and returns the corresponding kongClusterPlugin object, and an error if there is any.
func (*FakeKongClusterPlugins) List ¶
func (c *FakeKongClusterPlugins) List(ctx context.Context, opts v1.ListOptions) (result *configurationv1.KongClusterPluginList, err error)
List takes label and field selectors, and returns the list of KongClusterPlugins that match those selectors.
func (*FakeKongClusterPlugins) Patch ¶
func (c *FakeKongClusterPlugins) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configurationv1.KongClusterPlugin, err error)
Patch applies the patch and returns the patched kongClusterPlugin.
func (*FakeKongClusterPlugins) Update ¶
func (c *FakeKongClusterPlugins) Update(ctx context.Context, kongClusterPlugin *configurationv1.KongClusterPlugin, opts v1.UpdateOptions) (result *configurationv1.KongClusterPlugin, err error)
Update takes the representation of a kongClusterPlugin and updates it. Returns the server's representation of the kongClusterPlugin, and an error, if there is any.
func (*FakeKongClusterPlugins) Watch ¶
func (c *FakeKongClusterPlugins) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kongClusterPlugins.
type FakeKongConsumers ¶
type FakeKongConsumers struct { Fake *FakeConfigurationV1 // contains filtered or unexported fields }
FakeKongConsumers implements KongConsumerInterface
func (*FakeKongConsumers) Create ¶
func (c *FakeKongConsumers) Create(ctx context.Context, kongConsumer *configurationv1.KongConsumer, opts v1.CreateOptions) (result *configurationv1.KongConsumer, err error)
Create takes the representation of a kongConsumer and creates it. Returns the server's representation of the kongConsumer, and an error, if there is any.
func (*FakeKongConsumers) Delete ¶
func (c *FakeKongConsumers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kongConsumer and deletes it. Returns an error if one occurs.
func (*FakeKongConsumers) DeleteCollection ¶
func (c *FakeKongConsumers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKongConsumers) Get ¶
func (c *FakeKongConsumers) Get(ctx context.Context, name string, options v1.GetOptions) (result *configurationv1.KongConsumer, err error)
Get takes name of the kongConsumer, and returns the corresponding kongConsumer object, and an error if there is any.
func (*FakeKongConsumers) List ¶
func (c *FakeKongConsumers) List(ctx context.Context, opts v1.ListOptions) (result *configurationv1.KongConsumerList, err error)
List takes label and field selectors, and returns the list of KongConsumers that match those selectors.
func (*FakeKongConsumers) Patch ¶
func (c *FakeKongConsumers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configurationv1.KongConsumer, err error)
Patch applies the patch and returns the patched kongConsumer.
func (*FakeKongConsumers) Update ¶
func (c *FakeKongConsumers) Update(ctx context.Context, kongConsumer *configurationv1.KongConsumer, opts v1.UpdateOptions) (result *configurationv1.KongConsumer, err error)
Update takes the representation of a kongConsumer and updates it. Returns the server's representation of the kongConsumer, and an error, if there is any.
func (*FakeKongConsumers) Watch ¶
func (c *FakeKongConsumers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kongConsumers.
type FakeKongIngresses ¶
type FakeKongIngresses struct { Fake *FakeConfigurationV1 // contains filtered or unexported fields }
FakeKongIngresses implements KongIngressInterface
func (*FakeKongIngresses) Create ¶
func (c *FakeKongIngresses) Create(ctx context.Context, kongIngress *configurationv1.KongIngress, opts v1.CreateOptions) (result *configurationv1.KongIngress, err error)
Create takes the representation of a kongIngress and creates it. Returns the server's representation of the kongIngress, and an error, if there is any.
func (*FakeKongIngresses) Delete ¶
func (c *FakeKongIngresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kongIngress and deletes it. Returns an error if one occurs.
func (*FakeKongIngresses) DeleteCollection ¶
func (c *FakeKongIngresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKongIngresses) Get ¶
func (c *FakeKongIngresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *configurationv1.KongIngress, err error)
Get takes name of the kongIngress, and returns the corresponding kongIngress object, and an error if there is any.
func (*FakeKongIngresses) List ¶
func (c *FakeKongIngresses) List(ctx context.Context, opts v1.ListOptions) (result *configurationv1.KongIngressList, err error)
List takes label and field selectors, and returns the list of KongIngresses that match those selectors.
func (*FakeKongIngresses) Patch ¶
func (c *FakeKongIngresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configurationv1.KongIngress, err error)
Patch applies the patch and returns the patched kongIngress.
func (*FakeKongIngresses) Update ¶
func (c *FakeKongIngresses) Update(ctx context.Context, kongIngress *configurationv1.KongIngress, opts v1.UpdateOptions) (result *configurationv1.KongIngress, err error)
Update takes the representation of a kongIngress and updates it. Returns the server's representation of the kongIngress, and an error, if there is any.
func (*FakeKongIngresses) Watch ¶
func (c *FakeKongIngresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kongIngresses.
type FakeKongPlugins ¶
type FakeKongPlugins struct { Fake *FakeConfigurationV1 // contains filtered or unexported fields }
FakeKongPlugins implements KongPluginInterface
func (*FakeKongPlugins) Create ¶
func (c *FakeKongPlugins) Create(ctx context.Context, kongPlugin *configurationv1.KongPlugin, opts v1.CreateOptions) (result *configurationv1.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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKongPlugins) Get ¶
func (c *FakeKongPlugins) Get(ctx context.Context, name string, options v1.GetOptions) (result *configurationv1.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(ctx context.Context, opts v1.ListOptions) (result *configurationv1.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configurationv1.KongPlugin, err error)
Patch applies the patch and returns the patched kongPlugin.
func (*FakeKongPlugins) Update ¶
func (c *FakeKongPlugins) Update(ctx context.Context, kongPlugin *configurationv1.KongPlugin, opts v1.UpdateOptions) (result *configurationv1.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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kongPlugins.