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