Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AdmissionReportExpansion
- type AdmissionReportInterface
- type AdmissionReportsGetter
- type BackgroundScanReportExpansion
- type BackgroundScanReportInterface
- type BackgroundScanReportsGetter
- type CleanupPoliciesGetter
- type CleanupPolicyExpansion
- type CleanupPolicyInterface
- type ClusterAdmissionReportExpansion
- type ClusterAdmissionReportInterface
- type ClusterAdmissionReportsGetter
- type ClusterBackgroundScanReportExpansion
- type ClusterBackgroundScanReportInterface
- type ClusterBackgroundScanReportsGetter
- type ClusterCleanupPoliciesGetter
- type ClusterCleanupPolicyExpansion
- type ClusterCleanupPolicyInterface
- type KyvernoV2Client
- func (c *KyvernoV2Client) AdmissionReports(namespace string) AdmissionReportInterface
- func (c *KyvernoV2Client) BackgroundScanReports(namespace string) BackgroundScanReportInterface
- func (c *KyvernoV2Client) CleanupPolicies(namespace string) CleanupPolicyInterface
- func (c *KyvernoV2Client) ClusterAdmissionReports() ClusterAdmissionReportInterface
- func (c *KyvernoV2Client) ClusterBackgroundScanReports() ClusterBackgroundScanReportInterface
- func (c *KyvernoV2Client) ClusterCleanupPolicies() ClusterCleanupPolicyInterface
- func (c *KyvernoV2Client) PolicyExceptions(namespace string) PolicyExceptionInterface
- func (c *KyvernoV2Client) RESTClient() rest.Interface
- func (c *KyvernoV2Client) UpdateRequests(namespace string) UpdateRequestInterface
- type KyvernoV2Interface
- type PolicyExceptionExpansion
- type PolicyExceptionInterface
- type PolicyExceptionsGetter
- type UpdateRequestExpansion
- type UpdateRequestInterface
- type UpdateRequestsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmissionReportExpansion ¶
type AdmissionReportExpansion interface{}
type AdmissionReportInterface ¶
type AdmissionReportInterface interface { Create(ctx context.Context, admissionReport *v2.AdmissionReport, opts v1.CreateOptions) (*v2.AdmissionReport, error) Update(ctx context.Context, admissionReport *v2.AdmissionReport, opts v1.UpdateOptions) (*v2.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) (*v2.AdmissionReport, error) List(ctx context.Context, opts v1.ListOptions) (*v2.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 *v2.AdmissionReport, err error) AdmissionReportExpansion }
AdmissionReportInterface has methods to work with AdmissionReport resources.
type AdmissionReportsGetter ¶
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 ¶
type BackgroundScanReportExpansion interface{}
type BackgroundScanReportInterface ¶
type BackgroundScanReportInterface interface { Create(ctx context.Context, backgroundScanReport *v2.BackgroundScanReport, opts v1.CreateOptions) (*v2.BackgroundScanReport, error) Update(ctx context.Context, backgroundScanReport *v2.BackgroundScanReport, opts v1.UpdateOptions) (*v2.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) (*v2.BackgroundScanReport, error) List(ctx context.Context, opts v1.ListOptions) (*v2.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 *v2.BackgroundScanReport, err error) BackgroundScanReportExpansion }
BackgroundScanReportInterface has methods to work with BackgroundScanReport resources.
type BackgroundScanReportsGetter ¶
type BackgroundScanReportsGetter interface {
BackgroundScanReports(namespace string) BackgroundScanReportInterface
}
BackgroundScanReportsGetter has a method to return a BackgroundScanReportInterface. A group's client should implement this interface.
type CleanupPoliciesGetter ¶
type CleanupPoliciesGetter interface {
CleanupPolicies(namespace string) CleanupPolicyInterface
}
CleanupPoliciesGetter has a method to return a CleanupPolicyInterface. A group's client should implement this interface.
type CleanupPolicyExpansion ¶
type CleanupPolicyExpansion interface{}
type CleanupPolicyInterface ¶
type CleanupPolicyInterface interface { Create(ctx context.Context, cleanupPolicy *v2.CleanupPolicy, opts v1.CreateOptions) (*v2.CleanupPolicy, error) Update(ctx context.Context, cleanupPolicy *v2.CleanupPolicy, opts v1.UpdateOptions) (*v2.CleanupPolicy, error) UpdateStatus(ctx context.Context, cleanupPolicy *v2.CleanupPolicy, opts v1.UpdateOptions) (*v2.CleanupPolicy, 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) (*v2.CleanupPolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v2.CleanupPolicyList, 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 *v2.CleanupPolicy, err error) CleanupPolicyExpansion }
CleanupPolicyInterface has methods to work with CleanupPolicy resources.
type ClusterAdmissionReportExpansion ¶
type ClusterAdmissionReportExpansion interface{}
type ClusterAdmissionReportInterface ¶
type ClusterAdmissionReportInterface interface { Create(ctx context.Context, clusterAdmissionReport *v2.ClusterAdmissionReport, opts v1.CreateOptions) (*v2.ClusterAdmissionReport, error) Update(ctx context.Context, clusterAdmissionReport *v2.ClusterAdmissionReport, opts v1.UpdateOptions) (*v2.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) (*v2.ClusterAdmissionReport, error) List(ctx context.Context, opts v1.ListOptions) (*v2.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 *v2.ClusterAdmissionReport, err error) ClusterAdmissionReportExpansion }
ClusterAdmissionReportInterface has methods to work with ClusterAdmissionReport resources.
type ClusterAdmissionReportsGetter ¶
type ClusterAdmissionReportsGetter interface {
ClusterAdmissionReports() ClusterAdmissionReportInterface
}
ClusterAdmissionReportsGetter has a method to return a ClusterAdmissionReportInterface. A group's client should implement this interface.
type ClusterBackgroundScanReportExpansion ¶
type ClusterBackgroundScanReportExpansion interface{}
type ClusterBackgroundScanReportInterface ¶
type ClusterBackgroundScanReportInterface interface { Create(ctx context.Context, clusterBackgroundScanReport *v2.ClusterBackgroundScanReport, opts v1.CreateOptions) (*v2.ClusterBackgroundScanReport, error) Update(ctx context.Context, clusterBackgroundScanReport *v2.ClusterBackgroundScanReport, opts v1.UpdateOptions) (*v2.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) (*v2.ClusterBackgroundScanReport, error) List(ctx context.Context, opts v1.ListOptions) (*v2.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 *v2.ClusterBackgroundScanReport, err error) ClusterBackgroundScanReportExpansion }
ClusterBackgroundScanReportInterface has methods to work with ClusterBackgroundScanReport resources.
type ClusterBackgroundScanReportsGetter ¶
type ClusterBackgroundScanReportsGetter interface {
ClusterBackgroundScanReports() ClusterBackgroundScanReportInterface
}
ClusterBackgroundScanReportsGetter has a method to return a ClusterBackgroundScanReportInterface. A group's client should implement this interface.
type ClusterCleanupPoliciesGetter ¶
type ClusterCleanupPoliciesGetter interface {
ClusterCleanupPolicies() ClusterCleanupPolicyInterface
}
ClusterCleanupPoliciesGetter has a method to return a ClusterCleanupPolicyInterface. A group's client should implement this interface.
type ClusterCleanupPolicyExpansion ¶
type ClusterCleanupPolicyExpansion interface{}
type ClusterCleanupPolicyInterface ¶
type ClusterCleanupPolicyInterface interface { Create(ctx context.Context, clusterCleanupPolicy *v2.ClusterCleanupPolicy, opts v1.CreateOptions) (*v2.ClusterCleanupPolicy, error) Update(ctx context.Context, clusterCleanupPolicy *v2.ClusterCleanupPolicy, opts v1.UpdateOptions) (*v2.ClusterCleanupPolicy, error) UpdateStatus(ctx context.Context, clusterCleanupPolicy *v2.ClusterCleanupPolicy, opts v1.UpdateOptions) (*v2.ClusterCleanupPolicy, 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) (*v2.ClusterCleanupPolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v2.ClusterCleanupPolicyList, 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 *v2.ClusterCleanupPolicy, err error) ClusterCleanupPolicyExpansion }
ClusterCleanupPolicyInterface has methods to work with ClusterCleanupPolicy resources.
type KyvernoV2Client ¶
type KyvernoV2Client struct {
// contains filtered or unexported fields
}
KyvernoV2Client is used to interact with features provided by the kyverno.io group.
func New ¶
func New(c rest.Interface) *KyvernoV2Client
New creates a new KyvernoV2Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*KyvernoV2Client, error)
NewForConfig creates a new KyvernoV2Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new KyvernoV2Client 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) *KyvernoV2Client
NewForConfigOrDie creates a new KyvernoV2Client for the given config and panics if there is an error in the config.
func (*KyvernoV2Client) AdmissionReports ¶
func (c *KyvernoV2Client) AdmissionReports(namespace string) AdmissionReportInterface
func (*KyvernoV2Client) BackgroundScanReports ¶
func (c *KyvernoV2Client) BackgroundScanReports(namespace string) BackgroundScanReportInterface
func (*KyvernoV2Client) CleanupPolicies ¶
func (c *KyvernoV2Client) CleanupPolicies(namespace string) CleanupPolicyInterface
func (*KyvernoV2Client) ClusterAdmissionReports ¶
func (c *KyvernoV2Client) ClusterAdmissionReports() ClusterAdmissionReportInterface
func (*KyvernoV2Client) ClusterBackgroundScanReports ¶
func (c *KyvernoV2Client) ClusterBackgroundScanReports() ClusterBackgroundScanReportInterface
func (*KyvernoV2Client) ClusterCleanupPolicies ¶
func (c *KyvernoV2Client) ClusterCleanupPolicies() ClusterCleanupPolicyInterface
func (*KyvernoV2Client) PolicyExceptions ¶
func (c *KyvernoV2Client) PolicyExceptions(namespace string) PolicyExceptionInterface
func (*KyvernoV2Client) RESTClient ¶
func (c *KyvernoV2Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*KyvernoV2Client) UpdateRequests ¶
func (c *KyvernoV2Client) UpdateRequests(namespace string) UpdateRequestInterface
type KyvernoV2Interface ¶
type KyvernoV2Interface interface { RESTClient() rest.Interface AdmissionReportsGetter BackgroundScanReportsGetter CleanupPoliciesGetter ClusterAdmissionReportsGetter ClusterBackgroundScanReportsGetter ClusterCleanupPoliciesGetter PolicyExceptionsGetter UpdateRequestsGetter }
type PolicyExceptionExpansion ¶
type PolicyExceptionExpansion interface{}
type PolicyExceptionInterface ¶
type PolicyExceptionInterface interface { Create(ctx context.Context, policyException *v2.PolicyException, opts v1.CreateOptions) (*v2.PolicyException, error) Update(ctx context.Context, policyException *v2.PolicyException, opts v1.UpdateOptions) (*v2.PolicyException, 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) (*v2.PolicyException, error) List(ctx context.Context, opts v1.ListOptions) (*v2.PolicyExceptionList, 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 *v2.PolicyException, err error) PolicyExceptionExpansion }
PolicyExceptionInterface has methods to work with PolicyException resources.
type PolicyExceptionsGetter ¶
type PolicyExceptionsGetter interface {
PolicyExceptions(namespace string) PolicyExceptionInterface
}
PolicyExceptionsGetter has a method to return a PolicyExceptionInterface. A group's client should implement this interface.
type UpdateRequestExpansion ¶
type UpdateRequestExpansion interface{}
type UpdateRequestInterface ¶
type UpdateRequestInterface interface { Create(ctx context.Context, updateRequest *v2.UpdateRequest, opts v1.CreateOptions) (*v2.UpdateRequest, error) Update(ctx context.Context, updateRequest *v2.UpdateRequest, opts v1.UpdateOptions) (*v2.UpdateRequest, error) UpdateStatus(ctx context.Context, updateRequest *v2.UpdateRequest, opts v1.UpdateOptions) (*v2.UpdateRequest, 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) (*v2.UpdateRequest, error) List(ctx context.Context, opts v1.ListOptions) (*v2.UpdateRequestList, 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 *v2.UpdateRequest, err error) UpdateRequestExpansion }
UpdateRequestInterface has methods to work with UpdateRequest resources.
type UpdateRequestsGetter ¶
type UpdateRequestsGetter interface {
UpdateRequests(namespace string) UpdateRequestInterface
}
UpdateRequestsGetter has a method to return a UpdateRequestInterface. A group's client should implement this interface.