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