v1alpha2

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmissionReportExpansion added in v1.8.0

type AdmissionReportExpansion interface{}

type AdmissionReportInterface added in v1.8.0

type AdmissionReportInterface interface {
	Create(ctx context.Context, admissionReport *v1alpha2.AdmissionReport, opts v1.CreateOptions) (*v1alpha2.AdmissionReport, error)
	Update(ctx context.Context, admissionReport *v1alpha2.AdmissionReport, opts v1.UpdateOptions) (*v1alpha2.AdmissionReport, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha2.AdmissionReport, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.AdmissionReportList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.AdmissionReport, err error)
	AdmissionReportExpansion
}

AdmissionReportInterface has methods to work with AdmissionReport resources.

type AdmissionReportsGetter added in v1.8.0

type AdmissionReportsGetter interface {
	AdmissionReports(namespace string) AdmissionReportInterface
}

AdmissionReportsGetter has a method to return a AdmissionReportInterface. A group's client should implement this interface.

type BackgroundScanReportExpansion added in v1.8.0

type BackgroundScanReportExpansion interface{}

type BackgroundScanReportInterface added in v1.8.0

type BackgroundScanReportInterface interface {
	Create(ctx context.Context, backgroundScanReport *v1alpha2.BackgroundScanReport, opts v1.CreateOptions) (*v1alpha2.BackgroundScanReport, error)
	Update(ctx context.Context, backgroundScanReport *v1alpha2.BackgroundScanReport, opts v1.UpdateOptions) (*v1alpha2.BackgroundScanReport, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha2.BackgroundScanReport, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.BackgroundScanReportList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.BackgroundScanReport, err error)
	BackgroundScanReportExpansion
}

BackgroundScanReportInterface has methods to work with BackgroundScanReport resources.

type BackgroundScanReportsGetter added in v1.8.0

type BackgroundScanReportsGetter interface {
	BackgroundScanReports(namespace string) BackgroundScanReportInterface
}

BackgroundScanReportsGetter has a method to return a BackgroundScanReportInterface. A group's client should implement this interface.

type ClusterAdmissionReportExpansion added in v1.8.0

type ClusterAdmissionReportExpansion interface{}

type ClusterAdmissionReportInterface added in v1.8.0

type ClusterAdmissionReportInterface interface {
	Create(ctx context.Context, clusterAdmissionReport *v1alpha2.ClusterAdmissionReport, opts v1.CreateOptions) (*v1alpha2.ClusterAdmissionReport, error)
	Update(ctx context.Context, clusterAdmissionReport *v1alpha2.ClusterAdmissionReport, opts v1.UpdateOptions) (*v1alpha2.ClusterAdmissionReport, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha2.ClusterAdmissionReport, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.ClusterAdmissionReportList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.ClusterAdmissionReport, err error)
	ClusterAdmissionReportExpansion
}

ClusterAdmissionReportInterface has methods to work with ClusterAdmissionReport resources.

type ClusterAdmissionReportsGetter added in v1.8.0

type ClusterAdmissionReportsGetter interface {
	ClusterAdmissionReports() ClusterAdmissionReportInterface
}

ClusterAdmissionReportsGetter has a method to return a ClusterAdmissionReportInterface. A group's client should implement this interface.

type ClusterBackgroundScanReportExpansion added in v1.8.0

type ClusterBackgroundScanReportExpansion interface{}

type ClusterBackgroundScanReportInterface added in v1.8.0

type ClusterBackgroundScanReportInterface interface {
	Create(ctx context.Context, clusterBackgroundScanReport *v1alpha2.ClusterBackgroundScanReport, opts v1.CreateOptions) (*v1alpha2.ClusterBackgroundScanReport, error)
	Update(ctx context.Context, clusterBackgroundScanReport *v1alpha2.ClusterBackgroundScanReport, opts v1.UpdateOptions) (*v1alpha2.ClusterBackgroundScanReport, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha2.ClusterBackgroundScanReport, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.ClusterBackgroundScanReportList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.ClusterBackgroundScanReport, err error)
	ClusterBackgroundScanReportExpansion
}

ClusterBackgroundScanReportInterface has methods to work with ClusterBackgroundScanReport resources.

type ClusterBackgroundScanReportsGetter added in v1.8.0

type ClusterBackgroundScanReportsGetter interface {
	ClusterBackgroundScanReports() ClusterBackgroundScanReportInterface
}

ClusterBackgroundScanReportsGetter has a method to return a ClusterBackgroundScanReportInterface. A group's client should implement this interface.

type KyvernoV1alpha2Client

type KyvernoV1alpha2Client struct {
	// contains filtered or unexported fields
}

KyvernoV1alpha2Client is used to interact with features provided by the kyverno.io group.

func New

New creates a new KyvernoV1alpha2Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*KyvernoV1alpha2Client, error)

NewForConfig creates a new KyvernoV1alpha2Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient added in v1.8.0

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*KyvernoV1alpha2Client, error)

NewForConfigAndClient creates a new KyvernoV1alpha2Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *KyvernoV1alpha2Client

NewForConfigOrDie creates a new KyvernoV1alpha2Client for the given config and panics if there is an error in the config.

func (*KyvernoV1alpha2Client) AdmissionReports added in v1.8.0

func (c *KyvernoV1alpha2Client) AdmissionReports(namespace string) AdmissionReportInterface

func (*KyvernoV1alpha2Client) BackgroundScanReports added in v1.8.0

func (c *KyvernoV1alpha2Client) BackgroundScanReports(namespace string) BackgroundScanReportInterface

func (*KyvernoV1alpha2Client) ClusterAdmissionReports added in v1.8.0

func (c *KyvernoV1alpha2Client) ClusterAdmissionReports() ClusterAdmissionReportInterface

func (*KyvernoV1alpha2Client) ClusterBackgroundScanReports added in v1.8.0

func (c *KyvernoV1alpha2Client) ClusterBackgroundScanReports() ClusterBackgroundScanReportInterface

func (*KyvernoV1alpha2Client) RESTClient

func (c *KyvernoV1alpha2Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL