Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfigurationV1beta1
- 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) 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 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.