fake

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAutoscalingPolicies

type FakeAutoscalingPolicies struct {
	Fake *FakeDataprocV1alpha1
	// contains filtered or unexported fields
}

FakeAutoscalingPolicies implements AutoscalingPolicyInterface

func (*FakeAutoscalingPolicies) Create

func (c *FakeAutoscalingPolicies) Create(ctx context.Context, autoscalingPolicy *v1alpha1.AutoscalingPolicy, opts v1.CreateOptions) (result *v1alpha1.AutoscalingPolicy, err error)

Create takes the representation of a autoscalingPolicy and creates it. Returns the server's representation of the autoscalingPolicy, and an error, if there is any.

func (*FakeAutoscalingPolicies) Delete

func (c *FakeAutoscalingPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the autoscalingPolicy and deletes it. Returns an error if one occurs.

func (*FakeAutoscalingPolicies) DeleteCollection

func (c *FakeAutoscalingPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAutoscalingPolicies) Get

func (c *FakeAutoscalingPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AutoscalingPolicy, err error)

Get takes name of the autoscalingPolicy, and returns the corresponding autoscalingPolicy object, and an error if there is any.

func (*FakeAutoscalingPolicies) List

List takes label and field selectors, and returns the list of AutoscalingPolicies that match those selectors.

func (*FakeAutoscalingPolicies) Patch

func (c *FakeAutoscalingPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AutoscalingPolicy, err error)

Patch applies the patch and returns the patched autoscalingPolicy.

func (*FakeAutoscalingPolicies) Update

func (c *FakeAutoscalingPolicies) Update(ctx context.Context, autoscalingPolicy *v1alpha1.AutoscalingPolicy, opts v1.UpdateOptions) (result *v1alpha1.AutoscalingPolicy, err error)

Update takes the representation of a autoscalingPolicy and updates it. Returns the server's representation of the autoscalingPolicy, and an error, if there is any.

func (*FakeAutoscalingPolicies) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAutoscalingPolicies) Watch

Watch returns a watch.Interface that watches the requested autoscalingPolicies.

type FakeClusterIamBindings

type FakeClusterIamBindings struct {
	Fake *FakeDataprocV1alpha1
	// contains filtered or unexported fields
}

FakeClusterIamBindings implements ClusterIamBindingInterface

func (*FakeClusterIamBindings) Create

func (c *FakeClusterIamBindings) Create(ctx context.Context, clusterIamBinding *v1alpha1.ClusterIamBinding, opts v1.CreateOptions) (result *v1alpha1.ClusterIamBinding, err error)

Create takes the representation of a clusterIamBinding and creates it. Returns the server's representation of the clusterIamBinding, and an error, if there is any.

func (*FakeClusterIamBindings) Delete

func (c *FakeClusterIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the clusterIamBinding and deletes it. Returns an error if one occurs.

func (*FakeClusterIamBindings) DeleteCollection

func (c *FakeClusterIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterIamBindings) Get

func (c *FakeClusterIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterIamBinding, err error)

Get takes name of the clusterIamBinding, and returns the corresponding clusterIamBinding object, and an error if there is any.

func (*FakeClusterIamBindings) List

List takes label and field selectors, and returns the list of ClusterIamBindings that match those selectors.

func (*FakeClusterIamBindings) Patch

func (c *FakeClusterIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterIamBinding, err error)

Patch applies the patch and returns the patched clusterIamBinding.

func (*FakeClusterIamBindings) Update

func (c *FakeClusterIamBindings) Update(ctx context.Context, clusterIamBinding *v1alpha1.ClusterIamBinding, opts v1.UpdateOptions) (result *v1alpha1.ClusterIamBinding, err error)

Update takes the representation of a clusterIamBinding and updates it. Returns the server's representation of the clusterIamBinding, and an error, if there is any.

func (*FakeClusterIamBindings) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeClusterIamBindings) Watch

Watch returns a watch.Interface that watches the requested clusterIamBindings.

type FakeClusterIamMembers

type FakeClusterIamMembers struct {
	Fake *FakeDataprocV1alpha1
	// contains filtered or unexported fields
}

FakeClusterIamMembers implements ClusterIamMemberInterface

func (*FakeClusterIamMembers) Create

