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 FakeLiteReservations added in v0.4.0

type FakeLiteReservations struct {
	Fake *FakePubsubV1alpha1
	// contains filtered or unexported fields
}

FakeLiteReservations implements LiteReservationInterface

func (*FakeLiteReservations) Create added in v0.4.0

func (c *FakeLiteReservations) Create(ctx context.Context, liteReservation *v1alpha1.LiteReservation, opts v1.CreateOptions) (result *v1alpha1.LiteReservation, err error)

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

func (*FakeLiteReservations) Delete added in v0.4.0

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

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

func (*FakeLiteReservations) DeleteCollection added in v0.4.0

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

DeleteCollection deletes a collection of objects.

func (*FakeLiteReservations) Get added in v0.4.0

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

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

func (*FakeLiteReservations) List added in v0.4.0

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

func (*FakeLiteReservations) Patch added in v0.4.0

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

Patch applies the patch and returns the patched liteReservation.

func (*FakeLiteReservations) Update added in v0.4.0

func (c *FakeLiteReservations) Update(ctx context.Context, liteReservation *v1alpha1.LiteReservation, opts v1.UpdateOptions) (result *v1alpha1.LiteReservation, err error)

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

func (*FakeLiteReservations) UpdateStatus added in v0.4.0

func (c *FakeLiteReservations) UpdateStatus(ctx context.Context, liteReservation *v1alpha1.LiteReservation, opts v1.UpdateOptions) (*v1alpha1.LiteReservation, error)

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

func (*FakeLiteReservations) Watch added in v0.4.0

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

type FakeLiteSubscriptions

type FakeLiteSubscriptions struct {
	Fake *FakePubsubV1alpha1
	// contains filtered or unexported fields
}

FakeLiteSubscriptions implements LiteSubscriptionInterface

func (*FakeLiteSubscriptions) Create

func (c *FakeLiteSubscriptions) Create(ctx context.Context, liteSubscription *v1alpha1.LiteSubscription, opts v1.CreateOptions) (result *v1alpha1.LiteSubscription, err error)

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

func (*FakeLiteSubscriptions) Delete

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

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

func (*FakeLiteSubscriptions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLiteSubscriptions) Get

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

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

func (*FakeLiteSubscriptions) List

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

func (*FakeLiteSubscriptions) Patch

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

Patch applies the patch and returns the patched liteSubscription.

func (*FakeLiteSubscriptions) Update

func (c *FakeLiteSubscriptions) Update(ctx context.Context, liteSubscription *v1alpha1.LiteSubscription, opts v1.UpdateOptions) (result *v1alpha1.LiteSubscription, err error)

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

func (*FakeLiteSubscriptions) UpdateStatus

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

func (*FakeLiteSubscriptions) Watch

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

type FakeLiteTopics

type FakeLiteTopics struct {
	Fake *FakePubsubV1alpha1
	// contains filtered or unexported fields
}

FakeLiteTopics implements LiteTopicInterface

func (*FakeLiteTopics) Create

func (c *FakeLiteTopics) Create(ctx context.Context, liteTopic *v1alpha1.LiteTopic, opts v1.CreateOptions) (result *v1alpha1.LiteTopic, err error)

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

func (*FakeLiteTopics) Delete

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

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

func (*FakeLiteTopics) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLiteTopics) Get

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

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

func (*FakeLiteTopics) List

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

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

func (*FakeLiteTopics) Patch

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

Patch applies the patch and returns the patched liteTopic.

func (*FakeLiteTopics) Update

func (c *FakeLiteTopics) Update(ctx context.Context, liteTopic *v1alpha1.LiteTopic, opts v1.UpdateOptions) (result *v1alpha1.LiteTopic, err error)

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

func (*FakeLiteTopics) UpdateStatus

func (c *FakeLiteTopics) UpdateStatus(ctx context.Context, liteTopic *v1alpha1.LiteTopic, opts v1.UpdateOptions) (*v1alpha1.LiteTopic, error)

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

func (*FakeLiteTopics) Watch

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

type FakePubsubV1alpha1

type FakePubsubV1alpha1 struct {
	*testing.Fake
}

