Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakePubSubLiteSubscriptions
- func (c *FakePubSubLiteSubscriptions) Create(ctx context.Context, pubSubLiteSubscription *v1alpha1.PubSubLiteSubscription, ...) (result *v1alpha1.PubSubLiteSubscription, err error)
- func (c *FakePubSubLiteSubscriptions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePubSubLiteSubscriptions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePubSubLiteSubscriptions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PubSubLiteSubscription, err error)
- func (c *FakePubSubLiteSubscriptions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PubSubLiteSubscriptionList, err error)
- func (c *FakePubSubLiteSubscriptions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PubSubLiteSubscription, err error)
- func (c *FakePubSubLiteSubscriptions) Update(ctx context.Context, pubSubLiteSubscription *v1alpha1.PubSubLiteSubscription, ...) (result *v1alpha1.PubSubLiteSubscription, err error)
- func (c *FakePubSubLiteSubscriptions) UpdateStatus(ctx context.Context, pubSubLiteSubscription *v1alpha1.PubSubLiteSubscription, ...) (*v1alpha1.PubSubLiteSubscription, error)
- func (c *FakePubSubLiteSubscriptions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePubSubLiteTopics
- func (c *FakePubSubLiteTopics) Create(ctx context.Context, pubSubLiteTopic *v1alpha1.PubSubLiteTopic, ...) (result *v1alpha1.PubSubLiteTopic, err error)
- func (c *FakePubSubLiteTopics) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePubSubLiteTopics) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePubSubLiteTopics) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PubSubLiteTopic, err error)
- func (c *FakePubSubLiteTopics) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PubSubLiteTopicList, err error)
- func (c *FakePubSubLiteTopics) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PubSubLiteTopic, err error)
- func (c *FakePubSubLiteTopics) Update(ctx context.Context, pubSubLiteTopic *v1alpha1.PubSubLiteTopic, ...) (result *v1alpha1.PubSubLiteTopic, err error)
- func (c *FakePubSubLiteTopics) UpdateStatus(ctx context.Context, pubSubLiteTopic *v1alpha1.PubSubLiteTopic, ...) (*v1alpha1.PubSubLiteTopic, error)
- func (c *FakePubSubLiteTopics) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePubsubliteV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePubSubLiteSubscriptions ¶
type FakePubSubLiteSubscriptions struct { Fake *FakePubsubliteV1alpha1 // contains filtered or unexported fields }
FakePubSubLiteSubscriptions implements PubSubLiteSubscriptionInterface
func (*FakePubSubLiteSubscriptions) Create ¶
func (c *FakePubSubLiteSubscriptions) Create(ctx context.Context, pubSubLiteSubscription *v1alpha1.PubSubLiteSubscription, opts v1.CreateOptions) (result *v1alpha1.PubSubLiteSubscription, err error)
Create takes the representation of a pubSubLiteSubscription and creates it. Returns the server's representation of the pubSubLiteSubscription, and an error, if there is any.
func (*FakePubSubLiteSubscriptions) Delete ¶
func (c *FakePubSubLiteSubscriptions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pubSubLiteSubscription and deletes it. Returns an error if one occurs.
func (*FakePubSubLiteSubscriptions) DeleteCollection ¶
func (c *FakePubSubLiteSubscriptions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePubSubLiteSubscriptions) Get ¶
func (c *FakePubSubLiteSubscriptions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PubSubLiteSubscription, err error)
Get takes name of the pubSubLiteSubscription, and returns the corresponding pubSubLiteSubscription object, and an error if there is any.
func (*FakePubSubLiteSubscriptions) List ¶
func (c *FakePubSubLiteSubscriptions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PubSubLiteSubscriptionList, err error)
List takes label and field selectors, and returns the list of PubSubLiteSubscriptions that match those selectors.
func (*FakePubSubLiteSubscriptions) Patch ¶
func (c *FakePubSubLiteSubscriptions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PubSubLiteSubscription, err error)
Patch applies the patch and returns the patched pubSubLiteSubscription.
func (*FakePubSubLiteSubscriptions) Update ¶
func (c *FakePubSubLiteSubscriptions) Update(ctx context.Context, pubSubLiteSubscription *v1alpha1.PubSubLiteSubscription, opts v1.UpdateOptions) (result *v1alpha1.PubSubLiteSubscription, err error)
Update takes the representation of a pubSubLiteSubscription and updates it. Returns the server's representation of the pubSubLiteSubscription, and an error, if there is any.
func (*FakePubSubLiteSubscriptions) UpdateStatus ¶
func (c *FakePubSubLiteSubscriptions) UpdateStatus(ctx context.Context, pubSubLiteSubscription *v1alpha1.PubSubLiteSubscription, opts v1.UpdateOptions) (*v1alpha1.PubSubLiteSubscription, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePubSubLiteSubscriptions) Watch ¶
func (c *FakePubSubLiteSubscriptions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pubSubLiteSubscriptions.
type FakePubSubLiteTopics ¶
type FakePubSubLiteTopics struct { Fake *FakePubsubliteV1alpha1 // contains filtered or unexported fields }
FakePubSubLiteTopics implements PubSubLiteTopicInterface
func (*FakePubSubLiteTopics) Create ¶
func (c *FakePubSubLiteTopics) Create(ctx context.Context, pubSubLiteTopic *v1alpha1.PubSubLiteTopic, opts v1.CreateOptions) (result *v1alpha1.PubSubLiteTopic, err error)
Create takes the representation of a pubSubLiteTopic and creates it. Returns the server's representation of the pubSubLiteTopic, and an error, if there is any.
func (*FakePubSubLiteTopics) Delete ¶
func (c *FakePubSubLiteTopics) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pubSubLiteTopic and deletes it. Returns an error if one occurs.
func (*FakePubSubLiteTopics) DeleteCollection ¶
func (c *FakePubSubLiteTopics) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePubSubLiteTopics) Get ¶
func (c *FakePubSubLiteTopics) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PubSubLiteTopic, err error)
Get takes name of the pubSubLiteTopic, and returns the corresponding pubSubLiteTopic object, and an error if there is any.
func (*FakePubSubLiteTopics) List ¶
func (c *FakePubSubLiteTopics) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PubSubLiteTopicList, err error)
List takes label and field selectors, and returns the list of PubSubLiteTopics that match those selectors.
func (*FakePubSubLiteTopics) Patch ¶
func (c *FakePubSubLiteTopics) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PubSubLiteTopic, err error)
Patch applies the patch and returns the patched pubSubLiteTopic.
func (*FakePubSubLiteTopics) Update ¶
func (c *FakePubSubLiteTopics) Update(ctx context.Context, pubSubLiteTopic *v1alpha1.PubSubLiteTopic, opts v1.UpdateOptions) (result *v1alpha1.PubSubLiteTopic, err error)
Update takes the representation of a pubSubLiteTopic and updates it. Returns the server's representation of the pubSubLiteTopic, and an error, if there is any.
func (*FakePubSubLiteTopics) UpdateStatus ¶
func (c *FakePubSubLiteTopics) UpdateStatus(ctx context.Context, pubSubLiteTopic *v1alpha1.PubSubLiteTopic, opts v1.UpdateOptions) (*v1alpha1.PubSubLiteTopic, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePubSubLiteTopics) Watch ¶
func (c *FakePubSubLiteTopics) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pubSubLiteTopics.
type FakePubsubliteV1alpha1 ¶
func (*FakePubsubliteV1alpha1) PubSubLiteSubscriptions ¶
func (c *FakePubsubliteV1alpha1) PubSubLiteSubscriptions(namespace string) v1alpha1.PubSubLiteSubscriptionInterface
func (*FakePubsubliteV1alpha1) PubSubLiteTopics ¶
func (c *FakePubsubliteV1alpha1) PubSubLiteTopics(namespace string) v1alpha1.PubSubLiteTopicInterface
func (*FakePubsubliteV1alpha1) RESTClient ¶
func (c *FakePubsubliteV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.