Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFloatingIPRanges
- func (c *FakeFloatingIPRanges) Create(ctx context.Context, floatingIPRange *kubefipk8sbinbashorgv1.FloatingIPRange, ...) (result *kubefipk8sbinbashorgv1.FloatingIPRange, err error)
- func (c *FakeFloatingIPRanges) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFloatingIPRanges) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFloatingIPRanges) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubefipk8sbinbashorgv1.FloatingIPRange, err error)
- func (c *FakeFloatingIPRanges) List(ctx context.Context, opts v1.ListOptions) (result *kubefipk8sbinbashorgv1.FloatingIPRangeList, err error)
- func (c *FakeFloatingIPRanges) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubefipk8sbinbashorgv1.FloatingIPRange, err error)
- func (c *FakeFloatingIPRanges) Update(ctx context.Context, floatingIPRange *kubefipk8sbinbashorgv1.FloatingIPRange, ...) (result *kubefipk8sbinbashorgv1.FloatingIPRange, err error)
- func (c *FakeFloatingIPRanges) UpdateStatus(ctx context.Context, floatingIPRange *kubefipk8sbinbashorgv1.FloatingIPRange, ...) (*kubefipk8sbinbashorgv1.FloatingIPRange, error)
- func (c *FakeFloatingIPRanges) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFloatingIPs
- func (c *FakeFloatingIPs) Create(ctx context.Context, floatingIP *kubefipk8sbinbashorgv1.FloatingIP, ...) (result *kubefipk8sbinbashorgv1.FloatingIP, err error)
- func (c *FakeFloatingIPs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFloatingIPs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFloatingIPs) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubefipk8sbinbashorgv1.FloatingIP, err error)
- func (c *FakeFloatingIPs) List(ctx context.Context, opts v1.ListOptions) (result *kubefipk8sbinbashorgv1.FloatingIPList, err error)
- func (c *FakeFloatingIPs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubefipk8sbinbashorgv1.FloatingIP, err error)
- func (c *FakeFloatingIPs) Update(ctx context.Context, floatingIP *kubefipk8sbinbashorgv1.FloatingIP, ...) (result *kubefipk8sbinbashorgv1.FloatingIP, err error)
- func (c *FakeFloatingIPs) UpdateStatus(ctx context.Context, floatingIP *kubefipk8sbinbashorgv1.FloatingIP, ...) (*kubefipk8sbinbashorgv1.FloatingIP, error)
- func (c *FakeFloatingIPs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKubefipV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFloatingIPRanges ¶
type FakeFloatingIPRanges struct {
Fake *FakeKubefipV1
}
FakeFloatingIPRanges implements FloatingIPRangeInterface
func (*FakeFloatingIPRanges) Create ¶
func (c *FakeFloatingIPRanges) Create(ctx context.Context, floatingIPRange *kubefipk8sbinbashorgv1.FloatingIPRange, opts v1.CreateOptions) (result *kubefipk8sbinbashorgv1.FloatingIPRange, err error)
Create takes the representation of a floatingIPRange and creates it. Returns the server's representation of the floatingIPRange, and an error, if there is any.
func (*FakeFloatingIPRanges) Delete ¶
func (c *FakeFloatingIPRanges) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the floatingIPRange and deletes it. Returns an error if one occurs.
func (*FakeFloatingIPRanges) DeleteCollection ¶
func (c *FakeFloatingIPRanges) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFloatingIPRanges) Get ¶
func (c *FakeFloatingIPRanges) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubefipk8sbinbashorgv1.FloatingIPRange, err error)
Get takes name of the floatingIPRange, and returns the corresponding floatingIPRange object, and an error if there is any.
func (*FakeFloatingIPRanges) List ¶
func (c *FakeFloatingIPRanges) List(ctx context.Context, opts v1.ListOptions) (result *kubefipk8sbinbashorgv1.FloatingIPRangeList, err error)
List takes label and field selectors, and returns the list of FloatingIPRanges that match those selectors.
func (*FakeFloatingIPRanges) Patch ¶
func (c *FakeFloatingIPRanges) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubefipk8sbinbashorgv1.FloatingIPRange, err error)
Patch applies the patch and returns the patched floatingIPRange.
func (*FakeFloatingIPRanges) Update ¶
func (c *FakeFloatingIPRanges) Update(ctx context.Context, floatingIPRange *kubefipk8sbinbashorgv1.FloatingIPRange, opts v1.UpdateOptions) (result *kubefipk8sbinbashorgv1.FloatingIPRange, err error)
Update takes the representation of a floatingIPRange and updates it. Returns the server's representation of the floatingIPRange, and an error, if there is any.
func (*FakeFloatingIPRanges) UpdateStatus ¶
func (c *FakeFloatingIPRanges) UpdateStatus(ctx context.Context, floatingIPRange *kubefipk8sbinbashorgv1.FloatingIPRange, opts v1.UpdateOptions) (*kubefipk8sbinbashorgv1.FloatingIPRange, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFloatingIPRanges) Watch ¶
func (c *FakeFloatingIPRanges) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested floatingIPRanges.
type FakeFloatingIPs ¶
type FakeFloatingIPs struct { Fake *FakeKubefipV1 // contains filtered or unexported fields }
FakeFloatingIPs implements FloatingIPInterface
func (*FakeFloatingIPs) Create ¶
func (c *FakeFloatingIPs) Create(ctx context.Context, floatingIP *kubefipk8sbinbashorgv1.FloatingIP, opts v1.CreateOptions) (result *kubefipk8sbinbashorgv1.FloatingIP, err error)
Create takes the representation of a floatingIP and creates it. Returns the server's representation of the floatingIP, and an error, if there is any.
func (*FakeFloatingIPs) Delete ¶
func (c *FakeFloatingIPs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the floatingIP and deletes it. Returns an error if one occurs.
func (*FakeFloatingIPs) DeleteCollection ¶
func (c *FakeFloatingIPs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFloatingIPs) Get ¶
func (c *FakeFloatingIPs) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubefipk8sbinbashorgv1.FloatingIP, err error)
Get takes name of the floatingIP, and returns the corresponding floatingIP object, and an error if there is any.
func (*FakeFloatingIPs) List ¶
func (c *FakeFloatingIPs) List(ctx context.Context, opts v1.ListOptions) (result *kubefipk8sbinbashorgv1.FloatingIPList, err error)
List takes label and field selectors, and returns the list of FloatingIPs that match those selectors.
func (*FakeFloatingIPs) Patch ¶
func (c *FakeFloatingIPs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubefipk8sbinbashorgv1.FloatingIP, err error)
Patch applies the patch and returns the patched floatingIP.
func (*FakeFloatingIPs) Update ¶
func (c *FakeFloatingIPs) Update(ctx context.Context, floatingIP *kubefipk8sbinbashorgv1.FloatingIP, opts v1.UpdateOptions) (result *kubefipk8sbinbashorgv1.FloatingIP, err error)
Update takes the representation of a floatingIP and updates it. Returns the server's representation of the floatingIP, and an error, if there is any.
func (*FakeFloatingIPs) UpdateStatus ¶
func (c *FakeFloatingIPs) UpdateStatus(ctx context.Context, floatingIP *kubefipk8sbinbashorgv1.FloatingIP, opts v1.UpdateOptions) (*kubefipk8sbinbashorgv1.FloatingIP, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFloatingIPs) Watch ¶
func (c *FakeFloatingIPs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested floatingIPs.
type FakeKubefipV1 ¶
func (*FakeKubefipV1) FloatingIPRanges ¶
func (c *FakeKubefipV1) FloatingIPRanges() v1.FloatingIPRangeInterface
func (*FakeKubefipV1) FloatingIPs ¶
func (c *FakeKubefipV1) FloatingIPs(namespace string) v1.FloatingIPInterface
func (*FakeKubefipV1) RESTClient ¶
func (c *FakeKubefipV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.