func (*FakePubsubV1alpha1) LiteReservations added in v0.4.0

func (c *FakePubsubV1alpha1) LiteReservations(namespace string) v1alpha1.LiteReservationInterface

func (*FakePubsubV1alpha1) LiteSubscriptions

func (c *FakePubsubV1alpha1) LiteSubscriptions(namespace string) v1alpha1.LiteSubscriptionInterface

func (*FakePubsubV1alpha1) LiteTopics

func (c *FakePubsubV1alpha1) LiteTopics(namespace string) v1alpha1.LiteTopicInterface

func (*FakePubsubV1alpha1) RESTClient

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

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

func (*FakePubsubV1alpha1) Schemas

func (c *FakePubsubV1alpha1) Schemas(namespace string) v1alpha1.SchemaInterface

func (*FakePubsubV1alpha1) SubscriptionIamBindings

func (c *FakePubsubV1alpha1) SubscriptionIamBindings(namespace string) v1alpha1.SubscriptionIamBindingInterface

func (*FakePubsubV1alpha1) SubscriptionIamMembers

func (c *FakePubsubV1alpha1) SubscriptionIamMembers(namespace string) v1alpha1.SubscriptionIamMemberInterface

func (*FakePubsubV1alpha1) SubscriptionIamPolicies

func (c *FakePubsubV1alpha1) SubscriptionIamPolicies(namespace string) v1alpha1.SubscriptionIamPolicyInterface

func (*FakePubsubV1alpha1) Subscriptions

func (c *FakePubsubV1alpha1) Subscriptions(namespace string) v1alpha1.SubscriptionInterface

func (*FakePubsubV1alpha1) TopicIamBindings

func (c *FakePubsubV1alpha1) TopicIamBindings(namespace string) v1alpha1.TopicIamBindingInterface

func (*FakePubsubV1alpha1) TopicIamMembers

func (c *FakePubsubV1alpha1) TopicIamMembers(namespace string) v1alpha1.TopicIamMemberInterface

func (*FakePubsubV1alpha1) TopicIamPolicies

func (c *FakePubsubV1alpha1) TopicIamPolicies(namespace string) v1alpha1.TopicIamPolicyInterface

func (*FakePubsubV1alpha1) Topics

func (c *FakePubsubV1alpha1) Topics(namespace string) v1alpha1.TopicInterface

type FakeSchemas

type FakeSchemas struct {
	Fake *FakePubsubV1alpha1
	// contains filtered or unexported fields
}

FakeSchemas implements SchemaInterface

func (*FakeSchemas) Create

func (c *FakeSchemas) Create(ctx context.Context, schema *v1alpha1.Schema, opts v1.CreateOptions) (result *v1alpha1.Schema, err error)

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

func (*FakeSchemas) Delete

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

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

func (*FakeSchemas) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSchemas) Get

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

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

func (*FakeSchemas) List

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

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

func (*FakeSchemas) Patch

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

Patch applies the patch and returns the patched schema.

func (*FakeSchemas) Update

func (c *FakeSchemas) Update(ctx context.Context, schema *v1alpha1.Schema, opts v1.UpdateOptions) (result *v1alpha1.Schema, err error)

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

func (*FakeSchemas) UpdateStatus

func (c *FakeSchemas) UpdateStatus(ctx context.Context, schema *v1alpha1.Schema, opts v1.UpdateOptions) (*v1alpha1.Schema, error)

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

func (*FakeSchemas) Watch

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

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

type FakeSubscriptionIamBindings

type FakeSubscriptionIamBindings struct {
	Fake *FakePubsubV1alpha1
	// contains filtered or unexported fields
}

FakeSubscriptionIamBindings implements SubscriptionIamBindingInterface

func (*FakeSubscriptionIamBindings) Create

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

func (*FakeSubscriptionIamBindings) Delete

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

func (*FakeSubscriptionIamBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSubscriptionIamBindings) Get

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

func (*FakeSubscriptionIamBindings) List

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

func (*FakeSubscriptionIamBindings) Patch

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

Patch applies the patch and returns the patched subscriptionIamBinding.

