Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDaskAutoscalers
- func (c *FakeDaskAutoscalers) Create(ctx context.Context, daskAutoscaler *kubernetesdaskorgv1.DaskAutoscaler, ...) (result *kubernetesdaskorgv1.DaskAutoscaler, err error)
- func (c *FakeDaskAutoscalers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDaskAutoscalers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDaskAutoscalers) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubernetesdaskorgv1.DaskAutoscaler, err error)
- func (c *FakeDaskAutoscalers) List(ctx context.Context, opts v1.ListOptions) (result *kubernetesdaskorgv1.DaskAutoscalerList, err error)
- func (c *FakeDaskAutoscalers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubernetesdaskorgv1.DaskAutoscaler, err error)
- func (c *FakeDaskAutoscalers) Update(ctx context.Context, daskAutoscaler *kubernetesdaskorgv1.DaskAutoscaler, ...) (result *kubernetesdaskorgv1.DaskAutoscaler, err error)
- func (c *FakeDaskAutoscalers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDaskClusters
- func (c *FakeDaskClusters) Create(ctx context.Context, daskCluster *kubernetesdaskorgv1.DaskCluster, ...) (result *kubernetesdaskorgv1.DaskCluster, err error)
- func (c *FakeDaskClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDaskClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDaskClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubernetesdaskorgv1.DaskCluster, err error)
- func (c *FakeDaskClusters) List(ctx context.Context, opts v1.ListOptions) (result *kubernetesdaskorgv1.DaskClusterList, err error)
- func (c *FakeDaskClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubernetesdaskorgv1.DaskCluster, err error)
- func (c *FakeDaskClusters) Update(ctx context.Context, daskCluster *kubernetesdaskorgv1.DaskCluster, ...) (result *kubernetesdaskorgv1.DaskCluster, err error)
- func (c *FakeDaskClusters) UpdateStatus(ctx context.Context, daskCluster *kubernetesdaskorgv1.DaskCluster, ...) (*kubernetesdaskorgv1.DaskCluster, error)
- func (c *FakeDaskClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDaskJobs
- func (c *FakeDaskJobs) Create(ctx context.Context, daskJob *kubernetesdaskorgv1.DaskJob, ...) (result *kubernetesdaskorgv1.DaskJob, err error)
- func (c *FakeDaskJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDaskJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDaskJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubernetesdaskorgv1.DaskJob, err error)
- func (c *FakeDaskJobs) List(ctx context.Context, opts v1.ListOptions) (result *kubernetesdaskorgv1.DaskJobList, err error)
- func (c *FakeDaskJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubernetesdaskorgv1.DaskJob, err error)
- func (c *FakeDaskJobs) Update(ctx context.Context, daskJob *kubernetesdaskorgv1.DaskJob, ...) (result *kubernetesdaskorgv1.DaskJob, err error)
- func (c *FakeDaskJobs) UpdateStatus(ctx context.Context, daskJob *kubernetesdaskorgv1.DaskJob, ...) (*kubernetesdaskorgv1.DaskJob, error)
- func (c *FakeDaskJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDaskWorkerGroups
- func (c *FakeDaskWorkerGroups) Create(ctx context.Context, daskWorkerGroup *kubernetesdaskorgv1.DaskWorkerGroup, ...) (result *kubernetesdaskorgv1.DaskWorkerGroup, err error)
- func (c *FakeDaskWorkerGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDaskWorkerGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDaskWorkerGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubernetesdaskorgv1.DaskWorkerGroup, err error)
- func (c *FakeDaskWorkerGroups) List(ctx context.Context, opts v1.ListOptions) (result *kubernetesdaskorgv1.DaskWorkerGroupList, err error)
- func (c *FakeDaskWorkerGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubernetesdaskorgv1.DaskWorkerGroup, err error)
- func (c *FakeDaskWorkerGroups) Update(ctx context.Context, daskWorkerGroup *kubernetesdaskorgv1.DaskWorkerGroup, ...) (result *kubernetesdaskorgv1.DaskWorkerGroup, err error)
- func (c *FakeDaskWorkerGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKubernetesV1
- func (c *FakeKubernetesV1) DaskAutoscalers(namespace string) v1.DaskAutoscalerInterface
- func (c *FakeKubernetesV1) DaskClusters(namespace string) v1.DaskClusterInterface
- func (c *FakeKubernetesV1) DaskJobs(namespace string) v1.DaskJobInterface
- func (c *FakeKubernetesV1) DaskWorkerGroups(namespace string) v1.DaskWorkerGroupInterface
- func (c *FakeKubernetesV1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDaskAutoscalers ¶
type FakeDaskAutoscalers struct { Fake *FakeKubernetesV1 // contains filtered or unexported fields }
FakeDaskAutoscalers implements DaskAutoscalerInterface
func (*FakeDaskAutoscalers) Create ¶
func (c *FakeDaskAutoscalers) Create(ctx context.Context, daskAutoscaler *kubernetesdaskorgv1.DaskAutoscaler, opts v1.CreateOptions) (result *kubernetesdaskorgv1.DaskAutoscaler, err error)
Create takes the representation of a daskAutoscaler and creates it. Returns the server's representation of the daskAutoscaler, and an error, if there is any.
func (*FakeDaskAutoscalers) Delete ¶
func (c *FakeDaskAutoscalers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the daskAutoscaler and deletes it. Returns an error if one occurs.
func (*FakeDaskAutoscalers) DeleteCollection ¶
func (c *FakeDaskAutoscalers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDaskAutoscalers) Get ¶
func (c *FakeDaskAutoscalers) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubernetesdaskorgv1.DaskAutoscaler, err error)
Get takes name of the daskAutoscaler, and returns the corresponding daskAutoscaler object, and an error if there is any.
func (*FakeDaskAutoscalers) List ¶
func (c *FakeDaskAutoscalers) List(ctx context.Context, opts v1.ListOptions) (result *kubernetesdaskorgv1.DaskAutoscalerList, err error)
List takes label and field selectors, and returns the list of DaskAutoscalers that match those selectors.
func (*FakeDaskAutoscalers) Patch ¶
func (c *FakeDaskAutoscalers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubernetesdaskorgv1.DaskAutoscaler, err error)
Patch applies the patch and returns the patched daskAutoscaler.
func (*FakeDaskAutoscalers) Update ¶
func (c *FakeDaskAutoscalers) Update(ctx context.Context, daskAutoscaler *kubernetesdaskorgv1.DaskAutoscaler, opts v1.UpdateOptions) (result *kubernetesdaskorgv1.DaskAutoscaler, err error)
Update takes the representation of a daskAutoscaler and updates it. Returns the server's representation of the daskAutoscaler, and an error, if there is any.
func (*FakeDaskAutoscalers) Watch ¶
func (c *FakeDaskAutoscalers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested daskAutoscalers.
type FakeDaskClusters ¶
type FakeDaskClusters struct { Fake *FakeKubernetesV1 // contains filtered or unexported fields }
FakeDaskClusters implements DaskClusterInterface
func (*FakeDaskClusters) Create ¶
func (c *FakeDaskClusters) Create(ctx context.Context, daskCluster *kubernetesdaskorgv1.DaskCluster, opts v1.CreateOptions) (result *kubernetesdaskorgv1.DaskCluster, err error)
Create takes the representation of a daskCluster and creates it. Returns the server's representation of the daskCluster, and an error, if there is any.
func (*FakeDaskClusters) Delete ¶
func (c *FakeDaskClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the daskCluster and deletes it. Returns an error if one occurs.
func (*FakeDaskClusters) DeleteCollection ¶
func (c *FakeDaskClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDaskClusters) Get ¶
func (c *FakeDaskClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubernetesdaskorgv1.DaskCluster, err error)
Get takes name of the daskCluster, and returns the corresponding daskCluster object, and an error if there is any.
func (*FakeDaskClusters) List ¶
func (c *FakeDaskClusters) List(ctx context.Context, opts v1.ListOptions) (result *kubernetesdaskorgv1.DaskClusterList, err error)
List takes label and field selectors, and returns the list of DaskClusters that match those selectors.
func (*FakeDaskClusters) Patch ¶
func (c *FakeDaskClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubernetesdaskorgv1.DaskCluster, err error)
Patch applies the patch and returns the patched daskCluster.
func (*FakeDaskClusters) Update ¶
func (c *FakeDaskClusters) Update(ctx context.Context, daskCluster *kubernetesdaskorgv1.DaskCluster, opts v1.UpdateOptions) (result *kubernetesdaskorgv1.DaskCluster, err error)
Update takes the representation of a daskCluster and updates it. Returns the server's representation of the daskCluster, and an error, if there is any.
func (*FakeDaskClusters) UpdateStatus ¶
func (c *FakeDaskClusters) UpdateStatus(ctx context.Context, daskCluster *kubernetesdaskorgv1.DaskCluster, opts v1.UpdateOptions) (*kubernetesdaskorgv1.DaskCluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDaskClusters) Watch ¶
func (c *FakeDaskClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested daskClusters.
type FakeDaskJobs ¶
type FakeDaskJobs struct { Fake *FakeKubernetesV1 // contains filtered or unexported fields }
FakeDaskJobs implements DaskJobInterface
func (*FakeDaskJobs) Create ¶
func (c *FakeDaskJobs) Create(ctx context.Context, daskJob *kubernetesdaskorgv1.DaskJob, opts v1.CreateOptions) (result *kubernetesdaskorgv1.DaskJob, err error)
Create takes the representation of a daskJob and creates it. Returns the server's representation of the daskJob, and an error, if there is any.
func (*FakeDaskJobs) Delete ¶
func (c *FakeDaskJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the daskJob and deletes it. Returns an error if one occurs.
func (*FakeDaskJobs) DeleteCollection ¶
func (c *FakeDaskJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDaskJobs) Get ¶
func (c *FakeDaskJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubernetesdaskorgv1.DaskJob, err error)
Get takes name of the daskJob, and returns the corresponding daskJob object, and an error if there is any.
func (*FakeDaskJobs) List ¶
func (c *FakeDaskJobs) List(ctx context.Context, opts v1.ListOptions) (result *kubernetesdaskorgv1.DaskJobList, err error)
List takes label and field selectors, and returns the list of DaskJobs that match those selectors.
func (*FakeDaskJobs) Patch ¶
func (c *FakeDaskJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubernetesdaskorgv1.DaskJob, err error)
Patch applies the patch and returns the patched daskJob.
func (*FakeDaskJobs) Update ¶
func (c *FakeDaskJobs) Update(ctx context.Context, daskJob *kubernetesdaskorgv1.DaskJob, opts v1.UpdateOptions) (result *kubernetesdaskorgv1.DaskJob, err error)
Update takes the representation of a daskJob and updates it. Returns the server's representation of the daskJob, and an error, if there is any.
func (*FakeDaskJobs) UpdateStatus ¶
func (c *FakeDaskJobs) UpdateStatus(ctx context.Context, daskJob *kubernetesdaskorgv1.DaskJob, opts v1.UpdateOptions) (*kubernetesdaskorgv1.DaskJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDaskJobs) Watch ¶
func (c *FakeDaskJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested daskJobs.
type FakeDaskWorkerGroups ¶
type FakeDaskWorkerGroups struct { Fake *FakeKubernetesV1 // contains filtered or unexported fields }
FakeDaskWorkerGroups implements DaskWorkerGroupInterface
func (*FakeDaskWorkerGroups) Create ¶
func (c *FakeDaskWorkerGroups) Create(ctx context.Context, daskWorkerGroup *kubernetesdaskorgv1.DaskWorkerGroup, opts v1.CreateOptions) (result *kubernetesdaskorgv1.DaskWorkerGroup, err error)
Create takes the representation of a daskWorkerGroup and creates it. Returns the server's representation of the daskWorkerGroup, and an error, if there is any.
func (*FakeDaskWorkerGroups) Delete ¶
func (c *FakeDaskWorkerGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the daskWorkerGroup and deletes it. Returns an error if one occurs.
func (*FakeDaskWorkerGroups) DeleteCollection ¶
func (c *FakeDaskWorkerGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDaskWorkerGroups) Get ¶
func (c *FakeDaskWorkerGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubernetesdaskorgv1.DaskWorkerGroup, err error)
Get takes name of the daskWorkerGroup, and returns the corresponding daskWorkerGroup object, and an error if there is any.
func (*FakeDaskWorkerGroups) List ¶
func (c *FakeDaskWorkerGroups) List(ctx context.Context, opts v1.ListOptions) (result *kubernetesdaskorgv1.DaskWorkerGroupList, err error)
List takes label and field selectors, and returns the list of DaskWorkerGroups that match those selectors.
func (*FakeDaskWorkerGroups) Patch ¶
func (c *FakeDaskWorkerGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubernetesdaskorgv1.DaskWorkerGroup, err error)
Patch applies the patch and returns the patched daskWorkerGroup.
func (*FakeDaskWorkerGroups) Update ¶
func (c *FakeDaskWorkerGroups) Update(ctx context.Context, daskWorkerGroup *kubernetesdaskorgv1.DaskWorkerGroup, opts v1.UpdateOptions) (result *kubernetesdaskorgv1.DaskWorkerGroup, err error)
Update takes the representation of a daskWorkerGroup and updates it. Returns the server's representation of the daskWorkerGroup, and an error, if there is any.
func (*FakeDaskWorkerGroups) Watch ¶
func (c *FakeDaskWorkerGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested daskWorkerGroups.
type FakeKubernetesV1 ¶
func (*FakeKubernetesV1) DaskAutoscalers ¶
func (c *FakeKubernetesV1) DaskAutoscalers(namespace string) v1.DaskAutoscalerInterface
func (*FakeKubernetesV1) DaskClusters ¶
func (c *FakeKubernetesV1) DaskClusters(namespace string) v1.DaskClusterInterface
func (*FakeKubernetesV1) DaskJobs ¶
func (c *FakeKubernetesV1) DaskJobs(namespace string) v1.DaskJobInterface
func (*FakeKubernetesV1) DaskWorkerGroups ¶
func (c *FakeKubernetesV1) DaskWorkerGroups(namespace string) v1.DaskWorkerGroupInterface
func (*FakeKubernetesV1) RESTClient ¶
func (c *FakeKubernetesV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.