Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAquasecurityV1alpha1
- func (c *FakeAquasecurityV1alpha1) CISKubeBenchReports() v1alpha1.CISKubeBenchReportInterface
- func (c *FakeAquasecurityV1alpha1) ClusterComplianceDetailReports(namespace string) v1alpha1.ClusterComplianceDetailReportInterface
- func (c *FakeAquasecurityV1alpha1) ClusterComplianceReports(namespace string) v1alpha1.ClusterComplianceReportInterface
- func (c *FakeAquasecurityV1alpha1) ClusterConfigAuditReports() v1alpha1.ClusterConfigAuditReportInterface
- func (c *FakeAquasecurityV1alpha1) ClusterVulnerabilityReports() v1alpha1.ClusterVulnerabilityReportInterface
- func (c *FakeAquasecurityV1alpha1) ConfigAuditReports(namespace string) v1alpha1.ConfigAuditReportInterface
- func (c *FakeAquasecurityV1alpha1) KubeHunterReports() v1alpha1.KubeHunterReportInterface
- func (c *FakeAquasecurityV1alpha1) RESTClient() rest.Interface
- func (c *FakeAquasecurityV1alpha1) VulnerabilityReports(namespace string) v1alpha1.VulnerabilityReportInterface
- type FakeCISKubeBenchReports
- func (c *FakeCISKubeBenchReports) Create(ctx context.Context, cISKubeBenchReport *v1alpha1.CISKubeBenchReport, ...) (result *v1alpha1.CISKubeBenchReport, err error)
- func (c *FakeCISKubeBenchReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCISKubeBenchReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCISKubeBenchReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CISKubeBenchReport, err error)
- func (c *FakeCISKubeBenchReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CISKubeBenchReportList, err error)
- func (c *FakeCISKubeBenchReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CISKubeBenchReport, err error)
- func (c *FakeCISKubeBenchReports) Update(ctx context.Context, cISKubeBenchReport *v1alpha1.CISKubeBenchReport, ...) (result *v1alpha1.CISKubeBenchReport, err error)
- func (c *FakeCISKubeBenchReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterComplianceDetailReports
- func (c *FakeClusterComplianceDetailReports) Create(ctx context.Context, ...) (result *v1alpha1.ClusterComplianceDetailReport, err error)
- func (c *FakeClusterComplianceDetailReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterComplianceDetailReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterComplianceDetailReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterComplianceDetailReport, err error)
- func (c *FakeClusterComplianceDetailReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterComplianceDetailReportList, err error)
- func (c *FakeClusterComplianceDetailReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterComplianceDetailReport, err error)
- func (c *FakeClusterComplianceDetailReports) Update(ctx context.Context, ...) (result *v1alpha1.ClusterComplianceDetailReport, err error)
- func (c *FakeClusterComplianceDetailReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterComplianceReports
- func (c *FakeClusterComplianceReports) Create(ctx context.Context, clusterComplianceReport *v1alpha1.ClusterComplianceReport, ...) (result *v1alpha1.ClusterComplianceReport, err error)
- func (c *FakeClusterComplianceReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterComplianceReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterComplianceReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterComplianceReport, err error)
- func (c *FakeClusterComplianceReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterComplianceReportList, err error)
- func (c *FakeClusterComplianceReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterComplianceReport, err error)
- func (c *FakeClusterComplianceReports) Update(ctx context.Context, clusterComplianceReport *v1alpha1.ClusterComplianceReport, ...) (result *v1alpha1.ClusterComplianceReport, err error)
- func (c *FakeClusterComplianceReports) UpdateStatus(ctx context.Context, clusterComplianceReport *v1alpha1.ClusterComplianceReport, ...) (*v1alpha1.ClusterComplianceReport, error)
- func (c *FakeClusterComplianceReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterConfigAuditReports
- func (c *FakeClusterConfigAuditReports) Create(ctx context.Context, ...) (result *v1alpha1.ClusterConfigAuditReport, err error)
- func (c *FakeClusterConfigAuditReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterConfigAuditReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterConfigAuditReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterConfigAuditReport, err error)
- func (c *FakeClusterConfigAuditReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterConfigAuditReportList, err error)
- func (c *FakeClusterConfigAuditReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterConfigAuditReport, err error)
- func (c *FakeClusterConfigAuditReports) Update(ctx context.Context, ...) (result *v1alpha1.ClusterConfigAuditReport, err error)
- func (c *FakeClusterConfigAuditReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterVulnerabilityReports
- func (c *FakeClusterVulnerabilityReports) Create(ctx context.Context, ...) (result *v1alpha1.ClusterVulnerabilityReport, err error)
- func (c *FakeClusterVulnerabilityReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterVulnerabilityReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterVulnerabilityReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterVulnerabilityReport, err error)
- func (c *FakeClusterVulnerabilityReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterVulnerabilityReportList, err error)
- func (c *FakeClusterVulnerabilityReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterVulnerabilityReport, err error)
- func (c *FakeClusterVulnerabilityReports) Update(ctx context.Context, ...) (result *v1alpha1.ClusterVulnerabilityReport, err error)
- func (c *FakeClusterVulnerabilityReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigAuditReports
- func (c *FakeConfigAuditReports) Create(ctx context.Context, configAuditReport *v1alpha1.ConfigAuditReport, ...) (result *v1alpha1.ConfigAuditReport, err error)
- func (c *FakeConfigAuditReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigAuditReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConfigAuditReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConfigAuditReport, err error)
- func (c *FakeConfigAuditReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigAuditReportList, err error)
- func (c *FakeConfigAuditReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ConfigAuditReport, err error)
- func (c *FakeConfigAuditReports) Update(ctx context.Context, configAuditReport *v1alpha1.ConfigAuditReport, ...) (result *v1alpha1.ConfigAuditReport, err error)
- func (c *FakeConfigAuditReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKubeHunterReports
- func (c *FakeKubeHunterReports) Create(ctx context.Context, kubeHunterReport *v1alpha1.KubeHunterReport, ...) (result *v1alpha1.KubeHunterReport, err error)
- func (c *FakeKubeHunterReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKubeHunterReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKubeHunterReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KubeHunterReport, err error)
- func (c *FakeKubeHunterReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KubeHunterReportList, err error)
- func (c *FakeKubeHunterReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.KubeHunterReport, err error)
- func (c *FakeKubeHunterReports) Update(ctx context.Context, kubeHunterReport *v1alpha1.KubeHunterReport, ...) (result *v1alpha1.KubeHunterReport, err error)
- func (c *FakeKubeHunterReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVulnerabilityReports
- func (c *FakeVulnerabilityReports) Create(ctx context.Context, vulnerabilityReport *v1alpha1.VulnerabilityReport, ...) (result *v1alpha1.VulnerabilityReport, err error)
- func (c *FakeVulnerabilityReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVulnerabilityReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVulnerabilityReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VulnerabilityReport, err error)
- func (c *FakeVulnerabilityReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VulnerabilityReportList, err error)
- func (c *FakeVulnerabilityReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VulnerabilityReport, err error)
- func (c *FakeVulnerabilityReports) Update(ctx context.Context, vulnerabilityReport *v1alpha1.VulnerabilityReport, ...) (result *v1alpha1.VulnerabilityReport, err error)
- func (c *FakeVulnerabilityReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAquasecurityV1alpha1 ¶
func (*FakeAquasecurityV1alpha1) CISKubeBenchReports ¶
func (c *FakeAquasecurityV1alpha1) CISKubeBenchReports() v1alpha1.CISKubeBenchReportInterface
func (*FakeAquasecurityV1alpha1) ClusterComplianceDetailReports ¶ added in v0.15.0
func (c *FakeAquasecurityV1alpha1) ClusterComplianceDetailReports(namespace string) v1alpha1.ClusterComplianceDetailReportInterface
func (*FakeAquasecurityV1alpha1) ClusterComplianceReports ¶ added in v0.15.0
func (c *FakeAquasecurityV1alpha1) ClusterComplianceReports(namespace string) v1alpha1.ClusterComplianceReportInterface
func (*FakeAquasecurityV1alpha1) ClusterConfigAuditReports ¶ added in v0.11.0
func (c *FakeAquasecurityV1alpha1) ClusterConfigAuditReports() v1alpha1.ClusterConfigAuditReportInterface
func (*FakeAquasecurityV1alpha1) ClusterVulnerabilityReports ¶ added in v0.13.0
func (c *FakeAquasecurityV1alpha1) ClusterVulnerabilityReports() v1alpha1.ClusterVulnerabilityReportInterface
func (*FakeAquasecurityV1alpha1) ConfigAuditReports ¶
func (c *FakeAquasecurityV1alpha1) ConfigAuditReports(namespace string) v1alpha1.ConfigAuditReportInterface
func (*FakeAquasecurityV1alpha1) KubeHunterReports ¶
func (c *FakeAquasecurityV1alpha1) KubeHunterReports() v1alpha1.KubeHunterReportInterface
func (*FakeAquasecurityV1alpha1) RESTClient ¶
func (c *FakeAquasecurityV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAquasecurityV1alpha1) VulnerabilityReports ¶ added in v0.4.0
func (c *FakeAquasecurityV1alpha1) VulnerabilityReports(namespace string) v1alpha1.VulnerabilityReportInterface
type FakeCISKubeBenchReports ¶
type FakeCISKubeBenchReports struct {
Fake *FakeAquasecurityV1alpha1
}
FakeCISKubeBenchReports implements CISKubeBenchReportInterface
func (*FakeCISKubeBenchReports) Create ¶
func (c *FakeCISKubeBenchReports) Create(ctx context.Context, cISKubeBenchReport *v1alpha1.CISKubeBenchReport, opts v1.CreateOptions) (result *v1alpha1.CISKubeBenchReport, err error)
Create takes the representation of a cISKubeBenchReport and creates it. Returns the server's representation of the cISKubeBenchReport, and an error, if there is any.
func (*FakeCISKubeBenchReports) Delete ¶
func (c *FakeCISKubeBenchReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cISKubeBenchReport and deletes it. Returns an error if one occurs.
func (*FakeCISKubeBenchReports) DeleteCollection ¶
func (c *FakeCISKubeBenchReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCISKubeBenchReports) Get ¶
func (c *FakeCISKubeBenchReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CISKubeBenchReport, err error)
Get takes name of the cISKubeBenchReport, and returns the corresponding cISKubeBenchReport object, and an error if there is any.
func (*FakeCISKubeBenchReports) List ¶
func (c *FakeCISKubeBenchReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CISKubeBenchReportList, err error)
List takes label and field selectors, and returns the list of CISKubeBenchReports that match those selectors.
func (*FakeCISKubeBenchReports) Patch ¶
func (c *FakeCISKubeBenchReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CISKubeBenchReport, err error)
Patch applies the patch and returns the patched cISKubeBenchReport.
func (*FakeCISKubeBenchReports) Update ¶
func (c *FakeCISKubeBenchReports) Update(ctx context.Context, cISKubeBenchReport *v1alpha1.CISKubeBenchReport, opts v1.UpdateOptions) (result *v1alpha1.CISKubeBenchReport, err error)
Update takes the representation of a cISKubeBenchReport and updates it. Returns the server's representation of the cISKubeBenchReport, and an error, if there is any.
func (*FakeCISKubeBenchReports) Watch ¶
func (c *FakeCISKubeBenchReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cISKubeBenchReports.
type FakeClusterComplianceDetailReports ¶ added in v0.15.0
type FakeClusterComplianceDetailReports struct { Fake *FakeAquasecurityV1alpha1 // contains filtered or unexported fields }
FakeClusterComplianceDetailReports implements ClusterComplianceDetailReportInterface
func (*FakeClusterComplianceDetailReports) Create ¶ added in v0.15.0
func (c *FakeClusterComplianceDetailReports) Create(ctx context.Context, clusterComplianceDetailReport *v1alpha1.ClusterComplianceDetailReport, opts v1.CreateOptions) (result *v1alpha1.ClusterComplianceDetailReport, err error)
Create takes the representation of a clusterComplianceDetailReport and creates it. Returns the server's representation of the clusterComplianceDetailReport, and an error, if there is any.
func (*FakeClusterComplianceDetailReports) Delete ¶ added in v0.15.0
func (c *FakeClusterComplianceDetailReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterComplianceDetailReport and deletes it. Returns an error if one occurs.
func (*FakeClusterComplianceDetailReports) DeleteCollection ¶ added in v0.15.0
func (c *FakeClusterComplianceDetailReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterComplianceDetailReports) Get ¶ added in v0.15.0
func (c *FakeClusterComplianceDetailReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterComplianceDetailReport, err error)
Get takes name of the clusterComplianceDetailReport, and returns the corresponding clusterComplianceDetailReport object, and an error if there is any.
func (*FakeClusterComplianceDetailReports) List ¶ added in v0.15.0
func (c *FakeClusterComplianceDetailReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterComplianceDetailReportList, err error)
List takes label and field selectors, and returns the list of ClusterComplianceDetailReports that match those selectors.
func (*FakeClusterComplianceDetailReports) Patch ¶ added in v0.15.0
func (c *FakeClusterComplianceDetailReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterComplianceDetailReport, err error)
Patch applies the patch and returns the patched clusterComplianceDetailReport.
func (*FakeClusterComplianceDetailReports) Update ¶ added in v0.15.0
func (c *FakeClusterComplianceDetailReports) Update(ctx context.Context, clusterComplianceDetailReport *v1alpha1.ClusterComplianceDetailReport, opts v1.UpdateOptions) (result *v1alpha1.ClusterComplianceDetailReport, err error)
Update takes the representation of a clusterComplianceDetailReport and updates it. Returns the server's representation of the clusterComplianceDetailReport, and an error, if there is any.
func (*FakeClusterComplianceDetailReports) Watch ¶ added in v0.15.0
func (c *FakeClusterComplianceDetailReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterComplianceDetailReports.
type FakeClusterComplianceReports ¶ added in v0.15.0
type FakeClusterComplianceReports struct { Fake *FakeAquasecurityV1alpha1 // contains filtered or unexported fields }
FakeClusterComplianceReports implements ClusterComplianceReportInterface
func (*FakeClusterComplianceReports) Create ¶ added in v0.15.0
func (c *FakeClusterComplianceReports) Create(ctx context.Context, clusterComplianceReport *v1alpha1.ClusterComplianceReport, opts v1.CreateOptions) (result *v1alpha1.ClusterComplianceReport, err error)
Create takes the representation of a clusterComplianceReport and creates it. Returns the server's representation of the clusterComplianceReport, and an error, if there is any.
func (*FakeClusterComplianceReports) Delete ¶ added in v0.15.0
func (c *FakeClusterComplianceReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterComplianceReport and deletes it. Returns an error if one occurs.
func (*FakeClusterComplianceReports) DeleteCollection ¶ added in v0.15.0
func (c *FakeClusterComplianceReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterComplianceReports) Get ¶ added in v0.15.0
func (c *FakeClusterComplianceReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterComplianceReport, err error)
Get takes name of the clusterComplianceReport, and returns the corresponding clusterComplianceReport object, and an error if there is any.
func (*FakeClusterComplianceReports) List ¶ added in v0.15.0
func (c *FakeClusterComplianceReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterComplianceReportList, err error)
List takes label and field selectors, and returns the list of ClusterComplianceReports that match those selectors.
func (*FakeClusterComplianceReports) Patch ¶ added in v0.15.0
func (c *FakeClusterComplianceReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterComplianceReport, err error)
Patch applies the patch and returns the patched clusterComplianceReport.
func (*FakeClusterComplianceReports) Update ¶ added in v0.15.0
func (c *FakeClusterComplianceReports) Update(ctx context.Context, clusterComplianceReport *v1alpha1.ClusterComplianceReport, opts v1.UpdateOptions) (result *v1alpha1.ClusterComplianceReport, err error)
Update takes the representation of a clusterComplianceReport and updates it. Returns the server's representation of the clusterComplianceReport, and an error, if there is any.
func (*FakeClusterComplianceReports) UpdateStatus ¶ added in v0.15.0
func (c *FakeClusterComplianceReports) UpdateStatus(ctx context.Context, clusterComplianceReport *v1alpha1.ClusterComplianceReport, opts v1.UpdateOptions) (*v1alpha1.ClusterComplianceReport, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterComplianceReports) Watch ¶ added in v0.15.0
func (c *FakeClusterComplianceReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterComplianceReports.
type FakeClusterConfigAuditReports ¶ added in v0.11.0
type FakeClusterConfigAuditReports struct {
Fake *FakeAquasecurityV1alpha1
}
FakeClusterConfigAuditReports implements ClusterConfigAuditReportInterface
func (*FakeClusterConfigAuditReports) Create ¶ added in v0.11.0
func (c *FakeClusterConfigAuditReports) Create(ctx context.Context, clusterConfigAuditReport *v1alpha1.ClusterConfigAuditReport, opts v1.CreateOptions) (result *v1alpha1.ClusterConfigAuditReport, err error)
Create takes the representation of a clusterConfigAuditReport and creates it. Returns the server's representation of the clusterConfigAuditReport, and an error, if there is any.
func (*FakeClusterConfigAuditReports) Delete ¶ added in v0.11.0
func (c *FakeClusterConfigAuditReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterConfigAuditReport and deletes it. Returns an error if one occurs.
func (*FakeClusterConfigAuditReports) DeleteCollection ¶ added in v0.11.0
func (c *FakeClusterConfigAuditReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterConfigAuditReports) Get ¶ added in v0.11.0
func (c *FakeClusterConfigAuditReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterConfigAuditReport, err error)
Get takes name of the clusterConfigAuditReport, and returns the corresponding clusterConfigAuditReport object, and an error if there is any.
func (*FakeClusterConfigAuditReports) List ¶ added in v0.11.0
func (c *FakeClusterConfigAuditReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterConfigAuditReportList, err error)
List takes label and field selectors, and returns the list of ClusterConfigAuditReports that match those selectors.
func (*FakeClusterConfigAuditReports) Patch ¶ added in v0.11.0
func (c *FakeClusterConfigAuditReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterConfigAuditReport, err error)
Patch applies the patch and returns the patched clusterConfigAuditReport.
func (*FakeClusterConfigAuditReports) Update ¶ added in v0.11.0
func (c *FakeClusterConfigAuditReports) Update(ctx context.Context, clusterConfigAuditReport *v1alpha1.ClusterConfigAuditReport, opts v1.UpdateOptions) (result *v1alpha1.ClusterConfigAuditReport, err error)
Update takes the representation of a clusterConfigAuditReport and updates it. Returns the server's representation of the clusterConfigAuditReport, and an error, if there is any.
func (*FakeClusterConfigAuditReports) Watch ¶ added in v0.11.0
func (c *FakeClusterConfigAuditReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterConfigAuditReports.
type FakeClusterVulnerabilityReports ¶ added in v0.13.0
type FakeClusterVulnerabilityReports struct {
Fake *FakeAquasecurityV1alpha1
}
FakeClusterVulnerabilityReports implements ClusterVulnerabilityReportInterface
func (*FakeClusterVulnerabilityReports) Create ¶ added in v0.13.0
func (c *FakeClusterVulnerabilityReports) Create(ctx context.Context, clusterVulnerabilityReport *v1alpha1.ClusterVulnerabilityReport, opts v1.CreateOptions) (result *v1alpha1.ClusterVulnerabilityReport, err error)
Create takes the representation of a clusterVulnerabilityReport and creates it. Returns the server's representation of the clusterVulnerabilityReport, and an error, if there is any.
func (*FakeClusterVulnerabilityReports) Delete ¶ added in v0.13.0
func (c *FakeClusterVulnerabilityReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterVulnerabilityReport and deletes it. Returns an error if one occurs.
func (*FakeClusterVulnerabilityReports) DeleteCollection ¶ added in v0.13.0
func (c *FakeClusterVulnerabilityReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterVulnerabilityReports) Get ¶ added in v0.13.0
func (c *FakeClusterVulnerabilityReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterVulnerabilityReport, err error)
Get takes name of the clusterVulnerabilityReport, and returns the corresponding clusterVulnerabilityReport object, and an error if there is any.
func (*FakeClusterVulnerabilityReports) List ¶ added in v0.13.0
func (c *FakeClusterVulnerabilityReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterVulnerabilityReportList, err error)
List takes label and field selectors, and returns the list of ClusterVulnerabilityReports that match those selectors.
func (*FakeClusterVulnerabilityReports) Patch ¶ added in v0.13.0
func (c *FakeClusterVulnerabilityReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterVulnerabilityReport, err error)
Patch applies the patch and returns the patched clusterVulnerabilityReport.
func (*FakeClusterVulnerabilityReports) Update ¶ added in v0.13.0
func (c *FakeClusterVulnerabilityReports) Update(ctx context.Context, clusterVulnerabilityReport *v1alpha1.ClusterVulnerabilityReport, opts v1.UpdateOptions) (result *v1alpha1.ClusterVulnerabilityReport, err error)
Update takes the representation of a clusterVulnerabilityReport and updates it. Returns the server's representation of the clusterVulnerabilityReport, and an error, if there is any.
func (*FakeClusterVulnerabilityReports) Watch ¶ added in v0.13.0
func (c *FakeClusterVulnerabilityReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterVulnerabilityReports.
type FakeConfigAuditReports ¶
type FakeConfigAuditReports struct { Fake *FakeAquasecurityV1alpha1 // contains filtered or unexported fields }
FakeConfigAuditReports implements ConfigAuditReportInterface
func (*FakeConfigAuditReports) Create ¶
func (c *FakeConfigAuditReports) Create(ctx context.Context, configAuditReport *v1alpha1.ConfigAuditReport, opts v1.CreateOptions) (result *v1alpha1.ConfigAuditReport, err error)
Create takes the representation of a configAuditReport and creates it. Returns the server's representation of the configAuditReport, and an error, if there is any.
func (*FakeConfigAuditReports) Delete ¶
func (c *FakeConfigAuditReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the configAuditReport and deletes it. Returns an error if one occurs.
func (*FakeConfigAuditReports) DeleteCollection ¶
func (c *FakeConfigAuditReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigAuditReports) Get ¶
func (c *FakeConfigAuditReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConfigAuditReport, err error)
Get takes name of the configAuditReport, and returns the corresponding configAuditReport object, and an error if there is any.
func (*FakeConfigAuditReports) List ¶
func (c *FakeConfigAuditReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigAuditReportList, err error)
List takes label and field selectors, and returns the list of ConfigAuditReports that match those selectors.
func (*FakeConfigAuditReports) Patch ¶
func (c *FakeConfigAuditReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ConfigAuditReport, err error)
Patch applies the patch and returns the patched configAuditReport.
func (*FakeConfigAuditReports) Update ¶
func (c *FakeConfigAuditReports) Update(ctx context.Context, configAuditReport *v1alpha1.ConfigAuditReport, opts v1.UpdateOptions) (result *v1alpha1.ConfigAuditReport, err error)
Update takes the representation of a configAuditReport and updates it. Returns the server's representation of the configAuditReport, and an error, if there is any.
func (*FakeConfigAuditReports) Watch ¶
func (c *FakeConfigAuditReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configAuditReports.
type FakeKubeHunterReports ¶
type FakeKubeHunterReports struct {
Fake *FakeAquasecurityV1alpha1
}
FakeKubeHunterReports implements KubeHunterReportInterface
func (*FakeKubeHunterReports) Create ¶
func (c *FakeKubeHunterReports) Create(ctx context.Context, kubeHunterReport *v1alpha1.KubeHunterReport, opts v1.CreateOptions) (result *v1alpha1.KubeHunterReport, err error)
Create takes the representation of a kubeHunterReport and creates it. Returns the server's representation of the kubeHunterReport, and an error, if there is any.
func (*FakeKubeHunterReports) Delete ¶
func (c *FakeKubeHunterReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kubeHunterReport and deletes it. Returns an error if one occurs.
func (*FakeKubeHunterReports) DeleteCollection ¶
func (c *FakeKubeHunterReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKubeHunterReports) Get ¶
func (c *FakeKubeHunterReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KubeHunterReport, err error)
Get takes name of the kubeHunterReport, and returns the corresponding kubeHunterReport object, and an error if there is any.
func (*FakeKubeHunterReports) List ¶
func (c *FakeKubeHunterReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KubeHunterReportList, err error)
List takes label and field selectors, and returns the list of KubeHunterReports that match those selectors.
func (*FakeKubeHunterReports) Patch ¶
func (c *FakeKubeHunterReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KubeHunterReport, err error)
Patch applies the patch and returns the patched kubeHunterReport.
func (*FakeKubeHunterReports) Update ¶
func (c *FakeKubeHunterReports) Update(ctx context.Context, kubeHunterReport *v1alpha1.KubeHunterReport, opts v1.UpdateOptions) (result *v1alpha1.KubeHunterReport, err error)
Update takes the representation of a kubeHunterReport and updates it. Returns the server's representation of the kubeHunterReport, and an error, if there is any.
func (*FakeKubeHunterReports) Watch ¶
func (c *FakeKubeHunterReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kubeHunterReports.
type FakeVulnerabilityReports ¶ added in v0.4.0
type FakeVulnerabilityReports struct { Fake *FakeAquasecurityV1alpha1 // contains filtered or unexported fields }
FakeVulnerabilityReports implements VulnerabilityReportInterface
func (*FakeVulnerabilityReports) Create ¶ added in v0.4.0
func (c *FakeVulnerabilityReports) Create(ctx context.Context, vulnerabilityReport *v1alpha1.VulnerabilityReport, opts v1.CreateOptions) (result *v1alpha1.VulnerabilityReport, err error)
Create takes the representation of a vulnerabilityReport and creates it. Returns the server's representation of the vulnerabilityReport, and an error, if there is any.
func (*FakeVulnerabilityReports) Delete ¶ added in v0.4.0
func (c *FakeVulnerabilityReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the vulnerabilityReport and deletes it. Returns an error if one occurs.
func (*FakeVulnerabilityReports) DeleteCollection ¶ added in v0.4.0
func (c *FakeVulnerabilityReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVulnerabilityReports) Get ¶ added in v0.4.0
func (c *FakeVulnerabilityReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VulnerabilityReport, err error)
Get takes name of the vulnerabilityReport, and returns the corresponding vulnerabilityReport object, and an error if there is any.
func (*FakeVulnerabilityReports) List ¶ added in v0.4.0
func (c *FakeVulnerabilityReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VulnerabilityReportList, err error)
List takes label and field selectors, and returns the list of VulnerabilityReports that match those selectors.
func (*FakeVulnerabilityReports) Patch ¶ added in v0.4.0
func (c *FakeVulnerabilityReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VulnerabilityReport, err error)
Patch applies the patch and returns the patched vulnerabilityReport.
func (*FakeVulnerabilityReports) Update ¶ added in v0.4.0
func (c *FakeVulnerabilityReports) Update(ctx context.Context, vulnerabilityReport *v1alpha1.VulnerabilityReport, opts v1.UpdateOptions) (result *v1alpha1.VulnerabilityReport, err error)
Update takes the representation of a vulnerabilityReport and updates it. Returns the server's representation of the vulnerabilityReport, and an error, if there is any.
func (*FakeVulnerabilityReports) Watch ¶ added in v0.4.0
func (c *FakeVulnerabilityReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested vulnerabilityReports.