func (c *FakeClusterIamMembers) Create(ctx context.Context, clusterIamMember *v1alpha1.ClusterIamMember, opts v1.CreateOptions) (result *v1alpha1.ClusterIamMember, err error)

Create takes the representation of a clusterIamMember and creates it. Returns the server's representation of the clusterIamMember, and an error, if there is any.

func (*FakeClusterIamMembers) Delete

func (c *FakeClusterIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the clusterIamMember and deletes it. Returns an error if one occurs.

func (*FakeClusterIamMembers) DeleteCollection

func (c *FakeClusterIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterIamMembers) Get

func (c *FakeClusterIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterIamMember, err error)

Get takes name of the clusterIamMember, and returns the corresponding clusterIamMember object, and an error if there is any.

func (*FakeClusterIamMembers) List

List takes label and field selectors, and returns the list of ClusterIamMembers that match those selectors.

func (*FakeClusterIamMembers) Patch

func (c *FakeClusterIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterIamMember, err error)

Patch applies the patch and returns the patched clusterIamMember.

func (*FakeClusterIamMembers) Update

func (c *FakeClusterIamMembers) Update(ctx context.Context, clusterIamMember *v1alpha1.ClusterIamMember, opts v1.UpdateOptions) (result *v1alpha1.ClusterIamMember, err error)

Update takes the representation of a clusterIamMember and updates it. Returns the server's representation of the clusterIamMember, and an error, if there is any.

func (*FakeClusterIamMembers) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeClusterIamMembers) Watch

Watch returns a watch.Interface that watches the requested clusterIamMembers.

type FakeClusterIamPolicies

type FakeClusterIamPolicies struct {
	Fake *FakeDataprocV1alpha1
	// contains filtered or unexported fields
}

FakeClusterIamPolicies implements ClusterIamPolicyInterface

func (*FakeClusterIamPolicies) Create

func (c *FakeClusterIamPolicies) Create(ctx context.Context, clusterIamPolicy *v1alpha1.ClusterIamPolicy, opts v1.CreateOptions) (result *v1alpha1.ClusterIamPolicy, err error)

Create takes the representation of a clusterIamPolicy and creates it. Returns the server's representation of the clusterIamPolicy, and an error, if there is any.

func (*FakeClusterIamPolicies) Delete

func (c *FakeClusterIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the clusterIamPolicy and deletes it. Returns an error if one occurs.

func (*FakeClusterIamPolicies) DeleteCollection

func (c *FakeClusterIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterIamPolicies) Get

func (c *FakeClusterIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterIamPolicy, err error)

Get takes name of the clusterIamPolicy, and returns the corresponding clusterIamPolicy object, and an error if there is any.

func (*FakeClusterIamPolicies) List

List takes label and field selectors, and returns the list of ClusterIamPolicies that match those selectors.

func (*FakeClusterIamPolicies) Patch

func (c *FakeClusterIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterIamPolicy, err error)

Patch applies the patch and returns the patched clusterIamPolicy.

func (*FakeClusterIamPolicies) Update

func (c *FakeClusterIamPolicies) Update(ctx context.Context, clusterIamPolicy *v1alpha1.ClusterIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.ClusterIamPolicy, err error)

Update takes the representation of a clusterIamPolicy and updates it. Returns the server's representation of the clusterIamPolicy, and an error, if there is any.

func (*FakeClusterIamPolicies) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeClusterIamPolicies) Watch

Watch returns a watch.Interface that watches the requested clusterIamPolicies.

type FakeClusters

type FakeClusters struct {
	Fake *FakeDataprocV1alpha1
	// contains filtered or unexported fields
}

FakeClusters implements ClusterInterface

func (*FakeClusters) Create

func (c *FakeClusters) Create(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.CreateOptions) (result *v1alpha1.Cluster, err error)

Create takes the representation of a cluster and creates it. Returns the server's representation of the cluster, and an error, if there is any.

func (*FakeClusters) Delete