func (*FakeSubscriptionIamBindings) Update

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

func (*FakeSubscriptionIamBindings) UpdateStatus

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

func (*FakeSubscriptionIamBindings) Watch

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

type FakeSubscriptionIamMembers

type FakeSubscriptionIamMembers struct {
	Fake *FakePubsubV1alpha1
	// contains filtered or unexported fields
}

FakeSubscriptionIamMembers implements SubscriptionIamMemberInterface

func (*FakeSubscriptionIamMembers) Create

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

func (*FakeSubscriptionIamMembers) Delete

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

func (*FakeSubscriptionIamMembers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSubscriptionIamMembers) Get

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

func (*FakeSubscriptionIamMembers) List

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

func (*FakeSubscriptionIamMembers) Patch

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

Patch applies the patch and returns the patched subscriptionIamMember.

func (*FakeSubscriptionIamMembers) Update

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

func (*FakeSubscriptionIamMembers) UpdateStatus

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

func (*FakeSubscriptionIamMembers) Watch

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

type FakeSubscriptionIamPolicies

type FakeSubscriptionIamPolicies struct {
	Fake *FakePubsubV1alpha1
	// contains filtered or unexported fields
}

FakeSubscriptionIamPolicies implements SubscriptionIamPolicyInterface

func (*FakeSubscriptionIamPolicies) Create

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

func (*FakeSubscriptionIamPolicies) Delete

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

func (*FakeSubscriptionIamPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSubscriptionIamPolicies) Get

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

func (*FakeSubscriptionIamPolicies) List

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

func (*FakeSubscriptionIamPolicies) Patch

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

Patch applies the patch and returns the patched subscriptionIamPolicy.

func (*FakeSubscriptionIamPolicies) Update

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

func (*FakeSubscriptionIamPolicies) UpdateStatus

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

func (*FakeSubscriptionIamPolicies) Watch

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

type FakeSubscriptions

type FakeSubscriptions struct {
	Fake *FakePubsubV1alpha1
	// contains filtered or unexported fields
}

FakeSubscriptions implements SubscriptionInterface

func (*FakeSubscriptions) Create

func (c *FakeSubscriptions) Create(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.CreateOptions) (result *v1alpha1.Subscription, err error)

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

func (*FakeSubscriptions) Delete

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

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

func (*FakeSubscriptions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSubscriptions) Get

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

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

func (*FakeSubscriptions) List

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

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

func (*FakeSubscriptions) Patch

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

Patch applies the patch and returns the patched subscription.

func (*FakeSubscriptions) Update

func (c *FakeSubscriptions) Update(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.UpdateOptions) (result *v1alpha1.Subscription, err error)

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

func (*FakeSubscriptions) UpdateStatus

func (c *FakeSubscriptions) UpdateStatus(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.UpdateOptions) (*v1alpha1.Subscription, error)

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

func (*FakeSubscriptions) Watch

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

type FakeTopicIamBindings

type FakeTopicIamBindings struct {
	Fake *FakePubsubV1alpha1
	// contains filtered or unexported fields
}

FakeTopicIamBindings implements TopicIamBindingInterface

func (*FakeTopicIamBindings) Create

func (c *FakeTopicIamBindings) Create(ctx context.Context, topicIamBinding *v1alpha1.TopicIamBinding, opts v1.CreateOptions) (result *v1alpha1.TopicIamBinding, err error)

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

func (*FakeTopicIamBindings) Delete

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

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

func (*FakeTopicIamBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTopicIamBindings) Get

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

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

func (*FakeTopicIamBindings) List

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

func (*FakeTopicIamBindings) Patch

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

Patch applies the patch and returns the patched topicIamBinding.

func (*FakeTopicIamBindings) Update

func (c *FakeTopicIamBindings) Update(ctx context.Context, topicIamBinding *v1alpha1.TopicIamBinding, opts v1.UpdateOptions) (result *v1alpha1.TopicIamBinding, err error)

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

func (*FakeTopicIamBindings) UpdateStatus

