Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterEphemeralReports
- func (c *FakeClusterEphemeralReports) Create(ctx context.Context, clusterEphemeralReport *v1.ClusterEphemeralReport, ...) (result *v1.ClusterEphemeralReport, err error)
- func (c *FakeClusterEphemeralReports) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeClusterEphemeralReports) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeClusterEphemeralReports) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ClusterEphemeralReport, err error)
- func (c *FakeClusterEphemeralReports) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ClusterEphemeralReportList, err error)
- func (c *FakeClusterEphemeralReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ClusterEphemeralReport, err error)
- func (c *FakeClusterEphemeralReports) Update(ctx context.Context, clusterEphemeralReport *v1.ClusterEphemeralReport, ...) (result *v1.ClusterEphemeralReport, err error)
- func (c *FakeClusterEphemeralReports) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeEphemeralReports
- func (c *FakeEphemeralReports) Create(ctx context.Context, ephemeralReport *v1.EphemeralReport, ...) (result *v1.EphemeralReport, err error)
- func (c *FakeEphemeralReports) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeEphemeralReports) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeEphemeralReports) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.EphemeralReport, err error)
- func (c *FakeEphemeralReports) List(ctx context.Context, opts metav1.ListOptions) (result *v1.EphemeralReportList, err error)
- func (c *FakeEphemeralReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.EphemeralReport, err error)
- func (c *FakeEphemeralReports) Update(ctx context.Context, ephemeralReport *v1.EphemeralReport, ...) (result *v1.EphemeralReport, err error)
- func (c *FakeEphemeralReports) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeReportsV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterEphemeralReports ¶
type FakeClusterEphemeralReports struct {
Fake *FakeReportsV1
}
FakeClusterEphemeralReports implements ClusterEphemeralReportInterface
func (*FakeClusterEphemeralReports) Create ¶
func (c *FakeClusterEphemeralReports) Create(ctx context.Context, clusterEphemeralReport *v1.ClusterEphemeralReport, opts metav1.CreateOptions) (result *v1.ClusterEphemeralReport, err error)
Create takes the representation of a clusterEphemeralReport and creates it. Returns the server's representation of the clusterEphemeralReport, and an error, if there is any.
func (*FakeClusterEphemeralReports) Delete ¶
func (c *FakeClusterEphemeralReports) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the clusterEphemeralReport and deletes it. Returns an error if one occurs.
func (*FakeClusterEphemeralReports) DeleteCollection ¶
func (c *FakeClusterEphemeralReports) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterEphemeralReports) Get ¶
func (c *FakeClusterEphemeralReports) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ClusterEphemeralReport, err error)
Get takes name of the clusterEphemeralReport, and returns the corresponding clusterEphemeralReport object, and an error if there is any.
func (*FakeClusterEphemeralReports) List ¶
func (c *FakeClusterEphemeralReports) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ClusterEphemeralReportList, err error)
List takes label and field selectors, and returns the list of ClusterEphemeralReports that match those selectors.
func (*FakeClusterEphemeralReports) Patch ¶
func (c *FakeClusterEphemeralReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ClusterEphemeralReport, err error)
Patch applies the patch and returns the patched clusterEphemeralReport.
func (*FakeClusterEphemeralReports) Update ¶
func (c *FakeClusterEphemeralReports) Update(ctx context.Context, clusterEphemeralReport *v1.ClusterEphemeralReport, opts metav1.UpdateOptions) (result *v1.ClusterEphemeralReport, err error)
Update takes the representation of a clusterEphemeralReport and updates it. Returns the server's representation of the clusterEphemeralReport, and an error, if there is any.
func (*FakeClusterEphemeralReports) Watch ¶
func (c *FakeClusterEphemeralReports) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterEphemeralReports.
type FakeEphemeralReports ¶
type FakeEphemeralReports struct { Fake *FakeReportsV1 // contains filtered or unexported fields }
FakeEphemeralReports implements EphemeralReportInterface
func (*FakeEphemeralReports) Create ¶
func (c *FakeEphemeralReports) Create(ctx context.Context, ephemeralReport *v1.EphemeralReport, opts metav1.CreateOptions) (result *v1.EphemeralReport, err error)
Create takes the representation of a ephemeralReport and creates it. Returns the server's representation of the ephemeralReport, and an error, if there is any.
func (*FakeEphemeralReports) Delete ¶
func (c *FakeEphemeralReports) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the ephemeralReport and deletes it. Returns an error if one occurs.
func (*FakeEphemeralReports) DeleteCollection ¶
func (c *FakeEphemeralReports) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEphemeralReports) Get ¶
func (c *FakeEphemeralReports) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.EphemeralReport, err error)
Get takes name of the ephemeralReport, and returns the corresponding ephemeralReport object, and an error if there is any.
func (*FakeEphemeralReports) List ¶
func (c *FakeEphemeralReports) List(ctx context.Context, opts metav1.ListOptions) (result *v1.EphemeralReportList, err error)
List takes label and field selectors, and returns the list of EphemeralReports that match those selectors.
func (*FakeEphemeralReports) Patch ¶
func (c *FakeEphemeralReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.EphemeralReport, err error)
Patch applies the patch and returns the patched ephemeralReport.
func (*FakeEphemeralReports) Update ¶
func (c *FakeEphemeralReports) Update(ctx context.Context, ephemeralReport *v1.EphemeralReport, opts metav1.UpdateOptions) (result *v1.EphemeralReport, err error)
Update takes the representation of a ephemeralReport and updates it. Returns the server's representation of the ephemeralReport, and an error, if there is any.
func (*FakeEphemeralReports) Watch ¶
func (c *FakeEphemeralReports) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ephemeralReports.
type FakeReportsV1 ¶
func (*FakeReportsV1) ClusterEphemeralReports ¶
func (c *FakeReportsV1) ClusterEphemeralReports() v1.ClusterEphemeralReportInterface
func (*FakeReportsV1) EphemeralReports ¶
func (c *FakeReportsV1) EphemeralReports(namespace string) v1.EphemeralReportInterface
func (*FakeReportsV1) RESTClient ¶
func (c *FakeReportsV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.