func (c *FakeClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the cluster and deletes it. Returns an error if one occurs.

func (*FakeClusters) DeleteCollection

func (c *FakeClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusters) Get

func (c *FakeClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)

Get takes name of the cluster, and returns the corresponding cluster object, and an error if there is any.

func (*FakeClusters) List

func (c *FakeClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)

List takes label and field selectors, and returns the list of Clusters that match those selectors.

func (*FakeClusters) Patch

func (c *FakeClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Cluster, err error)

Patch applies the patch and returns the patched cluster.

func (*FakeClusters) Update

func (c *FakeClusters) Update(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (result *v1alpha1.Cluster, err error)

Update takes the representation of a cluster and updates it. Returns the server's representation of the cluster, and an error, if there is any.

func (*FakeClusters) UpdateStatus

func (c *FakeClusters) UpdateStatus(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.Cluster, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeClusters) Watch

func (c *FakeClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested clusters.

type FakeDataprocV1alpha1

type FakeDataprocV1alpha1 struct {
	*testing.Fake
}

func (*FakeDataprocV1alpha1) AutoscalingPolicies

func (c *FakeDataprocV1alpha1) AutoscalingPolicies(namespace string) v1alpha1.AutoscalingPolicyInterface

func (*FakeDataprocV1alpha1) ClusterIamBindings

func (c *FakeDataprocV1alpha1) ClusterIamBindings(namespace string) v1alpha1.ClusterIamBindingInterface

func (*FakeDataprocV1alpha1) ClusterIamMembers

func (c *FakeDataprocV1alpha1) ClusterIamMembers(namespace string) v1alpha1.ClusterIamMemberInterface

func (*FakeDataprocV1alpha1) ClusterIamPolicies

func (c *FakeDataprocV1alpha1) ClusterIamPolicies(namespace string) v1alpha1.ClusterIamPolicyInterface

func (*FakeDataprocV1alpha1) Clusters

func (c *FakeDataprocV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface

func (*FakeDataprocV1alpha1) JobIamBindings

func (c *FakeDataprocV1alpha1) JobIamBindings(namespace string) v1alpha1.JobIamBindingInterface

func (*FakeDataprocV1alpha1) JobIamMembers

func (c *FakeDataprocV1alpha1) JobIamMembers(namespace string) v1alpha1.JobIamMemberInterface

func (*FakeDataprocV1alpha1) JobIamPolicies

func (c *FakeDataprocV1alpha1) JobIamPolicies(namespace string) v1alpha1.JobIamPolicyInterface

func (*FakeDataprocV1alpha1) Jobs

func (c *FakeDataprocV1alpha1) Jobs(namespace string) v1alpha1.JobInterface

func (*FakeDataprocV1alpha1) RESTClient

func (c *FakeDataprocV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeDataprocV1alpha1) WorkflowTemplates

func (c *FakeDataprocV1alpha1) WorkflowTemplates(namespace string) v1alpha1.WorkflowTemplateInterface

type FakeJobIamBindings

type FakeJobIamBindings struct {
	Fake *FakeDataprocV1alpha1
	// contains filtered or unexported fields
}

FakeJobIamBindings implements JobIamBindingInterface

func (*FakeJobIamBindings) Create

func (c *FakeJobIamBindings) Create(ctx context.Context, jobIamBinding *v1alpha1.JobIamBinding, opts v1.CreateOptions) (result *v1alpha1.JobIamBinding, err error)

Create takes the representation of a jobIamBinding and creates it. Returns the server's representation of the jobIamBinding, and an error, if there is any.

func (*FakeJobIamBindings) Delete

func (c *FakeJobIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the jobIamBinding and deletes it. Returns an error if one occurs.

func (*FakeJobIamBindings) DeleteCollection

func (c *FakeJobIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeJobIamBindings) Get

func (c *FakeJobIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.JobIamBinding, err error)

Get takes name of the jobIamBinding, and returns the corresponding jobIamBinding object, and an error if there is any.

func (*FakeJobIamBindings) List

func (c *FakeJobIamBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.JobIamBindingList, err error)

List takes label and field selectors, and returns the list of JobIamBindings that match those selectors.

func (*FakeJobIamBindings) Patch

func (c *FakeJobIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.JobIamBinding, err error)

Patch applies the patch and returns the patched jobIamBinding.

func (*FakeJobIamBindings) Update

func (c *FakeJobIamBindings) Update(ctx context.Context, jobIamBinding *v1alpha1.JobIamBinding, opts v1.UpdateOptions) (result *v1alpha1.JobIamBinding, err error)

Update takes the representation of a jobIamBinding and updates it. Returns the server's representation of the jobIamBinding, and an error, if there is any.

func (*FakeJobIamBindings) UpdateStatus

func (c *FakeJobIamBindings) UpdateStatus(ctx context.Context, jobIamBinding *v1alpha1.JobIamBinding, opts v1.UpdateOptions) (*v1alpha1.JobIamBinding, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeJobIamBindings) Watch

Watch returns a watch.Interface that watches the requested jobIamBindings.

type FakeJobIamMembers

type FakeJobIamMembers struct {
	Fake *FakeDataprocV1alpha1
	// contains filtered or unexported fields
}

FakeJobIamMembers implements JobIamMemberInterface

func (*FakeJobIamMembers) Create

func (c *FakeJobIamMembers) Create(ctx context.Context, jobIamMember *v1alpha1.JobIamMember, opts v1.CreateOptions) (result *v1alpha1.JobIamMember, err error)

Create takes the representation of a jobIamMember and creates it. Returns the server's representation of the jobIamMember, and an error, if there is any.

func (*FakeJobIamMembers) Delete

func (c *FakeJobIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the jobIamMember and deletes it. Returns an error if one occurs.

func (*FakeJobIamMembers) DeleteCollection

func (c *FakeJobIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeJobIamMembers) Get

func (c *FakeJobIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.JobIamMember, err error)

Get takes name of the jobIamMember, and returns the corresponding jobIamMember object, and an error if there is any.

func (*FakeJobIamMembers) List

func (c *FakeJobIamMembers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.JobIamMemberList, err error)

List takes label and field selectors, and returns the list of JobIamMembers that match those selectors.

func (*FakeJobIamMembers) Patch

func (c *FakeJobIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.JobIamMember, err error)

Patch applies the patch and returns the patched jobIamMember.

func (*FakeJobIamMembers) Update

func (c *FakeJobIamMembers) Update(ctx context.Context, jobIamMember *v1alpha1.JobIamMember, opts v1.UpdateOptions) (result *v1alpha1.JobIamMember, err error)

Update takes the representation of a jobIamMember and updates it. Returns the server's representation of the jobIamMember, and an error, if there is any.

func (*FakeJobIamMembers) UpdateStatus

func (c *FakeJobIamMembers) UpdateStatus(ctx context.Context, jobIamMember *v1alpha1.JobIamMember, opts v1.UpdateOptions) (*v1alpha1.JobIamMember, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeJobIamMembers) Watch

Watch returns a watch.Interface that watches the requested jobIamMembers.

type FakeJobIamPolicies

type FakeJobIamPolicies struct {
	Fake *FakeDataprocV1alpha1
	// contains filtered or unexported fields
}

FakeJobIamPolicies implements JobIamPolicyInterface

func (*FakeJobIamPolicies) Create

func (c *FakeJobIamPolicies) Create(ctx context.Context, jobIamPolicy *v1alpha1.JobIamPolicy, opts v1.CreateOptions) (result *v1alpha1.JobIamPolicy, err error)

Create takes the representation of a jobIamPolicy and creates it. Returns the server's representation of the jobIamPolicy, and an error, if there is any.

func (*FakeJobIamPolicies) Delete

func (c *FakeJobIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the jobIamPolicy and deletes it. Returns an error if one occurs.

func (*FakeJobIamPolicies) DeleteCollection

func (c *FakeJobIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeJobIamPolicies) Get

func (c *FakeJobIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.JobIamPolicy, err error)

Get takes name of the jobIamPolicy, and returns the corresponding jobIamPolicy object, and an error if there is any.

func (*FakeJobIamPolicies) List

func (c *FakeJobIamPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.JobIamPolicyList, err error)

List takes label and field selectors, and returns the list of JobIamPolicies that match those selectors.

func (*FakeJobIamPolicies) Patch

func (c *FakeJobIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.JobIamPolicy, err error)

Patch applies the patch and returns the patched jobIamPolicy.

func (*FakeJobIamPolicies) Update

func (c *FakeJobIamPolicies) Update(ctx context.Context, jobIamPolicy *v1alpha1.JobIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.JobIamPolicy, err error)

Update takes the representation of a jobIamPolicy and updates it. Returns the server's representation of the jobIamPolicy, and an error, if there is any.

func (*FakeJobIamPolicies) UpdateStatus

func (c *FakeJobIamPolicies) UpdateStatus(ctx context.Context, jobIamPolicy *v1alpha1.JobIamPolicy, opts v1.UpdateOptions) (*v1alpha1.JobIamPolicy, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeJobIamPolicies) Watch

Watch returns a watch.Interface that watches the requested jobIamPolicies.

type FakeJobs

type FakeJobs struct {
	Fake *FakeDataprocV1alpha1
	// contains filtered or unexported fields
}

FakeJobs implements JobInterface

func (*FakeJobs) Create

func (c *FakeJobs) Create(ctx context.Context, job *v1alpha1.Job, opts v1.CreateOptions) (result *v1alpha1.Job, err error)

Create takes the representation of a job and creates it. Returns the server's representation of the job, and an error, if there is any.

func (*FakeJobs) Delete

func (c *FakeJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the job and deletes it. Returns an error if one occurs.

func (*FakeJobs) DeleteCollection

func (c *FakeJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeJobs) Get

func (c *FakeJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Job, err error)

Get takes name of the job, and returns the corresponding job object, and an error if there is any.

func (*FakeJobs) List

func (c *FakeJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.JobList, err error)

List takes label and field selectors, and returns the list of Jobs that match those selectors.

func (*FakeJobs) Patch

func (c *FakeJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Job, err error)

Patch applies the patch and returns the patched job.

func (*FakeJobs) Update

func (c *FakeJobs) Update(ctx context.Context, job *v1alpha1.Job, opts v1.UpdateOptions) (result *v1alpha1.Job, err error)

Update takes the representation of a job and updates it. Returns the server's representation of the job, and an error, if there is any.

func (*FakeJobs) UpdateStatus

func (c *FakeJobs) UpdateStatus(ctx context.Context, job *v1alpha1.Job, opts v1.UpdateOptions) (*v1alpha1.Job, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeJobs) Watch

func (c *FakeJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested jobs.

type FakeWorkflowTemplates

type FakeWorkflowTemplates struct {
	Fake *FakeDataprocV1alpha1
	// contains filtered or unexported fields
}

FakeWorkflowTemplates implements WorkflowTemplateInterface

func (*FakeWorkflowTemplates) Create

func (c *FakeWorkflowTemplates) Create(ctx context.Context, workflowTemplate *v1alpha1.WorkflowTemplate, opts v1.CreateOptions) (result *v1alpha1.WorkflowTemplate, err error)

Create takes the representation of a workflowTemplate and creates it. Returns the server's representation of the workflowTemplate, and an error, if there is any.

func (*FakeWorkflowTemplates) Delete

func (c *FakeWorkflowTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the workflowTemplate and deletes it. Returns an error if one occurs.

func (*FakeWorkflowTemplates) DeleteCollection

func (c *FakeWorkflowTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeWorkflowTemplates) Get

func (c *FakeWorkflowTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.WorkflowTemplate, err error)

Get takes name of the workflowTemplate, and returns the corresponding workflowTemplate object, and an error if there is any.

func (*FakeWorkflowTemplates) List

List takes label and field selectors, and returns the list of WorkflowTemplates that match those selectors.

func (*FakeWorkflowTemplates) Patch

func (c *FakeWorkflowTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.WorkflowTemplate, err error)

Patch applies the patch and returns the patched workflowTemplate.

func (*FakeWorkflowTemplates) Update

func (c *FakeWorkflowTemplates) Update(ctx context.Context, workflowTemplate *v1alpha1.WorkflowTemplate, opts v1.UpdateOptions) (result *v1alpha1.WorkflowTemplate, err error)

Update takes the representation of a workflowTemplate and updates it. Returns the server's representation of the workflowTemplate, and an error, if there is any.

func (*FakeWorkflowTemplates) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeWorkflowTemplates) Watch

Watch returns a watch.Interface that watches the requested workflowTemplates.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL