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 FakeBigqueryV1alpha1

type FakeBigqueryV1alpha1 struct {
	*testing.Fake
}

func (*FakeBigqueryV1alpha1) DataTransferConfigs

func (c *FakeBigqueryV1alpha1) DataTransferConfigs(namespace string) v1alpha1.DataTransferConfigInterface

func (*FakeBigqueryV1alpha1) DatasetAccesses

func (c *FakeBigqueryV1alpha1) DatasetAccesses(namespace string) v1alpha1.DatasetAccessInterface

func (*FakeBigqueryV1alpha1) DatasetIamBindings

func (c *FakeBigqueryV1alpha1) DatasetIamBindings(namespace string) v1alpha1.DatasetIamBindingInterface

func (*FakeBigqueryV1alpha1) DatasetIamMembers

func (c *FakeBigqueryV1alpha1) DatasetIamMembers(namespace string) v1alpha1.DatasetIamMemberInterface

func (*FakeBigqueryV1alpha1) DatasetIamPolicies

func (c *FakeBigqueryV1alpha1) DatasetIamPolicies(namespace string) v1alpha1.DatasetIamPolicyInterface

func (*FakeBigqueryV1alpha1) Datasets

func (c *FakeBigqueryV1alpha1) Datasets(namespace string) v1alpha1.DatasetInterface

func (*FakeBigqueryV1alpha1) Jobs

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

func (*FakeBigqueryV1alpha1) RESTClient

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

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

func (*FakeBigqueryV1alpha1) Reservations

func (c *FakeBigqueryV1alpha1) Reservations(namespace string) v1alpha1.ReservationInterface

func (*FakeBigqueryV1alpha1) Routines

func (c *FakeBigqueryV1alpha1) Routines(namespace string) v1alpha1.RoutineInterface

func (*FakeBigqueryV1alpha1) TableIamBindings

func (c *FakeBigqueryV1alpha1) TableIamBindings(namespace string) v1alpha1.TableIamBindingInterface

func (*FakeBigqueryV1alpha1) TableIamMembers

func (c *FakeBigqueryV1alpha1) TableIamMembers(namespace string) v1alpha1.TableIamMemberInterface

func (*FakeBigqueryV1alpha1) TableIamPolicies

func (c *FakeBigqueryV1alpha1) TableIamPolicies(namespace string) v1alpha1.TableIamPolicyInterface

func (*FakeBigqueryV1alpha1) Tables

func (c *FakeBigqueryV1alpha1) Tables(namespace string) v1alpha1.TableInterface

type FakeDataTransferConfigs

type FakeDataTransferConfigs struct {
	Fake *FakeBigqueryV1alpha1
	// contains filtered or unexported fields
}

FakeDataTransferConfigs implements DataTransferConfigInterface

func (*FakeDataTransferConfigs) Create

func (c *FakeDataTransferConfigs) Create(ctx context.Context, dataTransferConfig *v1alpha1.DataTransferConfig, opts v1.CreateOptions) (result *v1alpha1.DataTransferConfig, err error)

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

func (*FakeDataTransferConfigs) Delete

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

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

func (*FakeDataTransferConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDataTransferConfigs) Get

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

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

func (*FakeDataTransferConfigs) List

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

func (*FakeDataTransferConfigs) Patch

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

Patch applies the patch and returns the patched dataTransferConfig.

func (*FakeDataTransferConfigs) Update

func (c *FakeDataTransferConfigs) Update(ctx context.Context, dataTransferConfig *v1alpha1.DataTransferConfig, opts v1.UpdateOptions) (result *v1alpha1.DataTransferConfig, err error)

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

func (*FakeDataTransferConfigs) UpdateStatus

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

func (*FakeDataTransferConfigs) Watch

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

type FakeDatasetAccesses

type FakeDatasetAccesses struct {
	Fake *FakeBigqueryV1alpha1
	// contains filtered or unexported fields
}

FakeDatasetAccesses implements DatasetAccessInterface

func (*FakeDatasetAccesses) Create

func (c *FakeDatasetAccesses) Create(ctx context.Context, datasetAccess *v1alpha1.DatasetAccess, opts v1.CreateOptions) (result *v1alpha1.DatasetAccess, err error)

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

func (*FakeDatasetAccesses) Delete

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

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

func (*FakeDatasetAccesses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDatasetAccesses) Get

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

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

