Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfigurationV1beta1
- func (c *FakeConfigurationV1beta1) KongConsumerGroups(namespace string) v1beta1.KongConsumerGroupInterface
- func (c *FakeConfigurationV1beta1) KongUpstreamPolicies(namespace string) v1beta1.KongUpstreamPolicyInterface
- func (c *FakeConfigurationV1beta1) RESTClient() rest.Interface
- func (c *FakeConfigurationV1beta1) TCPIngresses(namespace string) v1beta1.TCPIngressInterface
- func (c *FakeConfigurationV1beta1) UDPIngresses(namespace string) v1beta1.UDPIngressInterface
- type FakeKongConsumerGroups
- func (c *FakeKongConsumerGroups) Create(ctx context.Context, kongConsumerGroup *v1beta1.KongConsumerGroup, ...) (result *v1beta1.KongConsumerGroup, err error)
- func (c *FakeKongConsumerGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKongConsumerGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKongConsumerGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.KongConsumerGroup, err error)
- func (c *FakeKongConsumerGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KongConsumerGroupList, err error)
- func (c *FakeKongConsumerGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.KongConsumerGroup, err error)
- func (c *FakeKongConsumerGroups) Update(ctx context.Context, kongConsumerGroup *v1beta1.KongConsumerGroup, ...) (result *v1beta1.KongConsumerGroup, err error)
- func (c *FakeKongConsumerGroups) UpdateStatus(ctx context.Context, kongConsumerGroup *v1beta1.KongConsumerGroup, ...) (*v1beta1.KongConsumerGroup, error)
- func (c *FakeKongConsumerGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKongUpstreamPolicies
- func (c *FakeKongUpstreamPolicies) Create(ctx context.Context, kongUpstreamPolicy *v1beta1.KongUpstreamPolicy, ...) (result *v1beta1.KongUpstreamPolicy, err error)
- func (c *FakeKongUpstreamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKongUpstreamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKongUpstreamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.KongUpstreamPolicy, err error)
- func (c *FakeKongUpstreamPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KongUpstreamPolicyList, err error)
- func (c *FakeKongUpstreamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.KongUpstreamPolicy, err error)
- func (c *FakeKongUpstreamPolicies) Update(ctx context.Context, kongUpstreamPolicy *v1beta1.KongUpstreamPolicy, ...) (result *v1beta1.KongUpstreamPolicy, err error)
- func (c *FakeKongUpstreamPolicies) UpdateStatus(ctx context.Context, kongUpstreamPolicy *v1beta1.KongUpstreamPolicy, ...) (*v1beta1.KongUpstreamPolicy, error)
- func (c *FakeKongUpstreamPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTCPIngresses
- func (c *FakeTCPIngresses) Create(ctx context.Context, tCPIngress *v1beta1.TCPIngress, opts v1.CreateOptions) (result *v1beta1.TCPIngress, err error)
- func (c *FakeTCPIngresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTCPIngresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTCPIngresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.TCPIngress, err error)
- func (c *FakeTCPIngresses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.TCPIngressList, err error)
- func (c *FakeTCPIngresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.TCPIngress, err error)
- func (c *FakeTCPIngresses) Update(ctx context.Context, tCPIngress *v1beta1.TCPIngress, opts v1.UpdateOptions) (result *v1beta1.TCPIngress, err error)
- func (c *FakeTCPIngresses) UpdateStatus(ctx context.Context, tCPIngress *v1beta1.TCPIngress, opts v1.UpdateOptions) (*v1beta1.TCPIngress, error)
- func (c *FakeTCPIngresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUDPIngresses
- func (c *FakeUDPIngresses) Create(ctx context.Context, uDPIngress *v1beta1.UDPIngress, opts v1.CreateOptions) (result *v1beta1.UDPIngress, err error)
- func (c *FakeUDPIngresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUDPIngresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUDPIngresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.UDPIngress, err error)
- func (c *FakeUDPIngresses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.UDPIngressList, err error)
- func (c *FakeUDPIngresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.UDPIngress, err error)
- func (c *FakeUDPIngresses) Update(ctx context.Context, uDPIngress *v1beta1.UDPIngress, opts v1.UpdateOptions) (result *v1beta1.UDPIngress, err error)
- func (c *FakeUDPIngresses) UpdateStatus(ctx context.Context, uDPIngress *v1beta1.UDPIngress, opts v1.UpdateOptions) (*v1beta1.UDPIngress, error)
- func (c *FakeUDPIngresses) 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 FakeConfigurationV1beta1 ¶
func (*FakeConfigurationV1beta1) KongConsumerGroups ¶
func (c *FakeConfigurationV1beta1) KongConsumerGroups(namespace string) v1beta1.KongConsumerGroupInterface
func (*FakeConfigurationV1beta1) KongUpstreamPolicies ¶
func (c *FakeConfigurationV1beta1) KongUpstreamPolicies(namespace string) v1beta1.KongUpstreamPolicyInterface
func (*FakeConfigurationV1beta1) RESTClient ¶
func (c *FakeConfigurationV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeConfigurationV1beta1) TCPIngresses ¶
func (c *FakeConfigurationV1beta1) TCPIngresses(namespace string) v1beta1.TCPIngressInterface
func (*FakeConfigurationV1beta1) UDPIngresses ¶
func (c *FakeConfigurationV1beta1) UDPIngresses(namespace string) v1beta1.UDPIngressInterface
type FakeKongConsumerGroups ¶
type FakeKongConsumerGroups struct { Fake *FakeConfigurationV1beta1 // contains filtered or unexported fields }
FakeKongConsumerGroups implements KongConsumerGroupInterface
func (*FakeKongConsumerGroups) Create ¶
func (c *FakeKongConsumerGroups) Create(ctx context.Context, kongConsumerGroup *v1beta1.KongConsumerGroup, opts v1.CreateOptions) (result *v1beta1.KongConsumerGroup, err error)
Create takes the representation of a kongConsumerGroup and creates it. Returns the server's representation of the kongConsumerGroup, and an error, if there is any.
func (*FakeKongConsumerGroups) Delete ¶
func (c *FakeKongConsumerGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kongConsumerGroup and deletes it. Returns an error if one occurs.
func (*FakeKongConsumerGroups) DeleteCollection ¶
func (c *FakeKongConsumerGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKongConsumerGroups) Get ¶
func (c *FakeKongConsumerGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.KongConsumerGroup, err error)
Get takes name of the kongConsumerGroup, and returns the corresponding kongConsumerGroup object, and an error if there is any.
func (*FakeKongConsumerGroups) List ¶
func (c *FakeKongConsumerGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KongConsumerGroupList, err error)
List takes label and field selectors, and returns the list of KongConsumerGroups that match those selectors.
func (*FakeKongConsumerGroups) Patch ¶
func (c *FakeKongConsumerGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.KongConsumerGroup, err error)
Patch applies the patch and returns the patched kongConsumerGroup.
func (*FakeKongConsumerGroups) Update ¶
func (c *FakeKongConsumerGroups) Update(ctx context.Context, kongConsumerGroup *v1beta1.KongConsumerGroup, opts v1.UpdateOptions) (result *v1beta1.KongConsumerGroup, err error)
Update takes the representation of a kongConsumerGroup and updates it. Returns the server's representation of the kongConsumerGroup, and an error, if there is any.
func (*FakeKongConsumerGroups) UpdateStatus ¶
func (c *FakeKongConsumerGroups) UpdateStatus(ctx context.Context, kongConsumerGroup *v1beta1.KongConsumerGroup, opts v1.UpdateOptions) (*v1beta1.KongConsumerGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKongConsumerGroups) Watch ¶
func (c *FakeKongConsumerGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kongConsumerGroups.
type FakeKongUpstreamPolicies ¶
type FakeKongUpstreamPolicies struct { Fake *FakeConfigurationV1beta1 // contains filtered or unexported fields }
FakeKongUpstreamPolicies implements KongUpstreamPolicyInterface
func (*FakeKongUpstreamPolicies) Create ¶
func (c *FakeKongUpstreamPolicies) Create(ctx context.Context, kongUpstreamPolicy *v1beta1.KongUpstreamPolicy, opts v1.CreateOptions) (result *v1beta1.KongUpstreamPolicy, err error)
Create takes the representation of a kongUpstreamPolicy and creates it. Returns the server's representation of the kongUpstreamPolicy, and an error, if there is any.
func (*FakeKongUpstreamPolicies) Delete ¶
func (c *FakeKongUpstreamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kongUpstreamPolicy and deletes it. Returns an error if one occurs.
func (*FakeKongUpstreamPolicies) DeleteCollection ¶
func (c *FakeKongUpstreamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKongUpstreamPolicies) Get ¶
func (c *FakeKongUpstreamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.KongUpstreamPolicy, err error)
Get takes name of the kongUpstreamPolicy, and returns the corresponding kongUpstreamPolicy object, and an error if there is any.
func (*FakeKongUpstreamPolicies) List ¶
func (c *FakeKongUpstreamPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KongUpstreamPolicyList, err error)
List takes label and field selectors, and returns the list of KongUpstreamPolicies that match those selectors.
func (*FakeKongUpstreamPolicies) Patch ¶
func (c *FakeKongUpstreamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.KongUpstreamPolicy, err error)
Patch applies the patch and returns the patched kongUpstreamPolicy.
func (*FakeKongUpstreamPolicies) Update ¶
func (c *FakeKongUpstreamPolicies) Update(ctx context.Context, kongUpstreamPolicy *v1beta1.KongUpstreamPolicy, opts v1.UpdateOptions) (result *v1beta1.KongUpstreamPolicy, err error)
Update takes the representation of a kongUpstreamPolicy and updates it. Returns the server's representation of the kongUpstreamPolicy, and an error, if there is any.
func (*FakeKongUpstreamPolicies) UpdateStatus ¶ added in v3.1.0
func (c *FakeKongUpstreamPolicies) UpdateStatus(ctx context.Context, kongUpstreamPolicy *v1beta1.KongUpstreamPolicy, opts v1.UpdateOptions) (*v1beta1.KongUpstreamPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKongUpstreamPolicies) Watch ¶
func (c *FakeKongUpstreamPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kongUpstreamPolicies.
type FakeTCPIngresses ¶
type FakeTCPIngresses struct { Fake *FakeConfigurationV1beta1 // contains filtered or unexported fields }
FakeTCPIngresses implements TCPIngressInterface
func (*FakeTCPIngresses) Create ¶
func (c *FakeTCPIngresses) Create(ctx context.Context, tCPIngress *v1beta1.TCPIngress, opts v1.CreateOptions) (result *v1beta1.TCPIngress, err error)
Create takes the representation of a tCPIngress and creates it. Returns the server's representation of the tCPIngress, and an error, if there is any.
func (*FakeTCPIngresses) Delete ¶
func (c *FakeTCPIngresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the tCPIngress and deletes it. Returns an error if one occurs.
func (*FakeTCPIngresses) DeleteCollection ¶
func (c *FakeTCPIngresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTCPIngresses) Get ¶
func (c *FakeTCPIngresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.TCPIngress, err error)
Get takes name of the tCPIngress, and returns the corresponding tCPIngress object, and an error if there is any.
func (*FakeTCPIngresses) List ¶
func (c *FakeTCPIngresses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.TCPIngressList, err error)
List takes label and field selectors, and returns the list of TCPIngresses that match those selectors.
func (*FakeTCPIngresses) Patch ¶
func (c *FakeTCPIngresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.TCPIngress, err error)
Patch applies the patch and returns the patched tCPIngress.
func (*FakeTCPIngresses) Update ¶
func (c *FakeTCPIngresses) Update(ctx context.Context, tCPIngress *v1beta1.TCPIngress, opts v1.UpdateOptions) (result *v1beta1.TCPIngress, err error)
Update takes the representation of a tCPIngress and updates it. Returns the server's representation of the tCPIngress, and an error, if there is any.
func (*FakeTCPIngresses) UpdateStatus ¶
func (c *FakeTCPIngresses) UpdateStatus(ctx context.Context, tCPIngress *v1beta1.TCPIngress, opts v1.UpdateOptions) (*v1beta1.TCPIngress, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTCPIngresses) Watch ¶
func (c *FakeTCPIngresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tCPIngresses.
type FakeUDPIngresses ¶
type FakeUDPIngresses struct { Fake *FakeConfigurationV1beta1 // contains filtered or unexported fields }
FakeUDPIngresses implements UDPIngressInterface
func (*FakeUDPIngresses) Create ¶
func (c *FakeUDPIngresses) Create(ctx context.Context, uDPIngress *v1beta1.UDPIngress, opts v1.CreateOptions) (result *v1beta1.UDPIngress, err error)
Create takes the representation of a uDPIngress and creates it. Returns the server's representation of the uDPIngress, and an error, if there is any.
func (*FakeUDPIngresses) Delete ¶
func (c *FakeUDPIngresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the uDPIngress and deletes it. Returns an error if one occurs.
func (*FakeUDPIngresses) DeleteCollection ¶
func (c *FakeUDPIngresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUDPIngresses) Get ¶
func (c *FakeUDPIngresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.UDPIngress, err error)
Get takes name of the uDPIngress, and returns the corresponding uDPIngress object, and an error if there is any.
func (*FakeUDPIngresses) List ¶
func (c *FakeUDPIngresses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.UDPIngressList, err error)
List takes label and field selectors, and returns the list of UDPIngresses that match those selectors.
func (*FakeUDPIngresses) Patch ¶
func (c *FakeUDPIngresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.UDPIngress, err error)
Patch applies the patch and returns the patched uDPIngress.
func (*FakeUDPIngresses) Update ¶
func (c *FakeUDPIngresses) Update(ctx context.Context, uDPIngress *v1beta1.UDPIngress, opts v1.UpdateOptions) (result *v1beta1.UDPIngress, err error)
Update takes the representation of a uDPIngress and updates it. Returns the server's representation of the uDPIngress, and an error, if there is any.
func (*FakeUDPIngresses) UpdateStatus ¶
func (c *FakeUDPIngresses) UpdateStatus(ctx context.Context, uDPIngress *v1beta1.UDPIngress, opts v1.UpdateOptions) (*v1beta1.UDPIngress, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeUDPIngresses) Watch ¶
func (c *FakeUDPIngresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested uDPIngresses.