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 FakeBigQueryReservationCapacityCommitments added in v1.108.0

type FakeBigQueryReservationCapacityCommitments struct {
	Fake *FakeBigqueryreservationV1alpha1
	// contains filtered or unexported fields
}

FakeBigQueryReservationCapacityCommitments implements BigQueryReservationCapacityCommitmentInterface

func (*FakeBigQueryReservationCapacityCommitments) Create added in v1.108.0

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

func (*FakeBigQueryReservationCapacityCommitments) Delete added in v1.108.0

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

func (*FakeBigQueryReservationCapacityCommitments) DeleteCollection added in v1.108.0

DeleteCollection deletes a collection of objects.

func (*FakeBigQueryReservationCapacityCommitments) Get added in v1.108.0

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

func (*FakeBigQueryReservationCapacityCommitments) List added in v1.108.0

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

func (*FakeBigQueryReservationCapacityCommitments) Patch added in v1.108.0

Patch applies the patch and returns the patched bigQueryReservationCapacityCommitment.

func (*FakeBigQueryReservationCapacityCommitments) Update added in v1.108.0

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

func (*FakeBigQueryReservationCapacityCommitments) UpdateStatus added in v1.108.0

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

func (*FakeBigQueryReservationCapacityCommitments) Watch added in v1.108.0

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

type FakeBigQueryReservationReservations

type FakeBigQueryReservationReservations struct {
	Fake *FakeBigqueryreservationV1alpha1
	// contains filtered or unexported fields
}

FakeBigQueryReservationReservations implements BigQueryReservationReservationInterface

func (*FakeBigQueryReservationReservations) Create

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

func (*FakeBigQueryReservationReservations) Delete

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

func (*FakeBigQueryReservationReservations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBigQueryReservationReservations) Get

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

func (*FakeBigQueryReservationReservations) List

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

func (*FakeBigQueryReservationReservations) Patch

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

Patch applies the patch and returns the patched bigQueryReservationReservation.

func (*FakeBigQueryReservationReservations) Update

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

func (*FakeBigQueryReservationReservations) UpdateStatus

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

func (*FakeBigQueryReservationReservations) Watch

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

type FakeBigqueryreservationV1alpha1

type FakeBigqueryreservationV1alpha1 struct {
	*testing.Fake
}

func (*FakeBigqueryreservationV1alpha1) BigQueryReservationCapacityCommitments added in v1.108.0

func (c *FakeBigqueryreservationV1alpha1) BigQueryReservationCapacityCommitments(namespace string) v1alpha1.BigQueryReservationCapacityCommitmentInterface

func (*FakeBigqueryreservationV1alpha1) BigQueryReservationReservations

func (c *FakeBigqueryreservationV1alpha1) BigQueryReservationReservations(namespace string) v1alpha1.BigQueryReservationReservationInterface

func (*FakeBigqueryreservationV1alpha1) RESTClient

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

Jump to

Keyboard shortcuts

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