Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDataprocAutoscalingPolicies
- func (c *FakeDataprocAutoscalingPolicies) Create(ctx context.Context, ...) (result *v1beta1.DataprocAutoscalingPolicy, err error)
- func (c *FakeDataprocAutoscalingPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDataprocAutoscalingPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDataprocAutoscalingPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DataprocAutoscalingPolicy, err error)
- func (c *FakeDataprocAutoscalingPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DataprocAutoscalingPolicyList, err error)
- func (c *FakeDataprocAutoscalingPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.DataprocAutoscalingPolicy, err error)
- func (c *FakeDataprocAutoscalingPolicies) Update(ctx context.Context, ...) (result *v1beta1.DataprocAutoscalingPolicy, err error)
- func (c *FakeDataprocAutoscalingPolicies) UpdateStatus(ctx context.Context, ...) (*v1beta1.DataprocAutoscalingPolicy, error)
- func (c *FakeDataprocAutoscalingPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDataprocClusters
- func (c *FakeDataprocClusters) Create(ctx context.Context, dataprocCluster *v1beta1.DataprocCluster, ...) (result *v1beta1.DataprocCluster, err error)
- func (c *FakeDataprocClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDataprocClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDataprocClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DataprocCluster, err error)
- func (c *FakeDataprocClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DataprocClusterList, err error)
- func (c *FakeDataprocClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.DataprocCluster, err error)
- func (c *FakeDataprocClusters) Update(ctx context.Context, dataprocCluster *v1beta1.DataprocCluster, ...) (result *v1beta1.DataprocCluster, err error)
- func (c *FakeDataprocClusters) UpdateStatus(ctx context.Context, dataprocCluster *v1beta1.DataprocCluster, ...) (*v1beta1.DataprocCluster, error)
- func (c *FakeDataprocClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDataprocV1beta1
- func (c *FakeDataprocV1beta1) DataprocAutoscalingPolicies(namespace string) v1beta1.DataprocAutoscalingPolicyInterface
- func (c *FakeDataprocV1beta1) DataprocClusters(namespace string) v1beta1.DataprocClusterInterface
- func (c *FakeDataprocV1beta1) DataprocWorkflowTemplates(namespace string) v1beta1.DataprocWorkflowTemplateInterface
- func (c *FakeDataprocV1beta1) RESTClient() rest.Interface
- type FakeDataprocWorkflowTemplates
- func (c *FakeDataprocWorkflowTemplates) Create(ctx context.Context, ...) (result *v1beta1.DataprocWorkflowTemplate, err error)
- func (c *FakeDataprocWorkflowTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDataprocWorkflowTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDataprocWorkflowTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DataprocWorkflowTemplate, err error)
- func (c *FakeDataprocWorkflowTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DataprocWorkflowTemplateList, err error)
- func (c *FakeDataprocWorkflowTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.DataprocWorkflowTemplate, err error)
- func (c *FakeDataprocWorkflowTemplates) Update(ctx context.Context, ...) (result *v1beta1.DataprocWorkflowTemplate, err error)
- func (c *FakeDataprocWorkflowTemplates) UpdateStatus(ctx context.Context, ...) (*v1beta1.DataprocWorkflowTemplate, error)
- func (c *FakeDataprocWorkflowTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeDataprocAutoscalingPolicies) Create(ctx context.Context, dataprocAutoscalingPolicy *v1beta1.DataprocAutoscalingPolicy, opts v1.CreateOptions) (result *v1beta1.DataprocAutoscalingPolicy, err error)
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 ¶
func (c *FakeDataprocAutoscalingPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeDataprocAutoscalingPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DataprocAutoscalingPolicy, err error)
Get takes name of the dataprocAutoscalingPolicy, and returns the corresponding dataprocAutoscalingPolicy object, and an error if there is any.
func (*FakeDataprocAutoscalingPolicies) List ¶
func (c *FakeDataprocAutoscalingPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DataprocAutoscalingPolicyList, err error)
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 ¶
func (c *FakeDataprocAutoscalingPolicies) Update(ctx context.Context, dataprocAutoscalingPolicy *v1beta1.DataprocAutoscalingPolicy, opts v1.UpdateOptions) (result *v1beta1.DataprocAutoscalingPolicy, err error)
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 ¶
func (c *FakeDataprocAutoscalingPolicies) UpdateStatus(ctx context.Context, dataprocAutoscalingPolicy *v1beta1.DataprocAutoscalingPolicy, opts v1.UpdateOptions) (*v1beta1.DataprocAutoscalingPolicy, error)
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 ¶
func (c *FakeDataprocAutoscalingPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeDataprocClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DataprocClusterList, err error)
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 ¶
func (c *FakeDataprocClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dataprocClusters.
type FakeDataprocV1beta1 ¶
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 ¶
func (c *FakeDataprocWorkflowTemplates) Create(ctx context.Context, dataprocWorkflowTemplate *v1beta1.DataprocWorkflowTemplate, opts v1.CreateOptions) (result *v1beta1.DataprocWorkflowTemplate, err error)
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 ¶
func (c *FakeDataprocWorkflowTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeDataprocWorkflowTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DataprocWorkflowTemplate, err error)
Get takes name of the dataprocWorkflowTemplate, and returns the corresponding dataprocWorkflowTemplate object, and an error if there is any.
func (*FakeDataprocWorkflowTemplates) List ¶
func (c *FakeDataprocWorkflowTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DataprocWorkflowTemplateList, err error)
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 ¶
func (c *FakeDataprocWorkflowTemplates) Update(ctx context.Context, dataprocWorkflowTemplate *v1beta1.DataprocWorkflowTemplate, opts v1.UpdateOptions) (result *v1beta1.DataprocWorkflowTemplate, err error)
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 ¶
func (c *FakeDataprocWorkflowTemplates) UpdateStatus(ctx context.Context, dataprocWorkflowTemplate *v1beta1.DataprocWorkflowTemplate, opts v1.UpdateOptions) (*v1beta1.DataprocWorkflowTemplate, error)
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 ¶
func (c *FakeDataprocWorkflowTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dataprocWorkflowTemplates.