Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAdmissionReports
- func (c *FakeAdmissionReports) Create(ctx context.Context, admissionReport *v1alpha2.AdmissionReport, ...) (result *v1alpha2.AdmissionReport, err error)
- func (c *FakeAdmissionReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAdmissionReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAdmissionReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.AdmissionReport, err error)
- func (c *FakeAdmissionReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.AdmissionReportList, err error)
- func (c *FakeAdmissionReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.AdmissionReport, err error)
- func (c *FakeAdmissionReports) Update(ctx context.Context, admissionReport *v1alpha2.AdmissionReport, ...) (result *v1alpha2.AdmissionReport, err error)
- func (c *FakeAdmissionReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackgroundScanReports
- func (c *FakeBackgroundScanReports) Create(ctx context.Context, backgroundScanReport *v1alpha2.BackgroundScanReport, ...) (result *v1alpha2.BackgroundScanReport, err error)
- func (c *FakeBackgroundScanReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackgroundScanReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackgroundScanReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.BackgroundScanReport, err error)
- func (c *FakeBackgroundScanReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.BackgroundScanReportList, err error)
- func (c *FakeBackgroundScanReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.BackgroundScanReport, err error)
- func (c *FakeBackgroundScanReports) Update(ctx context.Context, backgroundScanReport *v1alpha2.BackgroundScanReport, ...) (result *v1alpha2.BackgroundScanReport, err error)
- func (c *FakeBackgroundScanReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterAdmissionReports
- func (c *FakeClusterAdmissionReports) Create(ctx context.Context, clusterAdmissionReport *v1alpha2.ClusterAdmissionReport, ...) (result *v1alpha2.ClusterAdmissionReport, err error)
- func (c *FakeClusterAdmissionReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterAdmissionReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterAdmissionReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterAdmissionReport, err error)
- func (c *FakeClusterAdmissionReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterAdmissionReportList, err error)
- func (c *FakeClusterAdmissionReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.ClusterAdmissionReport, err error)
- func (c *FakeClusterAdmissionReports) Update(ctx context.Context, clusterAdmissionReport *v1alpha2.ClusterAdmissionReport, ...) (result *v1alpha2.ClusterAdmissionReport, err error)
- func (c *FakeClusterAdmissionReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterBackgroundScanReports
- func (c *FakeClusterBackgroundScanReports) Create(ctx context.Context, ...) (result *v1alpha2.ClusterBackgroundScanReport, err error)
- func (c *FakeClusterBackgroundScanReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterBackgroundScanReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterBackgroundScanReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterBackgroundScanReport, err error)
- func (c *FakeClusterBackgroundScanReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterBackgroundScanReportList, err error)
- func (c *FakeClusterBackgroundScanReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.ClusterBackgroundScanReport, err error)
- func (c *FakeClusterBackgroundScanReports) Update(ctx context.Context, ...) (result *v1alpha2.ClusterBackgroundScanReport, err error)
- func (c *FakeClusterBackgroundScanReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKyvernoV1alpha2
- func (c *FakeKyvernoV1alpha2) AdmissionReports(namespace string) v1alpha2.AdmissionReportInterface
- func (c *FakeKyvernoV1alpha2) BackgroundScanReports(namespace string) v1alpha2.BackgroundScanReportInterface
- func (c *FakeKyvernoV1alpha2) ClusterAdmissionReports() v1alpha2.ClusterAdmissionReportInterface
- func (c *FakeKyvernoV1alpha2) ClusterBackgroundScanReports() v1alpha2.ClusterBackgroundScanReportInterface
- func (c *FakeKyvernoV1alpha2) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAdmissionReports ¶ added in v1.8.0
type FakeAdmissionReports struct { Fake *FakeKyvernoV1alpha2 // contains filtered or unexported fields }
FakeAdmissionReports implements AdmissionReportInterface
func (*FakeAdmissionReports) Create ¶ added in v1.8.0
func (c *FakeAdmissionReports) Create(ctx context.Context, admissionReport *v1alpha2.AdmissionReport, opts v1.CreateOptions) (result *v1alpha2.AdmissionReport, err error)
Create takes the representation of a admissionReport and creates it. Returns the server's representation of the admissionReport, and an error, if there is any.
func (*FakeAdmissionReports) Delete ¶ added in v1.8.0
func (c *FakeAdmissionReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the admissionReport and deletes it. Returns an error if one occurs.
func (*FakeAdmissionReports) DeleteCollection ¶ added in v1.8.0
func (c *FakeAdmissionReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAdmissionReports) Get ¶ added in v1.8.0
func (c *FakeAdmissionReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.AdmissionReport, err error)
Get takes name of the admissionReport, and returns the corresponding admissionReport object, and an error if there is any.
func (*FakeAdmissionReports) List ¶ added in v1.8.0
func (c *FakeAdmissionReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.AdmissionReportList, err error)
List takes label and field selectors, and returns the list of AdmissionReports that match those selectors.
func (*FakeAdmissionReports) Patch ¶ added in v1.8.0
func (c *FakeAdmissionReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.AdmissionReport, err error)
Patch applies the patch and returns the patched admissionReport.
func (*FakeAdmissionReports) Update ¶ added in v1.8.0
func (c *FakeAdmissionReports) Update(ctx context.Context, admissionReport *v1alpha2.AdmissionReport, opts v1.UpdateOptions) (result *v1alpha2.AdmissionReport, err error)
Update takes the representation of a admissionReport and updates it. Returns the server's representation of the admissionReport, and an error, if there is any.
func (*FakeAdmissionReports) Watch ¶ added in v1.8.0
func (c *FakeAdmissionReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested admissionReports.
type FakeBackgroundScanReports ¶ added in v1.8.0
type FakeBackgroundScanReports struct { Fake *FakeKyvernoV1alpha2 // contains filtered or unexported fields }
FakeBackgroundScanReports implements BackgroundScanReportInterface
func (*FakeBackgroundScanReports) Create ¶ added in v1.8.0
func (c *FakeBackgroundScanReports) Create(ctx context.Context, backgroundScanReport *v1alpha2.BackgroundScanReport, opts v1.CreateOptions) (result *v1alpha2.BackgroundScanReport, err error)
Create takes the representation of a backgroundScanReport and creates it. Returns the server's representation of the backgroundScanReport, and an error, if there is any.
func (*FakeBackgroundScanReports) Delete ¶ added in v1.8.0
func (c *FakeBackgroundScanReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backgroundScanReport and deletes it. Returns an error if one occurs.
func (*FakeBackgroundScanReports) DeleteCollection ¶ added in v1.8.0
func (c *FakeBackgroundScanReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackgroundScanReports) Get ¶ added in v1.8.0
func (c *FakeBackgroundScanReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.BackgroundScanReport, err error)
Get takes name of the backgroundScanReport, and returns the corresponding backgroundScanReport object, and an error if there is any.
func (*FakeBackgroundScanReports) List ¶ added in v1.8.0
func (c *FakeBackgroundScanReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.BackgroundScanReportList, err error)
List takes label and field selectors, and returns the list of BackgroundScanReports that match those selectors.
func (*FakeBackgroundScanReports) Patch ¶ added in v1.8.0
func (c *FakeBackgroundScanReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.BackgroundScanReport, err error)
Patch applies the patch and returns the patched backgroundScanReport.
func (*FakeBackgroundScanReports) Update ¶ added in v1.8.0
func (c *FakeBackgroundScanReports) Update(ctx context.Context, backgroundScanReport *v1alpha2.BackgroundScanReport, opts v1.UpdateOptions) (result *v1alpha2.BackgroundScanReport, err error)
Update takes the representation of a backgroundScanReport and updates it. Returns the server's representation of the backgroundScanReport, and an error, if there is any.
func (*FakeBackgroundScanReports) Watch ¶ added in v1.8.0
func (c *FakeBackgroundScanReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backgroundScanReports.
type FakeClusterAdmissionReports ¶ added in v1.8.0
type FakeClusterAdmissionReports struct {
Fake *FakeKyvernoV1alpha2
}
FakeClusterAdmissionReports implements ClusterAdmissionReportInterface
func (*FakeClusterAdmissionReports) Create ¶ added in v1.8.0
func (c *FakeClusterAdmissionReports) Create(ctx context.Context, clusterAdmissionReport *v1alpha2.ClusterAdmissionReport, opts v1.CreateOptions) (result *v1alpha2.ClusterAdmissionReport, err error)
Create takes the representation of a clusterAdmissionReport and creates it. Returns the server's representation of the clusterAdmissionReport, and an error, if there is any.
func (*FakeClusterAdmissionReports) Delete ¶ added in v1.8.0
func (c *FakeClusterAdmissionReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterAdmissionReport and deletes it. Returns an error if one occurs.
func (*FakeClusterAdmissionReports) DeleteCollection ¶ added in v1.8.0
func (c *FakeClusterAdmissionReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterAdmissionReports) Get ¶ added in v1.8.0
func (c *FakeClusterAdmissionReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterAdmissionReport, err error)
Get takes name of the clusterAdmissionReport, and returns the corresponding clusterAdmissionReport object, and an error if there is any.
func (*FakeClusterAdmissionReports) List ¶ added in v1.8.0
func (c *FakeClusterAdmissionReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterAdmissionReportList, err error)
List takes label and field selectors, and returns the list of ClusterAdmissionReports that match those selectors.
func (*FakeClusterAdmissionReports) Patch ¶ added in v1.8.0
func (c *FakeClusterAdmissionReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.ClusterAdmissionReport, err error)
Patch applies the patch and returns the patched clusterAdmissionReport.
func (*FakeClusterAdmissionReports) Update ¶ added in v1.8.0
func (c *FakeClusterAdmissionReports) Update(ctx context.Context, clusterAdmissionReport *v1alpha2.ClusterAdmissionReport, opts v1.UpdateOptions) (result *v1alpha2.ClusterAdmissionReport, err error)
Update takes the representation of a clusterAdmissionReport and updates it. Returns the server's representation of the clusterAdmissionReport, and an error, if there is any.
func (*FakeClusterAdmissionReports) Watch ¶ added in v1.8.0
func (c *FakeClusterAdmissionReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterAdmissionReports.
type FakeClusterBackgroundScanReports ¶ added in v1.8.0
type FakeClusterBackgroundScanReports struct {
Fake *FakeKyvernoV1alpha2
}
FakeClusterBackgroundScanReports implements ClusterBackgroundScanReportInterface
func (*FakeClusterBackgroundScanReports) Create ¶ added in v1.8.0
func (c *FakeClusterBackgroundScanReports) Create(ctx context.Context, clusterBackgroundScanReport *v1alpha2.ClusterBackgroundScanReport, opts v1.CreateOptions) (result *v1alpha2.ClusterBackgroundScanReport, err error)
Create takes the representation of a clusterBackgroundScanReport and creates it. Returns the server's representation of the clusterBackgroundScanReport, and an error, if there is any.
func (*FakeClusterBackgroundScanReports) Delete ¶ added in v1.8.0
func (c *FakeClusterBackgroundScanReports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterBackgroundScanReport and deletes it. Returns an error if one occurs.
func (*FakeClusterBackgroundScanReports) DeleteCollection ¶ added in v1.8.0
func (c *FakeClusterBackgroundScanReports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterBackgroundScanReports) Get ¶ added in v1.8.0
func (c *FakeClusterBackgroundScanReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterBackgroundScanReport, err error)
Get takes name of the clusterBackgroundScanReport, and returns the corresponding clusterBackgroundScanReport object, and an error if there is any.
func (*FakeClusterBackgroundScanReports) List ¶ added in v1.8.0
func (c *FakeClusterBackgroundScanReports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterBackgroundScanReportList, err error)
List takes label and field selectors, and returns the list of ClusterBackgroundScanReports that match those selectors.
func (*FakeClusterBackgroundScanReports) Patch ¶ added in v1.8.0
func (c *FakeClusterBackgroundScanReports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.ClusterBackgroundScanReport, err error)
Patch applies the patch and returns the patched clusterBackgroundScanReport.
func (*FakeClusterBackgroundScanReports) Update ¶ added in v1.8.0
func (c *FakeClusterBackgroundScanReports) Update(ctx context.Context, clusterBackgroundScanReport *v1alpha2.ClusterBackgroundScanReport, opts v1.UpdateOptions) (result *v1alpha2.ClusterBackgroundScanReport, err error)
Update takes the representation of a clusterBackgroundScanReport and updates it. Returns the server's representation of the clusterBackgroundScanReport, and an error, if there is any.
func (*FakeClusterBackgroundScanReports) Watch ¶ added in v1.8.0
func (c *FakeClusterBackgroundScanReports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterBackgroundScanReports.
type FakeKyvernoV1alpha2 ¶
func (*FakeKyvernoV1alpha2) AdmissionReports ¶ added in v1.8.0
func (c *FakeKyvernoV1alpha2) AdmissionReports(namespace string) v1alpha2.AdmissionReportInterface
func (*FakeKyvernoV1alpha2) BackgroundScanReports ¶ added in v1.8.0
func (c *FakeKyvernoV1alpha2) BackgroundScanReports(namespace string) v1alpha2.BackgroundScanReportInterface
func (*FakeKyvernoV1alpha2) ClusterAdmissionReports ¶ added in v1.8.0
func (c *FakeKyvernoV1alpha2) ClusterAdmissionReports() v1alpha2.ClusterAdmissionReportInterface
func (*FakeKyvernoV1alpha2) ClusterBackgroundScanReports ¶ added in v1.8.0
func (c *FakeKyvernoV1alpha2) ClusterBackgroundScanReports() v1alpha2.ClusterBackgroundScanReportInterface
func (*FakeKyvernoV1alpha2) RESTClient ¶
func (c *FakeKyvernoV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.