Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeSIPCalls
- func (c *FakeSIPCalls) Create(ctx context.Context, sIPCall *v1.SIPCall, opts metav1.CreateOptions) (result *v1.SIPCall, err error)
- func (c *FakeSIPCalls) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeSIPCalls) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeSIPCalls) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.SIPCall, err error)
- func (c *FakeSIPCalls) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SIPCallList, err error)
- func (c *FakeSIPCalls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.SIPCall, err error)
- func (c *FakeSIPCalls) Update(ctx context.Context, sIPCall *v1.SIPCall, opts metav1.UpdateOptions) (result *v1.SIPCall, err error)
- func (c *FakeSIPCalls) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeSIPMessages
- func (c *FakeSIPMessages) Create(ctx context.Context, sIPMessage *v1.SIPMessage, opts metav1.CreateOptions) (result *v1.SIPMessage, err error)
- func (c *FakeSIPMessages) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeSIPMessages) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeSIPMessages) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.SIPMessage, err error)
- func (c *FakeSIPMessages) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SIPMessageList, err error)
- func (c *FakeSIPMessages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.SIPMessage, err error)
- func (c *FakeSIPMessages) Update(ctx context.Context, sIPMessage *v1.SIPMessage, opts metav1.UpdateOptions) (result *v1.SIPMessage, err error)
- func (c *FakeSIPMessages) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeSipV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSIPCalls ¶
type FakeSIPCalls struct { Fake *FakeSipV1 // contains filtered or unexported fields }
FakeSIPCalls implements SIPCallInterface
func (*FakeSIPCalls) Create ¶
func (c *FakeSIPCalls) Create(ctx context.Context, sIPCall *v1.SIPCall, opts metav1.CreateOptions) (result *v1.SIPCall, err error)
Create takes the representation of a sIPCall and creates it. Returns the server's representation of the sIPCall, and an error, if there is any.
func (*FakeSIPCalls) Delete ¶
func (c *FakeSIPCalls) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the sIPCall and deletes it. Returns an error if one occurs.
func (*FakeSIPCalls) DeleteCollection ¶
func (c *FakeSIPCalls) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSIPCalls) Get ¶
func (c *FakeSIPCalls) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.SIPCall, err error)
Get takes name of the sIPCall, and returns the corresponding sIPCall object, and an error if there is any.
func (*FakeSIPCalls) List ¶
func (c *FakeSIPCalls) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SIPCallList, err error)
List takes label and field selectors, and returns the list of SIPCalls that match those selectors.
func (*FakeSIPCalls) Patch ¶
func (c *FakeSIPCalls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.SIPCall, err error)
Patch applies the patch and returns the patched sIPCall.
func (*FakeSIPCalls) Update ¶
func (c *FakeSIPCalls) Update(ctx context.Context, sIPCall *v1.SIPCall, opts metav1.UpdateOptions) (result *v1.SIPCall, err error)
Update takes the representation of a sIPCall and updates it. Returns the server's representation of the sIPCall, and an error, if there is any.
func (*FakeSIPCalls) Watch ¶
func (c *FakeSIPCalls) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sIPCalls.
type FakeSIPMessages ¶
type FakeSIPMessages struct { Fake *FakeSipV1 // contains filtered or unexported fields }
FakeSIPMessages implements SIPMessageInterface
func (*FakeSIPMessages) Create ¶
func (c *FakeSIPMessages) Create(ctx context.Context, sIPMessage *v1.SIPMessage, opts metav1.CreateOptions) (result *v1.SIPMessage, err error)
Create takes the representation of a sIPMessage and creates it. Returns the server's representation of the sIPMessage, and an error, if there is any.
func (*FakeSIPMessages) Delete ¶
func (c *FakeSIPMessages) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the sIPMessage and deletes it. Returns an error if one occurs.
func (*FakeSIPMessages) DeleteCollection ¶
func (c *FakeSIPMessages) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSIPMessages) Get ¶
func (c *FakeSIPMessages) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.SIPMessage, err error)
Get takes name of the sIPMessage, and returns the corresponding sIPMessage object, and an error if there is any.
func (*FakeSIPMessages) List ¶
func (c *FakeSIPMessages) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SIPMessageList, err error)
List takes label and field selectors, and returns the list of SIPMessages that match those selectors.
func (*FakeSIPMessages) Patch ¶
func (c *FakeSIPMessages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.SIPMessage, err error)
Patch applies the patch and returns the patched sIPMessage.
func (*FakeSIPMessages) Update ¶
func (c *FakeSIPMessages) Update(ctx context.Context, sIPMessage *v1.SIPMessage, opts metav1.UpdateOptions) (result *v1.SIPMessage, err error)
Update takes the representation of a sIPMessage and updates it. Returns the server's representation of the sIPMessage, and an error, if there is any.
func (*FakeSIPMessages) Watch ¶
func (c *FakeSIPMessages) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sIPMessages.
type FakeSipV1 ¶
func (*FakeSipV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSipV1) SIPMessages ¶
func (c *FakeSipV1) SIPMessages(namespace string) v1.SIPMessageInterface