Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFlipopV1alpha1
- type FakeFloatingIPPools
- func (c *FakeFloatingIPPools) Create(ctx context.Context, floatingIPPool *v1alpha1.FloatingIPPool, ...) (result *v1alpha1.FloatingIPPool, err error)
- func (c *FakeFloatingIPPools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFloatingIPPools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFloatingIPPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FloatingIPPool, err error)
- func (c *FakeFloatingIPPools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FloatingIPPoolList, err error)
- func (c *FakeFloatingIPPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.FloatingIPPool, err error)
- func (c *FakeFloatingIPPools) Update(ctx context.Context, floatingIPPool *v1alpha1.FloatingIPPool, ...) (result *v1alpha1.FloatingIPPool, err error)
- func (c *FakeFloatingIPPools) UpdateStatus(ctx context.Context, floatingIPPool *v1alpha1.FloatingIPPool, ...) (*v1alpha1.FloatingIPPool, error)
- func (c *FakeFloatingIPPools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNodeDNSRecordSets
- func (c *FakeNodeDNSRecordSets) Create(ctx context.Context, nodeDNSRecordSet *v1alpha1.NodeDNSRecordSet, ...) (result *v1alpha1.NodeDNSRecordSet, err error)
- func (c *FakeNodeDNSRecordSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodeDNSRecordSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodeDNSRecordSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeDNSRecordSet, err error)
- func (c *FakeNodeDNSRecordSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeDNSRecordSetList, err error)
- func (c *FakeNodeDNSRecordSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NodeDNSRecordSet, err error)
- func (c *FakeNodeDNSRecordSets) Update(ctx context.Context, nodeDNSRecordSet *v1alpha1.NodeDNSRecordSet, ...) (result *v1alpha1.NodeDNSRecordSet, err error)
- func (c *FakeNodeDNSRecordSets) UpdateStatus(ctx context.Context, nodeDNSRecordSet *v1alpha1.NodeDNSRecordSet, ...) (*v1alpha1.NodeDNSRecordSet, error)
- func (c *FakeNodeDNSRecordSets) 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 FakeFlipopV1alpha1 ¶
func (*FakeFlipopV1alpha1) FloatingIPPools ¶
func (c *FakeFlipopV1alpha1) FloatingIPPools(namespace string) v1alpha1.FloatingIPPoolInterface
func (*FakeFlipopV1alpha1) NodeDNSRecordSets ¶
func (c *FakeFlipopV1alpha1) NodeDNSRecordSets(namespace string) v1alpha1.NodeDNSRecordSetInterface
func (*FakeFlipopV1alpha1) RESTClient ¶
func (c *FakeFlipopV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeFloatingIPPools ¶
type FakeFloatingIPPools struct { Fake *FakeFlipopV1alpha1 // contains filtered or unexported fields }
FakeFloatingIPPools implements FloatingIPPoolInterface
func (*FakeFloatingIPPools) Create ¶
func (c *FakeFloatingIPPools) Create(ctx context.Context, floatingIPPool *v1alpha1.FloatingIPPool, opts v1.CreateOptions) (result *v1alpha1.FloatingIPPool, err error)
Create takes the representation of a floatingIPPool and creates it. Returns the server's representation of the floatingIPPool, and an error, if there is any.
func (*FakeFloatingIPPools) Delete ¶
func (c *FakeFloatingIPPools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the floatingIPPool and deletes it. Returns an error if one occurs.
func (*FakeFloatingIPPools) DeleteCollection ¶
func (c *FakeFloatingIPPools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFloatingIPPools) Get ¶
func (c *FakeFloatingIPPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FloatingIPPool, err error)
Get takes name of the floatingIPPool, and returns the corresponding floatingIPPool object, and an error if there is any.
func (*FakeFloatingIPPools) List ¶
func (c *FakeFloatingIPPools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FloatingIPPoolList, err error)
List takes label and field selectors, and returns the list of FloatingIPPools that match those selectors.
func (*FakeFloatingIPPools) Patch ¶
func (c *FakeFloatingIPPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.FloatingIPPool, err error)
Patch applies the patch and returns the patched floatingIPPool.
func (*FakeFloatingIPPools) Update ¶
func (c *FakeFloatingIPPools) Update(ctx context.Context, floatingIPPool *v1alpha1.FloatingIPPool, opts v1.UpdateOptions) (result *v1alpha1.FloatingIPPool, err error)
Update takes the representation of a floatingIPPool and updates it. Returns the server's representation of the floatingIPPool, and an error, if there is any.
func (*FakeFloatingIPPools) UpdateStatus ¶
func (c *FakeFloatingIPPools) UpdateStatus(ctx context.Context, floatingIPPool *v1alpha1.FloatingIPPool, opts v1.UpdateOptions) (*v1alpha1.FloatingIPPool, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFloatingIPPools) Watch ¶
func (c *FakeFloatingIPPools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested floatingIPPools.
type FakeNodeDNSRecordSets ¶
type FakeNodeDNSRecordSets struct { Fake *FakeFlipopV1alpha1 // contains filtered or unexported fields }
FakeNodeDNSRecordSets implements NodeDNSRecordSetInterface
func (*FakeNodeDNSRecordSets) Create ¶
func (c *FakeNodeDNSRecordSets) Create(ctx context.Context, nodeDNSRecordSet *v1alpha1.NodeDNSRecordSet, opts v1.CreateOptions) (result *v1alpha1.NodeDNSRecordSet, err error)
Create takes the representation of a nodeDNSRecordSet and creates it. Returns the server's representation of the nodeDNSRecordSet, and an error, if there is any.
func (*FakeNodeDNSRecordSets) Delete ¶
func (c *FakeNodeDNSRecordSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodeDNSRecordSet and deletes it. Returns an error if one occurs.
func (*FakeNodeDNSRecordSets) DeleteCollection ¶
func (c *FakeNodeDNSRecordSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeDNSRecordSets) Get ¶
func (c *FakeNodeDNSRecordSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeDNSRecordSet, err error)
Get takes name of the nodeDNSRecordSet, and returns the corresponding nodeDNSRecordSet object, and an error if there is any.
func (*FakeNodeDNSRecordSets) List ¶
func (c *FakeNodeDNSRecordSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeDNSRecordSetList, err error)
List takes label and field selectors, and returns the list of NodeDNSRecordSets that match those selectors.
func (*FakeNodeDNSRecordSets) Patch ¶
func (c *FakeNodeDNSRecordSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NodeDNSRecordSet, err error)
Patch applies the patch and returns the patched nodeDNSRecordSet.
func (*FakeNodeDNSRecordSets) Update ¶
func (c *FakeNodeDNSRecordSets) Update(ctx context.Context, nodeDNSRecordSet *v1alpha1.NodeDNSRecordSet, opts v1.UpdateOptions) (result *v1alpha1.NodeDNSRecordSet, err error)
Update takes the representation of a nodeDNSRecordSet and updates it. Returns the server's representation of the nodeDNSRecordSet, and an error, if there is any.
func (*FakeNodeDNSRecordSets) UpdateStatus ¶
func (c *FakeNodeDNSRecordSets) UpdateStatus(ctx context.Context, nodeDNSRecordSet *v1alpha1.NodeDNSRecordSet, opts v1.UpdateOptions) (*v1alpha1.NodeDNSRecordSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNodeDNSRecordSets) Watch ¶
func (c *FakeNodeDNSRecordSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeDNSRecordSets.