mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
refactor: improve instrumented clients creation (#5417)
* refactor: improve instrumented clients creation Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Co-authored-by: shuting <shuting@nirmata.com>
This commit is contained in:
parent
b0f5b2f537
commit
8ff6ce1c7f
10 changed files with 1434 additions and 1251 deletions
4
Makefile
4
Makefile
|
@ -343,8 +343,8 @@ codegen-client-informers: $(PACKAGE_SHIM) $(INFORMER_GEN) ## Generate informers
|
|||
codegen-client-wrappers: $(GOIMPORTS) ## Generate client wrappers
|
||||
@echo Generate client wrappers... >&2
|
||||
@go run ./hack/main.go
|
||||
@go fmt ./pkg/clients/wrappers/...
|
||||
@$(GOIMPORTS) -w ./pkg/clients/wrappers
|
||||
@$(GOIMPORTS) -w ./pkg/clients
|
||||
@go fmt ./pkg/clients/...
|
||||
|
||||
.PHONY: codegen-client-all
|
||||
codegen-client-all: codegen-client-clientset codegen-client-listers codegen-client-informers codegen-client-wrappers ## Generate clientset, listers and informers
|
||||
|
|
|
@ -12,8 +12,7 @@ import (
|
|||
"github.com/go-logr/logr"
|
||||
"github.com/kyverno/kyverno/cmd/internal"
|
||||
"github.com/kyverno/kyverno/pkg/clients/dclient"
|
||||
kubeclientmetrics "github.com/kyverno/kyverno/pkg/clients/wrappers/metrics/kube"
|
||||
kubeclienttraces "github.com/kyverno/kyverno/pkg/clients/wrappers/traces/kube"
|
||||
kubeclient "github.com/kyverno/kyverno/pkg/clients/kube"
|
||||
"github.com/kyverno/kyverno/pkg/config"
|
||||
"github.com/kyverno/kyverno/pkg/logging"
|
||||
"github.com/kyverno/kyverno/pkg/metrics"
|
||||
|
@ -68,11 +67,14 @@ func createKubeClients(logger logr.Logger) (*rest.Config, kubernetes.Interface,
|
|||
func createInstrumentedClients(ctx context.Context, logger logr.Logger, clientConfig *rest.Config, metricsConfig *metrics.MetricsConfig) (kubernetes.Interface, dclient.Interface, error) {
|
||||
logger = logger.WithName("instrumented-clients")
|
||||
logger.Info("create instrumented clients...", "kubeconfig", kubeconfig, "qps", clientRateLimitQPS, "burst", clientRateLimitBurst)
|
||||
kubeClient, err := kubeclientmetrics.NewForConfig(clientConfig, metricsConfig, metrics.KubeClient)
|
||||
kubeClient, err := kubeclient.NewForConfig(
|
||||
clientConfig,
|
||||
kubeclient.WithMetrics(metricsConfig, metrics.KubeClient),
|
||||
kubeclient.WithTracing(),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
kubeClient = kubeclienttraces.Wrap(kubeClient)
|
||||
dynamicClient, err := dclient.NewClient(ctx, clientConfig, kubeClient, metricsConfig, resyncPeriod)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
|
|
|
@ -20,10 +20,8 @@ import (
|
|||
"github.com/kyverno/kyverno/pkg/client/clientset/versioned"
|
||||
kyvernoinformer "github.com/kyverno/kyverno/pkg/client/informers/externalversions"
|
||||
"github.com/kyverno/kyverno/pkg/clients/dclient"
|
||||
kubeclientmetrics "github.com/kyverno/kyverno/pkg/clients/wrappers/metrics/kube"
|
||||
kyvernoclientmetrics "github.com/kyverno/kyverno/pkg/clients/wrappers/metrics/kyverno"
|
||||
kubeclienttraces "github.com/kyverno/kyverno/pkg/clients/wrappers/traces/kube"
|
||||
kyvernoclienttraces "github.com/kyverno/kyverno/pkg/clients/wrappers/traces/kyverno"
|
||||
kubeclient "github.com/kyverno/kyverno/pkg/clients/kube"
|
||||
kyvernoclient "github.com/kyverno/kyverno/pkg/clients/kyverno"
|
||||
"github.com/kyverno/kyverno/pkg/config"
|
||||
"github.com/kyverno/kyverno/pkg/controllers/certmanager"
|
||||
configcontroller "github.com/kyverno/kyverno/pkg/controllers/config"
|
||||
|
@ -148,22 +146,31 @@ func createKubeClients(logger logr.Logger) (*rest.Config, kubernetes.Interface,
|
|||
func createInstrumentedClients(ctx context.Context, logger logr.Logger, clientConfig *rest.Config, metricsConfig *metrics.MetricsConfig) (kubernetes.Interface, kubernetes.Interface, versioned.Interface, dclient.Interface, error) {
|
||||
logger = logger.WithName("instrumented-clients")
|
||||
logger.Info("create instrumented clients...", "kubeconfig", kubeconfig, "qps", clientRateLimitQPS, "burst", clientRateLimitBurst)
|
||||
kubeClient, err := kubeclientmetrics.NewForConfig(clientConfig, metricsConfig, metrics.KubeClient)
|
||||
kubeClient, err := kubeclient.NewForConfig(
|
||||
clientConfig,
|
||||
kubeclient.WithMetrics(metricsConfig, metrics.KubeClient),
|
||||
kubeclient.WithTracing(),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, nil, nil, nil, err
|
||||
}
|
||||
kubeClient = kubeclienttraces.Wrap(kubeClient)
|
||||
// The leader queries/updates the lease object quite frequently. So we use a separate kube-client to eliminate the throttle issue
|
||||
kubeClientLeaderElection, err := kubeclientmetrics.NewForConfig(clientConfig, metricsConfig, metrics.KubeClient)
|
||||
kubeClientLeaderElection, err := kubeclient.NewForConfig(
|
||||
clientConfig,
|
||||
kubeclient.WithMetrics(metricsConfig, metrics.KubeClient),
|
||||
kubeclient.WithTracing(),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, nil, nil, nil, err
|
||||
}
|
||||
kubeClientLeaderElection = kubeclienttraces.Wrap(kubeClientLeaderElection)
|
||||
kyvernoClient, err := kyvernoclientmetrics.NewForConfig(clientConfig, metricsConfig, metrics.KyvernoClient)
|
||||
kyvernoClient, err := kyvernoclient.NewForConfig(
|
||||
clientConfig,
|
||||
kyvernoclient.WithMetrics(metricsConfig, metrics.KubeClient),
|
||||
kyvernoclient.WithTracing(),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, nil, nil, nil, err
|
||||
}
|
||||
kyvernoClient = kyvernoclienttraces.Wrap(kyvernoClient)
|
||||
dynamicClient, err := dclient.NewClient(ctx, clientConfig, kubeClient, metricsConfig, metadataResyncPeriod)
|
||||
if err != nil {
|
||||
return nil, nil, nil, nil, err
|
||||
|
|
176
hack/main.go
176
hack/main.go
|
@ -168,8 +168,20 @@ func parse(in reflect.Type) clientset {
|
|||
return cs
|
||||
}
|
||||
|
||||
func parseImports(cs clientset, packages ...string) []string {
|
||||
imports := sets.NewString(packages...).Insert(cs.Type.PkgPath())
|
||||
func parseImports(client string, cs clientset, packages ...string) []string {
|
||||
imports := sets.NewString(
|
||||
"context",
|
||||
"net/http",
|
||||
"github.com/kyverno/kyverno/pkg/metrics",
|
||||
"github.com/kyverno/kyverno/pkg/clients/middleware/metrics/"+client,
|
||||
"github.com/kyverno/kyverno/pkg/clients/middleware/tracing/"+client,
|
||||
"k8s.io/client-go/discovery",
|
||||
"k8s.io/client-go/rest",
|
||||
"github.com/kyverno/kyverno/pkg/tracing",
|
||||
"go.opentelemetry.io/otel/attribute",
|
||||
"go.opentelemetry.io/otel/codes",
|
||||
cs.Type.PkgPath(),
|
||||
)
|
||||
for _, c := range cs.Clients {
|
||||
imports.Insert(c.Type.PkgPath())
|
||||
for _, r := range c.Resources {
|
||||
|
@ -198,7 +210,7 @@ func parseImports(cs clientset, packages ...string) []string {
|
|||
return imports.List()
|
||||
}
|
||||
|
||||
func executeTemplate(tpl string, cs clientset, folder string, packages ...string) {
|
||||
func executeTemplate(client string, tpl string, cs clientset, folder string, packages ...string) {
|
||||
tmpl := template.New("xxx")
|
||||
tmpl.Funcs(
|
||||
template.FuncMap{
|
||||
|
@ -235,6 +247,7 @@ func executeTemplate(tpl string, cs clientset, folder string, packages ...string
|
|||
if tmpl, err := tmpl.Parse(tpl); err != nil {
|
||||
panic(err)
|
||||
} else {
|
||||
folder := path.Join(folder, client)
|
||||
if err := os.MkdirAll(folder, 0o755); err != nil {
|
||||
panic(fmt.Sprintf("Failed to create directories for %s", folder))
|
||||
}
|
||||
|
@ -245,15 +258,102 @@ func executeTemplate(tpl string, cs clientset, folder string, packages ...string
|
|||
}
|
||||
if err := tmpl.Execute(f, map[string]interface{}{
|
||||
"Folder": folder,
|
||||
"Client": client,
|
||||
"Clientset": cs,
|
||||
"Packages": parseImports(cs, packages...),
|
||||
"Packages": parseImports(client, cs, packages...),
|
||||
}); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func generateMetricsWrapper(cs clientset, folder string, packages ...string) {
|
||||
func generateInterface(client string, cs clientset, folder string, packages ...string) {
|
||||
tpl := `
|
||||
package client
|
||||
{{- $clientsetPkg := Pkg .Clientset.Type.PkgPath }}
|
||||
{{- $metricsPkg := Pkg "github.com/kyverno/kyverno/pkg/metrics" }}
|
||||
{{- $restPkg := Pkg "k8s.io/client-go/rest" }}
|
||||
{{- $middlewareMetricsPkg := print "github.com/kyverno/kyverno/pkg/clients/middleware/metrics/" .Client }}
|
||||
{{- $middlewareTracingPkg := print "github.com/kyverno/kyverno/pkg/clients/middleware/tracing/" .Client }}
|
||||
|
||||
import (
|
||||
{{- range $package := .Packages }}
|
||||
{{ Pkg $package }} {{ Quote $package }}
|
||||
{{- end }}
|
||||
)
|
||||
|
||||
type Interface interface {
|
||||
{{ GoType .Clientset.Type }}
|
||||
WithMetrics(m {{ $metricsPkg }}.MetricsConfigManager, t {{ $metricsPkg }}.ClientType) Interface
|
||||
WithTracing() Interface
|
||||
}
|
||||
|
||||
type wrapper struct {
|
||||
{{ GoType .Clientset.Type }}
|
||||
}
|
||||
|
||||
type NewOption func (Interface) Interface
|
||||
|
||||
func NewForConfig(c *{{ $restPkg }}.Config, opts ...NewOption) (Interface, error) {
|
||||
inner, err := {{ $clientsetPkg }}.NewForConfig(c)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return From(inner, opts...), nil
|
||||
}
|
||||
|
||||
func NewForConfigAndClient(c *{{ $restPkg }}.Config, httpClient *{{ Pkg "net/http" }}.Client, opts ...NewOption) (Interface, error) {
|
||||
inner, err := {{ $clientsetPkg }}.NewForConfigAndClient(c, httpClient)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return From(inner, opts...), nil
|
||||
}
|
||||
|
||||
func NewForConfigOrDie(c *{{ $restPkg }}.Config, opts ...NewOption) Interface {
|
||||
return From({{ $clientsetPkg }}.NewForConfigOrDie(c), opts...)
|
||||
}
|
||||
|
||||
func New(c {{ $restPkg }}.Interface, opts ...NewOption) Interface {
|
||||
return From({{ $clientsetPkg }}.New(c), opts...)
|
||||
}
|
||||
|
||||
func from(inner {{ GoType .Clientset.Type }}, opts ...NewOption) Interface {
|
||||
return &wrapper{inner}
|
||||
}
|
||||
|
||||
func From(inner {{ GoType .Clientset.Type }}, opts ...NewOption) Interface {
|
||||
i := from(inner)
|
||||
for _, opt := range opts {
|
||||
i = opt(i)
|
||||
}
|
||||
return i
|
||||
}
|
||||
|
||||
func (i *wrapper) WithMetrics(m {{ $metricsPkg }}.MetricsConfigManager, t {{ $metricsPkg }}.ClientType) Interface {
|
||||
return from({{ Pkg $middlewareMetricsPkg }}.Wrap(i, m, t))
|
||||
}
|
||||
|
||||
func WithMetrics(m {{ $metricsPkg }}.MetricsConfigManager, t {{ $metricsPkg }}.ClientType) NewOption {
|
||||
return func(i Interface) Interface {
|
||||
return i.WithMetrics(m, t)
|
||||
}
|
||||
}
|
||||
|
||||
func (i *wrapper) WithTracing() Interface {
|
||||
return from({{ Pkg $middlewareTracingPkg }}.Wrap(i))
|
||||
}
|
||||
|
||||
func WithTracing() NewOption {
|
||||
return func(i Interface) Interface {
|
||||
return i.WithTracing()
|
||||
}
|
||||
}
|
||||
`
|
||||
executeTemplate(client, tpl, cs, folder, packages...)
|
||||
}
|
||||
|
||||
func generateMetricsWrapper(client string, cs clientset, folder string, packages ...string) {
|
||||
tpl := `
|
||||
package client
|
||||
{{- $clientsetPkg := Pkg .Clientset.Type.PkgPath }}
|
||||
|
@ -277,15 +377,6 @@ func Wrap(inner {{ GoType .Clientset.Type }}, m {{ $metricsPkg }}.MetricsConfigM
|
|||
}
|
||||
}
|
||||
|
||||
// NewForConfig
|
||||
func NewForConfig(c *{{ $restPkg }}.Config, m {{ $metricsPkg }}.MetricsConfigManager, t {{ $metricsPkg }}.ClientType) ({{ GoType .Clientset.Type }}, error) {
|
||||
inner, err := {{ $clientsetPkg }}.NewForConfig(c)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return Wrap(inner, m, t), nil
|
||||
}
|
||||
|
||||
// clientset wrapper
|
||||
type clientset struct {
|
||||
inner {{ GoType .Clientset.Type }}
|
||||
|
@ -370,10 +461,10 @@ func (c *wrapped{{ $client.Method.Name }}{{ $resource.Method.Name }}) {{ $operat
|
|||
{{- end }}
|
||||
{{- end }}
|
||||
`
|
||||
executeTemplate(tpl, cs, folder, packages...)
|
||||
executeTemplate(client, tpl, cs, folder, packages...)
|
||||
}
|
||||
|
||||
func generateTracesWrapper(cs clientset, folder string, packages ...string) {
|
||||
func generateTracesWrapper(client string, cs clientset, folder string, packages ...string) {
|
||||
tpl := `
|
||||
package client
|
||||
{{- $clientsetPkg := Pkg .Clientset.Type.PkgPath }}
|
||||
|
@ -399,15 +490,6 @@ func Wrap(inner {{ GoType .Clientset.Type }}) {{ GoType .Clientset.Type }} {
|
|||
}
|
||||
}
|
||||
|
||||
// NewForConfig
|
||||
func NewForConfig(c *{{ $restPkg }}.Config) ({{ GoType .Clientset.Type }}, error) {
|
||||
inner, err := {{ $clientsetPkg }}.NewForConfig(c)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return Wrap(inner), nil
|
||||
}
|
||||
|
||||
// clientset wrapper
|
||||
type clientset struct {
|
||||
inner {{ GoType .Clientset.Type }}
|
||||
|
@ -511,46 +593,16 @@ func (c *wrapped{{ $client.Method.Name }}{{ $resource.Method.Name }}) {{ $operat
|
|||
{{- end }}
|
||||
{{- end }}
|
||||
`
|
||||
executeTemplate(tpl, cs, folder, packages...)
|
||||
executeTemplate(client, tpl, cs, folder, packages...)
|
||||
}
|
||||
|
||||
func main() {
|
||||
kube := parse(reflect.TypeOf((*kubernetes.Interface)(nil)).Elem())
|
||||
kyverno := parse(reflect.TypeOf((*versioned.Interface)(nil)).Elem())
|
||||
generateMetricsWrapper(
|
||||
kube,
|
||||
"pkg/clients/wrappers/metrics/kube",
|
||||
"context",
|
||||
"github.com/kyverno/kyverno/pkg/metrics",
|
||||
"k8s.io/client-go/discovery",
|
||||
"k8s.io/client-go/rest",
|
||||
)
|
||||
generateMetricsWrapper(
|
||||
kyverno,
|
||||
"pkg/clients/wrappers/metrics/kyverno",
|
||||
"context",
|
||||
"github.com/kyverno/kyverno/pkg/metrics",
|
||||
"k8s.io/client-go/discovery",
|
||||
"k8s.io/client-go/rest",
|
||||
)
|
||||
generateTracesWrapper(
|
||||
kube,
|
||||
"pkg/clients/wrappers/traces/kube",
|
||||
"context",
|
||||
"github.com/kyverno/kyverno/pkg/tracing",
|
||||
"go.opentelemetry.io/otel/attribute",
|
||||
"go.opentelemetry.io/otel/codes",
|
||||
"k8s.io/client-go/discovery",
|
||||
"k8s.io/client-go/rest",
|
||||
)
|
||||
generateTracesWrapper(
|
||||
kyverno,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"context",
|
||||
"github.com/kyverno/kyverno/pkg/tracing",
|
||||
"go.opentelemetry.io/otel/attribute",
|
||||
"go.opentelemetry.io/otel/codes",
|
||||
"k8s.io/client-go/discovery",
|
||||
"k8s.io/client-go/rest",
|
||||
)
|
||||
generateInterface("kube", kube, "pkg/clients")
|
||||
generateInterface("kyverno", kyverno, "pkg/clients")
|
||||
generateMetricsWrapper("kube", kube, "pkg/clients/middleware/metrics")
|
||||
generateMetricsWrapper("kyverno", kyverno, "pkg/clients/middleware/metrics")
|
||||
generateTracesWrapper("kube", kube, "pkg/clients/middleware/tracing")
|
||||
generateTracesWrapper("kyverno", kyverno, "pkg/clients/middleware/tracing")
|
||||
}
|
||||
|
|
79
pkg/clients/kube/clientset.generated.go
Normal file
79
pkg/clients/kube/clientset.generated.go
Normal file
|
@ -0,0 +1,79 @@
|
|||
package client
|
||||
|
||||
import (
|
||||
net_http "net/http"
|
||||
|
||||
github_com_kyverno_kyverno_pkg_clients_middleware_metrics_kube "github.com/kyverno/kyverno/pkg/clients/middleware/metrics/kube"
|
||||
github_com_kyverno_kyverno_pkg_clients_middleware_tracing_kube "github.com/kyverno/kyverno/pkg/clients/middleware/tracing/kube"
|
||||
github_com_kyverno_kyverno_pkg_metrics "github.com/kyverno/kyverno/pkg/metrics"
|
||||
k8s_io_client_go_kubernetes "k8s.io/client-go/kubernetes"
|
||||
k8s_io_client_go_rest "k8s.io/client-go/rest"
|
||||
)
|
||||
|
||||
type Interface interface {
|
||||
k8s_io_client_go_kubernetes.Interface
|
||||
WithMetrics(m github_com_kyverno_kyverno_pkg_metrics.MetricsConfigManager, t github_com_kyverno_kyverno_pkg_metrics.ClientType) Interface
|
||||
WithTracing() Interface
|
||||
}
|
||||
|
||||
type wrapper struct {
|
||||
k8s_io_client_go_kubernetes.Interface
|
||||
}
|
||||
|
||||
type NewOption func(Interface) Interface
|
||||
|
||||
func NewForConfig(c *k8s_io_client_go_rest.Config, opts ...NewOption) (Interface, error) {
|
||||
inner, err := k8s_io_client_go_kubernetes.NewForConfig(c)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return From(inner, opts...), nil
|
||||
}
|
||||
|
||||
func NewForConfigAndClient(c *k8s_io_client_go_rest.Config, httpClient *net_http.Client, opts ...NewOption) (Interface, error) {
|
||||
inner, err := k8s_io_client_go_kubernetes.NewForConfigAndClient(c, httpClient)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return From(inner, opts...), nil
|
||||
}
|
||||
|
||||
func NewForConfigOrDie(c *k8s_io_client_go_rest.Config, opts ...NewOption) Interface {
|
||||
return From(k8s_io_client_go_kubernetes.NewForConfigOrDie(c), opts...)
|
||||
}
|
||||
|
||||
func New(c k8s_io_client_go_rest.Interface, opts ...NewOption) Interface {
|
||||
return From(k8s_io_client_go_kubernetes.New(c), opts...)
|
||||
}
|
||||
|
||||
func from(inner k8s_io_client_go_kubernetes.Interface, opts ...NewOption) Interface {
|
||||
return &wrapper{inner}
|
||||
}
|
||||
|
||||
func From(inner k8s_io_client_go_kubernetes.Interface, opts ...NewOption) Interface {
|
||||
i := from(inner)
|
||||
for _, opt := range opts {
|
||||
i = opt(i)
|
||||
}
|
||||
return i
|
||||
}
|
||||
|
||||
func (i *wrapper) WithMetrics(m github_com_kyverno_kyverno_pkg_metrics.MetricsConfigManager, t github_com_kyverno_kyverno_pkg_metrics.ClientType) Interface {
|
||||
return from(github_com_kyverno_kyverno_pkg_clients_middleware_metrics_kube.Wrap(i, m, t))
|
||||
}
|
||||
|
||||
func WithMetrics(m github_com_kyverno_kyverno_pkg_metrics.MetricsConfigManager, t github_com_kyverno_kyverno_pkg_metrics.ClientType) NewOption {
|
||||
return func(i Interface) Interface {
|
||||
return i.WithMetrics(m, t)
|
||||
}
|
||||
}
|
||||
|
||||
func (i *wrapper) WithTracing() Interface {
|
||||
return from(github_com_kyverno_kyverno_pkg_clients_middleware_tracing_kube.Wrap(i))
|
||||
}
|
||||
|
||||
func WithTracing() NewOption {
|
||||
return func(i Interface) Interface {
|
||||
return i.WithTracing()
|
||||
}
|
||||
}
|
79
pkg/clients/kyverno/clientset.generated.go
Normal file
79
pkg/clients/kyverno/clientset.generated.go
Normal file
|
@ -0,0 +1,79 @@
|
|||
package client
|
||||
|
||||
import (
|
||||
net_http "net/http"
|
||||
|
||||
github_com_kyverno_kyverno_pkg_client_clientset_versioned "github.com/kyverno/kyverno/pkg/client/clientset/versioned"
|
||||
github_com_kyverno_kyverno_pkg_clients_middleware_metrics_kyverno "github.com/kyverno/kyverno/pkg/clients/middleware/metrics/kyverno"
|
||||
github_com_kyverno_kyverno_pkg_clients_middleware_tracing_kyverno "github.com/kyverno/kyverno/pkg/clients/middleware/tracing/kyverno"
|
||||
github_com_kyverno_kyverno_pkg_metrics "github.com/kyverno/kyverno/pkg/metrics"
|
||||
k8s_io_client_go_rest "k8s.io/client-go/rest"
|
||||
)
|
||||
|
||||
type Interface interface {
|
||||
github_com_kyverno_kyverno_pkg_client_clientset_versioned.Interface
|
||||
WithMetrics(m github_com_kyverno_kyverno_pkg_metrics.MetricsConfigManager, t github_com_kyverno_kyverno_pkg_metrics.ClientType) Interface
|
||||
WithTracing() Interface
|
||||
}
|
||||
|
||||
type wrapper struct {
|
||||
github_com_kyverno_kyverno_pkg_client_clientset_versioned.Interface
|
||||
}
|
||||
|
||||
type NewOption func(Interface) Interface
|
||||
|
||||
func NewForConfig(c *k8s_io_client_go_rest.Config, opts ...NewOption) (Interface, error) {
|
||||
inner, err := github_com_kyverno_kyverno_pkg_client_clientset_versioned.NewForConfig(c)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return From(inner, opts...), nil
|
||||
}
|
||||
|
||||
func NewForConfigAndClient(c *k8s_io_client_go_rest.Config, httpClient *net_http.Client, opts ...NewOption) (Interface, error) {
|
||||
inner, err := github_com_kyverno_kyverno_pkg_client_clientset_versioned.NewForConfigAndClient(c, httpClient)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return From(inner, opts...), nil
|
||||
}
|
||||
|
||||
func NewForConfigOrDie(c *k8s_io_client_go_rest.Config, opts ...NewOption) Interface {
|
||||
return From(github_com_kyverno_kyverno_pkg_client_clientset_versioned.NewForConfigOrDie(c), opts...)
|
||||
}
|
||||
|
||||
func New(c k8s_io_client_go_rest.Interface, opts ...NewOption) Interface {
|
||||
return From(github_com_kyverno_kyverno_pkg_client_clientset_versioned.New(c), opts...)
|
||||
}
|
||||
|
||||
func from(inner github_com_kyverno_kyverno_pkg_client_clientset_versioned.Interface, opts ...NewOption) Interface {
|
||||
return &wrapper{inner}
|
||||
}
|
||||
|
||||
func From(inner github_com_kyverno_kyverno_pkg_client_clientset_versioned.Interface, opts ...NewOption) Interface {
|
||||
i := from(inner)
|
||||
for _, opt := range opts {
|
||||
i = opt(i)
|
||||
}
|
||||
return i
|
||||
}
|
||||
|
||||
func (i *wrapper) WithMetrics(m github_com_kyverno_kyverno_pkg_metrics.MetricsConfigManager, t github_com_kyverno_kyverno_pkg_metrics.ClientType) Interface {
|
||||
return from(github_com_kyverno_kyverno_pkg_clients_middleware_metrics_kyverno.Wrap(i, m, t))
|
||||
}
|
||||
|
||||
func WithMetrics(m github_com_kyverno_kyverno_pkg_metrics.MetricsConfigManager, t github_com_kyverno_kyverno_pkg_metrics.ClientType) NewOption {
|
||||
return func(i Interface) Interface {
|
||||
return i.WithMetrics(m, t)
|
||||
}
|
||||
}
|
||||
|
||||
func (i *wrapper) WithTracing() Interface {
|
||||
return from(github_com_kyverno_kyverno_pkg_clients_middleware_tracing_kyverno.Wrap(i))
|
||||
}
|
||||
|
||||
func WithTracing() NewOption {
|
||||
return func(i Interface) Interface {
|
||||
return i.WithTracing()
|
||||
}
|
||||
}
|
|
@ -201,15 +201,6 @@ func Wrap(inner k8s_io_client_go_kubernetes.Interface, m github_com_kyverno_kyve
|
|||
}
|
||||
}
|
||||
|
||||
// NewForConfig
|
||||
func NewForConfig(c *k8s_io_client_go_rest.Config, m github_com_kyverno_kyverno_pkg_metrics.MetricsConfigManager, t github_com_kyverno_kyverno_pkg_metrics.ClientType) (k8s_io_client_go_kubernetes.Interface, error) {
|
||||
inner, err := k8s_io_client_go_kubernetes.NewForConfig(c)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return Wrap(inner, m, t), nil
|
||||
}
|
||||
|
||||
// clientset wrapper
|
||||
type clientset struct {
|
||||
inner k8s_io_client_go_kubernetes.Interface
|
|
@ -34,15 +34,6 @@ func Wrap(inner github_com_kyverno_kyverno_pkg_client_clientset_versioned.Interf
|
|||
}
|
||||
}
|
||||
|
||||
// NewForConfig
|
||||
func NewForConfig(c *k8s_io_client_go_rest.Config, m github_com_kyverno_kyverno_pkg_metrics.MetricsConfigManager, t github_com_kyverno_kyverno_pkg_metrics.ClientType) (github_com_kyverno_kyverno_pkg_client_clientset_versioned.Interface, error) {
|
||||
inner, err := github_com_kyverno_kyverno_pkg_client_clientset_versioned.NewForConfig(c)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return Wrap(inner, m, t), nil
|
||||
}
|
||||
|
||||
// clientset wrapper
|
||||
type clientset struct {
|
||||
inner github_com_kyverno_kyverno_pkg_client_clientset_versioned.Interface
|
File diff suppressed because it is too large
Load diff
|
@ -36,15 +36,6 @@ func Wrap(inner github_com_kyverno_kyverno_pkg_client_clientset_versioned.Interf
|
|||
}
|
||||
}
|
||||
|
||||
// NewForConfig
|
||||
func NewForConfig(c *k8s_io_client_go_rest.Config) (github_com_kyverno_kyverno_pkg_client_clientset_versioned.Interface, error) {
|
||||
inner, err := github_com_kyverno_kyverno_pkg_client_clientset_versioned.NewForConfig(c)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return Wrap(inner), nil
|
||||
}
|
||||
|
||||
// clientset wrapper
|
||||
type clientset struct {
|
||||
inner github_com_kyverno_kyverno_pkg_client_clientset_versioned.Interface
|
||||
|
@ -192,7 +183,7 @@ func newKyvernoV1ClusterPolicies(inner github_com_kyverno_kyverno_pkg_client_cli
|
|||
func (c *wrappedKyvernoV1ClusterPolicies) Create(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1.ClusterPolicy, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.CreateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.ClusterPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/ClusterPolicies/Create",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicies"),
|
||||
|
@ -210,7 +201,7 @@ func (c *wrappedKyvernoV1ClusterPolicies) Create(arg0 context.Context, arg1 *git
|
|||
func (c *wrappedKyvernoV1ClusterPolicies) Delete(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/ClusterPolicies/Delete",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicies"),
|
||||
|
@ -228,7 +219,7 @@ func (c *wrappedKyvernoV1ClusterPolicies) Delete(arg0 context.Context, arg1 stri
|
|||
func (c *wrappedKyvernoV1ClusterPolicies) DeleteCollection(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/ClusterPolicies/DeleteCollection",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicies"),
|
||||
|
@ -246,7 +237,7 @@ func (c *wrappedKyvernoV1ClusterPolicies) DeleteCollection(arg0 context.Context,
|
|||
func (c *wrappedKyvernoV1ClusterPolicies) Get(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.GetOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.ClusterPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/ClusterPolicies/Get",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicies"),
|
||||
|
@ -264,7 +255,7 @@ func (c *wrappedKyvernoV1ClusterPolicies) Get(arg0 context.Context, arg1 string,
|
|||
func (c *wrappedKyvernoV1ClusterPolicies) List(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.ClusterPolicyList, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/ClusterPolicies/List",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicies"),
|
||||
|
@ -282,7 +273,7 @@ func (c *wrappedKyvernoV1ClusterPolicies) List(arg0 context.Context, arg1 k8s_io
|
|||
func (c *wrappedKyvernoV1ClusterPolicies) Patch(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_types.PatchType, arg3 []uint8, arg4 k8s_io_apimachinery_pkg_apis_meta_v1.PatchOptions, arg5 ...string) (*github_com_kyverno_kyverno_api_kyverno_v1.ClusterPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/ClusterPolicies/Patch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicies"),
|
||||
|
@ -300,7 +291,7 @@ func (c *wrappedKyvernoV1ClusterPolicies) Patch(arg0 context.Context, arg1 strin
|
|||
func (c *wrappedKyvernoV1ClusterPolicies) Update(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1.ClusterPolicy, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.ClusterPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/ClusterPolicies/Update",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicies"),
|
||||
|
@ -318,7 +309,7 @@ func (c *wrappedKyvernoV1ClusterPolicies) Update(arg0 context.Context, arg1 *git
|
|||
func (c *wrappedKyvernoV1ClusterPolicies) UpdateStatus(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1.ClusterPolicy, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.ClusterPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/ClusterPolicies/UpdateStatus",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicies"),
|
||||
|
@ -336,7 +327,7 @@ func (c *wrappedKyvernoV1ClusterPolicies) UpdateStatus(arg0 context.Context, arg
|
|||
func (c *wrappedKyvernoV1ClusterPolicies) Watch(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (k8s_io_apimachinery_pkg_watch.Interface, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/ClusterPolicies/Watch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicies"),
|
||||
|
@ -363,7 +354,7 @@ func newKyvernoV1GenerateRequests(inner github_com_kyverno_kyverno_pkg_client_cl
|
|||
func (c *wrappedKyvernoV1GenerateRequests) Create(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1.GenerateRequest, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.CreateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.GenerateRequest, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/GenerateRequests/Create",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "GenerateRequests"),
|
||||
|
@ -381,7 +372,7 @@ func (c *wrappedKyvernoV1GenerateRequests) Create(arg0 context.Context, arg1 *gi
|
|||
func (c *wrappedKyvernoV1GenerateRequests) Delete(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/GenerateRequests/Delete",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "GenerateRequests"),
|
||||
|
@ -399,7 +390,7 @@ func (c *wrappedKyvernoV1GenerateRequests) Delete(arg0 context.Context, arg1 str
|
|||
func (c *wrappedKyvernoV1GenerateRequests) DeleteCollection(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/GenerateRequests/DeleteCollection",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "GenerateRequests"),
|
||||
|
@ -417,7 +408,7 @@ func (c *wrappedKyvernoV1GenerateRequests) DeleteCollection(arg0 context.Context
|
|||
func (c *wrappedKyvernoV1GenerateRequests) Get(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.GetOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.GenerateRequest, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/GenerateRequests/Get",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "GenerateRequests"),
|
||||
|
@ -435,7 +426,7 @@ func (c *wrappedKyvernoV1GenerateRequests) Get(arg0 context.Context, arg1 string
|
|||
func (c *wrappedKyvernoV1GenerateRequests) List(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.GenerateRequestList, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/GenerateRequests/List",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "GenerateRequests"),
|
||||
|
@ -453,7 +444,7 @@ func (c *wrappedKyvernoV1GenerateRequests) List(arg0 context.Context, arg1 k8s_i
|
|||
func (c *wrappedKyvernoV1GenerateRequests) Patch(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_types.PatchType, arg3 []uint8, arg4 k8s_io_apimachinery_pkg_apis_meta_v1.PatchOptions, arg5 ...string) (*github_com_kyverno_kyverno_api_kyverno_v1.GenerateRequest, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/GenerateRequests/Patch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "GenerateRequests"),
|
||||
|
@ -471,7 +462,7 @@ func (c *wrappedKyvernoV1GenerateRequests) Patch(arg0 context.Context, arg1 stri
|
|||
func (c *wrappedKyvernoV1GenerateRequests) Update(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1.GenerateRequest, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.GenerateRequest, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/GenerateRequests/Update",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "GenerateRequests"),
|
||||
|
@ -489,7 +480,7 @@ func (c *wrappedKyvernoV1GenerateRequests) Update(arg0 context.Context, arg1 *gi
|
|||
func (c *wrappedKyvernoV1GenerateRequests) UpdateStatus(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1.GenerateRequest, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.GenerateRequest, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/GenerateRequests/UpdateStatus",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "GenerateRequests"),
|
||||
|
@ -507,7 +498,7 @@ func (c *wrappedKyvernoV1GenerateRequests) UpdateStatus(arg0 context.Context, ar
|
|||
func (c *wrappedKyvernoV1GenerateRequests) Watch(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (k8s_io_apimachinery_pkg_watch.Interface, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/GenerateRequests/Watch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "GenerateRequests"),
|
||||
|
@ -534,7 +525,7 @@ func newKyvernoV1Policies(inner github_com_kyverno_kyverno_pkg_client_clientset_
|
|||
func (c *wrappedKyvernoV1Policies) Create(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1.Policy, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.CreateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.Policy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/Policies/Create",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "Policies"),
|
||||
|
@ -552,7 +543,7 @@ func (c *wrappedKyvernoV1Policies) Create(arg0 context.Context, arg1 *github_com
|
|||
func (c *wrappedKyvernoV1Policies) Delete(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/Policies/Delete",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "Policies"),
|
||||
|
@ -570,7 +561,7 @@ func (c *wrappedKyvernoV1Policies) Delete(arg0 context.Context, arg1 string, arg
|
|||
func (c *wrappedKyvernoV1Policies) DeleteCollection(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/Policies/DeleteCollection",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "Policies"),
|
||||
|
@ -588,7 +579,7 @@ func (c *wrappedKyvernoV1Policies) DeleteCollection(arg0 context.Context, arg1 k
|
|||
func (c *wrappedKyvernoV1Policies) Get(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.GetOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.Policy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/Policies/Get",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "Policies"),
|
||||
|
@ -606,7 +597,7 @@ func (c *wrappedKyvernoV1Policies) Get(arg0 context.Context, arg1 string, arg2 k
|
|||
func (c *wrappedKyvernoV1Policies) List(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.PolicyList, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/Policies/List",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "Policies"),
|
||||
|
@ -624,7 +615,7 @@ func (c *wrappedKyvernoV1Policies) List(arg0 context.Context, arg1 k8s_io_apimac
|
|||
func (c *wrappedKyvernoV1Policies) Patch(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_types.PatchType, arg3 []uint8, arg4 k8s_io_apimachinery_pkg_apis_meta_v1.PatchOptions, arg5 ...string) (*github_com_kyverno_kyverno_api_kyverno_v1.Policy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/Policies/Patch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "Policies"),
|
||||
|
@ -642,7 +633,7 @@ func (c *wrappedKyvernoV1Policies) Patch(arg0 context.Context, arg1 string, arg2
|
|||
func (c *wrappedKyvernoV1Policies) Update(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1.Policy, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.Policy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/Policies/Update",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "Policies"),
|
||||
|
@ -660,7 +651,7 @@ func (c *wrappedKyvernoV1Policies) Update(arg0 context.Context, arg1 *github_com
|
|||
func (c *wrappedKyvernoV1Policies) UpdateStatus(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1.Policy, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1.Policy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/Policies/UpdateStatus",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "Policies"),
|
||||
|
@ -678,7 +669,7 @@ func (c *wrappedKyvernoV1Policies) UpdateStatus(arg0 context.Context, arg1 *gith
|
|||
func (c *wrappedKyvernoV1Policies) Watch(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (k8s_io_apimachinery_pkg_watch.Interface, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1/Policies/Watch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "Policies"),
|
||||
|
@ -705,7 +696,7 @@ func newKyvernoV1alpha1CleanupPolicies(inner github_com_kyverno_kyverno_pkg_clie
|
|||
func (c *wrappedKyvernoV1alpha1CleanupPolicies) Create(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1alpha1.CleanupPolicy, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.CreateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha1.CleanupPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/CleanupPolicies/Create",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "CleanupPolicies"),
|
||||
|
@ -723,7 +714,7 @@ func (c *wrappedKyvernoV1alpha1CleanupPolicies) Create(arg0 context.Context, arg
|
|||
func (c *wrappedKyvernoV1alpha1CleanupPolicies) Delete(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/CleanupPolicies/Delete",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "CleanupPolicies"),
|
||||
|
@ -741,7 +732,7 @@ func (c *wrappedKyvernoV1alpha1CleanupPolicies) Delete(arg0 context.Context, arg
|
|||
func (c *wrappedKyvernoV1alpha1CleanupPolicies) DeleteCollection(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/CleanupPolicies/DeleteCollection",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "CleanupPolicies"),
|
||||
|
@ -759,7 +750,7 @@ func (c *wrappedKyvernoV1alpha1CleanupPolicies) DeleteCollection(arg0 context.Co
|
|||
func (c *wrappedKyvernoV1alpha1CleanupPolicies) Get(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.GetOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha1.CleanupPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/CleanupPolicies/Get",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "CleanupPolicies"),
|
||||
|
@ -777,7 +768,7 @@ func (c *wrappedKyvernoV1alpha1CleanupPolicies) Get(arg0 context.Context, arg1 s
|
|||
func (c *wrappedKyvernoV1alpha1CleanupPolicies) List(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha1.CleanupPolicyList, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/CleanupPolicies/List",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "CleanupPolicies"),
|
||||
|
@ -795,7 +786,7 @@ func (c *wrappedKyvernoV1alpha1CleanupPolicies) List(arg0 context.Context, arg1
|
|||
func (c *wrappedKyvernoV1alpha1CleanupPolicies) Patch(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_types.PatchType, arg3 []uint8, arg4 k8s_io_apimachinery_pkg_apis_meta_v1.PatchOptions, arg5 ...string) (*github_com_kyverno_kyverno_api_kyverno_v1alpha1.CleanupPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/CleanupPolicies/Patch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "CleanupPolicies"),
|
||||
|
@ -813,7 +804,7 @@ func (c *wrappedKyvernoV1alpha1CleanupPolicies) Patch(arg0 context.Context, arg1
|
|||
func (c *wrappedKyvernoV1alpha1CleanupPolicies) Update(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1alpha1.CleanupPolicy, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha1.CleanupPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/CleanupPolicies/Update",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "CleanupPolicies"),
|
||||
|
@ -831,7 +822,7 @@ func (c *wrappedKyvernoV1alpha1CleanupPolicies) Update(arg0 context.Context, arg
|
|||
func (c *wrappedKyvernoV1alpha1CleanupPolicies) UpdateStatus(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1alpha1.CleanupPolicy, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha1.CleanupPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/CleanupPolicies/UpdateStatus",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "CleanupPolicies"),
|
||||
|
@ -849,7 +840,7 @@ func (c *wrappedKyvernoV1alpha1CleanupPolicies) UpdateStatus(arg0 context.Contex
|
|||
func (c *wrappedKyvernoV1alpha1CleanupPolicies) Watch(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (k8s_io_apimachinery_pkg_watch.Interface, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/CleanupPolicies/Watch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "CleanupPolicies"),
|
||||
|
@ -876,7 +867,7 @@ func newKyvernoV1alpha1ClusterCleanupPolicies(inner github_com_kyverno_kyverno_p
|
|||
func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) Create(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1alpha1.ClusterCleanupPolicy, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.CreateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha1.ClusterCleanupPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/ClusterCleanupPolicies/Create",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterCleanupPolicies"),
|
||||
|
@ -894,7 +885,7 @@ func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) Create(arg0 context.Conte
|
|||
func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) Delete(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/ClusterCleanupPolicies/Delete",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterCleanupPolicies"),
|
||||
|
@ -912,7 +903,7 @@ func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) Delete(arg0 context.Conte
|
|||
func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) DeleteCollection(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/ClusterCleanupPolicies/DeleteCollection",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterCleanupPolicies"),
|
||||
|
@ -930,7 +921,7 @@ func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) DeleteCollection(arg0 con
|
|||
func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) Get(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.GetOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha1.ClusterCleanupPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/ClusterCleanupPolicies/Get",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterCleanupPolicies"),
|
||||
|
@ -948,7 +939,7 @@ func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) Get(arg0 context.Context,
|
|||
func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) List(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha1.ClusterCleanupPolicyList, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/ClusterCleanupPolicies/List",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterCleanupPolicies"),
|
||||
|
@ -966,7 +957,7 @@ func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) List(arg0 context.Context
|
|||
func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) Patch(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_types.PatchType, arg3 []uint8, arg4 k8s_io_apimachinery_pkg_apis_meta_v1.PatchOptions, arg5 ...string) (*github_com_kyverno_kyverno_api_kyverno_v1alpha1.ClusterCleanupPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/ClusterCleanupPolicies/Patch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterCleanupPolicies"),
|
||||
|
@ -984,7 +975,7 @@ func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) Patch(arg0 context.Contex
|
|||
func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) Update(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1alpha1.ClusterCleanupPolicy, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha1.ClusterCleanupPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/ClusterCleanupPolicies/Update",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterCleanupPolicies"),
|
||||
|
@ -1002,7 +993,7 @@ func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) Update(arg0 context.Conte
|
|||
func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) UpdateStatus(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1alpha1.ClusterCleanupPolicy, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha1.ClusterCleanupPolicy, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/ClusterCleanupPolicies/UpdateStatus",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterCleanupPolicies"),
|
||||
|
@ -1020,7 +1011,7 @@ func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) UpdateStatus(arg0 context
|
|||
func (c *wrappedKyvernoV1alpha1ClusterCleanupPolicies) Watch(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (k8s_io_apimachinery_pkg_watch.Interface, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha1/ClusterCleanupPolicies/Watch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterCleanupPolicies"),
|
||||
|
@ -1047,7 +1038,7 @@ func newKyvernoV1alpha2AdmissionReports(inner github_com_kyverno_kyverno_pkg_cli
|
|||
func (c *wrappedKyvernoV1alpha2AdmissionReports) Create(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1alpha2.AdmissionReport, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.CreateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.AdmissionReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/AdmissionReports/Create",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "AdmissionReports"),
|
||||
|
@ -1065,7 +1056,7 @@ func (c *wrappedKyvernoV1alpha2AdmissionReports) Create(arg0 context.Context, ar
|
|||
func (c *wrappedKyvernoV1alpha2AdmissionReports) Delete(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/AdmissionReports/Delete",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "AdmissionReports"),
|
||||
|
@ -1083,7 +1074,7 @@ func (c *wrappedKyvernoV1alpha2AdmissionReports) Delete(arg0 context.Context, ar
|
|||
func (c *wrappedKyvernoV1alpha2AdmissionReports) DeleteCollection(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/AdmissionReports/DeleteCollection",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "AdmissionReports"),
|
||||
|
@ -1101,7 +1092,7 @@ func (c *wrappedKyvernoV1alpha2AdmissionReports) DeleteCollection(arg0 context.C
|
|||
func (c *wrappedKyvernoV1alpha2AdmissionReports) Get(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.GetOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.AdmissionReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/AdmissionReports/Get",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "AdmissionReports"),
|
||||
|
@ -1119,7 +1110,7 @@ func (c *wrappedKyvernoV1alpha2AdmissionReports) Get(arg0 context.Context, arg1
|
|||
func (c *wrappedKyvernoV1alpha2AdmissionReports) List(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.AdmissionReportList, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/AdmissionReports/List",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "AdmissionReports"),
|
||||
|
@ -1137,7 +1128,7 @@ func (c *wrappedKyvernoV1alpha2AdmissionReports) List(arg0 context.Context, arg1
|
|||
func (c *wrappedKyvernoV1alpha2AdmissionReports) Patch(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_types.PatchType, arg3 []uint8, arg4 k8s_io_apimachinery_pkg_apis_meta_v1.PatchOptions, arg5 ...string) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.AdmissionReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/AdmissionReports/Patch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "AdmissionReports"),
|
||||
|
@ -1155,7 +1146,7 @@ func (c *wrappedKyvernoV1alpha2AdmissionReports) Patch(arg0 context.Context, arg
|
|||
func (c *wrappedKyvernoV1alpha2AdmissionReports) Update(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1alpha2.AdmissionReport, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.AdmissionReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/AdmissionReports/Update",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "AdmissionReports"),
|
||||
|
@ -1173,7 +1164,7 @@ func (c *wrappedKyvernoV1alpha2AdmissionReports) Update(arg0 context.Context, ar
|
|||
func (c *wrappedKyvernoV1alpha2AdmissionReports) Watch(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (k8s_io_apimachinery_pkg_watch.Interface, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/AdmissionReports/Watch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "AdmissionReports"),
|
||||
|
@ -1200,7 +1191,7 @@ func newKyvernoV1alpha2BackgroundScanReports(inner github_com_kyverno_kyverno_pk
|
|||
func (c *wrappedKyvernoV1alpha2BackgroundScanReports) Create(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1alpha2.BackgroundScanReport, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.CreateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.BackgroundScanReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/BackgroundScanReports/Create",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "BackgroundScanReports"),
|
||||
|
@ -1218,7 +1209,7 @@ func (c *wrappedKyvernoV1alpha2BackgroundScanReports) Create(arg0 context.Contex
|
|||
func (c *wrappedKyvernoV1alpha2BackgroundScanReports) Delete(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/BackgroundScanReports/Delete",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "BackgroundScanReports"),
|
||||
|
@ -1236,7 +1227,7 @@ func (c *wrappedKyvernoV1alpha2BackgroundScanReports) Delete(arg0 context.Contex
|
|||
func (c *wrappedKyvernoV1alpha2BackgroundScanReports) DeleteCollection(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/BackgroundScanReports/DeleteCollection",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "BackgroundScanReports"),
|
||||
|
@ -1254,7 +1245,7 @@ func (c *wrappedKyvernoV1alpha2BackgroundScanReports) DeleteCollection(arg0 cont
|
|||
func (c *wrappedKyvernoV1alpha2BackgroundScanReports) Get(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.GetOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.BackgroundScanReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/BackgroundScanReports/Get",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "BackgroundScanReports"),
|
||||
|
@ -1272,7 +1263,7 @@ func (c *wrappedKyvernoV1alpha2BackgroundScanReports) Get(arg0 context.Context,
|
|||
func (c *wrappedKyvernoV1alpha2BackgroundScanReports) List(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.BackgroundScanReportList, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/BackgroundScanReports/List",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "BackgroundScanReports"),
|
||||
|
@ -1290,7 +1281,7 @@ func (c *wrappedKyvernoV1alpha2BackgroundScanReports) List(arg0 context.Context,
|
|||
func (c *wrappedKyvernoV1alpha2BackgroundScanReports) Patch(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_types.PatchType, arg3 []uint8, arg4 k8s_io_apimachinery_pkg_apis_meta_v1.PatchOptions, arg5 ...string) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.BackgroundScanReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/BackgroundScanReports/Patch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "BackgroundScanReports"),
|
||||
|
@ -1308,7 +1299,7 @@ func (c *wrappedKyvernoV1alpha2BackgroundScanReports) Patch(arg0 context.Context
|
|||
func (c *wrappedKyvernoV1alpha2BackgroundScanReports) Update(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1alpha2.BackgroundScanReport, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.BackgroundScanReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/BackgroundScanReports/Update",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "BackgroundScanReports"),
|
||||
|
@ -1326,7 +1317,7 @@ func (c *wrappedKyvernoV1alpha2BackgroundScanReports) Update(arg0 context.Contex
|
|||
func (c *wrappedKyvernoV1alpha2BackgroundScanReports) Watch(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (k8s_io_apimachinery_pkg_watch.Interface, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/BackgroundScanReports/Watch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "BackgroundScanReports"),
|
||||
|
@ -1353,7 +1344,7 @@ func newKyvernoV1alpha2ClusterAdmissionReports(inner github_com_kyverno_kyverno_
|
|||
func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) Create(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1alpha2.ClusterAdmissionReport, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.CreateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.ClusterAdmissionReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterAdmissionReports/Create",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterAdmissionReports"),
|
||||
|
@ -1371,7 +1362,7 @@ func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) Create(arg0 context.Cont
|
|||
func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) Delete(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterAdmissionReports/Delete",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterAdmissionReports"),
|
||||
|
@ -1389,7 +1380,7 @@ func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) Delete(arg0 context.Cont
|
|||
func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) DeleteCollection(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterAdmissionReports/DeleteCollection",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterAdmissionReports"),
|
||||
|
@ -1407,7 +1398,7 @@ func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) DeleteCollection(arg0 co
|
|||
func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) Get(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.GetOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.ClusterAdmissionReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterAdmissionReports/Get",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterAdmissionReports"),
|
||||
|
@ -1425,7 +1416,7 @@ func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) Get(arg0 context.Context
|
|||
func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) List(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.ClusterAdmissionReportList, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterAdmissionReports/List",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterAdmissionReports"),
|
||||
|
@ -1443,7 +1434,7 @@ func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) List(arg0 context.Contex
|
|||
func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) Patch(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_types.PatchType, arg3 []uint8, arg4 k8s_io_apimachinery_pkg_apis_meta_v1.PatchOptions, arg5 ...string) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.ClusterAdmissionReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterAdmissionReports/Patch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterAdmissionReports"),
|
||||
|
@ -1461,7 +1452,7 @@ func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) Patch(arg0 context.Conte
|
|||
func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) Update(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1alpha2.ClusterAdmissionReport, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.ClusterAdmissionReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterAdmissionReports/Update",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterAdmissionReports"),
|
||||
|
@ -1479,7 +1470,7 @@ func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) Update(arg0 context.Cont
|
|||
func (c *wrappedKyvernoV1alpha2ClusterAdmissionReports) Watch(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (k8s_io_apimachinery_pkg_watch.Interface, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterAdmissionReports/Watch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterAdmissionReports"),
|
||||
|
@ -1506,7 +1497,7 @@ func newKyvernoV1alpha2ClusterBackgroundScanReports(inner github_com_kyverno_kyv
|
|||
func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) Create(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1alpha2.ClusterBackgroundScanReport, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.CreateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.ClusterBackgroundScanReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterBackgroundScanReports/Create",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterBackgroundScanReports"),
|
||||
|
@ -1524,7 +1515,7 @@ func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) Create(arg0 context
|
|||
func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) Delete(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterBackgroundScanReports/Delete",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterBackgroundScanReports"),
|
||||
|
@ -1542,7 +1533,7 @@ func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) Delete(arg0 context
|
|||
func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) DeleteCollection(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterBackgroundScanReports/DeleteCollection",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterBackgroundScanReports"),
|
||||
|
@ -1560,7 +1551,7 @@ func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) DeleteCollection(ar
|
|||
func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) Get(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.GetOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.ClusterBackgroundScanReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterBackgroundScanReports/Get",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterBackgroundScanReports"),
|
||||
|
@ -1578,7 +1569,7 @@ func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) Get(arg0 context.Co
|
|||
func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) List(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.ClusterBackgroundScanReportList, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterBackgroundScanReports/List",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterBackgroundScanReports"),
|
||||
|
@ -1596,7 +1587,7 @@ func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) List(arg0 context.C
|
|||
func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) Patch(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_types.PatchType, arg3 []uint8, arg4 k8s_io_apimachinery_pkg_apis_meta_v1.PatchOptions, arg5 ...string) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.ClusterBackgroundScanReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterBackgroundScanReports/Patch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterBackgroundScanReports"),
|
||||
|
@ -1614,7 +1605,7 @@ func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) Patch(arg0 context.
|
|||
func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) Update(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1alpha2.ClusterBackgroundScanReport, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1alpha2.ClusterBackgroundScanReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterBackgroundScanReports/Update",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterBackgroundScanReports"),
|
||||
|
@ -1632,7 +1623,7 @@ func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) Update(arg0 context
|
|||
func (c *wrappedKyvernoV1alpha2ClusterBackgroundScanReports) Watch(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (k8s_io_apimachinery_pkg_watch.Interface, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1alpha2/ClusterBackgroundScanReports/Watch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterBackgroundScanReports"),
|
||||
|
@ -1659,7 +1650,7 @@ func newKyvernoV1beta1UpdateRequests(inner github_com_kyverno_kyverno_pkg_client
|
|||
func (c *wrappedKyvernoV1beta1UpdateRequests) Create(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1beta1.UpdateRequest, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.CreateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1beta1.UpdateRequest, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1beta1/UpdateRequests/Create",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1beta1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "UpdateRequests"),
|
||||
|
@ -1677,7 +1668,7 @@ func (c *wrappedKyvernoV1beta1UpdateRequests) Create(arg0 context.Context, arg1
|
|||
func (c *wrappedKyvernoV1beta1UpdateRequests) Delete(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1beta1/UpdateRequests/Delete",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1beta1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "UpdateRequests"),
|
||||
|
@ -1695,7 +1686,7 @@ func (c *wrappedKyvernoV1beta1UpdateRequests) Delete(arg0 context.Context, arg1
|
|||
func (c *wrappedKyvernoV1beta1UpdateRequests) DeleteCollection(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1beta1/UpdateRequests/DeleteCollection",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1beta1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "UpdateRequests"),
|
||||
|
@ -1713,7 +1704,7 @@ func (c *wrappedKyvernoV1beta1UpdateRequests) DeleteCollection(arg0 context.Cont
|
|||
func (c *wrappedKyvernoV1beta1UpdateRequests) Get(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.GetOptions) (*github_com_kyverno_kyverno_api_kyverno_v1beta1.UpdateRequest, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1beta1/UpdateRequests/Get",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1beta1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "UpdateRequests"),
|
||||
|
@ -1731,7 +1722,7 @@ func (c *wrappedKyvernoV1beta1UpdateRequests) Get(arg0 context.Context, arg1 str
|
|||
func (c *wrappedKyvernoV1beta1UpdateRequests) List(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (*github_com_kyverno_kyverno_api_kyverno_v1beta1.UpdateRequestList, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1beta1/UpdateRequests/List",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1beta1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "UpdateRequests"),
|
||||
|
@ -1749,7 +1740,7 @@ func (c *wrappedKyvernoV1beta1UpdateRequests) List(arg0 context.Context, arg1 k8
|
|||
func (c *wrappedKyvernoV1beta1UpdateRequests) Patch(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_types.PatchType, arg3 []uint8, arg4 k8s_io_apimachinery_pkg_apis_meta_v1.PatchOptions, arg5 ...string) (*github_com_kyverno_kyverno_api_kyverno_v1beta1.UpdateRequest, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1beta1/UpdateRequests/Patch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1beta1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "UpdateRequests"),
|
||||
|
@ -1767,7 +1758,7 @@ func (c *wrappedKyvernoV1beta1UpdateRequests) Patch(arg0 context.Context, arg1 s
|
|||
func (c *wrappedKyvernoV1beta1UpdateRequests) Update(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1beta1.UpdateRequest, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1beta1.UpdateRequest, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1beta1/UpdateRequests/Update",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1beta1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "UpdateRequests"),
|
||||
|
@ -1785,7 +1776,7 @@ func (c *wrappedKyvernoV1beta1UpdateRequests) Update(arg0 context.Context, arg1
|
|||
func (c *wrappedKyvernoV1beta1UpdateRequests) UpdateStatus(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_kyverno_v1beta1.UpdateRequest, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_kyverno_v1beta1.UpdateRequest, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1beta1/UpdateRequests/UpdateStatus",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1beta1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "UpdateRequests"),
|
||||
|
@ -1803,7 +1794,7 @@ func (c *wrappedKyvernoV1beta1UpdateRequests) UpdateStatus(arg0 context.Context,
|
|||
func (c *wrappedKyvernoV1beta1UpdateRequests) Watch(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (k8s_io_apimachinery_pkg_watch.Interface, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE KyvernoV1beta1/UpdateRequests/Watch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "KyvernoV1beta1"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "UpdateRequests"),
|
||||
|
@ -1830,7 +1821,7 @@ func newWgpolicyk8sV1alpha2ClusterPolicyReports(inner github_com_kyverno_kyverno
|
|||
func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) Create(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_policyreport_v1alpha2.ClusterPolicyReport, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.CreateOptions) (*github_com_kyverno_kyverno_api_policyreport_v1alpha2.ClusterPolicyReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/ClusterPolicyReports/Create",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicyReports"),
|
||||
|
@ -1848,7 +1839,7 @@ func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) Create(arg0 context.Con
|
|||
func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) Delete(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/ClusterPolicyReports/Delete",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicyReports"),
|
||||
|
@ -1866,7 +1857,7 @@ func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) Delete(arg0 context.Con
|
|||
func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) DeleteCollection(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/ClusterPolicyReports/DeleteCollection",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicyReports"),
|
||||
|
@ -1884,7 +1875,7 @@ func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) DeleteCollection(arg0 c
|
|||
func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) Get(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.GetOptions) (*github_com_kyverno_kyverno_api_policyreport_v1alpha2.ClusterPolicyReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/ClusterPolicyReports/Get",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicyReports"),
|
||||
|
@ -1902,7 +1893,7 @@ func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) Get(arg0 context.Contex
|
|||
func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) List(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (*github_com_kyverno_kyverno_api_policyreport_v1alpha2.ClusterPolicyReportList, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/ClusterPolicyReports/List",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicyReports"),
|
||||
|
@ -1920,7 +1911,7 @@ func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) List(arg0 context.Conte
|
|||
func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) Patch(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_types.PatchType, arg3 []uint8, arg4 k8s_io_apimachinery_pkg_apis_meta_v1.PatchOptions, arg5 ...string) (*github_com_kyverno_kyverno_api_policyreport_v1alpha2.ClusterPolicyReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/ClusterPolicyReports/Patch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicyReports"),
|
||||
|
@ -1938,7 +1929,7 @@ func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) Patch(arg0 context.Cont
|
|||
func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) Update(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_policyreport_v1alpha2.ClusterPolicyReport, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_policyreport_v1alpha2.ClusterPolicyReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/ClusterPolicyReports/Update",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicyReports"),
|
||||
|
@ -1956,7 +1947,7 @@ func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) Update(arg0 context.Con
|
|||
func (c *wrappedWgpolicyk8sV1alpha2ClusterPolicyReports) Watch(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (k8s_io_apimachinery_pkg_watch.Interface, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/ClusterPolicyReports/Watch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "ClusterPolicyReports"),
|
||||
|
@ -1983,7 +1974,7 @@ func newWgpolicyk8sV1alpha2PolicyReports(inner github_com_kyverno_kyverno_pkg_cl
|
|||
func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) Create(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_policyreport_v1alpha2.PolicyReport, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.CreateOptions) (*github_com_kyverno_kyverno_api_policyreport_v1alpha2.PolicyReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/PolicyReports/Create",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "PolicyReports"),
|
||||
|
@ -2001,7 +1992,7 @@ func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) Create(arg0 context.Context, a
|
|||
func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) Delete(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/PolicyReports/Delete",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "PolicyReports"),
|
||||
|
@ -2019,7 +2010,7 @@ func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) Delete(arg0 context.Context, a
|
|||
func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) DeleteCollection(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) error {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/PolicyReports/DeleteCollection",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "PolicyReports"),
|
||||
|
@ -2037,7 +2028,7 @@ func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) DeleteCollection(arg0 context.
|
|||
func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) Get(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.GetOptions) (*github_com_kyverno_kyverno_api_policyreport_v1alpha2.PolicyReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/PolicyReports/Get",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "PolicyReports"),
|
||||
|
@ -2055,7 +2046,7 @@ func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) Get(arg0 context.Context, arg1
|
|||
func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) List(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (*github_com_kyverno_kyverno_api_policyreport_v1alpha2.PolicyReportList, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/PolicyReports/List",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "PolicyReports"),
|
||||
|
@ -2073,7 +2064,7 @@ func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) List(arg0 context.Context, arg
|
|||
func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) Patch(arg0 context.Context, arg1 string, arg2 k8s_io_apimachinery_pkg_types.PatchType, arg3 []uint8, arg4 k8s_io_apimachinery_pkg_apis_meta_v1.PatchOptions, arg5 ...string) (*github_com_kyverno_kyverno_api_policyreport_v1alpha2.PolicyReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/PolicyReports/Patch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "PolicyReports"),
|
||||
|
@ -2091,7 +2082,7 @@ func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) Patch(arg0 context.Context, ar
|
|||
func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) Update(arg0 context.Context, arg1 *github_com_kyverno_kyverno_api_policyreport_v1alpha2.PolicyReport, arg2 k8s_io_apimachinery_pkg_apis_meta_v1.UpdateOptions) (*github_com_kyverno_kyverno_api_policyreport_v1alpha2.PolicyReport, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/PolicyReports/Update",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "PolicyReports"),
|
||||
|
@ -2109,7 +2100,7 @@ func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) Update(arg0 context.Context, a
|
|||
func (c *wrappedWgpolicyk8sV1alpha2PolicyReports) Watch(arg0 context.Context, arg1 k8s_io_apimachinery_pkg_apis_meta_v1.ListOptions) (k8s_io_apimachinery_pkg_watch.Interface, error) {
|
||||
ctx, span := github_com_kyverno_kyverno_pkg_tracing.StartSpan(
|
||||
arg0,
|
||||
"pkg/clients/wrappers/traces/kyverno",
|
||||
"pkg/clients/middleware/tracing/kyverno",
|
||||
"KUBE Wgpolicyk8sV1alpha2/PolicyReports/Watch",
|
||||
go_opentelemetry_io_otel_attribute.String("client", "Wgpolicyk8sV1alpha2"),
|
||||
go_opentelemetry_io_otel_attribute.String("resource", "PolicyReports"),
|
Loading…
Reference in a new issue