func (c *FakeTopicIamBindings) UpdateStatus(ctx context.Context, topicIamBinding *v1alpha1.TopicIamBinding, opts v1.UpdateOptions) (*v1alpha1.TopicIamBinding, error)

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

func (*FakeTopicIamBindings) Watch

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

type FakeTopicIamMembers

type FakeTopicIamMembers struct {
	Fake *FakePubsubV1alpha1
	// contains filtered or unexported fields
}

FakeTopicIamMembers implements TopicIamMemberInterface

func (*FakeTopicIamMembers) Create

func (c *FakeTopicIamMembers) Create(ctx context.Context, topicIamMember *v1alpha1.TopicIamMember, opts v1.CreateOptions) (result *v1alpha1.TopicIamMember, err error)

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

func (*FakeTopicIamMembers) Delete

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

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

func (*FakeTopicIamMembers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTopicIamMembers) Get

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

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

func (*FakeTopicIamMembers) List

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

func (*FakeTopicIamMembers) Patch

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

Patch applies the patch and returns the patched topicIamMember.

func (*FakeTopicIamMembers) Update

func (c *FakeTopicIamMembers) Update(ctx context.Context, topicIamMember *v1alpha1.TopicIamMember, opts v1.UpdateOptions) (result *v1alpha1.TopicIamMember, err error)

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

func (*FakeTopicIamMembers) UpdateStatus

func (c *FakeTopicIamMembers) UpdateStatus(ctx context.Context, topicIamMember *v1alpha1.TopicIamMember, opts v1.UpdateOptions) (*v1alpha1.TopicIamMember, error)

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

func (*FakeTopicIamMembers) Watch

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

type FakeTopicIamPolicies

type FakeTopicIamPolicies struct {
	Fake *FakePubsubV1alpha1
	// contains filtered or unexported fields
}

FakeTopicIamPolicies implements TopicIamPolicyInterface

func (*FakeTopicIamPolicies) Create

func (c *FakeTopicIamPolicies) Create(ctx context.Context, topicIamPolicy *v1alpha1.TopicIamPolicy, opts v1.CreateOptions) (result *v1alpha1.TopicIamPolicy, err error)

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

func (*FakeTopicIamPolicies) Delete

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

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

func (*FakeTopicIamPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTopicIamPolicies) Get

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

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

func (*FakeTopicIamPolicies) List

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

func (*FakeTopicIamPolicies) Patch

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

Patch applies the patch and returns the patched topicIamPolicy.

func (*FakeTopicIamPolicies) Update

func (c *FakeTopicIamPolicies) Update(ctx context.Context, topicIamPolicy *v1alpha1.TopicIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.TopicIamPolicy, err error)

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

func (*FakeTopicIamPolicies) UpdateStatus

func (c *FakeTopicIamPolicies) UpdateStatus(ctx context.Context, topicIamPolicy *v1alpha1.TopicIamPolicy, opts v1.UpdateOptions) (*v1alpha1.TopicIamPolicy, error)

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

func (*FakeTopicIamPolicies) Watch

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

type FakeTopics

type FakeTopics struct {
	Fake *FakePubsubV1alpha1
	// contains filtered or unexported fields
}

FakeTopics implements TopicInterface

func (*FakeTopics) Create

func (c *FakeTopics) Create(ctx context.Context, topic *v1alpha1.Topic, opts v1.CreateOptions) (result *v1alpha1.Topic, err error)

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

func (*FakeTopics) Delete

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

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

func (*FakeTopics) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTopics) Get

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

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

func (*FakeTopics) List

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

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

func (*FakeTopics) Patch

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

Patch applies the patch and returns the patched topic.

func (*FakeTopics) Update

func (c *FakeTopics) Update(ctx context.Context, topic *v1alpha1.Topic, opts v1.UpdateOptions) (result *v1alpha1.Topic, err error)

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

func (*FakeTopics) UpdateStatus

func (c *FakeTopics) UpdateStatus(ctx context.Context, topic *v1alpha1.Topic, opts v1.UpdateOptions) (*v1alpha1.Topic, error)

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

func (*FakeTopics) Watch

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

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

Jump to

Keyboard shortcuts

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