Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfigurationV1alpha1
- type FakeUDPIngresses
- func (c *FakeUDPIngresses) Create(ctx context.Context, uDPIngress *v1alpha1.UDPIngress, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.UDPIngress, err error)
- func (c *FakeUDPIngresses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UDPIngressList, err error)
- func (c *FakeUDPIngresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.UDPIngress, err error)
- func (c *FakeUDPIngresses) Update(ctx context.Context, uDPIngress *v1alpha1.UDPIngress, opts v1.UpdateOptions) (result *v1alpha1.UDPIngress, err error)
- func (c *FakeUDPIngresses) UpdateStatus(ctx context.Context, uDPIngress *v1alpha1.UDPIngress, opts v1.UpdateOptions) (*v1alpha1.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 FakeConfigurationV1alpha1 ¶
func (*FakeConfigurationV1alpha1) RESTClient ¶
func (c *FakeConfigurationV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeConfigurationV1alpha1) UDPIngresses ¶
func (c *FakeConfigurationV1alpha1) UDPIngresses(namespace string) v1alpha1.UDPIngressInterface
type FakeUDPIngresses ¶
type FakeUDPIngresses struct { Fake *FakeConfigurationV1alpha1 // contains filtered or unexported fields }
FakeUDPIngresses implements UDPIngressInterface
func (*FakeUDPIngresses) Create ¶
func (c *FakeUDPIngresses) Create(ctx context.Context, uDPIngress *v1alpha1.UDPIngress, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.UDPIngress, err error)
Patch applies the patch and returns the patched uDPIngress.
func (*FakeUDPIngresses) Update ¶
func (c *FakeUDPIngresses) Update(ctx context.Context, uDPIngress *v1alpha1.UDPIngress, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.UDPIngress, opts v1.UpdateOptions) (*v1alpha1.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.