fake

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 9 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 FakeDataprocAutoscalingPolicies

type FakeDataprocAutoscalingPolicies struct {
	Fake *FakeDataprocV1beta1
	// contains filtered or unexported fields
}

FakeDataprocAutoscalingPolicies implements DataprocAutoscalingPolicyInterface

func (*FakeDataprocAutoscalingPolicies) Create

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

func (*FakeDataprocAutoscalingPolicies) Delete

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

func (*FakeDataprocAutoscalingPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDataprocAutoscalingPolicies) Get

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

func (*FakeDataprocAutoscalingPolicies) List

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

func (*FakeDataprocAutoscalingPolicies) Patch

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

Patch applies the patch and returns the patched dataprocAutoscalingPolicy.

func (*FakeDataprocAutoscalingPolicies) Update

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

func (*FakeDataprocAutoscalingPolicies) UpdateStatus

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

func (*FakeDataprocAutoscalingPolicies) Watch

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

type FakeDataprocClusters

type FakeDataprocClusters struct {
	Fake *FakeDataprocV1beta1
	// contains filtered or unexported fields
}

FakeDataprocClusters implements DataprocClusterInterface

func (*FakeDataprocClusters) Create

func (c *FakeDataprocClusters) Create(ctx context.Context, dataprocCluster *v1beta1.DataprocCluster, opts v1.CreateOptions) (result *v1beta1.DataprocCluster, err error)

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

func (*FakeDataprocClusters) Delete

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

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

func (*FakeDataprocClusters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDataprocClusters) Get

func (c *FakeDataprocClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DataprocCluster, err error)

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

func (*FakeDataprocClusters) List

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

func (*FakeDataprocClusters) Patch

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

Patch applies the patch and returns the patched dataprocCluster.

func (*FakeDataprocClusters) Update

func (c *FakeDataprocClusters) Update(ctx context.Context, dataprocCluster *v1beta1.DataprocCluster, opts v1.UpdateOptions) (result *v1beta1.DataprocCluster, err error)

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

func (*FakeDataprocClusters) UpdateStatus

func (c *FakeDataprocClusters) UpdateStatus(ctx context.Context, dataprocCluster *v1beta1.DataprocCluster, opts v1.UpdateOptions) (*v1beta1.DataprocCluster, error)

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

func (*FakeDataprocClusters) Watch

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

type FakeDataprocV1beta1

type FakeDataprocV1beta1 struct {
	*testing.Fake
}

func (*FakeDataprocV1beta1) DataprocAutoscalingPolicies

func (c *FakeDataprocV1beta1) DataprocAutoscalingPolicies(namespace string) v1beta1.DataprocAutoscalingPolicyInterface

func (*FakeDataprocV1beta1) DataprocClusters

func (c *FakeDataprocV1beta1) DataprocClusters(namespace string) v1beta1.DataprocClusterInterface

func (*FakeDataprocV1beta1) DataprocWorkflowTemplates

func (c *FakeDataprocV1beta1) DataprocWorkflowTemplates(namespace string) v1beta1.DataprocWorkflowTemplateInterface

func (*FakeDataprocV1beta1) RESTClient

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

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

type FakeDataprocWorkflowTemplates

type FakeDataprocWorkflowTemplates struct {
	Fake *FakeDataprocV1beta1
	// contains filtered or unexported fields
}

FakeDataprocWorkflowTemplates implements DataprocWorkflowTemplateInterface

func (*FakeDataprocWorkflowTemplates) Create

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

func (*FakeDataprocWorkflowTemplates) Delete

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

func (*FakeDataprocWorkflowTemplates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDataprocWorkflowTemplates) Get

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

func (*FakeDataprocWorkflowTemplates) List

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

func (*FakeDataprocWorkflowTemplates) Patch

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

Patch applies the patch and returns the patched dataprocWorkflowTemplate.

func (*FakeDataprocWorkflowTemplates) Update

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

func (*FakeDataprocWorkflowTemplates) UpdateStatus

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

func (*FakeDataprocWorkflowTemplates) Watch

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

Jump to

Keyboard shortcuts

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