func (*FakeDatasetAccesses) List

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

func (*FakeDatasetAccesses) Patch

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

Patch applies the patch and returns the patched datasetAccess.

func (*FakeDatasetAccesses) Update

func (c *FakeDatasetAccesses) Update(ctx context.Context, datasetAccess *v1alpha1.DatasetAccess, opts v1.UpdateOptions) (result *v1alpha1.DatasetAccess, err error)

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

func (*FakeDatasetAccesses) UpdateStatus

func (c *FakeDatasetAccesses) UpdateStatus(ctx context.Context, datasetAccess *v1alpha1.DatasetAccess, opts v1.UpdateOptions) (*v1alpha1.DatasetAccess, error)

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

func (*FakeDatasetAccesses) Watch

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

type FakeDatasetIamBindings

type FakeDatasetIamBindings struct {
	Fake *FakeBigqueryV1alpha1
	// contains filtered or unexported fields
}

FakeDatasetIamBindings implements DatasetIamBindingInterface

func (*FakeDatasetIamBindings) Create

func (c *FakeDatasetIamBindings) Create(ctx context.Context, datasetIamBinding *v1alpha1.DatasetIamBinding, opts v1.CreateOptions) (result *v1alpha1.DatasetIamBinding, err error)

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

func (*FakeDatasetIamBindings) Delete

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

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

func (*FakeDatasetIamBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDatasetIamBindings) Get

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

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

func (*FakeDatasetIamBindings) List

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

func (*FakeDatasetIamBindings) Patch

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

Patch applies the patch and returns the patched datasetIamBinding.

func (*FakeDatasetIamBindings) Update

func (c *FakeDatasetIamBindings) Update(ctx context.Context, datasetIamBinding *v1alpha1.DatasetIamBinding, opts v1.UpdateOptions) (result *v1alpha1.DatasetIamBinding, err error)

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

func (*FakeDatasetIamBindings) UpdateStatus

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

func (*FakeDatasetIamBindings) Watch

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

type FakeDatasetIamMembers

type FakeDatasetIamMembers struct {
	Fake *FakeBigqueryV1alpha1
	// contains filtered or unexported fields
}

FakeDatasetIamMembers implements DatasetIamMemberInterface

func (*FakeDatasetIamMembers) Create

func (c *FakeDatasetIamMembers) Create(ctx context.Context, datasetIamMember *v1alpha1.DatasetIamMember, opts v1.CreateOptions) (result *v1alpha1.DatasetIamMember, err error)

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

func (*FakeDatasetIamMembers) Delete

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

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

func (*FakeDatasetIamMembers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDatasetIamMembers) Get

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

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

func (*FakeDatasetIamMembers) List

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

func (*FakeDatasetIamMembers) Patch

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

Patch applies the patch and returns the patched datasetIamMember.

func (*FakeDatasetIamMembers) Update

func (c *FakeDatasetIamMembers) Update(ctx context.Context, datasetIamMember *v1alpha1.DatasetIamMember, opts v1.UpdateOptions) (result *v1alpha1.DatasetIamMember, err error)

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

func (*FakeDatasetIamMembers) UpdateStatus

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

func (*FakeDatasetIamMembers) Watch

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

type FakeDatasetIamPolicies

type FakeDatasetIamPolicies struct {
	Fake *FakeBigqueryV1alpha1
	// contains filtered or unexported fields
}

FakeDatasetIamPolicies implements DatasetIamPolicyInterface

func (*FakeDatasetIamPolicies) Create

func (c *FakeDatasetIamPolicies) Create(ctx context.Context, datasetIamPolicy *v1alpha1.DatasetIamPolicy, opts v1.CreateOptions) (result *v1alpha1.DatasetIamPolicy, err error)

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

func (*FakeDatasetIamPolicies) Delete

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

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

func (*FakeDatasetIamPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDatasetIamPolicies) Get

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

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

func (*FakeDatasetIamPolicies) List

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

func (*FakeDatasetIamPolicies) Patch

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

Patch applies the patch and returns the patched datasetIamPolicy.

func (*FakeDatasetIamPolicies) Update

func (c *FakeDatasetIamPolicies) Update(ctx context.Context, datasetIamPolicy *v1alpha1.DatasetIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.DatasetIamPolicy, err error)

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

