Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeSubmarineClusters
- func (c *FakeSubmarineClusters) Create(submarineCluster *v1alpha1.SubmarineCluster) (result *v1alpha1.SubmarineCluster, err error)
- func (c *FakeSubmarineClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSubmarineClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSubmarineClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.SubmarineCluster, err error)
- func (c *FakeSubmarineClusters) List(opts v1.ListOptions) (result *v1alpha1.SubmarineClusterList, err error)
- func (c *FakeSubmarineClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SubmarineCluster, err error)
- func (c *FakeSubmarineClusters) Update(submarineCluster *v1alpha1.SubmarineCluster) (result *v1alpha1.SubmarineCluster, err error)
- func (c *FakeSubmarineClusters) UpdateStatus(submarineCluster *v1alpha1.SubmarineCluster) (*v1alpha1.SubmarineCluster, error)
- func (c *FakeSubmarineClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSubmarineV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSubmarineClusters ¶
type FakeSubmarineClusters struct { Fake *FakeSubmarineV1alpha1 // contains filtered or unexported fields }
FakeSubmarineClusters implements SubmarineClusterInterface
func (*FakeSubmarineClusters) Create ¶
func (c *FakeSubmarineClusters) Create(submarineCluster *v1alpha1.SubmarineCluster) (result *v1alpha1.SubmarineCluster, err error)
Create takes the representation of a submarineCluster and creates it. Returns the server's representation of the submarineCluster, and an error, if there is any.
func (*FakeSubmarineClusters) Delete ¶
func (c *FakeSubmarineClusters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the submarineCluster and deletes it. Returns an error if one occurs.
func (*FakeSubmarineClusters) DeleteCollection ¶
func (c *FakeSubmarineClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSubmarineClusters) Get ¶
func (c *FakeSubmarineClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.SubmarineCluster, err error)
Get takes name of the submarineCluster, and returns the corresponding submarineCluster object, and an error if there is any.
func (*FakeSubmarineClusters) List ¶
func (c *FakeSubmarineClusters) List(opts v1.ListOptions) (result *v1alpha1.SubmarineClusterList, err error)
List takes label and field selectors, and returns the list of SubmarineClusters that match those selectors.
func (*FakeSubmarineClusters) Patch ¶
func (c *FakeSubmarineClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SubmarineCluster, err error)
Patch applies the patch and returns the patched submarineCluster.
func (*FakeSubmarineClusters) Update ¶
func (c *FakeSubmarineClusters) Update(submarineCluster *v1alpha1.SubmarineCluster) (result *v1alpha1.SubmarineCluster, err error)
Update takes the representation of a submarineCluster and updates it. Returns the server's representation of the submarineCluster, and an error, if there is any.
func (*FakeSubmarineClusters) UpdateStatus ¶
func (c *FakeSubmarineClusters) UpdateStatus(submarineCluster *v1alpha1.SubmarineCluster) (*v1alpha1.SubmarineCluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSubmarineClusters) Watch ¶
func (c *FakeSubmarineClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested submarineClusters.
type FakeSubmarineV1alpha1 ¶
func (*FakeSubmarineV1alpha1) RESTClient ¶
func (c *FakeSubmarineV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSubmarineV1alpha1) SubmarineClusters ¶
func (c *FakeSubmarineV1alpha1) SubmarineClusters(namespace string) v1alpha1.SubmarineClusterInterface