Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMessagingUsers
- func (c *FakeMessagingUsers) Create(messagingUser *v1beta1.MessagingUser) (result *v1beta1.MessagingUser, err error)
- func (c *FakeMessagingUsers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMessagingUsers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMessagingUsers) Get(name string, options v1.GetOptions) (result *v1beta1.MessagingUser, err error)
- func (c *FakeMessagingUsers) List(opts v1.ListOptions) (result *v1beta1.MessagingUserList, err error)
- func (c *FakeMessagingUsers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.MessagingUser, err error)
- func (c *FakeMessagingUsers) Update(messagingUser *v1beta1.MessagingUser) (result *v1beta1.MessagingUser, err error)
- func (c *FakeMessagingUsers) UpdateStatus(messagingUser *v1beta1.MessagingUser) (*v1beta1.MessagingUser, error)
- func (c *FakeMessagingUsers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeUserV1beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMessagingUsers ¶
type FakeMessagingUsers struct { Fake *FakeUserV1beta1 // contains filtered or unexported fields }
FakeMessagingUsers implements MessagingUserInterface
func (*FakeMessagingUsers) Create ¶
func (c *FakeMessagingUsers) Create(messagingUser *v1beta1.MessagingUser) (result *v1beta1.MessagingUser, err error)
Create takes the representation of a messagingUser and creates it. Returns the server's representation of the messagingUser, and an error, if there is any.
func (*FakeMessagingUsers) Delete ¶
func (c *FakeMessagingUsers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the messagingUser and deletes it. Returns an error if one occurs.
func (*FakeMessagingUsers) DeleteCollection ¶
func (c *FakeMessagingUsers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMessagingUsers) Get ¶
func (c *FakeMessagingUsers) Get(name string, options v1.GetOptions) (result *v1beta1.MessagingUser, err error)
Get takes name of the messagingUser, and returns the corresponding messagingUser object, and an error if there is any.
func (*FakeMessagingUsers) List ¶
func (c *FakeMessagingUsers) List(opts v1.ListOptions) (result *v1beta1.MessagingUserList, err error)
List takes label and field selectors, and returns the list of MessagingUsers that match those selectors.
func (*FakeMessagingUsers) Patch ¶
func (c *FakeMessagingUsers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.MessagingUser, err error)
Patch applies the patch and returns the patched messagingUser.
func (*FakeMessagingUsers) Update ¶
func (c *FakeMessagingUsers) Update(messagingUser *v1beta1.MessagingUser) (result *v1beta1.MessagingUser, err error)
Update takes the representation of a messagingUser and updates it. Returns the server's representation of the messagingUser, and an error, if there is any.
func (*FakeMessagingUsers) UpdateStatus ¶
func (c *FakeMessagingUsers) UpdateStatus(messagingUser *v1beta1.MessagingUser) (*v1beta1.MessagingUser, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMessagingUsers) Watch ¶
func (c *FakeMessagingUsers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested messagingUsers.
type FakeUserV1beta1 ¶
func (*FakeUserV1beta1) MessagingUsers ¶
func (c *FakeUserV1beta1) MessagingUsers(namespace string) v1beta1.MessagingUserInterface
func (*FakeUserV1beta1) RESTClient ¶
func (c *FakeUserV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.