func (*FakeDatasetIamPolicies) UpdateStatus

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

func (*FakeDatasetIamPolicies) Watch

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

type FakeDatasets

type FakeDatasets struct {
	Fake *FakeBigqueryV1alpha1
	// contains filtered or unexported fields
}

FakeDatasets implements DatasetInterface

func (*FakeDatasets) Create

func (c *FakeDatasets) Create(ctx context.Context, dataset *v1alpha1.Dataset, opts v1.CreateOptions) (result *v1alpha1.Dataset, err error)

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

func (*FakeDatasets) Delete

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

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

func (*FakeDatasets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDatasets) Get

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

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

func (*FakeDatasets) List

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

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

func (*FakeDatasets) Patch

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

Patch applies the patch and returns the patched dataset.

func (*FakeDatasets) Update

func (c *FakeDatasets) Update(ctx context.Context, dataset *v1alpha1.Dataset, opts v1.UpdateOptions) (result *v1alpha1.Dataset, err error)

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

func (*FakeDatasets) UpdateStatus

func (c *FakeDatasets) UpdateStatus(ctx context.Context, dataset *v1alpha1.Dataset, opts v1.UpdateOptions) (*v1alpha1.Dataset, error)

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

func (*FakeDatasets) Watch

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

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

type FakeJobs

type FakeJobs struct {
	Fake *FakeBigqueryV1alpha1
	// 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 FakeReservations

type FakeReservations struct {
	Fake *FakeBigqueryV1alpha1
	// contains filtered or unexported fields
}

FakeReservations implements ReservationInterface

func (*FakeReservations) Create

func (c *FakeReservations) Create(ctx context.Context, reservation *v1alpha1.Reservation, opts v1.CreateOptions) (result *v1alpha1.Reservation, err error)

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

func (*FakeReservations) Delete

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

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

func (*FakeReservations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeReservations) Get

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

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

func (*FakeReservations) List

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

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

func (*FakeReservations) Patch

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

Patch applies the patch and returns the patched reservation.

func (*FakeReservations) Update

func (c *FakeReservations) Update(ctx context.Context, reservation *v1alpha1.Reservation, opts v1.UpdateOptions) (result *v1alpha1.Reservation, err error)

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

func (*FakeReservations) UpdateStatus

func (c *FakeReservations) UpdateStatus(ctx context.Context, reservation *v1alpha1.Reservation, opts v1.UpdateOptions) (*v1alpha1.Reservation, error)

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

func (*FakeReservations) Watch

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

type FakeRoutines

type FakeRoutines struct {
	Fake *FakeBigqueryV1alpha1
	// contains filtered or unexported fields
}

FakeRoutines implements RoutineInterface

func (*FakeRoutines) Create

func (c *FakeRoutines) Create(ctx context.Context, routine *v1alpha1.Routine, opts v1.CreateOptions) (result *v1alpha1.Routine, err error)

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

func (*FakeRoutines) Delete

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

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

func (*FakeRoutines) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRoutines) Get

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

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

func (*FakeRoutines) List

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

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

func (*FakeRoutines) Patch

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

Patch applies the patch and returns the patched routine.

func (*FakeRoutines) Update

func (c *FakeRoutines) Update(ctx context.Context, routine *v1alpha1.Routine, opts v1.UpdateOptions) (result *v1alpha1.Routine, err error)

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

func (*FakeRoutines) UpdateStatus

func (c *FakeRoutines) UpdateStatus(ctx context.Context, routine *v1alpha1.Routine, opts v1.UpdateOptions) (*v1alpha1.Routine, error)

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

func (*FakeRoutines) Watch

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

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

type FakeTableIamBindings

type FakeTableIamBindings struct {
	Fake *FakeBigqueryV1alpha1
	// contains filtered or unexported fields
}

FakeTableIamBindings implements TableIamBindingInterface

func (*FakeTableIamBindings) Create

func (c *FakeTableIamBindings) Create(ctx context.Context, tableIamBinding *v1alpha1.TableIamBinding, opts v1.CreateOptions) (result *v1alpha1.TableIamBinding, err error)

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

func (*FakeTableIamBindings) Delete

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

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

func (*FakeTableIamBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTableIamBindings) Get

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

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

func (*FakeTableIamBindings) List

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

func (*FakeTableIamBindings) Patch

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

Patch applies the patch and returns the patched tableIamBinding.

