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