Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDynamicNodes
- func (c *FakeDynamicNodes) Create(ctx context.Context, dynamicNode *v1alpha1.DynamicNode, opts v1.CreateOptions) (result *v1alpha1.DynamicNode, err error)
- func (c *FakeDynamicNodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDynamicNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDynamicNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DynamicNode, err error)
- func (c *FakeDynamicNodes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DynamicNodeList, err error)
- func (c *FakeDynamicNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.DynamicNode, err error)
- func (c *FakeDynamicNodes) Update(ctx context.Context, dynamicNode *v1alpha1.DynamicNode, opts v1.UpdateOptions) (result *v1alpha1.DynamicNode, err error)
- func (c *FakeDynamicNodes) UpdateStatus(ctx context.Context, dynamicNode *v1alpha1.DynamicNode, opts v1.UpdateOptions) (*v1alpha1.DynamicNode, error)
- func (c *FakeDynamicNodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeExternalEndpoints
- func (c *FakeExternalEndpoints) Create(ctx context.Context, externalEndpoint *v1alpha1.ExternalEndpoint, ...) (result *v1alpha1.ExternalEndpoint, err error)
- func (c *FakeExternalEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeExternalEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeExternalEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ExternalEndpoint, err error)
- func (c *FakeExternalEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ExternalEndpointList, err error)
- func (c *FakeExternalEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ExternalEndpoint, err error)
- func (c *FakeExternalEndpoints) Update(ctx context.Context, externalEndpoint *v1alpha1.ExternalEndpoint, ...) (result *v1alpha1.ExternalEndpoint, err error)
- func (c *FakeExternalEndpoints) UpdateStatus(ctx context.Context, externalEndpoint *v1alpha1.ExternalEndpoint, ...) (*v1alpha1.ExternalEndpoint, error)
- func (c *FakeExternalEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFADepls
- func (c *FakeFADepls) Create(ctx context.Context, fADepl *v1alpha1.FADepl, opts v1.CreateOptions) (result *v1alpha1.FADepl, err error)
- func (c *FakeFADepls) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFADepls) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFADepls) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FADepl, err error)
- func (c *FakeFADepls) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FADeplList, err error)
- func (c *FakeFADepls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.FADepl, err error)
- func (c *FakeFADepls) Update(ctx context.Context, fADepl *v1alpha1.FADepl, opts v1.UpdateOptions) (result *v1alpha1.FADepl, err error)
- func (c *FakeFADepls) UpdateStatus(ctx context.Context, fADepl *v1alpha1.FADepl, opts v1.UpdateOptions) (*v1alpha1.FADepl, error)
- func (c *FakeFADepls) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFedFAApps
- func (c *FakeFedFAApps) Create(ctx context.Context, fedFAApp *v1alpha1.FedFAApp, opts v1.CreateOptions) (result *v1alpha1.FedFAApp, err error)
- func (c *FakeFedFAApps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFedFAApps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFedFAApps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FedFAApp, err error)
- func (c *FakeFedFAApps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FedFAAppList, err error)
- func (c *FakeFedFAApps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.FedFAApp, err error)
- func (c *FakeFedFAApps) Update(ctx context.Context, fedFAApp *v1alpha1.FedFAApp, opts v1.UpdateOptions) (result *v1alpha1.FedFAApp, err error)
- func (c *FakeFedFAApps) UpdateStatus(ctx context.Context, fedFAApp *v1alpha1.FedFAApp, opts v1.UpdateOptions) (*v1alpha1.FedFAApp, error)
- func (c *FakeFedFAApps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFogatlasV1alpha1
- func (c *FakeFogatlasV1alpha1) DynamicNodes(namespace string) v1alpha1.DynamicNodeInterface
- func (c *FakeFogatlasV1alpha1) ExternalEndpoints(namespace string) v1alpha1.ExternalEndpointInterface
- func (c *FakeFogatlasV1alpha1) FADepls(namespace string) v1alpha1.FADeplInterface
- func (c *FakeFogatlasV1alpha1) FedFAApps(namespace string) v1alpha1.FedFAAppInterface
- func (c *FakeFogatlasV1alpha1) Links(namespace string) v1alpha1.LinkInterface
- func (c *FakeFogatlasV1alpha1) RESTClient() rest.Interface
- func (c *FakeFogatlasV1alpha1) Regions(namespace string) v1alpha1.RegionInterface
- type FakeLinks
- func (c *FakeLinks) Create(ctx context.Context, link *v1alpha1.Link, opts v1.CreateOptions) (result *v1alpha1.Link, err error)
- func (c *FakeLinks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLinks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLinks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Link, err error)
- func (c *FakeLinks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LinkList, err error)
- func (c *FakeLinks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Link, err error)
- func (c *FakeLinks) Update(ctx context.Context, link *v1alpha1.Link, opts v1.UpdateOptions) (result *v1alpha1.Link, err error)
- func (c *FakeLinks) UpdateStatus(ctx context.Context, link *v1alpha1.Link, opts v1.UpdateOptions) (*v1alpha1.Link, error)
- func (c *FakeLinks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRegions
- func (c *FakeRegions) Create(ctx context.Context, region *v1alpha1.Region, opts v1.CreateOptions) (result *v1alpha1.Region, err error)
- func (c *FakeRegions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRegions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRegions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Region, err error)
- func (c *FakeRegions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegionList, err error)
- func (c *FakeRegions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Region, err error)
- func (c *FakeRegions) Update(ctx context.Context, region *v1alpha1.Region, opts v1.UpdateOptions) (result *v1alpha1.Region, err error)
- func (c *FakeRegions) UpdateStatus(ctx context.Context, region *v1alpha1.Region, opts v1.UpdateOptions) (*v1alpha1.Region, error)
- func (c *FakeRegions) 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 FakeDynamicNodes ¶
type FakeDynamicNodes struct { Fake *FakeFogatlasV1alpha1 // contains filtered or unexported fields }
FakeDynamicNodes implements DynamicNodeInterface
func (*FakeDynamicNodes) Create ¶
func (c *FakeDynamicNodes) Create(ctx context.Context, dynamicNode *v1alpha1.DynamicNode, opts v1.CreateOptions) (result *v1alpha1.DynamicNode, err error)
Create takes the representation of a dynamicNode and creates it. Returns the server's representation of the dynamicNode, and an error, if there is any.
func (*FakeDynamicNodes) Delete ¶
func (c *FakeDynamicNodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dynamicNode and deletes it. Returns an error if one occurs.
func (*FakeDynamicNodes) DeleteCollection ¶
func (c *FakeDynamicNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDynamicNodes) Get ¶
func (c *FakeDynamicNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DynamicNode, err error)
Get takes name of the dynamicNode, and returns the corresponding dynamicNode object, and an error if there is any.
func (*FakeDynamicNodes) List ¶
func (c *FakeDynamicNodes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DynamicNodeList, err error)
List takes label and field selectors, and returns the list of DynamicNodes that match those selectors.
func (*FakeDynamicNodes) Patch ¶
func (c *FakeDynamicNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DynamicNode, err error)
Patch applies the patch and returns the patched dynamicNode.
func (*FakeDynamicNodes) Update ¶
func (c *FakeDynamicNodes) Update(ctx context.Context, dynamicNode *v1alpha1.DynamicNode, opts v1.UpdateOptions) (result *v1alpha1.DynamicNode, err error)
Update takes the representation of a dynamicNode and updates it. Returns the server's representation of the dynamicNode, and an error, if there is any.
func (*FakeDynamicNodes) UpdateStatus ¶
func (c *FakeDynamicNodes) UpdateStatus(ctx context.Context, dynamicNode *v1alpha1.DynamicNode, opts v1.UpdateOptions) (*v1alpha1.DynamicNode, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDynamicNodes) Watch ¶
func (c *FakeDynamicNodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dynamicNodes.
type FakeExternalEndpoints ¶
type FakeExternalEndpoints struct { Fake *FakeFogatlasV1alpha1 // contains filtered or unexported fields }
FakeExternalEndpoints implements ExternalEndpointInterface
func (*FakeExternalEndpoints) Create ¶
func (c *FakeExternalEndpoints) Create(ctx context.Context, externalEndpoint *v1alpha1.ExternalEndpoint, opts v1.CreateOptions) (result *v1alpha1.ExternalEndpoint, err error)
Create takes the representation of a externalEndpoint and creates it. Returns the server's representation of the externalEndpoint, and an error, if there is any.
func (*FakeExternalEndpoints) Delete ¶
func (c *FakeExternalEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the externalEndpoint and deletes it. Returns an error if one occurs.
func (*FakeExternalEndpoints) DeleteCollection ¶
func (c *FakeExternalEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExternalEndpoints) Get ¶
func (c *FakeExternalEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ExternalEndpoint, err error)
Get takes name of the externalEndpoint, and returns the corresponding externalEndpoint object, and an error if there is any.
func (*FakeExternalEndpoints) List ¶
func (c *FakeExternalEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ExternalEndpointList, err error)
List takes label and field selectors, and returns the list of ExternalEndpoints that match those selectors.
func (*FakeExternalEndpoints) Patch ¶
func (c *FakeExternalEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ExternalEndpoint, err error)
Patch applies the patch and returns the patched externalEndpoint.
func (*FakeExternalEndpoints) Update ¶
func (c *FakeExternalEndpoints) Update(ctx context.Context, externalEndpoint *v1alpha1.ExternalEndpoint, opts v1.UpdateOptions) (result *v1alpha1.ExternalEndpoint, err error)
Update takes the representation of a externalEndpoint and updates it. Returns the server's representation of the externalEndpoint, and an error, if there is any.
func (*FakeExternalEndpoints) UpdateStatus ¶
func (c *FakeExternalEndpoints) UpdateStatus(ctx context.Context, externalEndpoint *v1alpha1.ExternalEndpoint, opts v1.UpdateOptions) (*v1alpha1.ExternalEndpoint, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeExternalEndpoints) Watch ¶
func (c *FakeExternalEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested externalEndpoints.
type FakeFADepls ¶
type FakeFADepls struct { Fake *FakeFogatlasV1alpha1 // contains filtered or unexported fields }
FakeFADepls implements FADeplInterface
func (*FakeFADepls) Create ¶
func (c *FakeFADepls) Create(ctx context.Context, fADepl *v1alpha1.FADepl, opts v1.CreateOptions) (result *v1alpha1.FADepl, err error)
Create takes the representation of a fADepl and creates it. Returns the server's representation of the fADepl, and an error, if there is any.
func (*FakeFADepls) Delete ¶
func (c *FakeFADepls) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the fADepl and deletes it. Returns an error if one occurs.
func (*FakeFADepls) DeleteCollection ¶
func (c *FakeFADepls) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFADepls) Get ¶
func (c *FakeFADepls) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FADepl, err error)
Get takes name of the fADepl, and returns the corresponding fADepl object, and an error if there is any.
func (*FakeFADepls) List ¶
func (c *FakeFADepls) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FADeplList, err error)
List takes label and field selectors, and returns the list of FADepls that match those selectors.
func (*FakeFADepls) Patch ¶
func (c *FakeFADepls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.FADepl, err error)
Patch applies the patch and returns the patched fADepl.
func (*FakeFADepls) Update ¶
func (c *FakeFADepls) Update(ctx context.Context, fADepl *v1alpha1.FADepl, opts v1.UpdateOptions) (result *v1alpha1.FADepl, err error)
Update takes the representation of a fADepl and updates it. Returns the server's representation of the fADepl, and an error, if there is any.
func (*FakeFADepls) UpdateStatus ¶
func (c *FakeFADepls) UpdateStatus(ctx context.Context, fADepl *v1alpha1.FADepl, opts v1.UpdateOptions) (*v1alpha1.FADepl, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFADepls) Watch ¶
func (c *FakeFADepls) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested fADepls.
type FakeFedFAApps ¶
type FakeFedFAApps struct { Fake *FakeFogatlasV1alpha1 // contains filtered or unexported fields }
FakeFedFAApps implements FedFAAppInterface
func (*FakeFedFAApps) Create ¶
func (c *FakeFedFAApps) Create(ctx context.Context, fedFAApp *v1alpha1.FedFAApp, opts v1.CreateOptions) (result *v1alpha1.FedFAApp, err error)
Create takes the representation of a fedFAApp and creates it. Returns the server's representation of the fedFAApp, and an error, if there is any.
func (*FakeFedFAApps) Delete ¶
func (c *FakeFedFAApps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the fedFAApp and deletes it. Returns an error if one occurs.
func (*FakeFedFAApps) DeleteCollection ¶
func (c *FakeFedFAApps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFedFAApps) Get ¶
func (c *FakeFedFAApps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FedFAApp, err error)
Get takes name of the fedFAApp, and returns the corresponding fedFAApp object, and an error if there is any.
func (*FakeFedFAApps) List ¶
func (c *FakeFedFAApps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FedFAAppList, err error)
List takes label and field selectors, and returns the list of FedFAApps that match those selectors.
func (*FakeFedFAApps) Patch ¶
func (c *FakeFedFAApps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.FedFAApp, err error)
Patch applies the patch and returns the patched fedFAApp.
func (*FakeFedFAApps) Update ¶
func (c *FakeFedFAApps) Update(ctx context.Context, fedFAApp *v1alpha1.FedFAApp, opts v1.UpdateOptions) (result *v1alpha1.FedFAApp, err error)
Update takes the representation of a fedFAApp and updates it. Returns the server's representation of the fedFAApp, and an error, if there is any.
func (*FakeFedFAApps) UpdateStatus ¶
func (c *FakeFedFAApps) UpdateStatus(ctx context.Context, fedFAApp *v1alpha1.FedFAApp, opts v1.UpdateOptions) (*v1alpha1.FedFAApp, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFedFAApps) Watch ¶
func (c *FakeFedFAApps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested fedFAApps.
type FakeFogatlasV1alpha1 ¶
func (*FakeFogatlasV1alpha1) DynamicNodes ¶
func (c *FakeFogatlasV1alpha1) DynamicNodes(namespace string) v1alpha1.DynamicNodeInterface
func (*FakeFogatlasV1alpha1) ExternalEndpoints ¶
func (c *FakeFogatlasV1alpha1) ExternalEndpoints(namespace string) v1alpha1.ExternalEndpointInterface
func (*FakeFogatlasV1alpha1) FADepls ¶
func (c *FakeFogatlasV1alpha1) FADepls(namespace string) v1alpha1.FADeplInterface
func (*FakeFogatlasV1alpha1) FedFAApps ¶
func (c *FakeFogatlasV1alpha1) FedFAApps(namespace string) v1alpha1.FedFAAppInterface
func (*FakeFogatlasV1alpha1) Links ¶
func (c *FakeFogatlasV1alpha1) Links(namespace string) v1alpha1.LinkInterface
func (*FakeFogatlasV1alpha1) RESTClient ¶
func (c *FakeFogatlasV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeFogatlasV1alpha1) Regions ¶
func (c *FakeFogatlasV1alpha1) Regions(namespace string) v1alpha1.RegionInterface
type FakeLinks ¶
type FakeLinks struct { Fake *FakeFogatlasV1alpha1 // contains filtered or unexported fields }
FakeLinks implements LinkInterface
func (*FakeLinks) Create ¶
func (c *FakeLinks) Create(ctx context.Context, link *v1alpha1.Link, opts v1.CreateOptions) (result *v1alpha1.Link, err error)
Create takes the representation of a link and creates it. Returns the server's representation of the link, and an error, if there is any.
func (*FakeLinks) Delete ¶
Delete takes name of the link and deletes it. Returns an error if one occurs.
func (*FakeLinks) DeleteCollection ¶
func (c *FakeLinks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLinks) Get ¶
func (c *FakeLinks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Link, err error)
Get takes name of the link, and returns the corresponding link object, and an error if there is any.
func (*FakeLinks) List ¶
func (c *FakeLinks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LinkList, err error)
List takes label and field selectors, and returns the list of Links that match those selectors.
func (*FakeLinks) Patch ¶
func (c *FakeLinks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Link, err error)
Patch applies the patch and returns the patched link.
func (*FakeLinks) Update ¶
func (c *FakeLinks) Update(ctx context.Context, link *v1alpha1.Link, opts v1.UpdateOptions) (result *v1alpha1.Link, err error)
Update takes the representation of a link and updates it. Returns the server's representation of the link, and an error, if there is any.
func (*FakeLinks) UpdateStatus ¶
func (c *FakeLinks) UpdateStatus(ctx context.Context, link *v1alpha1.Link, opts v1.UpdateOptions) (*v1alpha1.Link, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeRegions ¶
type FakeRegions struct { Fake *FakeFogatlasV1alpha1 // contains filtered or unexported fields }
FakeRegions implements RegionInterface
func (*FakeRegions) Create ¶
func (c *FakeRegions) Create(ctx context.Context, region *v1alpha1.Region, opts v1.CreateOptions) (result *v1alpha1.Region, err error)
Create takes the representation of a region and creates it. Returns the server's representation of the region, and an error, if there is any.
func (*FakeRegions) Delete ¶
func (c *FakeRegions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the region and deletes it. Returns an error if one occurs.
func (*FakeRegions) DeleteCollection ¶
func (c *FakeRegions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRegions) Get ¶
func (c *FakeRegions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Region, err error)
Get takes name of the region, and returns the corresponding region object, and an error if there is any.
func (*FakeRegions) List ¶
func (c *FakeRegions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegionList, err error)
List takes label and field selectors, and returns the list of Regions that match those selectors.
func (*FakeRegions) Patch ¶
func (c *FakeRegions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Region, err error)
Patch applies the patch and returns the patched region.
func (*FakeRegions) Update ¶
func (c *FakeRegions) Update(ctx context.Context, region *v1alpha1.Region, opts v1.UpdateOptions) (result *v1alpha1.Region, err error)
Update takes the representation of a region and updates it. Returns the server's representation of the region, and an error, if there is any.
func (*FakeRegions) UpdateStatus ¶
func (c *FakeRegions) UpdateStatus(ctx context.Context, region *v1alpha1.Region, opts v1.UpdateOptions) (*v1alpha1.Region, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRegions) Watch ¶
func (c *FakeRegions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested regions.