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