func (*FakeTableIamBindings) Update

func (c *FakeTableIamBindings) Update(ctx context.Context, tableIamBinding *v1alpha1.TableIamBinding, opts v1.UpdateOptions) (result *v1alpha1.TableIamBinding, err error)

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

func (*FakeTableIamBindings) UpdateStatus

func (c *FakeTableIamBindings) UpdateStatus(ctx context.Context, tableIamBinding *v1alpha1.TableIamBinding, opts v1.UpdateOptions) (*v1alpha1.TableIamBinding, error)

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

func (*FakeTableIamBindings) Watch

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

type FakeTableIamMembers

type FakeTableIamMembers struct {
	Fake *FakeBigqueryV1alpha1
	// contains filtered or unexported fields
}

FakeTableIamMembers implements TableIamMemberInterface

func (*FakeTableIamMembers) Create

func (c *FakeTableIamMembers) Create(ctx context.Context, tableIamMember *v1alpha1.TableIamMember, opts v1.CreateOptions) (result *v1alpha1.TableIamMember, err error)

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

func (*FakeTableIamMembers) Delete

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

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

func (*FakeTableIamMembers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTableIamMembers) Get

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

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

func (*FakeTableIamMembers) List

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

func (*FakeTableIamMembers) Patch

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

Patch applies the patch and returns the patched tableIamMember.

func (*FakeTableIamMembers) Update

func (c *FakeTableIamMembers) Update(ctx context.Context, tableIamMember *v1alpha1.TableIamMember, opts v1.UpdateOptions) (result *v1alpha1.TableIamMember, err error)

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

func (*FakeTableIamMembers) UpdateStatus

func (c *FakeTableIamMembers) UpdateStatus(ctx context.Context, tableIamMember *v1alpha1.TableIamMember, opts v1.UpdateOptions) (*v1alpha1.TableIamMember, error)

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

func (*FakeTableIamMembers) Watch

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

type FakeTableIamPolicies

type FakeTableIamPolicies struct {
	Fake *FakeBigqueryV1alpha1
	// contains filtered or unexported fields
}

FakeTableIamPolicies implements TableIamPolicyInterface

func (*FakeTableIamPolicies) Create

func (c *FakeTableIamPolicies) Create(ctx context.Context, tableIamPolicy *v1alpha1.TableIamPolicy, opts v1.CreateOptions) (result *v1alpha1.TableIamPolicy, err error)

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

func (*FakeTableIamPolicies) Delete

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

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

func (*FakeTableIamPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTableIamPolicies) Get

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

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

func (*FakeTableIamPolicies) List

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

func (*FakeTableIamPolicies) Patch

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

Patch applies the patch and returns the patched tableIamPolicy.

func (*FakeTableIamPolicies) Update

func (c *FakeTableIamPolicies) Update(ctx context.Context, tableIamPolicy *v1alpha1.TableIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.TableIamPolicy, err error)

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

func (*FakeTableIamPolicies) UpdateStatus

func (c *FakeTableIamPolicies) UpdateStatus(ctx context.Context, tableIamPolicy *v1alpha1.TableIamPolicy, opts v1.UpdateOptions) (*v1alpha1.TableIamPolicy, error)

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

func (*FakeTableIamPolicies) Watch

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

type FakeTables

type FakeTables struct {
	Fake *FakeBigqueryV1alpha1
	// contains filtered or unexported fields
}

FakeTables implements TableInterface

func (*FakeTables) Create

func (c *FakeTables) Create(ctx context.Context, table *v1alpha1.Table, opts v1.CreateOptions) (result *v1alpha1.Table, err error)

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

func (*FakeTables) Delete

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

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

func (*FakeTables) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTables) Get

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

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

func (*FakeTables) List

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

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

func (*FakeTables) Patch

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

Patch applies the patch and returns the patched table.

func (*FakeTables) Update

func (c *FakeTables) Update(ctx context.Context, table *v1alpha1.Table, opts v1.UpdateOptions) (result *v1alpha1.Table, err error)

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

func (*FakeTables) UpdateStatus

func (c *FakeTables) UpdateStatus(ctx context.Context, table *v1alpha1.Table, opts v1.UpdateOptions) (*v1alpha1.Table, error)

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

func (*FakeTables) Watch

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

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

Jump to

Keyboard shortcuts

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