From 635bcd4f13390c9e6f9fe87aeff4d6f9bae40f05 Mon Sep 17 00:00:00 2001 From: pritamdas99 Date: Thu, 23 Nov 2023 16:34:06 +0600 Subject: [PATCH 1/8] Default Container Security Context For All Containers in Elasticsearch. Signed-off-by: pritamdas99 --- .../elasticsearchdashboard_webhook.go | 114 ++++++++++++++++++ apis/kubedb/v1alpha2/elasticsearch_helpers.go | 86 ++++++++----- 2 files changed, 171 insertions(+), 29 deletions(-) diff --git a/apis/dashboard/v1alpha1/elasticsearchdashboard_webhook.go b/apis/dashboard/v1alpha1/elasticsearchdashboard_webhook.go index 89e3f3dfb4..27f0cd1df8 100644 --- a/apis/dashboard/v1alpha1/elasticsearchdashboard_webhook.go +++ b/apis/dashboard/v1alpha1/elasticsearchdashboard_webhook.go @@ -23,7 +23,9 @@ import ( api "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" amv "kubedb.dev/apimachinery/pkg/validator" + "github.com/pkg/errors" "gomodules.xyz/pointer" + core "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" @@ -70,6 +72,42 @@ func (ed *ElasticsearchDashboard) SetupWebhookWithManager(mgr manager.Manager) e var _ webhook.Defaulter = &ElasticsearchDashboard{} +func (ed *ElasticsearchDashboard) setDefaultContainerSecurityContext() { + containerSecurityContext := &core.SecurityContext{} + if ed.Spec.PodTemplate.Spec.ContainerSecurityContext != nil { + containerSecurityContext = ed.Spec.PodTemplate.Spec.ContainerSecurityContext + } + if containerSecurityContext.AllowPrivilegeEscalation == nil { + containerSecurityContext.AllowPrivilegeEscalation = pointer.BoolP(false) + } + if containerSecurityContext.RunAsNonRoot == nil { + containerSecurityContext.RunAsNonRoot = pointer.BoolP(true) + } + if containerSecurityContext.RunAsUser == nil { + containerSecurityContext.RunAsUser = pointer.Int64P(1000) + } + if containerSecurityContext.RunAsGroup == nil { + containerSecurityContext.RunAsGroup = pointer.Int64P(1000) + } + capabilities := &core.Capabilities{} + if containerSecurityContext.Capabilities != nil { + capabilities = containerSecurityContext.Capabilities + } + if len(capabilities.Drop) == 0 { + capabilities.Drop = []core.Capability{"ALL"} + } + containerSecurityContext.Capabilities = capabilities + seccomProfile := &core.SeccompProfile{} + if containerSecurityContext.SeccompProfile != nil { + seccomProfile = containerSecurityContext.SeccompProfile + } + if seccomProfile.Type == "" { + seccomProfile.Type = core.SeccompProfileTypeRuntimeDefault + } + containerSecurityContext.SeccompProfile = seccomProfile + ed.Spec.PodTemplate.Spec.ContainerSecurityContext = containerSecurityContext +} + // Default implements webhook.Defaulter so a webhook will be registered for the type func (ed *ElasticsearchDashboard) Default() { if ed.Spec.Replicas == nil { @@ -85,6 +123,8 @@ func (ed *ElasticsearchDashboard) Default() { edLog.Info(".Spec.TerminationPolicy have been set to TerminationPolicyWipeOut") } + ed.setDefaultContainerSecurityContext() + if ed.Spec.EnableSSL { if ed.Spec.TLS == nil { ed.Spec.TLS = &kmapi.TLSConfig{} @@ -144,6 +184,55 @@ func (ed *ElasticsearchDashboard) ValidateDelete() error { ed.Name, allErr) } +func validateContainerCapabilities(ed *ElasticsearchDashboard) error { + capabilities := ed.Spec.PodTemplate.Spec.ContainerSecurityContext.Capabilities + if len(capabilities.Add) > 0 { + return errors.Errorf("Can't add user provided capabilities") + } + + if len(capabilities.Drop) != 1 { + return errors.Errorf("Can't drop more than one capability") + } + + if capabilities.Drop[0] != "ALL" { + return errors.Errorf("Have to drop all capabilities") + } + return nil +} + +func validateContainerUserAndGroup(ed *ElasticsearchDashboard) error { + if ed.Spec.PodTemplate.Spec.ContainerSecurityContext.RunAsGroup != nil && *ed.Spec.PodTemplate.Spec.ContainerSecurityContext.RunAsGroup != 1000 { + return errors.Errorf("elasticsearch should run as a group elasticsearch (ID=1000)") + } + + if ed.Spec.PodTemplate.Spec.ContainerSecurityContext.RunAsUser != nil && *ed.Spec.PodTemplate.Spec.ContainerSecurityContext.RunAsUser != 1000 { + return errors.Errorf("elasticsearch should run as a user elasticsearch (ID=1000)") + } + + return nil +} + +func validateAllowedPriviledgeEscalation(ed *ElasticsearchDashboard) error { + if ed.Spec.PodTemplate.Spec.ContainerSecurityContext.AllowPrivilegeEscalation != nil && *ed.Spec.PodTemplate.Spec.ContainerSecurityContext.AllowPrivilegeEscalation { + return errors.Errorf("AllowedPrivilegeEscalation can't be true") + } + return nil +} + +func validateRunAsNonRoot(ed *ElasticsearchDashboard) error { + if ed.Spec.PodTemplate.Spec.ContainerSecurityContext.RunAsNonRoot != nil && !*ed.Spec.PodTemplate.Spec.ContainerSecurityContext.RunAsNonRoot { + return errors.Errorf("RunAsNonRoot can't be false") + } + return nil +} + +func validateSeccomprofile(ed *ElasticsearchDashboard) error { + if ed.Spec.PodTemplate.Spec.ContainerSecurityContext.SeccompProfile.Type != "" && ed.Spec.PodTemplate.Spec.ContainerSecurityContext.SeccompProfile.Type != core.SeccompProfileTypeRuntimeDefault { + return errors.Errorf("Seccomprofile type must be RuntimeDefault") + } + return nil +} + func (ed *ElasticsearchDashboard) Validate() error { var allErr field.ErrorList @@ -172,5 +261,30 @@ func (ed *ElasticsearchDashboard) Validate() error { return nil } + err := validateContainerUserAndGroup(ed) + if err != nil { + return err + } + + err = validateContainerCapabilities(ed) + if err != nil { + return err + } + + err = validateAllowedPriviledgeEscalation(ed) + if err != nil { + return nil + } + + err = validateRunAsNonRoot(ed) + if err != nil { + return err + } + + err = validateSeccomprofile(ed) + if err != nil { + return err + } + return apierrors.NewInvalid(schema.GroupKind{Group: "dashboard.kubedb.com", Kind: "ElasticsearchDashboard"}, ed.Name, allErr) } diff --git a/apis/kubedb/v1alpha2/elasticsearch_helpers.go b/apis/kubedb/v1alpha2/elasticsearch_helpers.go index 6ad03dd1d5..d2a3bcdf7f 100644 --- a/apis/kubedb/v1alpha2/elasticsearch_helpers.go +++ b/apis/kubedb/v1alpha2/elasticsearch_helpers.go @@ -385,6 +385,61 @@ func (e Elasticsearch) StatsServiceLabels() map[string]string { return e.ServiceLabels(StatsServiceAlias, map[string]string{LabelRole: RoleStats}) } +func setDefaultContainerSecurityContext(containerSecurityContext *core.SecurityContext) { + if containerSecurityContext.AllowPrivilegeEscalation == nil { + containerSecurityContext.AllowPrivilegeEscalation = pointer.BoolP(false) + } + if containerSecurityContext.RunAsNonRoot == nil { + containerSecurityContext.RunAsNonRoot = pointer.BoolP(true) + } + if containerSecurityContext.RunAsUser == nil { + containerSecurityContext.RunAsUser = pointer.Int64P(1000) + } + if containerSecurityContext.RunAsGroup == nil { + containerSecurityContext.RunAsGroup = pointer.Int64P(1000) + } + capabilities := &core.Capabilities{} + if containerSecurityContext.Capabilities != nil { + capabilities = containerSecurityContext.Capabilities + } + if len(capabilities.Drop) == 0 { + capabilities.Drop = []core.Capability{"ALL"} + } + containerSecurityContext.Capabilities = capabilities + seccomProfile := &core.SeccompProfile{} + if containerSecurityContext.SeccompProfile != nil { + seccomProfile = containerSecurityContext.SeccompProfile + } + if seccomProfile.Type == "" { + seccomProfile.Type = core.SeccompProfileTypeRuntimeDefault + } + containerSecurityContext.SeccompProfile = seccomProfile +} + +func (e *Elasticsearch) setDefaultContainerSecurityContextForMonitor() { + containerSecurityContext := &core.SecurityContext{} + if e.Spec.Monitor != nil && e.Spec.Monitor.Agent.Vendor() == mona.VendorPrometheus { + if e.Spec.Monitor.Prometheus == nil { + setDefaultContainerSecurityContext(containerSecurityContext) + e.Spec.Monitor.Prometheus = &mona.PrometheusSpec{} + e.Spec.Monitor.Prometheus.Exporter.SecurityContext = containerSecurityContext + return + } + containerSecurityContext = e.Spec.Monitor.Prometheus.Exporter.SecurityContext + setDefaultContainerSecurityContext(containerSecurityContext) + e.Spec.Monitor.Prometheus.Exporter.SecurityContext = containerSecurityContext + } +} + +func (e *Elasticsearch) setDefaultContainerSecurityContextForPodTemplate() { + containerSecurityContext := &core.SecurityContext{} + if e.Spec.PodTemplate.Spec.ContainerSecurityContext != nil { + containerSecurityContext = e.Spec.PodTemplate.Spec.ContainerSecurityContext + } + setDefaultContainerSecurityContext(containerSecurityContext) + e.Spec.PodTemplate.Spec.ContainerSecurityContext = containerSecurityContext +} + func (e *Elasticsearch) SetDefaults(esVersion *catalog.ElasticsearchVersion, topology *core_util.Topology) { if e == nil { return @@ -561,35 +616,8 @@ func (e *Elasticsearch) SetDefaults(esVersion *catalog.ElasticsearchVersion, top } } - // set default kernel settings - // - Ref: https://www.elastic.co/guide/en/elasticsearch/reference/7.9/vm-max-map-count.html - if e.Spec.KernelSettings == nil { - e.Spec.KernelSettings = &KernelSettings{ - Privileged: true, - Sysctls: []core.Sysctl{ - { - Name: "vm.max_map_count", - Value: "262144", - }, - }, - } - } - - if e.Spec.PodTemplate.Spec.ContainerSecurityContext == nil { - e.Spec.PodTemplate.Spec.ContainerSecurityContext = &core.SecurityContext{ - Privileged: pointer.BoolP(false), - Capabilities: &core.Capabilities{ - Add: []core.Capability{"IPC_LOCK", "SYS_RESOURCE"}, - }, - } - } - - // Add default Elasticsearch UID - if e.Spec.PodTemplate.Spec.ContainerSecurityContext.RunAsUser == nil && - esVersion.Spec.SecurityContext.RunAsUser != nil { - e.Spec.PodTemplate.Spec.ContainerSecurityContext.RunAsUser = esVersion.Spec.SecurityContext.RunAsUser - } - + e.setDefaultContainerSecurityContextForPodTemplate() + e.setDefaultContainerSecurityContextForMonitor() e.setDefaultAffinity(&e.Spec.PodTemplate, e.OffshootSelectors(), topology) e.SetTLSDefaults(esVersion) e.setDefaultInternalUsersAndRoleMappings(esVersion) From 45af3209205aa222d2d9e688334c1d91c4afc6c1 Mon Sep 17 00:00:00 2001 From: raihankhan Date: Fri, 24 Nov 2023 11:14:07 +0600 Subject: [PATCH 2/8] Update kernelSettings API and dashboard defaulter Signed-off-by: raihankhan --- .config/api-rules/violation_exceptions.list | 166 +++--------------- .../v1alpha1/zz_generated.deepcopy.go | 3 +- .../elasticsearchdashboard_webhook.go | 79 +++------ .../v1alpha1/zz_generated.deepcopy.go | 3 +- apis/kubedb/v1alpha2/openapi_generated.go | 7 + apis/kubedb/v1alpha2/types.go | 2 + apis/ops/v1alpha1/zz_generated.deepcopy.go | 3 +- client/clientset/versioned/clientset.go | 7 +- .../versioned/fake/clientset_generated.go | 11 +- client/clientset/versioned/fake/register.go | 11 +- client/clientset/versioned/scheme/register.go | 11 +- .../v1alpha1/autoscaling_client.go | 3 +- .../v1alpha1/elasticsearchautoscaler.go | 5 +- .../autoscaling/v1alpha1/etcdautoscaler.go | 5 +- .../v1alpha1/fake/fake_autoscaling_client.go | 3 +- .../fake/fake_elasticsearchautoscaler.go | 3 +- .../v1alpha1/fake/fake_etcdautoscaler.go | 3 +- .../v1alpha1/fake/fake_mariadbautoscaler.go | 3 +- .../v1alpha1/fake/fake_memcachedautoscaler.go | 3 +- .../v1alpha1/fake/fake_mongodbautoscaler.go | 3 +- .../v1alpha1/fake/fake_mysqlautoscaler.go | 3 +- .../fake/fake_perconaxtradbautoscaler.go | 3 +- .../v1alpha1/fake/fake_pgbouncerautoscaler.go | 3 +- .../v1alpha1/fake/fake_postgresautoscaler.go | 3 +- .../v1alpha1/fake/fake_proxysqlautoscaler.go | 3 +- .../v1alpha1/fake/fake_redisautoscaler.go | 3 +- .../fake/fake_redissentinelautoscaler.go | 3 +- .../autoscaling/v1alpha1/mariadbautoscaler.go | 5 +- .../v1alpha1/memcachedautoscaler.go | 5 +- .../autoscaling/v1alpha1/mongodbautoscaler.go | 5 +- .../autoscaling/v1alpha1/mysqlautoscaler.go | 5 +- .../v1alpha1/perconaxtradbautoscaler.go | 5 +- .../v1alpha1/pgbouncerautoscaler.go | 5 +- .../v1alpha1/postgresautoscaler.go | 5 +- .../v1alpha1/proxysqlautoscaler.go | 5 +- .../autoscaling/v1alpha1/redisautoscaler.go | 5 +- .../v1alpha1/redissentinelautoscaler.go | 5 +- .../typed/catalog/v1alpha1/catalog_client.go | 3 +- .../catalog/v1alpha1/elasticsearchversion.go | 5 +- .../typed/catalog/v1alpha1/etcdversion.go | 5 +- .../v1alpha1/fake/fake_catalog_client.go | 3 +- .../fake/fake_elasticsearchversion.go | 3 +- .../catalog/v1alpha1/fake/fake_etcdversion.go | 3 +- .../v1alpha1/fake/fake_kafkaversion.go | 3 +- .../v1alpha1/fake/fake_mariadbversion.go | 3 +- .../v1alpha1/fake/fake_memcachedversion.go | 3 +- .../v1alpha1/fake/fake_mongodbversion.go | 3 +- .../v1alpha1/fake/fake_mysqlversion.go | 3 +- .../fake/fake_perconaxtradbversion.go | 3 +- .../v1alpha1/fake/fake_pgbouncerversion.go | 3 +- .../v1alpha1/fake/fake_postgresversion.go | 3 +- .../v1alpha1/fake/fake_proxysqlversion.go | 3 +- .../v1alpha1/fake/fake_redisversion.go | 3 +- .../typed/catalog/v1alpha1/kafkaversion.go | 5 +- .../typed/catalog/v1alpha1/mariadbversion.go | 5 +- .../catalog/v1alpha1/memcachedversion.go | 5 +- .../typed/catalog/v1alpha1/mongodbversion.go | 5 +- .../typed/catalog/v1alpha1/mysqlversion.go | 5 +- .../catalog/v1alpha1/perconaxtradbversion.go | 5 +- .../catalog/v1alpha1/pgbouncerversion.go | 5 +- .../typed/catalog/v1alpha1/postgresversion.go | 5 +- .../typed/catalog/v1alpha1/proxysqlversion.go | 5 +- .../typed/catalog/v1alpha1/redisversion.go | 5 +- .../typed/config/v1alpha1/config_client.go | 3 +- .../dashboard/v1alpha1/dashboard_client.go | 3 +- .../v1alpha1/elasticsearchdashboard.go | 5 +- .../v1alpha1/fake/fake_dashboard_client.go | 3 +- .../fake/fake_elasticsearchdashboard.go | 3 +- .../typed/kubedb/v1alpha1/kubedb_client.go | 3 +- .../typed/kubedb/v1alpha2/elasticsearch.go | 5 +- .../versioned/typed/kubedb/v1alpha2/etcd.go | 5 +- .../v1alpha2/fake/fake_elasticsearch.go | 3 +- .../typed/kubedb/v1alpha2/fake/fake_etcd.go | 3 +- .../typed/kubedb/v1alpha2/fake/fake_kafka.go | 3 +- .../v1alpha2/fake/fake_kubedb_client.go | 3 +- .../kubedb/v1alpha2/fake/fake_mariadb.go | 3 +- .../kubedb/v1alpha2/fake/fake_memcached.go | 3 +- .../kubedb/v1alpha2/fake/fake_mongodb.go | 3 +- .../typed/kubedb/v1alpha2/fake/fake_mysql.go | 3 +- .../v1alpha2/fake/fake_perconaxtradb.go | 3 +- .../kubedb/v1alpha2/fake/fake_pgbouncer.go | 3 +- .../kubedb/v1alpha2/fake/fake_postgres.go | 3 +- .../kubedb/v1alpha2/fake/fake_proxysql.go | 3 +- .../typed/kubedb/v1alpha2/fake/fake_redis.go | 3 +- .../v1alpha2/fake/fake_redissentinel.go | 3 +- .../versioned/typed/kubedb/v1alpha2/kafka.go | 5 +- .../typed/kubedb/v1alpha2/kubedb_client.go | 3 +- .../typed/kubedb/v1alpha2/mariadb.go | 5 +- .../typed/kubedb/v1alpha2/memcached.go | 5 +- .../typed/kubedb/v1alpha2/mongodb.go | 5 +- .../versioned/typed/kubedb/v1alpha2/mysql.go | 5 +- .../typed/kubedb/v1alpha2/perconaxtradb.go | 5 +- .../typed/kubedb/v1alpha2/pgbouncer.go | 5 +- .../typed/kubedb/v1alpha2/postgres.go | 5 +- .../typed/kubedb/v1alpha2/proxysql.go | 5 +- .../versioned/typed/kubedb/v1alpha2/redis.go | 5 +- .../typed/kubedb/v1alpha2/redissentinel.go | 5 +- .../ops/v1alpha1/elasticsearchopsrequest.go | 5 +- .../typed/ops/v1alpha1/etcdopsrequest.go | 5 +- .../fake/fake_elasticsearchopsrequest.go | 3 +- .../ops/v1alpha1/fake/fake_etcdopsrequest.go | 3 +- .../ops/v1alpha1/fake/fake_kafkaopsrequest.go | 3 +- .../v1alpha1/fake/fake_mariadbopsrequest.go | 3 +- .../v1alpha1/fake/fake_memcachedopsrequest.go | 3 +- .../v1alpha1/fake/fake_mongodbopsrequest.go | 3 +- .../ops/v1alpha1/fake/fake_mysqlopsrequest.go | 3 +- .../ops/v1alpha1/fake/fake_ops_client.go | 3 +- .../fake/fake_perconaxtradbopsrequest.go | 3 +- .../v1alpha1/fake/fake_pgbounceropsrequest.go | 3 +- .../v1alpha1/fake/fake_postgresopsrequest.go | 3 +- .../v1alpha1/fake/fake_proxysqlopsrequest.go | 3 +- .../ops/v1alpha1/fake/fake_redisopsrequest.go | 3 +- .../fake/fake_redissentinelopsrequest.go | 3 +- .../typed/ops/v1alpha1/kafkaopsrequest.go | 5 +- .../typed/ops/v1alpha1/mariadbopsrequest.go | 5 +- .../typed/ops/v1alpha1/memcachedopsrequest.go | 5 +- .../typed/ops/v1alpha1/mongodbopsrequest.go | 5 +- .../typed/ops/v1alpha1/mysqlopsrequest.go | 5 +- .../typed/ops/v1alpha1/ops_client.go | 3 +- .../ops/v1alpha1/perconaxtradbopsrequest.go | 5 +- .../typed/ops/v1alpha1/pgbounceropsrequest.go | 5 +- .../typed/ops/v1alpha1/postgresopsrequest.go | 5 +- .../typed/ops/v1alpha1/proxysqlopsrequest.go | 5 +- .../typed/ops/v1alpha1/redisopsrequest.go | 5 +- .../ops/v1alpha1/redissentinelopsrequest.go | 5 +- .../v1alpha1/fake/fake_postgres_client.go | 3 +- .../postgres/v1alpha1/fake/fake_publisher.go | 3 +- .../postgres/v1alpha1/fake/fake_subscriber.go | 3 +- .../postgres/v1alpha1/postgres_client.go | 3 +- .../typed/postgres/v1alpha1/publisher.go | 5 +- .../typed/postgres/v1alpha1/subscriber.go | 5 +- .../v1alpha1/fake/fake_mariadbdatabase.go | 3 +- .../v1alpha1/fake/fake_mongodbdatabase.go | 3 +- .../v1alpha1/fake/fake_mysqldatabase.go | 3 +- .../v1alpha1/fake/fake_postgresdatabase.go | 3 +- .../v1alpha1/fake/fake_schema_client.go | 3 +- .../typed/schema/v1alpha1/mariadbdatabase.go | 5 +- .../typed/schema/v1alpha1/mongodbdatabase.go | 5 +- .../typed/schema/v1alpha1/mysqldatabase.go | 5 +- .../typed/schema/v1alpha1/postgresdatabase.go | 5 +- .../typed/schema/v1alpha1/schema_client.go | 3 +- .../versioned/typed/ui/v1alpha1/ui_client.go | 3 +- .../v1alpha1/elasticsearchautoscaler.go | 9 +- .../autoscaling/v1alpha1/etcdautoscaler.go | 9 +- .../autoscaling/v1alpha1/mariadbautoscaler.go | 9 +- .../v1alpha1/memcachedautoscaler.go | 9 +- .../autoscaling/v1alpha1/mongodbautoscaler.go | 9 +- .../autoscaling/v1alpha1/mysqlautoscaler.go | 9 +- .../v1alpha1/perconaxtradbautoscaler.go | 9 +- .../v1alpha1/pgbouncerautoscaler.go | 9 +- .../v1alpha1/postgresautoscaler.go | 9 +- .../v1alpha1/proxysqlautoscaler.go | 9 +- .../autoscaling/v1alpha1/redisautoscaler.go | 9 +- .../v1alpha1/redissentinelautoscaler.go | 9 +- .../catalog/v1alpha1/elasticsearchversion.go | 9 +- .../catalog/v1alpha1/etcdversion.go | 9 +- .../catalog/v1alpha1/kafkaversion.go | 9 +- .../catalog/v1alpha1/mariadbversion.go | 9 +- .../catalog/v1alpha1/memcachedversion.go | 9 +- .../catalog/v1alpha1/mongodbversion.go | 9 +- .../catalog/v1alpha1/mysqlversion.go | 9 +- .../catalog/v1alpha1/perconaxtradbversion.go | 9 +- .../catalog/v1alpha1/pgbouncerversion.go | 9 +- .../catalog/v1alpha1/postgresversion.go | 9 +- .../catalog/v1alpha1/proxysqlversion.go | 9 +- .../catalog/v1alpha1/redisversion.go | 9 +- .../v1alpha1/elasticsearchdashboard.go | 9 +- client/informers/externalversions/factory.go | 9 +- client/informers/externalversions/generic.go | 5 +- .../internalinterfaces/factory_interfaces.go | 3 +- .../kubedb/v1alpha2/elasticsearch.go | 9 +- .../externalversions/kubedb/v1alpha2/etcd.go | 9 +- .../externalversions/kubedb/v1alpha2/kafka.go | 9 +- .../kubedb/v1alpha2/mariadb.go | 9 +- .../kubedb/v1alpha2/memcached.go | 9 +- .../kubedb/v1alpha2/mongodb.go | 9 +- .../externalversions/kubedb/v1alpha2/mysql.go | 9 +- .../kubedb/v1alpha2/perconaxtradb.go | 9 +- .../kubedb/v1alpha2/pgbouncer.go | 9 +- .../kubedb/v1alpha2/postgres.go | 9 +- .../kubedb/v1alpha2/proxysql.go | 9 +- .../externalversions/kubedb/v1alpha2/redis.go | 9 +- .../kubedb/v1alpha2/redissentinel.go | 9 +- .../ops/v1alpha1/elasticsearchopsrequest.go | 9 +- .../ops/v1alpha1/etcdopsrequest.go | 9 +- .../ops/v1alpha1/kafkaopsrequest.go | 9 +- .../ops/v1alpha1/mariadbopsrequest.go | 9 +- .../ops/v1alpha1/memcachedopsrequest.go | 9 +- .../ops/v1alpha1/mongodbopsrequest.go | 9 +- .../ops/v1alpha1/mysqlopsrequest.go | 9 +- .../ops/v1alpha1/perconaxtradbopsrequest.go | 9 +- .../ops/v1alpha1/pgbounceropsrequest.go | 9 +- .../ops/v1alpha1/postgresopsrequest.go | 9 +- .../ops/v1alpha1/proxysqlopsrequest.go | 9 +- .../ops/v1alpha1/redisopsrequest.go | 9 +- .../ops/v1alpha1/redissentinelopsrequest.go | 9 +- .../postgres/v1alpha1/publisher.go | 9 +- .../postgres/v1alpha1/subscriber.go | 9 +- .../schema/v1alpha1/mariadbdatabase.go | 9 +- .../schema/v1alpha1/mongodbdatabase.go | 9 +- .../schema/v1alpha1/mysqldatabase.go | 9 +- .../schema/v1alpha1/postgresdatabase.go | 9 +- .../v1alpha1/elasticsearchautoscaler.go | 3 +- .../autoscaling/v1alpha1/etcdautoscaler.go | 3 +- .../autoscaling/v1alpha1/mariadbautoscaler.go | 3 +- .../v1alpha1/memcachedautoscaler.go | 3 +- .../autoscaling/v1alpha1/mongodbautoscaler.go | 3 +- .../autoscaling/v1alpha1/mysqlautoscaler.go | 3 +- .../v1alpha1/perconaxtradbautoscaler.go | 3 +- .../v1alpha1/pgbouncerautoscaler.go | 3 +- .../v1alpha1/postgresautoscaler.go | 3 +- .../v1alpha1/proxysqlautoscaler.go | 3 +- .../autoscaling/v1alpha1/redisautoscaler.go | 3 +- .../v1alpha1/redissentinelautoscaler.go | 3 +- .../catalog/v1alpha1/elasticsearchversion.go | 3 +- .../listers/catalog/v1alpha1/etcdversion.go | 3 +- .../listers/catalog/v1alpha1/kafkaversion.go | 3 +- .../catalog/v1alpha1/mariadbversion.go | 3 +- .../catalog/v1alpha1/memcachedversion.go | 3 +- .../catalog/v1alpha1/mongodbversion.go | 3 +- .../listers/catalog/v1alpha1/mysqlversion.go | 3 +- .../catalog/v1alpha1/perconaxtradbversion.go | 3 +- .../catalog/v1alpha1/pgbouncerversion.go | 3 +- .../catalog/v1alpha1/postgresversion.go | 3 +- .../catalog/v1alpha1/proxysqlversion.go | 3 +- .../listers/catalog/v1alpha1/redisversion.go | 3 +- .../v1alpha1/elasticsearchdashboard.go | 3 +- .../listers/kubedb/v1alpha2/elasticsearch.go | 3 +- client/listers/kubedb/v1alpha2/etcd.go | 3 +- client/listers/kubedb/v1alpha2/kafka.go | 3 +- client/listers/kubedb/v1alpha2/mariadb.go | 3 +- client/listers/kubedb/v1alpha2/memcached.go | 3 +- client/listers/kubedb/v1alpha2/mongodb.go | 3 +- client/listers/kubedb/v1alpha2/mysql.go | 3 +- .../listers/kubedb/v1alpha2/perconaxtradb.go | 3 +- client/listers/kubedb/v1alpha2/pgbouncer.go | 3 +- client/listers/kubedb/v1alpha2/postgres.go | 3 +- client/listers/kubedb/v1alpha2/proxysql.go | 3 +- client/listers/kubedb/v1alpha2/redis.go | 3 +- .../listers/kubedb/v1alpha2/redissentinel.go | 3 +- .../ops/v1alpha1/elasticsearchopsrequest.go | 3 +- client/listers/ops/v1alpha1/etcdopsrequest.go | 3 +- .../listers/ops/v1alpha1/kafkaopsrequest.go | 3 +- .../listers/ops/v1alpha1/mariadbopsrequest.go | 3 +- .../ops/v1alpha1/memcachedopsrequest.go | 3 +- .../listers/ops/v1alpha1/mongodbopsrequest.go | 3 +- .../listers/ops/v1alpha1/mysqlopsrequest.go | 3 +- .../ops/v1alpha1/perconaxtradbopsrequest.go | 3 +- .../ops/v1alpha1/pgbounceropsrequest.go | 3 +- .../ops/v1alpha1/postgresopsrequest.go | 3 +- .../ops/v1alpha1/proxysqlopsrequest.go | 3 +- .../listers/ops/v1alpha1/redisopsrequest.go | 3 +- .../ops/v1alpha1/redissentinelopsrequest.go | 3 +- client/listers/postgres/v1alpha1/publisher.go | 3 +- .../listers/postgres/v1alpha1/subscriber.go | 3 +- .../schema/v1alpha1/mariadbdatabase.go | 3 +- .../schema/v1alpha1/mongodbdatabase.go | 3 +- .../listers/schema/v1alpha1/mysqldatabase.go | 3 +- .../schema/v1alpha1/postgresdatabase.go | 3 +- crds/kubedb.com_elasticsearches.yaml | 2 + 260 files changed, 559 insertions(+), 954 deletions(-) diff --git a/.config/api-rules/violation_exceptions.list b/.config/api-rules/violation_exceptions.list index fb240cb207..f055ad575f 100644 --- a/.config/api-rules/violation_exceptions.list +++ b/.config/api-rules/violation_exceptions.list @@ -178,32 +178,20 @@ API rule violation: list_type_missing,kmodules.xyz/offshoot-api/api/v1,PodSpec,V API rule violation: list_type_missing,kmodules.xyz/offshoot-api/api/v1,ServiceSpec,ExternalIPs API rule violation: list_type_missing,kmodules.xyz/offshoot-api/api/v1,ServiceSpec,LoadBalancerSourceRanges API rule violation: list_type_missing,kmodules.xyz/offshoot-api/api/v1,ServiceSpec,Ports -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ElasticsearchNodesStatSpec,Roles -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ElasticsearchNodesStatsSpec,Nodes -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ElasticsearchSchemaOverviewSpec,Indices -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,GenericSchemaOverviewSpec,Databases -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,MariaDBQueriesSpec,Queries -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,MongoDBCollectionSpec,TotalSize -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,MongoDBQueriesSpec,Queries -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,MongoDBSchemaOverviewSpec,Collections -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,MySQLQueriesSpec,Queries -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PgBouncerInsightSpec,PodInsights -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PgBouncerPoolOverviewSpec,Pools -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PgBouncerServerOverviewSpec,Servers -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PgBouncerSettingsSpec,Settings -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PodInsight,QueryTypeInsight -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PostgresInsightSpec,ReplicationStatus -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PostgresQueriesSpec,Queries -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PostgresSettingsSpec,Settings -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLInsightSpec,PodInsights -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLQueriesSpec,Queries -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLQuerySpec,SlowQueries -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,MySQLQueryRules -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,MySQLServers -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,ProxySQLServers -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,RedisQueriesSpec,Queries -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,RedisQuerySpec,Args -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,RedisSchemaOverviewSpec,Databases +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,AutoscalerStatus,Checkpoints +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,AutoscalerStatus,Conditions +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,AutoscalerStatus,VPAs +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,ComputeAutoscalerSpec,ControlledResources +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,EtcdAutoscalerSpec,Metrics +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,EtcdScalingRules,Policies +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,HistogramCheckpoint,BucketWeights +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,MemcachedAutoscalerSpec,Metrics +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,MemcachedScalingRules,Policies +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,PgBouncerAutoscalerSpec,Metrics +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,PgBouncerScalingRules,Policies +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,PodResourcePolicy,ContainerPolicies +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,RecommendedPodResources,ContainerRecommendations +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,VPAStatus,Conditions API rule violation: names_match,k8s.io/api/core/v1,AzureDiskVolumeSource,DataDiskURI API rule violation: names_match,k8s.io/api/core/v1,ContainerStatus,LastTerminationState API rule violation: names_match,k8s.io/api/core/v1,DaemonEndpoint,Port @@ -254,121 +242,11 @@ API rule violation: names_match,kmodules.xyz/client-go/api/v1,TimeOfDay,Time API rule violation: names_match,kmodules.xyz/offshoot-api/api/v1,ContainerRuntimeSettings,IONice API rule violation: names_match,kmodules.xyz/offshoot-api/api/v1,VolumeSource,CephFS API rule violation: names_match,kmodules.xyz/offshoot-api/api/v1,VolumeSource,StorageOS -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,MongoDBCollectionSpec,TotalSize -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsCompletionFields,SizeBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsCompletionFields,TotalSize -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsCompletionStats,SizeBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsCompletionStats,TotalSize -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsFieldDataFields,MemorySize -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsFieldDataFields,MemorySizeBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsFielddataStats,MemorySize -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsFielddataStats,MemorySizeBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsFlushStats,TotalTime -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsFlushStats,TotalTimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsGetStats,ExistsTime -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsGetStats,ExistsTimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsGetStats,MissingTime -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsGetStats,MissingTimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsGetStats,Time -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsGetStats,TimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndex,IndicesLevel -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndex,QueryCache -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndex,RequestCache -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndex,Shards -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndex,ShardsLevel -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,DeleteCurrent -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,DeleteTime -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,DeleteTimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,DeleteTotal -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,IndexCurrent -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,IndexFailed -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,IndexTime -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,IndexTimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,IndexTotal -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,IsThrottled -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,NoopUpdateTotal -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,ThrottledTime -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,ThrottledTimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,CurrentDocs -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,CurrentSize -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,CurrentSizeBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalDocs -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalSize -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalSizeBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalStoppedTime -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalStoppedTimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalThrottleBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalThrottleBytesBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalThrottledTime -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalThrottledTimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalTime -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalTimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSCPU,LoadAverage -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSMem,FreeBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSMem,FreePercent -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSMem,TotalBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSMem,UsedBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSMem,UsedPercent -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSSwap,FreeBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSSwap,TotalBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSSwap,UsedBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsQueryCacheStats,CacheCount -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsQueryCacheStats,CacheSize -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsQueryCacheStats,HitCount -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsQueryCacheStats,MemorySize -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsQueryCacheStats,MemorySizeBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsQueryCacheStats,MissCount -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsQueryCacheStats,TotalCount -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRecoveryStats,CurrentAsSource -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRecoveryStats,CurrentAsTarget -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRefreshStats,TotalTime -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRefreshStats,TotalTimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRequestCacheStats,HitCount -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRequestCacheStats,MemorySize -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRequestCacheStats,MemorySizeBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRequestCacheStats,MissCount -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,FetchCurrent -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,FetchTime -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,FetchTimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,FetchTotal -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,OpenContexts -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,QueryCurrent -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,QueryTime -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,QueryTimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,QueryTotal -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,ScrollCurrent -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,ScrollTime -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,ScrollTimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,ScrollTotal -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,DocValuesMemory -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,DocValuesMemoryBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,FixedBitSetMemory -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,FixedBitSetMemoryBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,IndexWriterMaxMemory -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,IndexWriterMaxMemoryBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,IndexWriterMemory -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,IndexWriterMemoryBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,MemoryBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,NormsMemory -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,NormsMemoryBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,StoredFieldsMemory -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,StoredFieldsMemoryBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,TermVectorsMemory -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,TermVectorsMemoryBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,TermsMemory -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,TermsMemoryBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,VersionMapMemory -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,VersionMapMemoryBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsShardCountStats,TotalCount -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsStoreStats,SizeBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsStoreStats,TotalSize -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsTranslogStats,SizeBytes -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsTranslogStats,TotalSize -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsWarmerStats,TotalTime -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsWarmerStats,TotalTimeInMillis -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,PodInsight,QueryTypeInsight -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,AdminVariables -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,MySQLQueryRules -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,MySQLServers -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,MySQLVariables -API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,ProxySQLServers +API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,AutoscalerStatus,VPAs +API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,MariaDBComputeAutoscalerSpec,MariaDB +API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,MariaDBStorageAutoscalerSpec,MariaDB +API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,MySQLComputeAutoscalerSpec,MySQL +API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,MySQLStorageAutoscalerSpec,MySQL +API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,PerconaXtraDBComputeAutoscalerSpec,PerconaXtraDB +API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,PerconaXtraDBStorageAutoscalerSpec,PerconaXtraDB +API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,ProxySQLComputeAutoscalerSpec,ProxySQL diff --git a/apis/autoscaling/v1alpha1/zz_generated.deepcopy.go b/apis/autoscaling/v1alpha1/zz_generated.deepcopy.go index 8fc9151cc0..21328db423 100644 --- a/apis/autoscaling/v1alpha1/zz_generated.deepcopy.go +++ b/apis/autoscaling/v1alpha1/zz_generated.deepcopy.go @@ -22,13 +22,12 @@ limitations under the License. package v1alpha1 import ( - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - v2beta2 "k8s.io/api/autoscaling/v2beta2" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" v1 "kmodules.xyz/client-go/api/v1" + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. diff --git a/apis/dashboard/v1alpha1/elasticsearchdashboard_webhook.go b/apis/dashboard/v1alpha1/elasticsearchdashboard_webhook.go index 27f0cd1df8..90c0640bda 100644 --- a/apis/dashboard/v1alpha1/elasticsearchdashboard_webhook.go +++ b/apis/dashboard/v1alpha1/elasticsearchdashboard_webhook.go @@ -18,7 +18,7 @@ package v1alpha1 import ( "fmt" - + ofst "kmodules.xyz/offshoot-api/api/v1" "kubedb.dev/apimachinery/apis" api "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" amv "kubedb.dev/apimachinery/pkg/validator" @@ -72,40 +72,36 @@ func (ed *ElasticsearchDashboard) SetupWebhookWithManager(mgr manager.Manager) e var _ webhook.Defaulter = &ElasticsearchDashboard{} -func (ed *ElasticsearchDashboard) setDefaultContainerSecurityContext() { - containerSecurityContext := &core.SecurityContext{} - if ed.Spec.PodTemplate.Spec.ContainerSecurityContext != nil { - containerSecurityContext = ed.Spec.PodTemplate.Spec.ContainerSecurityContext - } - if containerSecurityContext.AllowPrivilegeEscalation == nil { - containerSecurityContext.AllowPrivilegeEscalation = pointer.BoolP(false) - } - if containerSecurityContext.RunAsNonRoot == nil { - containerSecurityContext.RunAsNonRoot = pointer.BoolP(true) +func (ed *ElasticsearchDashboard) setDefaultContainerSecurityContext(podTemplate *ofst.PodTemplateSpec) { + if podTemplate == nil { + return } - if containerSecurityContext.RunAsUser == nil { - containerSecurityContext.RunAsUser = pointer.Int64P(1000) + if podTemplate.Spec.ContainerSecurityContext == nil { + podTemplate.Spec.ContainerSecurityContext = &core.SecurityContext{} } - if containerSecurityContext.RunAsGroup == nil { - containerSecurityContext.RunAsGroup = pointer.Int64P(1000) + ed.assignDefaultContainerSecurityContext(podTemplate.Spec.ContainerSecurityContext) +} + +func (ed *ElasticsearchDashboard) assignDefaultContainerSecurityContext(sc *core.SecurityContext) { + if sc.AllowPrivilegeEscalation == nil { + sc.AllowPrivilegeEscalation = pointer.BoolP(false) } - capabilities := &core.Capabilities{} - if containerSecurityContext.Capabilities != nil { - capabilities = containerSecurityContext.Capabilities + if sc.Capabilities == nil { + sc.Capabilities = &core.Capabilities{ + Drop: []core.Capability{"ALL"}, + } } - if len(capabilities.Drop) == 0 { - capabilities.Drop = []core.Capability{"ALL"} + if sc.RunAsNonRoot == nil { + sc.RunAsNonRoot = pointer.BoolP(true) } - containerSecurityContext.Capabilities = capabilities - seccomProfile := &core.SeccompProfile{} - if containerSecurityContext.SeccompProfile != nil { - seccomProfile = containerSecurityContext.SeccompProfile + if sc.RunAsUser == nil { + sc.RunAsUser = pointer.Int64P(1000) } - if seccomProfile.Type == "" { - seccomProfile.Type = core.SeccompProfileTypeRuntimeDefault + if sc.SeccompProfile == nil { + sc.SeccompProfile = &core.SeccompProfile{ + Type: core.SeccompProfileTypeRuntimeDefault, + } } - containerSecurityContext.SeccompProfile = seccomProfile - ed.Spec.PodTemplate.Spec.ContainerSecurityContext = containerSecurityContext } // Default implements webhook.Defaulter so a webhook will be registered for the type @@ -123,7 +119,7 @@ func (ed *ElasticsearchDashboard) Default() { edLog.Info(".Spec.TerminationPolicy have been set to TerminationPolicyWipeOut") } - ed.setDefaultContainerSecurityContext() + ed.setDefaultContainerSecurityContext(&ed.Spec.PodTemplate) if ed.Spec.EnableSSL { if ed.Spec.TLS == nil { @@ -261,30 +257,5 @@ func (ed *ElasticsearchDashboard) Validate() error { return nil } - err := validateContainerUserAndGroup(ed) - if err != nil { - return err - } - - err = validateContainerCapabilities(ed) - if err != nil { - return err - } - - err = validateAllowedPriviledgeEscalation(ed) - if err != nil { - return nil - } - - err = validateRunAsNonRoot(ed) - if err != nil { - return err - } - - err = validateSeccomprofile(ed) - if err != nil { - return err - } - return apierrors.NewInvalid(schema.GroupKind{Group: "dashboard.kubedb.com", Kind: "ElasticsearchDashboard"}, ed.Name, allErr) } diff --git a/apis/dashboard/v1alpha1/zz_generated.deepcopy.go b/apis/dashboard/v1alpha1/zz_generated.deepcopy.go index 93a7b51b19..1769aba24c 100644 --- a/apis/dashboard/v1alpha1/zz_generated.deepcopy.go +++ b/apis/dashboard/v1alpha1/zz_generated.deepcopy.go @@ -22,11 +22,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/api/core/v1" runtime "k8s.io/apimachinery/pkg/runtime" apiv1 "kmodules.xyz/client-go/api/v1" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. diff --git a/apis/kubedb/v1alpha2/openapi_generated.go b/apis/kubedb/v1alpha2/openapi_generated.go index d67ab729ef..c3c4cd91c7 100644 --- a/apis/kubedb/v1alpha2/openapi_generated.go +++ b/apis/kubedb/v1alpha2/openapi_generated.go @@ -23735,6 +23735,13 @@ func schema_apimachinery_apis_kubedb_v1alpha2_KernelSettings(ref common.Referenc SchemaProps: spec.SchemaProps{ Type: []string{"object"}, Properties: map[string]spec.Schema{ + "disableDefaults": { + SchemaProps: spec.SchemaProps{ + Description: "DisableDefaults can be set to false to avoid defaulting via mutator", + Type: []string{"boolean"}, + Format: "", + }, + }, "privileged": { SchemaProps: spec.SchemaProps{ Description: "Privileged specifies the status whether the init container requires privileged access to perform the following commands.", diff --git a/apis/kubedb/v1alpha2/types.go b/apis/kubedb/v1alpha2/types.go index 2267983118..4cc51fa7df 100644 --- a/apis/kubedb/v1alpha2/types.go +++ b/apis/kubedb/v1alpha2/types.go @@ -143,6 +143,8 @@ type NamedServiceTemplateSpec struct { } type KernelSettings struct { + // DisableDefaults can be set to false to avoid defaulting via mutator + DisableDefaults bool `json:"disableDefaults,omitempty"` // Privileged specifies the status whether the init container // requires privileged access to perform the following commands. // +optional diff --git a/apis/ops/v1alpha1/zz_generated.deepcopy.go b/apis/ops/v1alpha1/zz_generated.deepcopy.go index d77f82930c..21717b96fa 100644 --- a/apis/ops/v1alpha1/zz_generated.deepcopy.go +++ b/apis/ops/v1alpha1/zz_generated.deepcopy.go @@ -22,12 +22,11 @@ limitations under the License. package v1alpha1 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" apiv1 "kmodules.xyz/client-go/api/v1" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. diff --git a/client/clientset/versioned/clientset.go b/client/clientset/versioned/clientset.go index e94b95cf6a..a6915c36ab 100644 --- a/client/clientset/versioned/clientset.go +++ b/client/clientset/versioned/clientset.go @@ -22,6 +22,9 @@ import ( "fmt" "net/http" + discovery "k8s.io/client-go/discovery" + rest "k8s.io/client-go/rest" + flowcontrol "k8s.io/client-go/util/flowcontrol" autoscalingv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/autoscaling/v1alpha1" catalogv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/catalog/v1alpha1" configv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/config/v1alpha1" @@ -32,10 +35,6 @@ import ( postgresv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/postgres/v1alpha1" schemav1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/schema/v1alpha1" uiv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/ui/v1alpha1" - - discovery "k8s.io/client-go/discovery" - rest "k8s.io/client-go/rest" - flowcontrol "k8s.io/client-go/util/flowcontrol" ) type Interface interface { diff --git a/client/clientset/versioned/fake/clientset_generated.go b/client/clientset/versioned/fake/clientset_generated.go index 03880f765d..40121d5010 100644 --- a/client/clientset/versioned/fake/clientset_generated.go +++ b/client/clientset/versioned/fake/clientset_generated.go @@ -19,6 +19,11 @@ limitations under the License. package fake import ( + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/watch" + "k8s.io/client-go/discovery" + fakediscovery "k8s.io/client-go/discovery/fake" + "k8s.io/client-go/testing" clientset "kubedb.dev/apimachinery/client/clientset/versioned" autoscalingv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/autoscaling/v1alpha1" fakeautoscalingv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/autoscaling/v1alpha1/fake" @@ -40,12 +45,6 @@ import ( fakeschemav1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/schema/v1alpha1/fake" uiv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/ui/v1alpha1" fakeuiv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/ui/v1alpha1/fake" - - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/watch" - "k8s.io/client-go/discovery" - fakediscovery "k8s.io/client-go/discovery/fake" - "k8s.io/client-go/testing" ) // NewSimpleClientset returns a clientset that will respond with the provided objects. diff --git a/client/clientset/versioned/fake/register.go b/client/clientset/versioned/fake/register.go index 636b43b287..32e966dda7 100644 --- a/client/clientset/versioned/fake/register.go +++ b/client/clientset/versioned/fake/register.go @@ -19,6 +19,11 @@ limitations under the License. package fake import ( + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" configv1alpha1 "kubedb.dev/apimachinery/apis/config/v1alpha1" @@ -29,12 +34,6 @@ import ( postgresv1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" uiv1alpha1 "kubedb.dev/apimachinery/apis/ui/v1alpha1" - - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - schema "k8s.io/apimachinery/pkg/runtime/schema" - serializer "k8s.io/apimachinery/pkg/runtime/serializer" - utilruntime "k8s.io/apimachinery/pkg/util/runtime" ) var scheme = runtime.NewScheme() diff --git a/client/clientset/versioned/scheme/register.go b/client/clientset/versioned/scheme/register.go index 9b2a6a7f52..57070ac874 100644 --- a/client/clientset/versioned/scheme/register.go +++ b/client/clientset/versioned/scheme/register.go @@ -19,6 +19,11 @@ limitations under the License. package scheme import ( + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" configv1alpha1 "kubedb.dev/apimachinery/apis/config/v1alpha1" @@ -29,12 +34,6 @@ import ( postgresv1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" uiv1alpha1 "kubedb.dev/apimachinery/apis/ui/v1alpha1" - - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - schema "k8s.io/apimachinery/pkg/runtime/schema" - serializer "k8s.io/apimachinery/pkg/runtime/serializer" - utilruntime "k8s.io/apimachinery/pkg/util/runtime" ) var Scheme = runtime.NewScheme() diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/autoscaling_client.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/autoscaling_client.go index c21edf1363..c87831b34e 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/autoscaling_client.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/autoscaling_client.go @@ -21,10 +21,9 @@ package v1alpha1 import ( "net/http" + rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - - rest "k8s.io/client-go/rest" ) type AutoscalingV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/elasticsearchautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/elasticsearchautoscaler.go index 7cd9d84315..10f0c486c0 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/elasticsearchautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/elasticsearchautoscaler.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ElasticsearchAutoscalersGetter has a method to return a ElasticsearchAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/etcdautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/etcdautoscaler.go index c2b5a9a8e2..28234c8834 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/etcdautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/etcdautoscaler.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // EtcdAutoscalersGetter has a method to return a EtcdAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_autoscaling_client.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_autoscaling_client.go index 437dbe06ae..8d72d91fa7 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_autoscaling_client.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_autoscaling_client.go @@ -19,10 +19,9 @@ limitations under the License. package fake import ( - v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/autoscaling/v1alpha1" - rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/autoscaling/v1alpha1" ) type FakeAutoscalingV1alpha1 struct { diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_elasticsearchautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_elasticsearchautoscaler.go index 65e297a1ad..e16e414eb2 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_elasticsearchautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_elasticsearchautoscaler.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeElasticsearchAutoscalers implements ElasticsearchAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_etcdautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_etcdautoscaler.go index ee6b60712f..3a0a40b7da 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_etcdautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_etcdautoscaler.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeEtcdAutoscalers implements EtcdAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mariadbautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mariadbautoscaler.go index ba5b54481d..ad0fac4ca6 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mariadbautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mariadbautoscaler.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeMariaDBAutoscalers implements MariaDBAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_memcachedautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_memcachedautoscaler.go index d0c39209aa..5ded1f04b2 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_memcachedautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_memcachedautoscaler.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeMemcachedAutoscalers implements MemcachedAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mongodbautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mongodbautoscaler.go index e31cd3b30a..95ab9e4e20 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mongodbautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mongodbautoscaler.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeMongoDBAutoscalers implements MongoDBAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mysqlautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mysqlautoscaler.go index 9e77636f09..22e9d658c3 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mysqlautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mysqlautoscaler.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeMySQLAutoscalers implements MySQLAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_perconaxtradbautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_perconaxtradbautoscaler.go index 36c611c02c..479558c876 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_perconaxtradbautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_perconaxtradbautoscaler.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakePerconaXtraDBAutoscalers implements PerconaXtraDBAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_pgbouncerautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_pgbouncerautoscaler.go index fa410215af..fc5ece564b 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_pgbouncerautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_pgbouncerautoscaler.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakePgBouncerAutoscalers implements PgBouncerAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_postgresautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_postgresautoscaler.go index 777e88e0a2..a3963d045e 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_postgresautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_postgresautoscaler.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakePostgresAutoscalers implements PostgresAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_proxysqlautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_proxysqlautoscaler.go index 5d5da796cf..627d41bbba 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_proxysqlautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_proxysqlautoscaler.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeProxySQLAutoscalers implements ProxySQLAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redisautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redisautoscaler.go index 72bbadc011..207369430e 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redisautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redisautoscaler.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeRedisAutoscalers implements RedisAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redissentinelautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redissentinelautoscaler.go index f7d1b520c3..0baa8c37c9 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redissentinelautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redissentinelautoscaler.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeRedisSentinelAutoscalers implements RedisSentinelAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/mariadbautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/mariadbautoscaler.go index 18bcb8c795..3d85e0d9d0 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/mariadbautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/mariadbautoscaler.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MariaDBAutoscalersGetter has a method to return a MariaDBAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/memcachedautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/memcachedautoscaler.go index 1c17d53770..a5f36cd23b 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/memcachedautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/memcachedautoscaler.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MemcachedAutoscalersGetter has a method to return a MemcachedAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/mongodbautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/mongodbautoscaler.go index 7f2beb91cd..8667bcda5e 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/mongodbautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/mongodbautoscaler.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MongoDBAutoscalersGetter has a method to return a MongoDBAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/mysqlautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/mysqlautoscaler.go index c4fef6fae5..0ba8b5bc7e 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/mysqlautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/mysqlautoscaler.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MySQLAutoscalersGetter has a method to return a MySQLAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/perconaxtradbautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/perconaxtradbautoscaler.go index 99e215b1b9..f3756871ba 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/perconaxtradbautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/perconaxtradbautoscaler.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PerconaXtraDBAutoscalersGetter has a method to return a PerconaXtraDBAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/pgbouncerautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/pgbouncerautoscaler.go index 6e4b21a54e..373c793b8f 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/pgbouncerautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/pgbouncerautoscaler.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PgBouncerAutoscalersGetter has a method to return a PgBouncerAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/postgresautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/postgresautoscaler.go index fd5ed79d96..c5468a0e43 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/postgresautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/postgresautoscaler.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PostgresAutoscalersGetter has a method to return a PostgresAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/proxysqlautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/proxysqlautoscaler.go index e978bab1ed..a095e93ebf 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/proxysqlautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/proxysqlautoscaler.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ProxySQLAutoscalersGetter has a method to return a ProxySQLAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/redisautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/redisautoscaler.go index e40fbffae2..ee8c042c7a 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/redisautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/redisautoscaler.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // RedisAutoscalersGetter has a method to return a RedisAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/redissentinelautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/redissentinelautoscaler.go index d7be4476cb..c84a694ab5 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/redissentinelautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/redissentinelautoscaler.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // RedisSentinelAutoscalersGetter has a method to return a RedisSentinelAutoscalerInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/catalog_client.go b/client/clientset/versioned/typed/catalog/v1alpha1/catalog_client.go index 10e5655437..1ed6049c15 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/catalog_client.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/catalog_client.go @@ -21,10 +21,9 @@ package v1alpha1 import ( "net/http" + rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - - rest "k8s.io/client-go/rest" ) type CatalogV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/elasticsearchversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/elasticsearchversion.go index 6cc5ca77ed..bb9893ac7e 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/elasticsearchversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/elasticsearchversion.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ElasticsearchVersionsGetter has a method to return a ElasticsearchVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/etcdversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/etcdversion.go index 7b2f068c1c..cea5ffdeb0 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/etcdversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/etcdversion.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // EtcdVersionsGetter has a method to return a EtcdVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_catalog_client.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_catalog_client.go index daaf71c42c..e23d2e9737 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_catalog_client.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_catalog_client.go @@ -19,10 +19,9 @@ limitations under the License. package fake import ( - v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/catalog/v1alpha1" - rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/catalog/v1alpha1" ) type FakeCatalogV1alpha1 struct { diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_elasticsearchversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_elasticsearchversion.go index 04739e7772..1cdfdbda12 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_elasticsearchversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_elasticsearchversion.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeElasticsearchVersions implements ElasticsearchVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_etcdversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_etcdversion.go index 258c9c9464..6958fac40a 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_etcdversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_etcdversion.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeEtcdVersions implements EtcdVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_kafkaversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_kafkaversion.go index 6e91bd7893..c9c80e246a 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_kafkaversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_kafkaversion.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeKafkaVersions implements KafkaVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mariadbversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mariadbversion.go index c724a81096..fcebfcfe27 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mariadbversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mariadbversion.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeMariaDBVersions implements MariaDBVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_memcachedversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_memcachedversion.go index 7d1c509dc5..7f7c1d2596 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_memcachedversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_memcachedversion.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeMemcachedVersions implements MemcachedVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mongodbversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mongodbversion.go index 301a2951d0..5f7d3bb94f 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mongodbversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mongodbversion.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeMongoDBVersions implements MongoDBVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mysqlversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mysqlversion.go index 32162f3f37..df952e4c1c 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mysqlversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mysqlversion.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeMySQLVersions implements MySQLVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_perconaxtradbversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_perconaxtradbversion.go index 0ac6dfa5ac..891de7e554 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_perconaxtradbversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_perconaxtradbversion.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakePerconaXtraDBVersions implements PerconaXtraDBVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_pgbouncerversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_pgbouncerversion.go index a40e402a8e..e38879225a 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_pgbouncerversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_pgbouncerversion.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakePgBouncerVersions implements PgBouncerVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_postgresversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_postgresversion.go index 5da5f214dc..cde34bba1a 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_postgresversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_postgresversion.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakePostgresVersions implements PostgresVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_proxysqlversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_proxysqlversion.go index fdfbdde41b..edccddbe0e 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_proxysqlversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_proxysqlversion.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeProxySQLVersions implements ProxySQLVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_redisversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_redisversion.go index 6c7abc3117..bda0352860 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_redisversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_redisversion.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeRedisVersions implements RedisVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/kafkaversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/kafkaversion.go index b1537a23c8..27880e1292 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/kafkaversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/kafkaversion.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // KafkaVersionsGetter has a method to return a KafkaVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/mariadbversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/mariadbversion.go index 45e7820369..46c7042808 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/mariadbversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/mariadbversion.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MariaDBVersionsGetter has a method to return a MariaDBVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/memcachedversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/memcachedversion.go index a2d2f9200e..3e3e8e470b 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/memcachedversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/memcachedversion.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MemcachedVersionsGetter has a method to return a MemcachedVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/mongodbversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/mongodbversion.go index 15994c0358..a3864e2d8f 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/mongodbversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/mongodbversion.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MongoDBVersionsGetter has a method to return a MongoDBVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/mysqlversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/mysqlversion.go index ff4ec41727..fb566c1ada 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/mysqlversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/mysqlversion.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MySQLVersionsGetter has a method to return a MySQLVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/perconaxtradbversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/perconaxtradbversion.go index e5c033edba..79673f8827 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/perconaxtradbversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/perconaxtradbversion.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PerconaXtraDBVersionsGetter has a method to return a PerconaXtraDBVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/pgbouncerversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/pgbouncerversion.go index d83877574e..cc198e9159 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/pgbouncerversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/pgbouncerversion.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PgBouncerVersionsGetter has a method to return a PgBouncerVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/postgresversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/postgresversion.go index a546863d05..48f481e197 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/postgresversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/postgresversion.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PostgresVersionsGetter has a method to return a PostgresVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/proxysqlversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/proxysqlversion.go index 659c1496cb..44f37b26dd 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/proxysqlversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/proxysqlversion.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ProxySQLVersionsGetter has a method to return a ProxySQLVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/redisversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/redisversion.go index 9092595b31..e859e9f307 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/redisversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/redisversion.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // RedisVersionsGetter has a method to return a RedisVersionInterface. diff --git a/client/clientset/versioned/typed/config/v1alpha1/config_client.go b/client/clientset/versioned/typed/config/v1alpha1/config_client.go index 4c00381abe..353c42baea 100644 --- a/client/clientset/versioned/typed/config/v1alpha1/config_client.go +++ b/client/clientset/versioned/typed/config/v1alpha1/config_client.go @@ -21,10 +21,9 @@ package v1alpha1 import ( "net/http" + rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/config/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - - rest "k8s.io/client-go/rest" ) type ConfigV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/dashboard/v1alpha1/dashboard_client.go b/client/clientset/versioned/typed/dashboard/v1alpha1/dashboard_client.go index 2e4a287473..4c92d1c788 100644 --- a/client/clientset/versioned/typed/dashboard/v1alpha1/dashboard_client.go +++ b/client/clientset/versioned/typed/dashboard/v1alpha1/dashboard_client.go @@ -21,10 +21,9 @@ package v1alpha1 import ( "net/http" + rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - - rest "k8s.io/client-go/rest" ) type DashboardV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/dashboard/v1alpha1/elasticsearchdashboard.go b/client/clientset/versioned/typed/dashboard/v1alpha1/elasticsearchdashboard.go index 5af006ae23..a560af0f72 100644 --- a/client/clientset/versioned/typed/dashboard/v1alpha1/elasticsearchdashboard.go +++ b/client/clientset/versioned/typed/dashboard/v1alpha1/elasticsearchdashboard.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ElasticsearchDashboardsGetter has a method to return a ElasticsearchDashboardInterface. diff --git a/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_dashboard_client.go b/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_dashboard_client.go index 0e797db631..ad8fc7d0a6 100644 --- a/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_dashboard_client.go +++ b/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_dashboard_client.go @@ -19,10 +19,9 @@ limitations under the License. package fake import ( - v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/dashboard/v1alpha1" - rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/dashboard/v1alpha1" ) type FakeDashboardV1alpha1 struct { diff --git a/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_elasticsearchdashboard.go b/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_elasticsearchdashboard.go index d7926573bc..7917f67956 100644 --- a/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_elasticsearchdashboard.go +++ b/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_elasticsearchdashboard.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" ) // FakeElasticsearchDashboards implements ElasticsearchDashboardInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha1/kubedb_client.go b/client/clientset/versioned/typed/kubedb/v1alpha1/kubedb_client.go index d4b7476d7f..61f3ace380 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha1/kubedb_client.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha1/kubedb_client.go @@ -21,10 +21,9 @@ package v1alpha1 import ( "net/http" + rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/kubedb/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - - rest "k8s.io/client-go/rest" ) type KubedbV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/elasticsearch.go b/client/clientset/versioned/typed/kubedb/v1alpha2/elasticsearch.go index 9a83917a39..a4e4236eec 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/elasticsearch.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/elasticsearch.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ElasticsearchesGetter has a method to return a ElasticsearchInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/etcd.go b/client/clientset/versioned/typed/kubedb/v1alpha2/etcd.go index 79242a95b2..0447389c7a 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/etcd.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/etcd.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // EtcdsGetter has a method to return a EtcdInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_elasticsearch.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_elasticsearch.go index 265e2f07e8..2950869562 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_elasticsearch.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_elasticsearch.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeElasticsearches implements ElasticsearchInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_etcd.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_etcd.go index c294260a22..ceb2e8eaa4 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_etcd.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_etcd.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeEtcds implements EtcdInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kafka.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kafka.go index 8cf66760d9..c7bd6a2e39 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kafka.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kafka.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeKafkas implements KafkaInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kubedb_client.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kubedb_client.go index 503a0974f5..3ff80ab597 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kubedb_client.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kubedb_client.go @@ -19,10 +19,9 @@ limitations under the License. package fake import ( - v1alpha2 "kubedb.dev/apimachinery/client/clientset/versioned/typed/kubedb/v1alpha2" - rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" + v1alpha2 "kubedb.dev/apimachinery/client/clientset/versioned/typed/kubedb/v1alpha2" ) type FakeKubedbV1alpha2 struct { diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mariadb.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mariadb.go index 117cf13c20..df47ab7fc9 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mariadb.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mariadb.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeMariaDBs implements MariaDBInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_memcached.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_memcached.go index a68a42ad14..9a9db04247 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_memcached.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_memcached.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeMemcacheds implements MemcachedInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mongodb.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mongodb.go index 63660932ef..038089998d 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mongodb.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mongodb.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeMongoDBs implements MongoDBInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mysql.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mysql.go index f28c87d6ea..08d0522056 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mysql.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mysql.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeMySQLs implements MySQLInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_perconaxtradb.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_perconaxtradb.go index 4f1ca39800..c1a1a7e19d 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_perconaxtradb.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_perconaxtradb.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakePerconaXtraDBs implements PerconaXtraDBInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_pgbouncer.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_pgbouncer.go index d9892229f3..4c45e0812a 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_pgbouncer.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_pgbouncer.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakePgBouncers implements PgBouncerInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_postgres.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_postgres.go index 070ce113c2..80b13f75fd 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_postgres.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_postgres.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakePostgreses implements PostgresInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_proxysql.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_proxysql.go index 13cb2cf417..3708686cb1 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_proxysql.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_proxysql.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeProxySQLs implements ProxySQLInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redis.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redis.go index 47908acfb1..02fc5839a1 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redis.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redis.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeRedises implements RedisInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redissentinel.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redissentinel.go index b9a1d27113..c044d32660 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redissentinel.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redissentinel.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeRedisSentinels implements RedisSentinelInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/kafka.go b/client/clientset/versioned/typed/kubedb/v1alpha2/kafka.go index 3a809e67ba..da2f275b4a 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/kafka.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/kafka.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // KafkasGetter has a method to return a KafkaInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/kubedb_client.go b/client/clientset/versioned/typed/kubedb/v1alpha2/kubedb_client.go index c10df5948c..302af9fa80 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/kubedb_client.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/kubedb_client.go @@ -21,10 +21,9 @@ package v1alpha2 import ( "net/http" + rest "k8s.io/client-go/rest" v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - - rest "k8s.io/client-go/rest" ) type KubedbV1alpha2Interface interface { diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/mariadb.go b/client/clientset/versioned/typed/kubedb/v1alpha2/mariadb.go index 37314271d9..38a43e8cc9 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/mariadb.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/mariadb.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MariaDBsGetter has a method to return a MariaDBInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/memcached.go b/client/clientset/versioned/typed/kubedb/v1alpha2/memcached.go index 4b18840723..21efffd709 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/memcached.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/memcached.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MemcachedsGetter has a method to return a MemcachedInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/mongodb.go b/client/clientset/versioned/typed/kubedb/v1alpha2/mongodb.go index b662f3901d..174aeb0753 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/mongodb.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/mongodb.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MongoDBsGetter has a method to return a MongoDBInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/mysql.go b/client/clientset/versioned/typed/kubedb/v1alpha2/mysql.go index 5592cd93f9..06db779da6 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/mysql.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/mysql.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MySQLsGetter has a method to return a MySQLInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/perconaxtradb.go b/client/clientset/versioned/typed/kubedb/v1alpha2/perconaxtradb.go index f500b04ef5..83ea891a04 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/perconaxtradb.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/perconaxtradb.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PerconaXtraDBsGetter has a method to return a PerconaXtraDBInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/pgbouncer.go b/client/clientset/versioned/typed/kubedb/v1alpha2/pgbouncer.go index f10768c946..94d9ceeefc 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/pgbouncer.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/pgbouncer.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PgBouncersGetter has a method to return a PgBouncerInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/postgres.go b/client/clientset/versioned/typed/kubedb/v1alpha2/postgres.go index 1d6676a724..33fdb75299 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/postgres.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/postgres.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PostgresesGetter has a method to return a PostgresInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/proxysql.go b/client/clientset/versioned/typed/kubedb/v1alpha2/proxysql.go index cab09d9e9b..6f60b5c7a9 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/proxysql.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/proxysql.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ProxySQLsGetter has a method to return a ProxySQLInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/redis.go b/client/clientset/versioned/typed/kubedb/v1alpha2/redis.go index cc53f023a1..6b797910b1 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/redis.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/redis.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // RedisesGetter has a method to return a RedisInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/redissentinel.go b/client/clientset/versioned/typed/kubedb/v1alpha2/redissentinel.go index 7c10945ea2..fead247c2d 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/redissentinel.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/redissentinel.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // RedisSentinelsGetter has a method to return a RedisSentinelInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/elasticsearchopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/elasticsearchopsrequest.go index 2908f20f05..fa59e6aaa9 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/elasticsearchopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/elasticsearchopsrequest.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ElasticsearchOpsRequestsGetter has a method to return a ElasticsearchOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/etcdopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/etcdopsrequest.go index 6fe6be11cf..9823f10b05 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/etcdopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/etcdopsrequest.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // EtcdOpsRequestsGetter has a method to return a EtcdOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_elasticsearchopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_elasticsearchopsrequest.go index 1b3952141a..7e7c259525 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_elasticsearchopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_elasticsearchopsrequest.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeElasticsearchOpsRequests implements ElasticsearchOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_etcdopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_etcdopsrequest.go index e4db32b0db..1a9594dd8c 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_etcdopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_etcdopsrequest.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeEtcdOpsRequests implements EtcdOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_kafkaopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_kafkaopsrequest.go index b10804ef2e..231b80b3f9 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_kafkaopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_kafkaopsrequest.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeKafkaOpsRequests implements KafkaOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mariadbopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mariadbopsrequest.go index 0ab5fad8b0..fcb90fa00e 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mariadbopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mariadbopsrequest.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeMariaDBOpsRequests implements MariaDBOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_memcachedopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_memcachedopsrequest.go index 70535403c9..3584118b93 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_memcachedopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_memcachedopsrequest.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeMemcachedOpsRequests implements MemcachedOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mongodbopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mongodbopsrequest.go index 9fe96c5817..0ce920b838 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mongodbopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mongodbopsrequest.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeMongoDBOpsRequests implements MongoDBOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mysqlopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mysqlopsrequest.go index c5437ced56..e30c83cb24 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mysqlopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mysqlopsrequest.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeMySQLOpsRequests implements MySQLOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_ops_client.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_ops_client.go index ee546799f2..9eba2e4e9a 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_ops_client.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_ops_client.go @@ -19,10 +19,9 @@ limitations under the License. package fake import ( - v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/ops/v1alpha1" - rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/ops/v1alpha1" ) type FakeOpsV1alpha1 struct { diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_perconaxtradbopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_perconaxtradbopsrequest.go index f8e4d40b04..506e87b5e2 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_perconaxtradbopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_perconaxtradbopsrequest.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakePerconaXtraDBOpsRequests implements PerconaXtraDBOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_pgbounceropsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_pgbounceropsrequest.go index 7ee2d6d5bf..ce36b3072a 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_pgbounceropsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_pgbounceropsrequest.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakePgBouncerOpsRequests implements PgBouncerOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_postgresopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_postgresopsrequest.go index 686e5952a8..78b45e3d9a 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_postgresopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_postgresopsrequest.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakePostgresOpsRequests implements PostgresOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_proxysqlopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_proxysqlopsrequest.go index e75b97f742..a57a24be95 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_proxysqlopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_proxysqlopsrequest.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeProxySQLOpsRequests implements ProxySQLOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redisopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redisopsrequest.go index 417d8e7d8d..490fafb3e8 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redisopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redisopsrequest.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeRedisOpsRequests implements RedisOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redissentinelopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redissentinelopsrequest.go index c8890e6e09..2ff976d54e 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redissentinelopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redissentinelopsrequest.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeRedisSentinelOpsRequests implements RedisSentinelOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/kafkaopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/kafkaopsrequest.go index d24494a999..168ff77a89 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/kafkaopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/kafkaopsrequest.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // KafkaOpsRequestsGetter has a method to return a KafkaOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/mariadbopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/mariadbopsrequest.go index e1a56e396e..4a5b5117b5 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/mariadbopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/mariadbopsrequest.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MariaDBOpsRequestsGetter has a method to return a MariaDBOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/memcachedopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/memcachedopsrequest.go index 7750b2930d..b2d4cf77aa 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/memcachedopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/memcachedopsrequest.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MemcachedOpsRequestsGetter has a method to return a MemcachedOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/mongodbopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/mongodbopsrequest.go index 757eed013d..85ec0b81f0 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/mongodbopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/mongodbopsrequest.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MongoDBOpsRequestsGetter has a method to return a MongoDBOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/mysqlopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/mysqlopsrequest.go index 66d0c7ba49..509a847189 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/mysqlopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/mysqlopsrequest.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MySQLOpsRequestsGetter has a method to return a MySQLOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/ops_client.go b/client/clientset/versioned/typed/ops/v1alpha1/ops_client.go index 89ae094f67..d06d0542d9 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/ops_client.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/ops_client.go @@ -21,10 +21,9 @@ package v1alpha1 import ( "net/http" + rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - - rest "k8s.io/client-go/rest" ) type OpsV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/ops/v1alpha1/perconaxtradbopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/perconaxtradbopsrequest.go index c5e9f01e15..b5792aa454 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/perconaxtradbopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/perconaxtradbopsrequest.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PerconaXtraDBOpsRequestsGetter has a method to return a PerconaXtraDBOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/pgbounceropsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/pgbounceropsrequest.go index 4fd8edf321..e21405798d 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/pgbounceropsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/pgbounceropsrequest.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PgBouncerOpsRequestsGetter has a method to return a PgBouncerOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/postgresopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/postgresopsrequest.go index 813f0b6183..859f3ef8e4 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/postgresopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/postgresopsrequest.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PostgresOpsRequestsGetter has a method to return a PostgresOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/proxysqlopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/proxysqlopsrequest.go index e109b4bc69..e450d264c0 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/proxysqlopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/proxysqlopsrequest.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ProxySQLOpsRequestsGetter has a method to return a ProxySQLOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/redisopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/redisopsrequest.go index 99218356fa..004898a074 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/redisopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/redisopsrequest.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // RedisOpsRequestsGetter has a method to return a RedisOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/redissentinelopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/redissentinelopsrequest.go index a34aa0b69e..babe19e50b 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/redissentinelopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/redissentinelopsrequest.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // RedisSentinelOpsRequestsGetter has a method to return a RedisSentinelOpsRequestInterface. diff --git a/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_postgres_client.go b/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_postgres_client.go index 7719cf9da4..eb5f3118e7 100644 --- a/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_postgres_client.go +++ b/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_postgres_client.go @@ -19,10 +19,9 @@ limitations under the License. package fake import ( - v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/postgres/v1alpha1" - rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/postgres/v1alpha1" ) type FakePostgresV1alpha1 struct { diff --git a/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_publisher.go b/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_publisher.go index 51513d4c22..65af64f67b 100644 --- a/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_publisher.go +++ b/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_publisher.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" ) // FakePublishers implements PublisherInterface diff --git a/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_subscriber.go b/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_subscriber.go index 3c69eb5658..c55e0767a5 100644 --- a/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_subscriber.go +++ b/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_subscriber.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" ) // FakeSubscribers implements SubscriberInterface diff --git a/client/clientset/versioned/typed/postgres/v1alpha1/postgres_client.go b/client/clientset/versioned/typed/postgres/v1alpha1/postgres_client.go index d3de22acaf..0da7db17be 100644 --- a/client/clientset/versioned/typed/postgres/v1alpha1/postgres_client.go +++ b/client/clientset/versioned/typed/postgres/v1alpha1/postgres_client.go @@ -21,10 +21,9 @@ package v1alpha1 import ( "net/http" + rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - - rest "k8s.io/client-go/rest" ) type PostgresV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/postgres/v1alpha1/publisher.go b/client/clientset/versioned/typed/postgres/v1alpha1/publisher.go index d397736fcc..cc12ed72c9 100644 --- a/client/clientset/versioned/typed/postgres/v1alpha1/publisher.go +++ b/client/clientset/versioned/typed/postgres/v1alpha1/publisher.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PublishersGetter has a method to return a PublisherInterface. diff --git a/client/clientset/versioned/typed/postgres/v1alpha1/subscriber.go b/client/clientset/versioned/typed/postgres/v1alpha1/subscriber.go index 071f1ac387..8b7812fe56 100644 --- a/client/clientset/versioned/typed/postgres/v1alpha1/subscriber.go +++ b/client/clientset/versioned/typed/postgres/v1alpha1/subscriber.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // SubscribersGetter has a method to return a SubscriberInterface. diff --git a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mariadbdatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mariadbdatabase.go index b4881ff905..48d9c126b6 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mariadbdatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mariadbdatabase.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // FakeMariaDBDatabases implements MariaDBDatabaseInterface diff --git a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mongodbdatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mongodbdatabase.go index 99e83a66b9..f84957f61c 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mongodbdatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mongodbdatabase.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // FakeMongoDBDatabases implements MongoDBDatabaseInterface diff --git a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mysqldatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mysqldatabase.go index 87eba1712c..4130821be3 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mysqldatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mysqldatabase.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // FakeMySQLDatabases implements MySQLDatabaseInterface diff --git a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_postgresdatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_postgresdatabase.go index 16338cab75..b600d2ea23 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_postgresdatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_postgresdatabase.go @@ -21,14 +21,13 @@ package fake import ( "context" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // FakePostgresDatabases implements PostgresDatabaseInterface diff --git a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_schema_client.go b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_schema_client.go index 0f0a3f7fde..53af4a1626 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_schema_client.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_schema_client.go @@ -19,10 +19,9 @@ limitations under the License. package fake import ( - v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/schema/v1alpha1" - rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" + v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/schema/v1alpha1" ) type FakeSchemaV1alpha1 struct { diff --git a/client/clientset/versioned/typed/schema/v1alpha1/mariadbdatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/mariadbdatabase.go index df1643ba35..9820398df7 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/mariadbdatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/mariadbdatabase.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MariaDBDatabasesGetter has a method to return a MariaDBDatabaseInterface. diff --git a/client/clientset/versioned/typed/schema/v1alpha1/mongodbdatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/mongodbdatabase.go index b73a0d4a6a..ed686fde71 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/mongodbdatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/mongodbdatabase.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MongoDBDatabasesGetter has a method to return a MongoDBDatabaseInterface. diff --git a/client/clientset/versioned/typed/schema/v1alpha1/mysqldatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/mysqldatabase.go index 9a5e9e8798..690105e0c0 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/mysqldatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/mysqldatabase.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MySQLDatabasesGetter has a method to return a MySQLDatabaseInterface. diff --git a/client/clientset/versioned/typed/schema/v1alpha1/postgresdatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/postgresdatabase.go index 20c4f1c5b5..7337579072 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/postgresdatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/postgresdatabase.go @@ -22,13 +22,12 @@ import ( "context" "time" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PostgresDatabasesGetter has a method to return a PostgresDatabaseInterface. diff --git a/client/clientset/versioned/typed/schema/v1alpha1/schema_client.go b/client/clientset/versioned/typed/schema/v1alpha1/schema_client.go index 275d94608e..49e356b61b 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/schema_client.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/schema_client.go @@ -21,10 +21,9 @@ package v1alpha1 import ( "net/http" + rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - - rest "k8s.io/client-go/rest" ) type SchemaV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/ui/v1alpha1/ui_client.go b/client/clientset/versioned/typed/ui/v1alpha1/ui_client.go index 50923582b6..fdb622a52d 100644 --- a/client/clientset/versioned/typed/ui/v1alpha1/ui_client.go +++ b/client/clientset/versioned/typed/ui/v1alpha1/ui_client.go @@ -21,10 +21,9 @@ package v1alpha1 import ( "net/http" + rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/ui/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" - - rest "k8s.io/client-go/rest" ) type UiV1alpha1Interface interface { diff --git a/client/informers/externalversions/autoscaling/v1alpha1/elasticsearchautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/elasticsearchautoscaler.go index adc4766e50..053aac5ddd 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/elasticsearchautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/elasticsearchautoscaler.go @@ -22,15 +22,14 @@ import ( "context" time "time" - autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" ) // ElasticsearchAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/etcdautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/etcdautoscaler.go index d44e521255..b73302ce5c 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/etcdautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/etcdautoscaler.go @@ -22,15 +22,14 @@ import ( "context" time "time" - autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" ) // EtcdAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/mariadbautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/mariadbautoscaler.go index 75f1803ba3..2de703278f 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/mariadbautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/mariadbautoscaler.go @@ -22,15 +22,14 @@ import ( "context" time "time" - autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" ) // MariaDBAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/memcachedautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/memcachedautoscaler.go index 8c2a792d05..91ba1bf04f 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/memcachedautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/memcachedautoscaler.go @@ -22,15 +22,14 @@ import ( "context" time "time" - autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" ) // MemcachedAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/mongodbautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/mongodbautoscaler.go index 552d6a8389..d31d4490df 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/mongodbautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/mongodbautoscaler.go @@ -22,15 +22,14 @@ import ( "context" time "time" - autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" ) // MongoDBAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/mysqlautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/mysqlautoscaler.go index a930b0dde7..65253deb13 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/mysqlautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/mysqlautoscaler.go @@ -22,15 +22,14 @@ import ( "context" time "time" - autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" ) // MySQLAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/perconaxtradbautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/perconaxtradbautoscaler.go index 976140524f..2d20d793a5 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/perconaxtradbautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/perconaxtradbautoscaler.go @@ -22,15 +22,14 @@ import ( "context" time "time" - autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" ) // PerconaXtraDBAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/pgbouncerautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/pgbouncerautoscaler.go index 304c5c1dde..6776d36144 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/pgbouncerautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/pgbouncerautoscaler.go @@ -22,15 +22,14 @@ import ( "context" time "time" - autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" ) // PgBouncerAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/postgresautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/postgresautoscaler.go index fcef2cdfbf..8716001a67 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/postgresautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/postgresautoscaler.go @@ -22,15 +22,14 @@ import ( "context" time "time" - autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" ) // PostgresAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/proxysqlautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/proxysqlautoscaler.go index c6ffa7c0a1..d452b9b9ed 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/proxysqlautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/proxysqlautoscaler.go @@ -22,15 +22,14 @@ import ( "context" time "time" - autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" ) // ProxySQLAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/redisautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/redisautoscaler.go index 2a27aae59c..a317852954 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/redisautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/redisautoscaler.go @@ -22,15 +22,14 @@ import ( "context" time "time" - autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" ) // RedisAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/redissentinelautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/redissentinelautoscaler.go index 4627832d5c..d7443524b3 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/redissentinelautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/redissentinelautoscaler.go @@ -22,15 +22,14 @@ import ( "context" time "time" - autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" ) // RedisSentinelAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/elasticsearchversion.go b/client/informers/externalversions/catalog/v1alpha1/elasticsearchversion.go index 67bd5104a2..e40d93d016 100644 --- a/client/informers/externalversions/catalog/v1alpha1/elasticsearchversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/elasticsearchversion.go @@ -22,15 +22,14 @@ import ( "context" time "time" - catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" ) // ElasticsearchVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/etcdversion.go b/client/informers/externalversions/catalog/v1alpha1/etcdversion.go index 5db07e9009..fe7cc4e66e 100644 --- a/client/informers/externalversions/catalog/v1alpha1/etcdversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/etcdversion.go @@ -22,15 +22,14 @@ import ( "context" time "time" - catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" ) // EtcdVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/kafkaversion.go b/client/informers/externalversions/catalog/v1alpha1/kafkaversion.go index abbb4c3dfe..d168dd8d33 100644 --- a/client/informers/externalversions/catalog/v1alpha1/kafkaversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/kafkaversion.go @@ -22,15 +22,14 @@ import ( "context" time "time" - catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" ) // KafkaVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/mariadbversion.go b/client/informers/externalversions/catalog/v1alpha1/mariadbversion.go index 1023bd499e..22e881ad88 100644 --- a/client/informers/externalversions/catalog/v1alpha1/mariadbversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/mariadbversion.go @@ -22,15 +22,14 @@ import ( "context" time "time" - catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" ) // MariaDBVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/memcachedversion.go b/client/informers/externalversions/catalog/v1alpha1/memcachedversion.go index 6f81b88ee0..c06eace33c 100644 --- a/client/informers/externalversions/catalog/v1alpha1/memcachedversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/memcachedversion.go @@ -22,15 +22,14 @@ import ( "context" time "time" - catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" ) // MemcachedVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/mongodbversion.go b/client/informers/externalversions/catalog/v1alpha1/mongodbversion.go index a890055129..41b00c611c 100644 --- a/client/informers/externalversions/catalog/v1alpha1/mongodbversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/mongodbversion.go @@ -22,15 +22,14 @@ import ( "context" time "time" - catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" ) // MongoDBVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/mysqlversion.go b/client/informers/externalversions/catalog/v1alpha1/mysqlversion.go index 6e1c5673bd..4eb22ae9ef 100644 --- a/client/informers/externalversions/catalog/v1alpha1/mysqlversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/mysqlversion.go @@ -22,15 +22,14 @@ import ( "context" time "time" - catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" ) // MySQLVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/perconaxtradbversion.go b/client/informers/externalversions/catalog/v1alpha1/perconaxtradbversion.go index 544403aa41..a9f23734a9 100644 --- a/client/informers/externalversions/catalog/v1alpha1/perconaxtradbversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/perconaxtradbversion.go @@ -22,15 +22,14 @@ import ( "context" time "time" - catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" ) // PerconaXtraDBVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/pgbouncerversion.go b/client/informers/externalversions/catalog/v1alpha1/pgbouncerversion.go index 65f8a7ba05..0ba0cbfd9a 100644 --- a/client/informers/externalversions/catalog/v1alpha1/pgbouncerversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/pgbouncerversion.go @@ -22,15 +22,14 @@ import ( "context" time "time" - catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" ) // PgBouncerVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/postgresversion.go b/client/informers/externalversions/catalog/v1alpha1/postgresversion.go index be65628c5f..365cac5aad 100644 --- a/client/informers/externalversions/catalog/v1alpha1/postgresversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/postgresversion.go @@ -22,15 +22,14 @@ import ( "context" time "time" - catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" ) // PostgresVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/proxysqlversion.go b/client/informers/externalversions/catalog/v1alpha1/proxysqlversion.go index 1237a8df89..2dbdbcb7fe 100644 --- a/client/informers/externalversions/catalog/v1alpha1/proxysqlversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/proxysqlversion.go @@ -22,15 +22,14 @@ import ( "context" time "time" - catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" ) // ProxySQLVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/redisversion.go b/client/informers/externalversions/catalog/v1alpha1/redisversion.go index cc880a3d35..710710ac00 100644 --- a/client/informers/externalversions/catalog/v1alpha1/redisversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/redisversion.go @@ -22,15 +22,14 @@ import ( "context" time "time" - catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" ) // RedisVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/dashboard/v1alpha1/elasticsearchdashboard.go b/client/informers/externalversions/dashboard/v1alpha1/elasticsearchdashboard.go index 7e005a70a2..b438dfa7ed 100644 --- a/client/informers/externalversions/dashboard/v1alpha1/elasticsearchdashboard.go +++ b/client/informers/externalversions/dashboard/v1alpha1/elasticsearchdashboard.go @@ -22,15 +22,14 @@ import ( "context" time "time" - dashboardv1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/dashboard/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + dashboardv1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/dashboard/v1alpha1" ) // ElasticsearchDashboardInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/factory.go b/client/informers/externalversions/factory.go index b323f94e72..82646914c7 100644 --- a/client/informers/externalversions/factory.go +++ b/client/informers/externalversions/factory.go @@ -23,6 +23,10 @@ import ( sync "sync" time "time" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + schema "k8s.io/apimachinery/pkg/runtime/schema" + cache "k8s.io/client-go/tools/cache" versioned "kubedb.dev/apimachinery/client/clientset/versioned" autoscaling "kubedb.dev/apimachinery/client/informers/externalversions/autoscaling" catalog "kubedb.dev/apimachinery/client/informers/externalversions/catalog" @@ -32,11 +36,6 @@ import ( ops "kubedb.dev/apimachinery/client/informers/externalversions/ops" postgres "kubedb.dev/apimachinery/client/informers/externalversions/postgres" externalversionsschema "kubedb.dev/apimachinery/client/informers/externalversions/schema" - - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - schema "k8s.io/apimachinery/pkg/runtime/schema" - cache "k8s.io/client-go/tools/cache" ) // SharedInformerOption defines the functional option type for SharedInformerFactory. diff --git a/client/informers/externalversions/generic.go b/client/informers/externalversions/generic.go index 4024964aba..867c84232f 100644 --- a/client/informers/externalversions/generic.go +++ b/client/informers/externalversions/generic.go @@ -21,6 +21,8 @@ package externalversions import ( "fmt" + schema "k8s.io/apimachinery/pkg/runtime/schema" + cache "k8s.io/client-go/tools/cache" v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" dashboardv1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" @@ -28,9 +30,6 @@ import ( opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" postgresv1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - - schema "k8s.io/apimachinery/pkg/runtime/schema" - cache "k8s.io/client-go/tools/cache" ) // GenericInformer is type of SharedIndexInformer which will locate and delegate to other diff --git a/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/client/informers/externalversions/internalinterfaces/factory_interfaces.go index 2b02452953..0ed5066a98 100644 --- a/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -21,11 +21,10 @@ package internalinterfaces import ( time "time" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" cache "k8s.io/client-go/tools/cache" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" ) // NewInformerFunc takes versioned.Interface and time.Duration to return a SharedIndexInformer. diff --git a/client/informers/externalversions/kubedb/v1alpha2/elasticsearch.go b/client/informers/externalversions/kubedb/v1alpha2/elasticsearch.go index 27ccbc1f97..0efe775ecc 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/elasticsearch.go +++ b/client/informers/externalversions/kubedb/v1alpha2/elasticsearch.go @@ -22,15 +22,14 @@ import ( "context" time "time" - kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" ) // ElasticsearchInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/etcd.go b/client/informers/externalversions/kubedb/v1alpha2/etcd.go index bb8e79cc6c..202c9ce40e 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/etcd.go +++ b/client/informers/externalversions/kubedb/v1alpha2/etcd.go @@ -22,15 +22,14 @@ import ( "context" time "time" - kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" ) // EtcdInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/kafka.go b/client/informers/externalversions/kubedb/v1alpha2/kafka.go index be59d909e7..2ec56cd0e0 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/kafka.go +++ b/client/informers/externalversions/kubedb/v1alpha2/kafka.go @@ -22,15 +22,14 @@ import ( "context" time "time" - kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" ) // KafkaInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/mariadb.go b/client/informers/externalversions/kubedb/v1alpha2/mariadb.go index 415daca85d..0acbd3c8ea 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/mariadb.go +++ b/client/informers/externalversions/kubedb/v1alpha2/mariadb.go @@ -22,15 +22,14 @@ import ( "context" time "time" - kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" ) // MariaDBInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/memcached.go b/client/informers/externalversions/kubedb/v1alpha2/memcached.go index 9136bb4a91..79ba85234d 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/memcached.go +++ b/client/informers/externalversions/kubedb/v1alpha2/memcached.go @@ -22,15 +22,14 @@ import ( "context" time "time" - kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" ) // MemcachedInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/mongodb.go b/client/informers/externalversions/kubedb/v1alpha2/mongodb.go index 87c943e4be..81d52f9d7b 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/mongodb.go +++ b/client/informers/externalversions/kubedb/v1alpha2/mongodb.go @@ -22,15 +22,14 @@ import ( "context" time "time" - kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" ) // MongoDBInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/mysql.go b/client/informers/externalversions/kubedb/v1alpha2/mysql.go index 4cbdcf5f9a..3020093a70 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/mysql.go +++ b/client/informers/externalversions/kubedb/v1alpha2/mysql.go @@ -22,15 +22,14 @@ import ( "context" time "time" - kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" ) // MySQLInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/perconaxtradb.go b/client/informers/externalversions/kubedb/v1alpha2/perconaxtradb.go index d4ca683920..8fe49d1e22 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/perconaxtradb.go +++ b/client/informers/externalversions/kubedb/v1alpha2/perconaxtradb.go @@ -22,15 +22,14 @@ import ( "context" time "time" - kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" ) // PerconaXtraDBInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/pgbouncer.go b/client/informers/externalversions/kubedb/v1alpha2/pgbouncer.go index 5e006ba3d5..9787803986 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/pgbouncer.go +++ b/client/informers/externalversions/kubedb/v1alpha2/pgbouncer.go @@ -22,15 +22,14 @@ import ( "context" time "time" - kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" ) // PgBouncerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/postgres.go b/client/informers/externalversions/kubedb/v1alpha2/postgres.go index 0d1091571a..94c18e5534 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/postgres.go +++ b/client/informers/externalversions/kubedb/v1alpha2/postgres.go @@ -22,15 +22,14 @@ import ( "context" time "time" - kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" ) // PostgresInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/proxysql.go b/client/informers/externalversions/kubedb/v1alpha2/proxysql.go index c64aaf2a19..7dbe8b3e91 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/proxysql.go +++ b/client/informers/externalversions/kubedb/v1alpha2/proxysql.go @@ -22,15 +22,14 @@ import ( "context" time "time" - kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" ) // ProxySQLInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/redis.go b/client/informers/externalversions/kubedb/v1alpha2/redis.go index 1cba0d9a8a..71afa6252a 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/redis.go +++ b/client/informers/externalversions/kubedb/v1alpha2/redis.go @@ -22,15 +22,14 @@ import ( "context" time "time" - kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" ) // RedisInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/redissentinel.go b/client/informers/externalversions/kubedb/v1alpha2/redissentinel.go index b1cc8a5244..9e21161b7d 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/redissentinel.go +++ b/client/informers/externalversions/kubedb/v1alpha2/redissentinel.go @@ -22,15 +22,14 @@ import ( "context" time "time" - kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" ) // RedisSentinelInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/elasticsearchopsrequest.go b/client/informers/externalversions/ops/v1alpha1/elasticsearchopsrequest.go index 4a7d62461e..e9008f3587 100644 --- a/client/informers/externalversions/ops/v1alpha1/elasticsearchopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/elasticsearchopsrequest.go @@ -22,15 +22,14 @@ import ( "context" time "time" - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" ) // ElasticsearchOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/etcdopsrequest.go b/client/informers/externalversions/ops/v1alpha1/etcdopsrequest.go index 4cc7473cb5..de58b27efc 100644 --- a/client/informers/externalversions/ops/v1alpha1/etcdopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/etcdopsrequest.go @@ -22,15 +22,14 @@ import ( "context" time "time" - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" ) // EtcdOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/kafkaopsrequest.go b/client/informers/externalversions/ops/v1alpha1/kafkaopsrequest.go index b173c12ffc..01fa4a55c9 100644 --- a/client/informers/externalversions/ops/v1alpha1/kafkaopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/kafkaopsrequest.go @@ -22,15 +22,14 @@ import ( "context" time "time" - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" ) // KafkaOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/mariadbopsrequest.go b/client/informers/externalversions/ops/v1alpha1/mariadbopsrequest.go index 7a3e49028e..a9f5be2687 100644 --- a/client/informers/externalversions/ops/v1alpha1/mariadbopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/mariadbopsrequest.go @@ -22,15 +22,14 @@ import ( "context" time "time" - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" ) // MariaDBOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/memcachedopsrequest.go b/client/informers/externalversions/ops/v1alpha1/memcachedopsrequest.go index 139cd9d2f7..c6d061c1a8 100644 --- a/client/informers/externalversions/ops/v1alpha1/memcachedopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/memcachedopsrequest.go @@ -22,15 +22,14 @@ import ( "context" time "time" - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" ) // MemcachedOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/mongodbopsrequest.go b/client/informers/externalversions/ops/v1alpha1/mongodbopsrequest.go index 1cc509af45..0bfe1c10f7 100644 --- a/client/informers/externalversions/ops/v1alpha1/mongodbopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/mongodbopsrequest.go @@ -22,15 +22,14 @@ import ( "context" time "time" - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" ) // MongoDBOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/mysqlopsrequest.go b/client/informers/externalversions/ops/v1alpha1/mysqlopsrequest.go index 69f0b06925..c3c12690f0 100644 --- a/client/informers/externalversions/ops/v1alpha1/mysqlopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/mysqlopsrequest.go @@ -22,15 +22,14 @@ import ( "context" time "time" - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" ) // MySQLOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/perconaxtradbopsrequest.go b/client/informers/externalversions/ops/v1alpha1/perconaxtradbopsrequest.go index 5019276421..bc2587d666 100644 --- a/client/informers/externalversions/ops/v1alpha1/perconaxtradbopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/perconaxtradbopsrequest.go @@ -22,15 +22,14 @@ import ( "context" time "time" - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" ) // PerconaXtraDBOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/pgbounceropsrequest.go b/client/informers/externalversions/ops/v1alpha1/pgbounceropsrequest.go index 81c256c77a..ec94bdcfd9 100644 --- a/client/informers/externalversions/ops/v1alpha1/pgbounceropsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/pgbounceropsrequest.go @@ -22,15 +22,14 @@ import ( "context" time "time" - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" ) // PgBouncerOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/postgresopsrequest.go b/client/informers/externalversions/ops/v1alpha1/postgresopsrequest.go index 3f49d1fefd..b9a5e952fc 100644 --- a/client/informers/externalversions/ops/v1alpha1/postgresopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/postgresopsrequest.go @@ -22,15 +22,14 @@ import ( "context" time "time" - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" ) // PostgresOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/proxysqlopsrequest.go b/client/informers/externalversions/ops/v1alpha1/proxysqlopsrequest.go index f584f34c2b..bddf00acdb 100644 --- a/client/informers/externalversions/ops/v1alpha1/proxysqlopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/proxysqlopsrequest.go @@ -22,15 +22,14 @@ import ( "context" time "time" - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" ) // ProxySQLOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/redisopsrequest.go b/client/informers/externalversions/ops/v1alpha1/redisopsrequest.go index 330ab785a1..df2b7e69f1 100644 --- a/client/informers/externalversions/ops/v1alpha1/redisopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/redisopsrequest.go @@ -22,15 +22,14 @@ import ( "context" time "time" - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" ) // RedisOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/redissentinelopsrequest.go b/client/informers/externalversions/ops/v1alpha1/redissentinelopsrequest.go index de5d7f6eb0..e562516de2 100644 --- a/client/informers/externalversions/ops/v1alpha1/redissentinelopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/redissentinelopsrequest.go @@ -22,15 +22,14 @@ import ( "context" time "time" - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" ) // RedisSentinelOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/postgres/v1alpha1/publisher.go b/client/informers/externalversions/postgres/v1alpha1/publisher.go index 30ed7fda3f..870736c962 100644 --- a/client/informers/externalversions/postgres/v1alpha1/publisher.go +++ b/client/informers/externalversions/postgres/v1alpha1/publisher.go @@ -22,15 +22,14 @@ import ( "context" time "time" - postgresv1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/postgres/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + postgresv1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/postgres/v1alpha1" ) // PublisherInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/postgres/v1alpha1/subscriber.go b/client/informers/externalversions/postgres/v1alpha1/subscriber.go index d89b62a86d..feba2bf1c7 100644 --- a/client/informers/externalversions/postgres/v1alpha1/subscriber.go +++ b/client/informers/externalversions/postgres/v1alpha1/subscriber.go @@ -22,15 +22,14 @@ import ( "context" time "time" - postgresv1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/postgres/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + postgresv1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/postgres/v1alpha1" ) // SubscriberInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/schema/v1alpha1/mariadbdatabase.go b/client/informers/externalversions/schema/v1alpha1/mariadbdatabase.go index b8eebdd391..b12a0b2190 100644 --- a/client/informers/externalversions/schema/v1alpha1/mariadbdatabase.go +++ b/client/informers/externalversions/schema/v1alpha1/mariadbdatabase.go @@ -22,15 +22,14 @@ import ( "context" time "time" - schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/schema/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/schema/v1alpha1" ) // MariaDBDatabaseInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/schema/v1alpha1/mongodbdatabase.go b/client/informers/externalversions/schema/v1alpha1/mongodbdatabase.go index c7e8558f84..d0a690106f 100644 --- a/client/informers/externalversions/schema/v1alpha1/mongodbdatabase.go +++ b/client/informers/externalversions/schema/v1alpha1/mongodbdatabase.go @@ -22,15 +22,14 @@ import ( "context" time "time" - schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/schema/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/schema/v1alpha1" ) // MongoDBDatabaseInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/schema/v1alpha1/mysqldatabase.go b/client/informers/externalversions/schema/v1alpha1/mysqldatabase.go index 04dadf51d0..e34a97f540 100644 --- a/client/informers/externalversions/schema/v1alpha1/mysqldatabase.go +++ b/client/informers/externalversions/schema/v1alpha1/mysqldatabase.go @@ -22,15 +22,14 @@ import ( "context" time "time" - schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/schema/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/schema/v1alpha1" ) // MySQLDatabaseInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/schema/v1alpha1/postgresdatabase.go b/client/informers/externalversions/schema/v1alpha1/postgresdatabase.go index 5e8afb9329..0d3769b8dc 100644 --- a/client/informers/externalversions/schema/v1alpha1/postgresdatabase.go +++ b/client/informers/externalversions/schema/v1alpha1/postgresdatabase.go @@ -22,15 +22,14 @@ import ( "context" time "time" - schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" - internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" - v1alpha1 "kubedb.dev/apimachinery/client/listers/schema/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" + schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" + v1alpha1 "kubedb.dev/apimachinery/client/listers/schema/v1alpha1" ) // PostgresDatabaseInformer provides access to a shared informer and lister for diff --git a/client/listers/autoscaling/v1alpha1/elasticsearchautoscaler.go b/client/listers/autoscaling/v1alpha1/elasticsearchautoscaler.go index 0e720a75ab..7a1c4ab4e8 100644 --- a/client/listers/autoscaling/v1alpha1/elasticsearchautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/elasticsearchautoscaler.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // ElasticsearchAutoscalerLister helps list ElasticsearchAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/etcdautoscaler.go b/client/listers/autoscaling/v1alpha1/etcdautoscaler.go index c9e0f6f234..d636ee4b3c 100644 --- a/client/listers/autoscaling/v1alpha1/etcdautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/etcdautoscaler.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // EtcdAutoscalerLister helps list EtcdAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/mariadbautoscaler.go b/client/listers/autoscaling/v1alpha1/mariadbautoscaler.go index f965f3a6d0..af367cb542 100644 --- a/client/listers/autoscaling/v1alpha1/mariadbautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/mariadbautoscaler.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // MariaDBAutoscalerLister helps list MariaDBAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/memcachedautoscaler.go b/client/listers/autoscaling/v1alpha1/memcachedautoscaler.go index 01fcababab..026e80c45f 100644 --- a/client/listers/autoscaling/v1alpha1/memcachedautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/memcachedautoscaler.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // MemcachedAutoscalerLister helps list MemcachedAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/mongodbautoscaler.go b/client/listers/autoscaling/v1alpha1/mongodbautoscaler.go index ea4cd11039..eddb34d90c 100644 --- a/client/listers/autoscaling/v1alpha1/mongodbautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/mongodbautoscaler.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // MongoDBAutoscalerLister helps list MongoDBAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/mysqlautoscaler.go b/client/listers/autoscaling/v1alpha1/mysqlautoscaler.go index a79e9b0b92..977b1ec939 100644 --- a/client/listers/autoscaling/v1alpha1/mysqlautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/mysqlautoscaler.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // MySQLAutoscalerLister helps list MySQLAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/perconaxtradbautoscaler.go b/client/listers/autoscaling/v1alpha1/perconaxtradbautoscaler.go index 8734e8c2f4..8bab20a90b 100644 --- a/client/listers/autoscaling/v1alpha1/perconaxtradbautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/perconaxtradbautoscaler.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // PerconaXtraDBAutoscalerLister helps list PerconaXtraDBAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/pgbouncerautoscaler.go b/client/listers/autoscaling/v1alpha1/pgbouncerautoscaler.go index 2b0f04f898..349b0d3eb8 100644 --- a/client/listers/autoscaling/v1alpha1/pgbouncerautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/pgbouncerautoscaler.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // PgBouncerAutoscalerLister helps list PgBouncerAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/postgresautoscaler.go b/client/listers/autoscaling/v1alpha1/postgresautoscaler.go index e8ebab8d61..39bdb982ab 100644 --- a/client/listers/autoscaling/v1alpha1/postgresautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/postgresautoscaler.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // PostgresAutoscalerLister helps list PostgresAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/proxysqlautoscaler.go b/client/listers/autoscaling/v1alpha1/proxysqlautoscaler.go index 45853c826d..b69cedb174 100644 --- a/client/listers/autoscaling/v1alpha1/proxysqlautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/proxysqlautoscaler.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // ProxySQLAutoscalerLister helps list ProxySQLAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/redisautoscaler.go b/client/listers/autoscaling/v1alpha1/redisautoscaler.go index 93c8d77d14..4a938b5a61 100644 --- a/client/listers/autoscaling/v1alpha1/redisautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/redisautoscaler.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // RedisAutoscalerLister helps list RedisAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/redissentinelautoscaler.go b/client/listers/autoscaling/v1alpha1/redissentinelautoscaler.go index 5064fa9bc1..14488caa5f 100644 --- a/client/listers/autoscaling/v1alpha1/redissentinelautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/redissentinelautoscaler.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // RedisSentinelAutoscalerLister helps list RedisSentinelAutoscalers. diff --git a/client/listers/catalog/v1alpha1/elasticsearchversion.go b/client/listers/catalog/v1alpha1/elasticsearchversion.go index b82219e9ab..87ce903777 100644 --- a/client/listers/catalog/v1alpha1/elasticsearchversion.go +++ b/client/listers/catalog/v1alpha1/elasticsearchversion.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // ElasticsearchVersionLister helps list ElasticsearchVersions. diff --git a/client/listers/catalog/v1alpha1/etcdversion.go b/client/listers/catalog/v1alpha1/etcdversion.go index 6a6b2dadf4..51bc240cd6 100644 --- a/client/listers/catalog/v1alpha1/etcdversion.go +++ b/client/listers/catalog/v1alpha1/etcdversion.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // EtcdVersionLister helps list EtcdVersions. diff --git a/client/listers/catalog/v1alpha1/kafkaversion.go b/client/listers/catalog/v1alpha1/kafkaversion.go index 3a2c274f11..2ff4bc4959 100644 --- a/client/listers/catalog/v1alpha1/kafkaversion.go +++ b/client/listers/catalog/v1alpha1/kafkaversion.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // KafkaVersionLister helps list KafkaVersions. diff --git a/client/listers/catalog/v1alpha1/mariadbversion.go b/client/listers/catalog/v1alpha1/mariadbversion.go index 1d5945ddc2..ccb4c21395 100644 --- a/client/listers/catalog/v1alpha1/mariadbversion.go +++ b/client/listers/catalog/v1alpha1/mariadbversion.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // MariaDBVersionLister helps list MariaDBVersions. diff --git a/client/listers/catalog/v1alpha1/memcachedversion.go b/client/listers/catalog/v1alpha1/memcachedversion.go index e3d98f9148..3fec3ffeda 100644 --- a/client/listers/catalog/v1alpha1/memcachedversion.go +++ b/client/listers/catalog/v1alpha1/memcachedversion.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // MemcachedVersionLister helps list MemcachedVersions. diff --git a/client/listers/catalog/v1alpha1/mongodbversion.go b/client/listers/catalog/v1alpha1/mongodbversion.go index 7a5525eac6..c99ea64f8d 100644 --- a/client/listers/catalog/v1alpha1/mongodbversion.go +++ b/client/listers/catalog/v1alpha1/mongodbversion.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // MongoDBVersionLister helps list MongoDBVersions. diff --git a/client/listers/catalog/v1alpha1/mysqlversion.go b/client/listers/catalog/v1alpha1/mysqlversion.go index cf906fb53c..2764572cbd 100644 --- a/client/listers/catalog/v1alpha1/mysqlversion.go +++ b/client/listers/catalog/v1alpha1/mysqlversion.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // MySQLVersionLister helps list MySQLVersions. diff --git a/client/listers/catalog/v1alpha1/perconaxtradbversion.go b/client/listers/catalog/v1alpha1/perconaxtradbversion.go index 18a070fe58..5a40e5eeba 100644 --- a/client/listers/catalog/v1alpha1/perconaxtradbversion.go +++ b/client/listers/catalog/v1alpha1/perconaxtradbversion.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // PerconaXtraDBVersionLister helps list PerconaXtraDBVersions. diff --git a/client/listers/catalog/v1alpha1/pgbouncerversion.go b/client/listers/catalog/v1alpha1/pgbouncerversion.go index 1401cb7d7d..de146938c1 100644 --- a/client/listers/catalog/v1alpha1/pgbouncerversion.go +++ b/client/listers/catalog/v1alpha1/pgbouncerversion.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // PgBouncerVersionLister helps list PgBouncerVersions. diff --git a/client/listers/catalog/v1alpha1/postgresversion.go b/client/listers/catalog/v1alpha1/postgresversion.go index d7deb05dd6..b272df139f 100644 --- a/client/listers/catalog/v1alpha1/postgresversion.go +++ b/client/listers/catalog/v1alpha1/postgresversion.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // PostgresVersionLister helps list PostgresVersions. diff --git a/client/listers/catalog/v1alpha1/proxysqlversion.go b/client/listers/catalog/v1alpha1/proxysqlversion.go index 1e281dd1b2..40c2b3ea5d 100644 --- a/client/listers/catalog/v1alpha1/proxysqlversion.go +++ b/client/listers/catalog/v1alpha1/proxysqlversion.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // ProxySQLVersionLister helps list ProxySQLVersions. diff --git a/client/listers/catalog/v1alpha1/redisversion.go b/client/listers/catalog/v1alpha1/redisversion.go index 9d1abb15cc..4acea156e5 100644 --- a/client/listers/catalog/v1alpha1/redisversion.go +++ b/client/listers/catalog/v1alpha1/redisversion.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // RedisVersionLister helps list RedisVersions. diff --git a/client/listers/dashboard/v1alpha1/elasticsearchdashboard.go b/client/listers/dashboard/v1alpha1/elasticsearchdashboard.go index 89c58b7324..370426c2f8 100644 --- a/client/listers/dashboard/v1alpha1/elasticsearchdashboard.go +++ b/client/listers/dashboard/v1alpha1/elasticsearchdashboard.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" ) // ElasticsearchDashboardLister helps list ElasticsearchDashboards. diff --git a/client/listers/kubedb/v1alpha2/elasticsearch.go b/client/listers/kubedb/v1alpha2/elasticsearch.go index ffe0f46c39..49c5686803 100644 --- a/client/listers/kubedb/v1alpha2/elasticsearch.go +++ b/client/listers/kubedb/v1alpha2/elasticsearch.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha2 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // ElasticsearchLister helps list Elasticsearches. diff --git a/client/listers/kubedb/v1alpha2/etcd.go b/client/listers/kubedb/v1alpha2/etcd.go index 3c59151d33..bad96bbc76 100644 --- a/client/listers/kubedb/v1alpha2/etcd.go +++ b/client/listers/kubedb/v1alpha2/etcd.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha2 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // EtcdLister helps list Etcds. diff --git a/client/listers/kubedb/v1alpha2/kafka.go b/client/listers/kubedb/v1alpha2/kafka.go index 69dff9abd4..3315530ee9 100644 --- a/client/listers/kubedb/v1alpha2/kafka.go +++ b/client/listers/kubedb/v1alpha2/kafka.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha2 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // KafkaLister helps list Kafkas. diff --git a/client/listers/kubedb/v1alpha2/mariadb.go b/client/listers/kubedb/v1alpha2/mariadb.go index 880a94db4d..b1bd906b79 100644 --- a/client/listers/kubedb/v1alpha2/mariadb.go +++ b/client/listers/kubedb/v1alpha2/mariadb.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha2 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // MariaDBLister helps list MariaDBs. diff --git a/client/listers/kubedb/v1alpha2/memcached.go b/client/listers/kubedb/v1alpha2/memcached.go index 14720c0f0c..73edf6fe8a 100644 --- a/client/listers/kubedb/v1alpha2/memcached.go +++ b/client/listers/kubedb/v1alpha2/memcached.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha2 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // MemcachedLister helps list Memcacheds. diff --git a/client/listers/kubedb/v1alpha2/mongodb.go b/client/listers/kubedb/v1alpha2/mongodb.go index b5bd328d88..a881970e7c 100644 --- a/client/listers/kubedb/v1alpha2/mongodb.go +++ b/client/listers/kubedb/v1alpha2/mongodb.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha2 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // MongoDBLister helps list MongoDBs. diff --git a/client/listers/kubedb/v1alpha2/mysql.go b/client/listers/kubedb/v1alpha2/mysql.go index 48fb8cdd12..8fdc75c167 100644 --- a/client/listers/kubedb/v1alpha2/mysql.go +++ b/client/listers/kubedb/v1alpha2/mysql.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha2 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // MySQLLister helps list MySQLs. diff --git a/client/listers/kubedb/v1alpha2/perconaxtradb.go b/client/listers/kubedb/v1alpha2/perconaxtradb.go index 3ed75289d3..f346060237 100644 --- a/client/listers/kubedb/v1alpha2/perconaxtradb.go +++ b/client/listers/kubedb/v1alpha2/perconaxtradb.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha2 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // PerconaXtraDBLister helps list PerconaXtraDBs. diff --git a/client/listers/kubedb/v1alpha2/pgbouncer.go b/client/listers/kubedb/v1alpha2/pgbouncer.go index c62beb239a..3c8aa3780a 100644 --- a/client/listers/kubedb/v1alpha2/pgbouncer.go +++ b/client/listers/kubedb/v1alpha2/pgbouncer.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha2 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // PgBouncerLister helps list PgBouncers. diff --git a/client/listers/kubedb/v1alpha2/postgres.go b/client/listers/kubedb/v1alpha2/postgres.go index e0f2cbc089..5b4052a482 100644 --- a/client/listers/kubedb/v1alpha2/postgres.go +++ b/client/listers/kubedb/v1alpha2/postgres.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha2 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // PostgresLister helps list Postgreses. diff --git a/client/listers/kubedb/v1alpha2/proxysql.go b/client/listers/kubedb/v1alpha2/proxysql.go index 52b3237feb..14135b27a9 100644 --- a/client/listers/kubedb/v1alpha2/proxysql.go +++ b/client/listers/kubedb/v1alpha2/proxysql.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha2 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // ProxySQLLister helps list ProxySQLs. diff --git a/client/listers/kubedb/v1alpha2/redis.go b/client/listers/kubedb/v1alpha2/redis.go index 5c52347678..219ff6d626 100644 --- a/client/listers/kubedb/v1alpha2/redis.go +++ b/client/listers/kubedb/v1alpha2/redis.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha2 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // RedisLister helps list Redises. diff --git a/client/listers/kubedb/v1alpha2/redissentinel.go b/client/listers/kubedb/v1alpha2/redissentinel.go index 7071d75a9a..734862e0d9 100644 --- a/client/listers/kubedb/v1alpha2/redissentinel.go +++ b/client/listers/kubedb/v1alpha2/redissentinel.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha2 import ( - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // RedisSentinelLister helps list RedisSentinels. diff --git a/client/listers/ops/v1alpha1/elasticsearchopsrequest.go b/client/listers/ops/v1alpha1/elasticsearchopsrequest.go index ddbe6c6afb..5b681c7dbd 100644 --- a/client/listers/ops/v1alpha1/elasticsearchopsrequest.go +++ b/client/listers/ops/v1alpha1/elasticsearchopsrequest.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // ElasticsearchOpsRequestLister helps list ElasticsearchOpsRequests. diff --git a/client/listers/ops/v1alpha1/etcdopsrequest.go b/client/listers/ops/v1alpha1/etcdopsrequest.go index f6c9d385c8..82156ca18f 100644 --- a/client/listers/ops/v1alpha1/etcdopsrequest.go +++ b/client/listers/ops/v1alpha1/etcdopsrequest.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // EtcdOpsRequestLister helps list EtcdOpsRequests. diff --git a/client/listers/ops/v1alpha1/kafkaopsrequest.go b/client/listers/ops/v1alpha1/kafkaopsrequest.go index d54229fd05..5efbea2be1 100644 --- a/client/listers/ops/v1alpha1/kafkaopsrequest.go +++ b/client/listers/ops/v1alpha1/kafkaopsrequest.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // KafkaOpsRequestLister helps list KafkaOpsRequests. diff --git a/client/listers/ops/v1alpha1/mariadbopsrequest.go b/client/listers/ops/v1alpha1/mariadbopsrequest.go index d3f99c76f8..a4a0d83a7d 100644 --- a/client/listers/ops/v1alpha1/mariadbopsrequest.go +++ b/client/listers/ops/v1alpha1/mariadbopsrequest.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // MariaDBOpsRequestLister helps list MariaDBOpsRequests. diff --git a/client/listers/ops/v1alpha1/memcachedopsrequest.go b/client/listers/ops/v1alpha1/memcachedopsrequest.go index c8e196febb..64eb40351b 100644 --- a/client/listers/ops/v1alpha1/memcachedopsrequest.go +++ b/client/listers/ops/v1alpha1/memcachedopsrequest.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // MemcachedOpsRequestLister helps list MemcachedOpsRequests. diff --git a/client/listers/ops/v1alpha1/mongodbopsrequest.go b/client/listers/ops/v1alpha1/mongodbopsrequest.go index 4746ce67bc..12bf2e7bac 100644 --- a/client/listers/ops/v1alpha1/mongodbopsrequest.go +++ b/client/listers/ops/v1alpha1/mongodbopsrequest.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // MongoDBOpsRequestLister helps list MongoDBOpsRequests. diff --git a/client/listers/ops/v1alpha1/mysqlopsrequest.go b/client/listers/ops/v1alpha1/mysqlopsrequest.go index d0c0e3cf03..d3cc4eb8b1 100644 --- a/client/listers/ops/v1alpha1/mysqlopsrequest.go +++ b/client/listers/ops/v1alpha1/mysqlopsrequest.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // MySQLOpsRequestLister helps list MySQLOpsRequests. diff --git a/client/listers/ops/v1alpha1/perconaxtradbopsrequest.go b/client/listers/ops/v1alpha1/perconaxtradbopsrequest.go index 894c84721c..d78f2a166c 100644 --- a/client/listers/ops/v1alpha1/perconaxtradbopsrequest.go +++ b/client/listers/ops/v1alpha1/perconaxtradbopsrequest.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // PerconaXtraDBOpsRequestLister helps list PerconaXtraDBOpsRequests. diff --git a/client/listers/ops/v1alpha1/pgbounceropsrequest.go b/client/listers/ops/v1alpha1/pgbounceropsrequest.go index c551f8a32a..2b7eb4110d 100644 --- a/client/listers/ops/v1alpha1/pgbounceropsrequest.go +++ b/client/listers/ops/v1alpha1/pgbounceropsrequest.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // PgBouncerOpsRequestLister helps list PgBouncerOpsRequests. diff --git a/client/listers/ops/v1alpha1/postgresopsrequest.go b/client/listers/ops/v1alpha1/postgresopsrequest.go index 095c23ef64..109771b2b4 100644 --- a/client/listers/ops/v1alpha1/postgresopsrequest.go +++ b/client/listers/ops/v1alpha1/postgresopsrequest.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // PostgresOpsRequestLister helps list PostgresOpsRequests. diff --git a/client/listers/ops/v1alpha1/proxysqlopsrequest.go b/client/listers/ops/v1alpha1/proxysqlopsrequest.go index acaa813be0..95619423c4 100644 --- a/client/listers/ops/v1alpha1/proxysqlopsrequest.go +++ b/client/listers/ops/v1alpha1/proxysqlopsrequest.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // ProxySQLOpsRequestLister helps list ProxySQLOpsRequests. diff --git a/client/listers/ops/v1alpha1/redisopsrequest.go b/client/listers/ops/v1alpha1/redisopsrequest.go index 1b890841c6..578b6eb9f3 100644 --- a/client/listers/ops/v1alpha1/redisopsrequest.go +++ b/client/listers/ops/v1alpha1/redisopsrequest.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // RedisOpsRequestLister helps list RedisOpsRequests. diff --git a/client/listers/ops/v1alpha1/redissentinelopsrequest.go b/client/listers/ops/v1alpha1/redissentinelopsrequest.go index 05244c7226..af9fc0c507 100644 --- a/client/listers/ops/v1alpha1/redissentinelopsrequest.go +++ b/client/listers/ops/v1alpha1/redissentinelopsrequest.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // RedisSentinelOpsRequestLister helps list RedisSentinelOpsRequests. diff --git a/client/listers/postgres/v1alpha1/publisher.go b/client/listers/postgres/v1alpha1/publisher.go index d5ed388ace..d930694577 100644 --- a/client/listers/postgres/v1alpha1/publisher.go +++ b/client/listers/postgres/v1alpha1/publisher.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" ) // PublisherLister helps list Publishers. diff --git a/client/listers/postgres/v1alpha1/subscriber.go b/client/listers/postgres/v1alpha1/subscriber.go index 02730a578b..3822bfd255 100644 --- a/client/listers/postgres/v1alpha1/subscriber.go +++ b/client/listers/postgres/v1alpha1/subscriber.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" ) // SubscriberLister helps list Subscribers. diff --git a/client/listers/schema/v1alpha1/mariadbdatabase.go b/client/listers/schema/v1alpha1/mariadbdatabase.go index b4a30c74ef..87613e90d0 100644 --- a/client/listers/schema/v1alpha1/mariadbdatabase.go +++ b/client/listers/schema/v1alpha1/mariadbdatabase.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // MariaDBDatabaseLister helps list MariaDBDatabases. diff --git a/client/listers/schema/v1alpha1/mongodbdatabase.go b/client/listers/schema/v1alpha1/mongodbdatabase.go index a96e3ba219..30d732117e 100644 --- a/client/listers/schema/v1alpha1/mongodbdatabase.go +++ b/client/listers/schema/v1alpha1/mongodbdatabase.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // MongoDBDatabaseLister helps list MongoDBDatabases. diff --git a/client/listers/schema/v1alpha1/mysqldatabase.go b/client/listers/schema/v1alpha1/mysqldatabase.go index 226db04809..dd6a18c2f4 100644 --- a/client/listers/schema/v1alpha1/mysqldatabase.go +++ b/client/listers/schema/v1alpha1/mysqldatabase.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // MySQLDatabaseLister helps list MySQLDatabases. diff --git a/client/listers/schema/v1alpha1/postgresdatabase.go b/client/listers/schema/v1alpha1/postgresdatabase.go index fc7e91219c..a3245ac58a 100644 --- a/client/listers/schema/v1alpha1/postgresdatabase.go +++ b/client/listers/schema/v1alpha1/postgresdatabase.go @@ -19,11 +19,10 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // PostgresDatabaseLister helps list PostgresDatabases. diff --git a/crds/kubedb.com_elasticsearches.yaml b/crds/kubedb.com_elasticsearches.yaml index 32cf1e864d..f09542dd1c 100644 --- a/crds/kubedb.com_elasticsearches.yaml +++ b/crds/kubedb.com_elasticsearches.yaml @@ -1018,6 +1018,8 @@ spec: type: object kernelSettings: properties: + disableDefaults: + type: boolean privileged: type: boolean sysctls: From ff5685ac7b57250da00b5e662fec42d3062aad1d Mon Sep 17 00:00:00 2001 From: raihankhan Date: Fri, 24 Nov 2023 11:27:28 +0600 Subject: [PATCH 3/8] Update Elasticsearch defaults Signed-off-by: raihankhan --- apis/kubedb/v1alpha2/elasticsearch_helpers.go | 72 +++++++------------ 1 file changed, 24 insertions(+), 48 deletions(-) diff --git a/apis/kubedb/v1alpha2/elasticsearch_helpers.go b/apis/kubedb/v1alpha2/elasticsearch_helpers.go index d2a3bcdf7f..ea7fd29ca0 100644 --- a/apis/kubedb/v1alpha2/elasticsearch_helpers.go +++ b/apis/kubedb/v1alpha2/elasticsearch_helpers.go @@ -385,61 +385,38 @@ func (e Elasticsearch) StatsServiceLabels() map[string]string { return e.ServiceLabels(StatsServiceAlias, map[string]string{LabelRole: RoleStats}) } -func setDefaultContainerSecurityContext(containerSecurityContext *core.SecurityContext) { - if containerSecurityContext.AllowPrivilegeEscalation == nil { - containerSecurityContext.AllowPrivilegeEscalation = pointer.BoolP(false) - } - if containerSecurityContext.RunAsNonRoot == nil { - containerSecurityContext.RunAsNonRoot = pointer.BoolP(true) - } - if containerSecurityContext.RunAsUser == nil { - containerSecurityContext.RunAsUser = pointer.Int64P(1000) +func (e Elasticsearch) setContainerSecurityContextDefaults(podTemplate *ofst.PodTemplateSpec) { + if podTemplate == nil { + return } - if containerSecurityContext.RunAsGroup == nil { - containerSecurityContext.RunAsGroup = pointer.Int64P(1000) + if podTemplate.Spec.ContainerSecurityContext == nil { + podTemplate.Spec.ContainerSecurityContext = &core.SecurityContext{} } - capabilities := &core.Capabilities{} - if containerSecurityContext.Capabilities != nil { - capabilities = containerSecurityContext.Capabilities + e.assignDefaultContainerSecurityContext(podTemplate.Spec.ContainerSecurityContext) +} + +func (e Elasticsearch) assignDefaultContainerSecurityContext(sc *core.SecurityContext) { + if sc.AllowPrivilegeEscalation == nil { + sc.AllowPrivilegeEscalation = pointer.BoolP(false) } - if len(capabilities.Drop) == 0 { - capabilities.Drop = []core.Capability{"ALL"} + if sc.Capabilities == nil { + sc.Capabilities = &core.Capabilities{ + Drop: []core.Capability{"ALL"}, + } } - containerSecurityContext.Capabilities = capabilities - seccomProfile := &core.SeccompProfile{} - if containerSecurityContext.SeccompProfile != nil { - seccomProfile = containerSecurityContext.SeccompProfile + if sc.RunAsNonRoot == nil { + sc.RunAsNonRoot = pointer.BoolP(true) } - if seccomProfile.Type == "" { - seccomProfile.Type = core.SeccompProfileTypeRuntimeDefault + if sc.RunAsUser == nil { + sc.RunAsUser = pointer.Int64P(1000) } - containerSecurityContext.SeccompProfile = seccomProfile -} - -func (e *Elasticsearch) setDefaultContainerSecurityContextForMonitor() { - containerSecurityContext := &core.SecurityContext{} - if e.Spec.Monitor != nil && e.Spec.Monitor.Agent.Vendor() == mona.VendorPrometheus { - if e.Spec.Monitor.Prometheus == nil { - setDefaultContainerSecurityContext(containerSecurityContext) - e.Spec.Monitor.Prometheus = &mona.PrometheusSpec{} - e.Spec.Monitor.Prometheus.Exporter.SecurityContext = containerSecurityContext - return + if sc.SeccompProfile == nil { + sc.SeccompProfile = &core.SeccompProfile{ + Type: core.SeccompProfileTypeRuntimeDefault, } - containerSecurityContext = e.Spec.Monitor.Prometheus.Exporter.SecurityContext - setDefaultContainerSecurityContext(containerSecurityContext) - e.Spec.Monitor.Prometheus.Exporter.SecurityContext = containerSecurityContext } } -func (e *Elasticsearch) setDefaultContainerSecurityContextForPodTemplate() { - containerSecurityContext := &core.SecurityContext{} - if e.Spec.PodTemplate.Spec.ContainerSecurityContext != nil { - containerSecurityContext = e.Spec.PodTemplate.Spec.ContainerSecurityContext - } - setDefaultContainerSecurityContext(containerSecurityContext) - e.Spec.PodTemplate.Spec.ContainerSecurityContext = containerSecurityContext -} - func (e *Elasticsearch) SetDefaults(esVersion *catalog.ElasticsearchVersion, topology *core_util.Topology) { if e == nil { return @@ -616,11 +593,10 @@ func (e *Elasticsearch) SetDefaults(esVersion *catalog.ElasticsearchVersion, top } } - e.setDefaultContainerSecurityContextForPodTemplate() - e.setDefaultContainerSecurityContextForMonitor() e.setDefaultAffinity(&e.Spec.PodTemplate, e.OffshootSelectors(), topology) - e.SetTLSDefaults(esVersion) + e.setContainerSecurityContextDefaults(&e.Spec.PodTemplate) e.setDefaultInternalUsersAndRoleMappings(esVersion) + e.SetTLSDefaults(esVersion) e.Spec.Monitor.SetDefaults() } From dd203d72c329224cb1873b6816c59b7ac0f402e4 Mon Sep 17 00:00:00 2001 From: raihankhan Date: Fri, 24 Nov 2023 12:44:27 +0600 Subject: [PATCH 4/8] Re-format Signed-off-by: raihankhan --- .config/api-rules/violation_exceptions.list | 166 +++++++++++++++--- .../v1alpha1/zz_generated.deepcopy.go | 3 +- .../elasticsearchdashboard_webhook.go | 53 +----- .../v1alpha1/zz_generated.deepcopy.go | 3 +- apis/kubedb/v1alpha2/elasticsearch_helpers.go | 27 +++ apis/ops/v1alpha1/zz_generated.deepcopy.go | 3 +- client/clientset/versioned/clientset.go | 7 +- .../versioned/fake/clientset_generated.go | 11 +- client/clientset/versioned/fake/register.go | 11 +- client/clientset/versioned/scheme/register.go | 11 +- .../v1alpha1/autoscaling_client.go | 3 +- .../v1alpha1/elasticsearchautoscaler.go | 5 +- .../autoscaling/v1alpha1/etcdautoscaler.go | 5 +- .../v1alpha1/fake/fake_autoscaling_client.go | 3 +- .../fake/fake_elasticsearchautoscaler.go | 3 +- .../v1alpha1/fake/fake_etcdautoscaler.go | 3 +- .../v1alpha1/fake/fake_mariadbautoscaler.go | 3 +- .../v1alpha1/fake/fake_memcachedautoscaler.go | 3 +- .../v1alpha1/fake/fake_mongodbautoscaler.go | 3 +- .../v1alpha1/fake/fake_mysqlautoscaler.go | 3 +- .../fake/fake_perconaxtradbautoscaler.go | 3 +- .../v1alpha1/fake/fake_pgbouncerautoscaler.go | 3 +- .../v1alpha1/fake/fake_postgresautoscaler.go | 3 +- .../v1alpha1/fake/fake_proxysqlautoscaler.go | 3 +- .../v1alpha1/fake/fake_redisautoscaler.go | 3 +- .../fake/fake_redissentinelautoscaler.go | 3 +- .../autoscaling/v1alpha1/mariadbautoscaler.go | 5 +- .../v1alpha1/memcachedautoscaler.go | 5 +- .../autoscaling/v1alpha1/mongodbautoscaler.go | 5 +- .../autoscaling/v1alpha1/mysqlautoscaler.go | 5 +- .../v1alpha1/perconaxtradbautoscaler.go | 5 +- .../v1alpha1/pgbouncerautoscaler.go | 5 +- .../v1alpha1/postgresautoscaler.go | 5 +- .../v1alpha1/proxysqlautoscaler.go | 5 +- .../autoscaling/v1alpha1/redisautoscaler.go | 5 +- .../v1alpha1/redissentinelautoscaler.go | 5 +- .../typed/catalog/v1alpha1/catalog_client.go | 3 +- .../catalog/v1alpha1/elasticsearchversion.go | 5 +- .../typed/catalog/v1alpha1/etcdversion.go | 5 +- .../v1alpha1/fake/fake_catalog_client.go | 3 +- .../fake/fake_elasticsearchversion.go | 3 +- .../catalog/v1alpha1/fake/fake_etcdversion.go | 3 +- .../v1alpha1/fake/fake_kafkaversion.go | 3 +- .../v1alpha1/fake/fake_mariadbversion.go | 3 +- .../v1alpha1/fake/fake_memcachedversion.go | 3 +- .../v1alpha1/fake/fake_mongodbversion.go | 3 +- .../v1alpha1/fake/fake_mysqlversion.go | 3 +- .../fake/fake_perconaxtradbversion.go | 3 +- .../v1alpha1/fake/fake_pgbouncerversion.go | 3 +- .../v1alpha1/fake/fake_postgresversion.go | 3 +- .../v1alpha1/fake/fake_proxysqlversion.go | 3 +- .../v1alpha1/fake/fake_redisversion.go | 3 +- .../typed/catalog/v1alpha1/kafkaversion.go | 5 +- .../typed/catalog/v1alpha1/mariadbversion.go | 5 +- .../catalog/v1alpha1/memcachedversion.go | 5 +- .../typed/catalog/v1alpha1/mongodbversion.go | 5 +- .../typed/catalog/v1alpha1/mysqlversion.go | 5 +- .../catalog/v1alpha1/perconaxtradbversion.go | 5 +- .../catalog/v1alpha1/pgbouncerversion.go | 5 +- .../typed/catalog/v1alpha1/postgresversion.go | 5 +- .../typed/catalog/v1alpha1/proxysqlversion.go | 5 +- .../typed/catalog/v1alpha1/redisversion.go | 5 +- .../typed/config/v1alpha1/config_client.go | 3 +- .../dashboard/v1alpha1/dashboard_client.go | 3 +- .../v1alpha1/elasticsearchdashboard.go | 5 +- .../v1alpha1/fake/fake_dashboard_client.go | 3 +- .../fake/fake_elasticsearchdashboard.go | 3 +- .../typed/kubedb/v1alpha1/kubedb_client.go | 3 +- .../typed/kubedb/v1alpha2/elasticsearch.go | 5 +- .../versioned/typed/kubedb/v1alpha2/etcd.go | 5 +- .../v1alpha2/fake/fake_elasticsearch.go | 3 +- .../typed/kubedb/v1alpha2/fake/fake_etcd.go | 3 +- .../typed/kubedb/v1alpha2/fake/fake_kafka.go | 3 +- .../v1alpha2/fake/fake_kubedb_client.go | 3 +- .../kubedb/v1alpha2/fake/fake_mariadb.go | 3 +- .../kubedb/v1alpha2/fake/fake_memcached.go | 3 +- .../kubedb/v1alpha2/fake/fake_mongodb.go | 3 +- .../typed/kubedb/v1alpha2/fake/fake_mysql.go | 3 +- .../v1alpha2/fake/fake_perconaxtradb.go | 3 +- .../kubedb/v1alpha2/fake/fake_pgbouncer.go | 3 +- .../kubedb/v1alpha2/fake/fake_postgres.go | 3 +- .../kubedb/v1alpha2/fake/fake_proxysql.go | 3 +- .../typed/kubedb/v1alpha2/fake/fake_redis.go | 3 +- .../v1alpha2/fake/fake_redissentinel.go | 3 +- .../versioned/typed/kubedb/v1alpha2/kafka.go | 5 +- .../typed/kubedb/v1alpha2/kubedb_client.go | 3 +- .../typed/kubedb/v1alpha2/mariadb.go | 5 +- .../typed/kubedb/v1alpha2/memcached.go | 5 +- .../typed/kubedb/v1alpha2/mongodb.go | 5 +- .../versioned/typed/kubedb/v1alpha2/mysql.go | 5 +- .../typed/kubedb/v1alpha2/perconaxtradb.go | 5 +- .../typed/kubedb/v1alpha2/pgbouncer.go | 5 +- .../typed/kubedb/v1alpha2/postgres.go | 5 +- .../typed/kubedb/v1alpha2/proxysql.go | 5 +- .../versioned/typed/kubedb/v1alpha2/redis.go | 5 +- .../typed/kubedb/v1alpha2/redissentinel.go | 5 +- .../ops/v1alpha1/elasticsearchopsrequest.go | 5 +- .../typed/ops/v1alpha1/etcdopsrequest.go | 5 +- .../fake/fake_elasticsearchopsrequest.go | 3 +- .../ops/v1alpha1/fake/fake_etcdopsrequest.go | 3 +- .../ops/v1alpha1/fake/fake_kafkaopsrequest.go | 3 +- .../v1alpha1/fake/fake_mariadbopsrequest.go | 3 +- .../v1alpha1/fake/fake_memcachedopsrequest.go | 3 +- .../v1alpha1/fake/fake_mongodbopsrequest.go | 3 +- .../ops/v1alpha1/fake/fake_mysqlopsrequest.go | 3 +- .../ops/v1alpha1/fake/fake_ops_client.go | 3 +- .../fake/fake_perconaxtradbopsrequest.go | 3 +- .../v1alpha1/fake/fake_pgbounceropsrequest.go | 3 +- .../v1alpha1/fake/fake_postgresopsrequest.go | 3 +- .../v1alpha1/fake/fake_proxysqlopsrequest.go | 3 +- .../ops/v1alpha1/fake/fake_redisopsrequest.go | 3 +- .../fake/fake_redissentinelopsrequest.go | 3 +- .../typed/ops/v1alpha1/kafkaopsrequest.go | 5 +- .../typed/ops/v1alpha1/mariadbopsrequest.go | 5 +- .../typed/ops/v1alpha1/memcachedopsrequest.go | 5 +- .../typed/ops/v1alpha1/mongodbopsrequest.go | 5 +- .../typed/ops/v1alpha1/mysqlopsrequest.go | 5 +- .../typed/ops/v1alpha1/ops_client.go | 3 +- .../ops/v1alpha1/perconaxtradbopsrequest.go | 5 +- .../typed/ops/v1alpha1/pgbounceropsrequest.go | 5 +- .../typed/ops/v1alpha1/postgresopsrequest.go | 5 +- .../typed/ops/v1alpha1/proxysqlopsrequest.go | 5 +- .../typed/ops/v1alpha1/redisopsrequest.go | 5 +- .../ops/v1alpha1/redissentinelopsrequest.go | 5 +- .../v1alpha1/fake/fake_postgres_client.go | 3 +- .../postgres/v1alpha1/fake/fake_publisher.go | 3 +- .../postgres/v1alpha1/fake/fake_subscriber.go | 3 +- .../postgres/v1alpha1/postgres_client.go | 3 +- .../typed/postgres/v1alpha1/publisher.go | 5 +- .../typed/postgres/v1alpha1/subscriber.go | 5 +- .../v1alpha1/fake/fake_mariadbdatabase.go | 3 +- .../v1alpha1/fake/fake_mongodbdatabase.go | 3 +- .../v1alpha1/fake/fake_mysqldatabase.go | 3 +- .../v1alpha1/fake/fake_postgresdatabase.go | 3 +- .../v1alpha1/fake/fake_schema_client.go | 3 +- .../typed/schema/v1alpha1/mariadbdatabase.go | 5 +- .../typed/schema/v1alpha1/mongodbdatabase.go | 5 +- .../typed/schema/v1alpha1/mysqldatabase.go | 5 +- .../typed/schema/v1alpha1/postgresdatabase.go | 5 +- .../typed/schema/v1alpha1/schema_client.go | 3 +- .../versioned/typed/ui/v1alpha1/ui_client.go | 3 +- .../v1alpha1/elasticsearchautoscaler.go | 9 +- .../autoscaling/v1alpha1/etcdautoscaler.go | 9 +- .../autoscaling/v1alpha1/mariadbautoscaler.go | 9 +- .../v1alpha1/memcachedautoscaler.go | 9 +- .../autoscaling/v1alpha1/mongodbautoscaler.go | 9 +- .../autoscaling/v1alpha1/mysqlautoscaler.go | 9 +- .../v1alpha1/perconaxtradbautoscaler.go | 9 +- .../v1alpha1/pgbouncerautoscaler.go | 9 +- .../v1alpha1/postgresautoscaler.go | 9 +- .../v1alpha1/proxysqlautoscaler.go | 9 +- .../autoscaling/v1alpha1/redisautoscaler.go | 9 +- .../v1alpha1/redissentinelautoscaler.go | 9 +- .../catalog/v1alpha1/elasticsearchversion.go | 9 +- .../catalog/v1alpha1/etcdversion.go | 9 +- .../catalog/v1alpha1/kafkaversion.go | 9 +- .../catalog/v1alpha1/mariadbversion.go | 9 +- .../catalog/v1alpha1/memcachedversion.go | 9 +- .../catalog/v1alpha1/mongodbversion.go | 9 +- .../catalog/v1alpha1/mysqlversion.go | 9 +- .../catalog/v1alpha1/perconaxtradbversion.go | 9 +- .../catalog/v1alpha1/pgbouncerversion.go | 9 +- .../catalog/v1alpha1/postgresversion.go | 9 +- .../catalog/v1alpha1/proxysqlversion.go | 9 +- .../catalog/v1alpha1/redisversion.go | 9 +- .../v1alpha1/elasticsearchdashboard.go | 9 +- client/informers/externalversions/factory.go | 9 +- client/informers/externalversions/generic.go | 5 +- .../internalinterfaces/factory_interfaces.go | 3 +- .../kubedb/v1alpha2/elasticsearch.go | 9 +- .../externalversions/kubedb/v1alpha2/etcd.go | 9 +- .../externalversions/kubedb/v1alpha2/kafka.go | 9 +- .../kubedb/v1alpha2/mariadb.go | 9 +- .../kubedb/v1alpha2/memcached.go | 9 +- .../kubedb/v1alpha2/mongodb.go | 9 +- .../externalversions/kubedb/v1alpha2/mysql.go | 9 +- .../kubedb/v1alpha2/perconaxtradb.go | 9 +- .../kubedb/v1alpha2/pgbouncer.go | 9 +- .../kubedb/v1alpha2/postgres.go | 9 +- .../kubedb/v1alpha2/proxysql.go | 9 +- .../externalversions/kubedb/v1alpha2/redis.go | 9 +- .../kubedb/v1alpha2/redissentinel.go | 9 +- .../ops/v1alpha1/elasticsearchopsrequest.go | 9 +- .../ops/v1alpha1/etcdopsrequest.go | 9 +- .../ops/v1alpha1/kafkaopsrequest.go | 9 +- .../ops/v1alpha1/mariadbopsrequest.go | 9 +- .../ops/v1alpha1/memcachedopsrequest.go | 9 +- .../ops/v1alpha1/mongodbopsrequest.go | 9 +- .../ops/v1alpha1/mysqlopsrequest.go | 9 +- .../ops/v1alpha1/perconaxtradbopsrequest.go | 9 +- .../ops/v1alpha1/pgbounceropsrequest.go | 9 +- .../ops/v1alpha1/postgresopsrequest.go | 9 +- .../ops/v1alpha1/proxysqlopsrequest.go | 9 +- .../ops/v1alpha1/redisopsrequest.go | 9 +- .../ops/v1alpha1/redissentinelopsrequest.go | 9 +- .../postgres/v1alpha1/publisher.go | 9 +- .../postgres/v1alpha1/subscriber.go | 9 +- .../schema/v1alpha1/mariadbdatabase.go | 9 +- .../schema/v1alpha1/mongodbdatabase.go | 9 +- .../schema/v1alpha1/mysqldatabase.go | 9 +- .../schema/v1alpha1/postgresdatabase.go | 9 +- .../v1alpha1/elasticsearchautoscaler.go | 3 +- .../autoscaling/v1alpha1/etcdautoscaler.go | 3 +- .../autoscaling/v1alpha1/mariadbautoscaler.go | 3 +- .../v1alpha1/memcachedautoscaler.go | 3 +- .../autoscaling/v1alpha1/mongodbautoscaler.go | 3 +- .../autoscaling/v1alpha1/mysqlautoscaler.go | 3 +- .../v1alpha1/perconaxtradbautoscaler.go | 3 +- .../v1alpha1/pgbouncerautoscaler.go | 3 +- .../v1alpha1/postgresautoscaler.go | 3 +- .../v1alpha1/proxysqlautoscaler.go | 3 +- .../autoscaling/v1alpha1/redisautoscaler.go | 3 +- .../v1alpha1/redissentinelautoscaler.go | 3 +- .../catalog/v1alpha1/elasticsearchversion.go | 3 +- .../listers/catalog/v1alpha1/etcdversion.go | 3 +- .../listers/catalog/v1alpha1/kafkaversion.go | 3 +- .../catalog/v1alpha1/mariadbversion.go | 3 +- .../catalog/v1alpha1/memcachedversion.go | 3 +- .../catalog/v1alpha1/mongodbversion.go | 3 +- .../listers/catalog/v1alpha1/mysqlversion.go | 3 +- .../catalog/v1alpha1/perconaxtradbversion.go | 3 +- .../catalog/v1alpha1/pgbouncerversion.go | 3 +- .../catalog/v1alpha1/postgresversion.go | 3 +- .../catalog/v1alpha1/proxysqlversion.go | 3 +- .../listers/catalog/v1alpha1/redisversion.go | 3 +- .../v1alpha1/elasticsearchdashboard.go | 3 +- .../listers/kubedb/v1alpha2/elasticsearch.go | 3 +- client/listers/kubedb/v1alpha2/etcd.go | 3 +- client/listers/kubedb/v1alpha2/kafka.go | 3 +- client/listers/kubedb/v1alpha2/mariadb.go | 3 +- client/listers/kubedb/v1alpha2/memcached.go | 3 +- client/listers/kubedb/v1alpha2/mongodb.go | 3 +- client/listers/kubedb/v1alpha2/mysql.go | 3 +- .../listers/kubedb/v1alpha2/perconaxtradb.go | 3 +- client/listers/kubedb/v1alpha2/pgbouncer.go | 3 +- client/listers/kubedb/v1alpha2/postgres.go | 3 +- client/listers/kubedb/v1alpha2/proxysql.go | 3 +- client/listers/kubedb/v1alpha2/redis.go | 3 +- .../listers/kubedb/v1alpha2/redissentinel.go | 3 +- .../ops/v1alpha1/elasticsearchopsrequest.go | 3 +- client/listers/ops/v1alpha1/etcdopsrequest.go | 3 +- .../listers/ops/v1alpha1/kafkaopsrequest.go | 3 +- .../listers/ops/v1alpha1/mariadbopsrequest.go | 3 +- .../ops/v1alpha1/memcachedopsrequest.go | 3 +- .../listers/ops/v1alpha1/mongodbopsrequest.go | 3 +- .../listers/ops/v1alpha1/mysqlopsrequest.go | 3 +- .../ops/v1alpha1/perconaxtradbopsrequest.go | 3 +- .../ops/v1alpha1/pgbounceropsrequest.go | 3 +- .../ops/v1alpha1/postgresopsrequest.go | 3 +- .../ops/v1alpha1/proxysqlopsrequest.go | 3 +- .../listers/ops/v1alpha1/redisopsrequest.go | 3 +- .../ops/v1alpha1/redissentinelopsrequest.go | 3 +- client/listers/postgres/v1alpha1/publisher.go | 3 +- .../listers/postgres/v1alpha1/subscriber.go | 3 +- .../schema/v1alpha1/mariadbdatabase.go | 3 +- .../schema/v1alpha1/mongodbdatabase.go | 3 +- .../listers/schema/v1alpha1/mysqldatabase.go | 3 +- .../schema/v1alpha1/postgresdatabase.go | 3 +- openapi/swagger.json | 4 + 259 files changed, 933 insertions(+), 574 deletions(-) diff --git a/.config/api-rules/violation_exceptions.list b/.config/api-rules/violation_exceptions.list index f055ad575f..fb240cb207 100644 --- a/.config/api-rules/violation_exceptions.list +++ b/.config/api-rules/violation_exceptions.list @@ -178,20 +178,32 @@ API rule violation: list_type_missing,kmodules.xyz/offshoot-api/api/v1,PodSpec,V API rule violation: list_type_missing,kmodules.xyz/offshoot-api/api/v1,ServiceSpec,ExternalIPs API rule violation: list_type_missing,kmodules.xyz/offshoot-api/api/v1,ServiceSpec,LoadBalancerSourceRanges API rule violation: list_type_missing,kmodules.xyz/offshoot-api/api/v1,ServiceSpec,Ports -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,AutoscalerStatus,Checkpoints -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,AutoscalerStatus,Conditions -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,AutoscalerStatus,VPAs -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,ComputeAutoscalerSpec,ControlledResources -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,EtcdAutoscalerSpec,Metrics -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,EtcdScalingRules,Policies -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,HistogramCheckpoint,BucketWeights -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,MemcachedAutoscalerSpec,Metrics -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,MemcachedScalingRules,Policies -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,PgBouncerAutoscalerSpec,Metrics -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,PgBouncerScalingRules,Policies -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,PodResourcePolicy,ContainerPolicies -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,RecommendedPodResources,ContainerRecommendations -API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,VPAStatus,Conditions +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ElasticsearchNodesStatSpec,Roles +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ElasticsearchNodesStatsSpec,Nodes +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ElasticsearchSchemaOverviewSpec,Indices +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,GenericSchemaOverviewSpec,Databases +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,MariaDBQueriesSpec,Queries +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,MongoDBCollectionSpec,TotalSize +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,MongoDBQueriesSpec,Queries +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,MongoDBSchemaOverviewSpec,Collections +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,MySQLQueriesSpec,Queries +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PgBouncerInsightSpec,PodInsights +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PgBouncerPoolOverviewSpec,Pools +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PgBouncerServerOverviewSpec,Servers +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PgBouncerSettingsSpec,Settings +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PodInsight,QueryTypeInsight +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PostgresInsightSpec,ReplicationStatus +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PostgresQueriesSpec,Queries +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,PostgresSettingsSpec,Settings +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLInsightSpec,PodInsights +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLQueriesSpec,Queries +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLQuerySpec,SlowQueries +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,MySQLQueryRules +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,MySQLServers +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,ProxySQLServers +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,RedisQueriesSpec,Queries +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,RedisQuerySpec,Args +API rule violation: list_type_missing,kubedb.dev/apimachinery/apis/ui/v1alpha1,RedisSchemaOverviewSpec,Databases API rule violation: names_match,k8s.io/api/core/v1,AzureDiskVolumeSource,DataDiskURI API rule violation: names_match,k8s.io/api/core/v1,ContainerStatus,LastTerminationState API rule violation: names_match,k8s.io/api/core/v1,DaemonEndpoint,Port @@ -242,11 +254,121 @@ API rule violation: names_match,kmodules.xyz/client-go/api/v1,TimeOfDay,Time API rule violation: names_match,kmodules.xyz/offshoot-api/api/v1,ContainerRuntimeSettings,IONice API rule violation: names_match,kmodules.xyz/offshoot-api/api/v1,VolumeSource,CephFS API rule violation: names_match,kmodules.xyz/offshoot-api/api/v1,VolumeSource,StorageOS -API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,AutoscalerStatus,VPAs -API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,MariaDBComputeAutoscalerSpec,MariaDB -API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,MariaDBStorageAutoscalerSpec,MariaDB -API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,MySQLComputeAutoscalerSpec,MySQL -API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,MySQLStorageAutoscalerSpec,MySQL -API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,PerconaXtraDBComputeAutoscalerSpec,PerconaXtraDB -API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,PerconaXtraDBStorageAutoscalerSpec,PerconaXtraDB -API rule violation: names_match,kubedb.dev/apimachinery/apis/autoscaling/v1alpha1,ProxySQLComputeAutoscalerSpec,ProxySQL +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,MongoDBCollectionSpec,TotalSize +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsCompletionFields,SizeBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsCompletionFields,TotalSize +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsCompletionStats,SizeBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsCompletionStats,TotalSize +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsFieldDataFields,MemorySize +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsFieldDataFields,MemorySizeBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsFielddataStats,MemorySize +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsFielddataStats,MemorySizeBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsFlushStats,TotalTime +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsFlushStats,TotalTimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsGetStats,ExistsTime +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsGetStats,ExistsTimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsGetStats,MissingTime +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsGetStats,MissingTimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsGetStats,Time +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsGetStats,TimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndex,IndicesLevel +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndex,QueryCache +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndex,RequestCache +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndex,Shards +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndex,ShardsLevel +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,DeleteCurrent +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,DeleteTime +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,DeleteTimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,DeleteTotal +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,IndexCurrent +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,IndexFailed +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,IndexTime +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,IndexTimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,IndexTotal +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,IsThrottled +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,NoopUpdateTotal +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,ThrottledTime +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsIndexingStats,ThrottledTimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,CurrentDocs +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,CurrentSize +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,CurrentSizeBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalDocs +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalSize +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalSizeBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalStoppedTime +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalStoppedTimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalThrottleBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalThrottleBytesBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalThrottledTime +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalThrottledTimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalTime +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsMergeStats,TotalTimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSCPU,LoadAverage +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSMem,FreeBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSMem,FreePercent +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSMem,TotalBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSMem,UsedBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSMem,UsedPercent +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSSwap,FreeBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSSwap,TotalBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsNodeOSSwap,UsedBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsQueryCacheStats,CacheCount +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsQueryCacheStats,CacheSize +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsQueryCacheStats,HitCount +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsQueryCacheStats,MemorySize +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsQueryCacheStats,MemorySizeBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsQueryCacheStats,MissCount +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsQueryCacheStats,TotalCount +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRecoveryStats,CurrentAsSource +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRecoveryStats,CurrentAsTarget +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRefreshStats,TotalTime +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRefreshStats,TotalTimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRequestCacheStats,HitCount +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRequestCacheStats,MemorySize +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRequestCacheStats,MemorySizeBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsRequestCacheStats,MissCount +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,FetchCurrent +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,FetchTime +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,FetchTimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,FetchTotal +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,OpenContexts +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,QueryCurrent +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,QueryTime +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,QueryTimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,QueryTotal +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,ScrollCurrent +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,ScrollTime +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,ScrollTimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSearchStats,ScrollTotal +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,DocValuesMemory +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,DocValuesMemoryBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,FixedBitSetMemory +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,FixedBitSetMemoryBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,IndexWriterMaxMemory +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,IndexWriterMaxMemoryBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,IndexWriterMemory +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,IndexWriterMemoryBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,MemoryBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,NormsMemory +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,NormsMemoryBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,StoredFieldsMemory +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,StoredFieldsMemoryBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,TermVectorsMemory +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,TermVectorsMemoryBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,TermsMemory +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,TermsMemoryBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,VersionMapMemory +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsSegmentsStats,VersionMapMemoryBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsShardCountStats,TotalCount +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsStoreStats,SizeBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsStoreStats,TotalSize +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsTranslogStats,SizeBytes +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsTranslogStats,TotalSize +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsWarmerStats,TotalTime +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,NodesStatsWarmerStats,TotalTimeInMillis +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,PodInsight,QueryTypeInsight +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,AdminVariables +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,MySQLQueryRules +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,MySQLServers +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,MySQLVariables +API rule violation: names_match,kubedb.dev/apimachinery/apis/ui/v1alpha1,ProxySQLSettingsSpec,ProxySQLServers diff --git a/apis/autoscaling/v1alpha1/zz_generated.deepcopy.go b/apis/autoscaling/v1alpha1/zz_generated.deepcopy.go index 21328db423..8fc9151cc0 100644 --- a/apis/autoscaling/v1alpha1/zz_generated.deepcopy.go +++ b/apis/autoscaling/v1alpha1/zz_generated.deepcopy.go @@ -22,12 +22,13 @@ limitations under the License. package v1alpha1 import ( + opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + v2beta2 "k8s.io/api/autoscaling/v2beta2" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" v1 "kmodules.xyz/client-go/api/v1" - opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. diff --git a/apis/dashboard/v1alpha1/elasticsearchdashboard_webhook.go b/apis/dashboard/v1alpha1/elasticsearchdashboard_webhook.go index 90c0640bda..8ea7002b04 100644 --- a/apis/dashboard/v1alpha1/elasticsearchdashboard_webhook.go +++ b/apis/dashboard/v1alpha1/elasticsearchdashboard_webhook.go @@ -18,12 +18,11 @@ package v1alpha1 import ( "fmt" - ofst "kmodules.xyz/offshoot-api/api/v1" + "kubedb.dev/apimachinery/apis" api "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" amv "kubedb.dev/apimachinery/pkg/validator" - "github.com/pkg/errors" "gomodules.xyz/pointer" core "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" @@ -31,6 +30,7 @@ import ( "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/util/validation/field" kmapi "kmodules.xyz/client-go/api/v1" + ofst "kmodules.xyz/offshoot-api/api/v1" "sigs.k8s.io/controller-runtime/pkg/builder" logf "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/manager" @@ -180,55 +180,6 @@ func (ed *ElasticsearchDashboard) ValidateDelete() error { ed.Name, allErr) } -func validateContainerCapabilities(ed *ElasticsearchDashboard) error { - capabilities := ed.Spec.PodTemplate.Spec.ContainerSecurityContext.Capabilities - if len(capabilities.Add) > 0 { - return errors.Errorf("Can't add user provided capabilities") - } - - if len(capabilities.Drop) != 1 { - return errors.Errorf("Can't drop more than one capability") - } - - if capabilities.Drop[0] != "ALL" { - return errors.Errorf("Have to drop all capabilities") - } - return nil -} - -func validateContainerUserAndGroup(ed *ElasticsearchDashboard) error { - if ed.Spec.PodTemplate.Spec.ContainerSecurityContext.RunAsGroup != nil && *ed.Spec.PodTemplate.Spec.ContainerSecurityContext.RunAsGroup != 1000 { - return errors.Errorf("elasticsearch should run as a group elasticsearch (ID=1000)") - } - - if ed.Spec.PodTemplate.Spec.ContainerSecurityContext.RunAsUser != nil && *ed.Spec.PodTemplate.Spec.ContainerSecurityContext.RunAsUser != 1000 { - return errors.Errorf("elasticsearch should run as a user elasticsearch (ID=1000)") - } - - return nil -} - -func validateAllowedPriviledgeEscalation(ed *ElasticsearchDashboard) error { - if ed.Spec.PodTemplate.Spec.ContainerSecurityContext.AllowPrivilegeEscalation != nil && *ed.Spec.PodTemplate.Spec.ContainerSecurityContext.AllowPrivilegeEscalation { - return errors.Errorf("AllowedPrivilegeEscalation can't be true") - } - return nil -} - -func validateRunAsNonRoot(ed *ElasticsearchDashboard) error { - if ed.Spec.PodTemplate.Spec.ContainerSecurityContext.RunAsNonRoot != nil && !*ed.Spec.PodTemplate.Spec.ContainerSecurityContext.RunAsNonRoot { - return errors.Errorf("RunAsNonRoot can't be false") - } - return nil -} - -func validateSeccomprofile(ed *ElasticsearchDashboard) error { - if ed.Spec.PodTemplate.Spec.ContainerSecurityContext.SeccompProfile.Type != "" && ed.Spec.PodTemplate.Spec.ContainerSecurityContext.SeccompProfile.Type != core.SeccompProfileTypeRuntimeDefault { - return errors.Errorf("Seccomprofile type must be RuntimeDefault") - } - return nil -} - func (ed *ElasticsearchDashboard) Validate() error { var allErr field.ErrorList diff --git a/apis/dashboard/v1alpha1/zz_generated.deepcopy.go b/apis/dashboard/v1alpha1/zz_generated.deepcopy.go index 1769aba24c..93a7b51b19 100644 --- a/apis/dashboard/v1alpha1/zz_generated.deepcopy.go +++ b/apis/dashboard/v1alpha1/zz_generated.deepcopy.go @@ -22,10 +22,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/api/core/v1" runtime "k8s.io/apimachinery/pkg/runtime" apiv1 "kmodules.xyz/client-go/api/v1" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. diff --git a/apis/kubedb/v1alpha2/elasticsearch_helpers.go b/apis/kubedb/v1alpha2/elasticsearch_helpers.go index ea7fd29ca0..5902b83396 100644 --- a/apis/kubedb/v1alpha2/elasticsearch_helpers.go +++ b/apis/kubedb/v1alpha2/elasticsearch_helpers.go @@ -593,6 +593,33 @@ func (e *Elasticsearch) SetDefaults(esVersion *catalog.ElasticsearchVersion, top } } + // set default kernel settings + // - Ref: https://www.elastic.co/guide/en/elasticsearch/reference/7.9/vm-max-map-count.html + // if kernelSettings defaults is enabled systls-init container will be injected with the default vm_map_count settings + // if not init container will not be injected and default values will not be set + if e.Spec.KernelSettings != nil && !e.Spec.KernelSettings.DisableDefaults { + e.Spec.KernelSettings.Privileged = true + vmMapCountNotSet := true + if len(e.Spec.KernelSettings.Sysctls) != 0 { + for i := 0; i < len(e.Spec.KernelSettings.Sysctls); i++ { + if e.Spec.KernelSettings.Sysctls[i].Name == "vm.max_map_count" { + vmMapCountNotSet = false + break + } + } + } + if vmMapCountNotSet { + e.Spec.KernelSettings.Sysctls = append(e.Spec.KernelSettings.Sysctls, core.Sysctl{ + Name: "vm.max_map_count", + Value: "262144", + }) + } + } else { + e.Spec.KernelSettings = &KernelSettings{ + DisableDefaults: true, + } + } + e.setDefaultAffinity(&e.Spec.PodTemplate, e.OffshootSelectors(), topology) e.setContainerSecurityContextDefaults(&e.Spec.PodTemplate) e.setDefaultInternalUsersAndRoleMappings(esVersion) diff --git a/apis/ops/v1alpha1/zz_generated.deepcopy.go b/apis/ops/v1alpha1/zz_generated.deepcopy.go index 21717b96fa..d77f82930c 100644 --- a/apis/ops/v1alpha1/zz_generated.deepcopy.go +++ b/apis/ops/v1alpha1/zz_generated.deepcopy.go @@ -22,11 +22,12 @@ limitations under the License. package v1alpha1 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" apiv1 "kmodules.xyz/client-go/api/v1" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. diff --git a/client/clientset/versioned/clientset.go b/client/clientset/versioned/clientset.go index a6915c36ab..e94b95cf6a 100644 --- a/client/clientset/versioned/clientset.go +++ b/client/clientset/versioned/clientset.go @@ -22,9 +22,6 @@ import ( "fmt" "net/http" - discovery "k8s.io/client-go/discovery" - rest "k8s.io/client-go/rest" - flowcontrol "k8s.io/client-go/util/flowcontrol" autoscalingv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/autoscaling/v1alpha1" catalogv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/catalog/v1alpha1" configv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/config/v1alpha1" @@ -35,6 +32,10 @@ import ( postgresv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/postgres/v1alpha1" schemav1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/schema/v1alpha1" uiv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/ui/v1alpha1" + + discovery "k8s.io/client-go/discovery" + rest "k8s.io/client-go/rest" + flowcontrol "k8s.io/client-go/util/flowcontrol" ) type Interface interface { diff --git a/client/clientset/versioned/fake/clientset_generated.go b/client/clientset/versioned/fake/clientset_generated.go index 40121d5010..03880f765d 100644 --- a/client/clientset/versioned/fake/clientset_generated.go +++ b/client/clientset/versioned/fake/clientset_generated.go @@ -19,11 +19,6 @@ limitations under the License. package fake import ( - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/watch" - "k8s.io/client-go/discovery" - fakediscovery "k8s.io/client-go/discovery/fake" - "k8s.io/client-go/testing" clientset "kubedb.dev/apimachinery/client/clientset/versioned" autoscalingv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/autoscaling/v1alpha1" fakeautoscalingv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/autoscaling/v1alpha1/fake" @@ -45,6 +40,12 @@ import ( fakeschemav1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/schema/v1alpha1/fake" uiv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/ui/v1alpha1" fakeuiv1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/ui/v1alpha1/fake" + + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/watch" + "k8s.io/client-go/discovery" + fakediscovery "k8s.io/client-go/discovery/fake" + "k8s.io/client-go/testing" ) // NewSimpleClientset returns a clientset that will respond with the provided objects. diff --git a/client/clientset/versioned/fake/register.go b/client/clientset/versioned/fake/register.go index 32e966dda7..636b43b287 100644 --- a/client/clientset/versioned/fake/register.go +++ b/client/clientset/versioned/fake/register.go @@ -19,11 +19,6 @@ limitations under the License. package fake import ( - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - schema "k8s.io/apimachinery/pkg/runtime/schema" - serializer "k8s.io/apimachinery/pkg/runtime/serializer" - utilruntime "k8s.io/apimachinery/pkg/util/runtime" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" configv1alpha1 "kubedb.dev/apimachinery/apis/config/v1alpha1" @@ -34,6 +29,12 @@ import ( postgresv1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" uiv1alpha1 "kubedb.dev/apimachinery/apis/ui/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" ) var scheme = runtime.NewScheme() diff --git a/client/clientset/versioned/scheme/register.go b/client/clientset/versioned/scheme/register.go index 57070ac874..9b2a6a7f52 100644 --- a/client/clientset/versioned/scheme/register.go +++ b/client/clientset/versioned/scheme/register.go @@ -19,11 +19,6 @@ limitations under the License. package scheme import ( - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - schema "k8s.io/apimachinery/pkg/runtime/schema" - serializer "k8s.io/apimachinery/pkg/runtime/serializer" - utilruntime "k8s.io/apimachinery/pkg/util/runtime" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" configv1alpha1 "kubedb.dev/apimachinery/apis/config/v1alpha1" @@ -34,6 +29,12 @@ import ( postgresv1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" uiv1alpha1 "kubedb.dev/apimachinery/apis/ui/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" ) var Scheme = runtime.NewScheme() diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/autoscaling_client.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/autoscaling_client.go index c87831b34e..c21edf1363 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/autoscaling_client.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/autoscaling_client.go @@ -21,9 +21,10 @@ package v1alpha1 import ( "net/http" - rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + + rest "k8s.io/client-go/rest" ) type AutoscalingV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/elasticsearchautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/elasticsearchautoscaler.go index 10f0c486c0..7cd9d84315 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/elasticsearchautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/elasticsearchautoscaler.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ElasticsearchAutoscalersGetter has a method to return a ElasticsearchAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/etcdautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/etcdautoscaler.go index 28234c8834..c2b5a9a8e2 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/etcdautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/etcdautoscaler.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // EtcdAutoscalersGetter has a method to return a EtcdAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_autoscaling_client.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_autoscaling_client.go index 8d72d91fa7..437dbe06ae 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_autoscaling_client.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_autoscaling_client.go @@ -19,9 +19,10 @@ limitations under the License. package fake import ( + v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/autoscaling/v1alpha1" + rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/autoscaling/v1alpha1" ) type FakeAutoscalingV1alpha1 struct { diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_elasticsearchautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_elasticsearchautoscaler.go index e16e414eb2..65e297a1ad 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_elasticsearchautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_elasticsearchautoscaler.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeElasticsearchAutoscalers implements ElasticsearchAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_etcdautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_etcdautoscaler.go index 3a0a40b7da..ee6b60712f 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_etcdautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_etcdautoscaler.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeEtcdAutoscalers implements EtcdAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mariadbautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mariadbautoscaler.go index ad0fac4ca6..ba5b54481d 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mariadbautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mariadbautoscaler.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeMariaDBAutoscalers implements MariaDBAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_memcachedautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_memcachedautoscaler.go index 5ded1f04b2..d0c39209aa 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_memcachedautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_memcachedautoscaler.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeMemcachedAutoscalers implements MemcachedAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mongodbautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mongodbautoscaler.go index 95ab9e4e20..e31cd3b30a 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mongodbautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mongodbautoscaler.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeMongoDBAutoscalers implements MongoDBAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mysqlautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mysqlautoscaler.go index 22e9d658c3..9e77636f09 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mysqlautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_mysqlautoscaler.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeMySQLAutoscalers implements MySQLAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_perconaxtradbautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_perconaxtradbautoscaler.go index 479558c876..36c611c02c 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_perconaxtradbautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_perconaxtradbautoscaler.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakePerconaXtraDBAutoscalers implements PerconaXtraDBAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_pgbouncerautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_pgbouncerautoscaler.go index fc5ece564b..fa410215af 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_pgbouncerautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_pgbouncerautoscaler.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakePgBouncerAutoscalers implements PgBouncerAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_postgresautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_postgresautoscaler.go index a3963d045e..777e88e0a2 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_postgresautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_postgresautoscaler.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakePostgresAutoscalers implements PostgresAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_proxysqlautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_proxysqlautoscaler.go index 627d41bbba..5d5da796cf 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_proxysqlautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_proxysqlautoscaler.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeProxySQLAutoscalers implements ProxySQLAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redisautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redisautoscaler.go index 207369430e..72bbadc011 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redisautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redisautoscaler.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeRedisAutoscalers implements RedisAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redissentinelautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redissentinelautoscaler.go index 0baa8c37c9..f7d1b520c3 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redissentinelautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/fake/fake_redissentinelautoscaler.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // FakeRedisSentinelAutoscalers implements RedisSentinelAutoscalerInterface diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/mariadbautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/mariadbautoscaler.go index 3d85e0d9d0..18bcb8c795 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/mariadbautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/mariadbautoscaler.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MariaDBAutoscalersGetter has a method to return a MariaDBAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/memcachedautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/memcachedautoscaler.go index a5f36cd23b..1c17d53770 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/memcachedautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/memcachedautoscaler.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MemcachedAutoscalersGetter has a method to return a MemcachedAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/mongodbautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/mongodbautoscaler.go index 8667bcda5e..7f2beb91cd 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/mongodbautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/mongodbautoscaler.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MongoDBAutoscalersGetter has a method to return a MongoDBAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/mysqlautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/mysqlautoscaler.go index 0ba8b5bc7e..c4fef6fae5 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/mysqlautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/mysqlautoscaler.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MySQLAutoscalersGetter has a method to return a MySQLAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/perconaxtradbautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/perconaxtradbautoscaler.go index f3756871ba..99e215b1b9 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/perconaxtradbautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/perconaxtradbautoscaler.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PerconaXtraDBAutoscalersGetter has a method to return a PerconaXtraDBAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/pgbouncerautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/pgbouncerautoscaler.go index 373c793b8f..6e4b21a54e 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/pgbouncerautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/pgbouncerautoscaler.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PgBouncerAutoscalersGetter has a method to return a PgBouncerAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/postgresautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/postgresautoscaler.go index c5468a0e43..fd5ed79d96 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/postgresautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/postgresautoscaler.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PostgresAutoscalersGetter has a method to return a PostgresAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/proxysqlautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/proxysqlautoscaler.go index a095e93ebf..e978bab1ed 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/proxysqlautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/proxysqlautoscaler.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ProxySQLAutoscalersGetter has a method to return a ProxySQLAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/redisautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/redisautoscaler.go index ee8c042c7a..e40fbffae2 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/redisautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/redisautoscaler.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // RedisAutoscalersGetter has a method to return a RedisAutoscalerInterface. diff --git a/client/clientset/versioned/typed/autoscaling/v1alpha1/redissentinelautoscaler.go b/client/clientset/versioned/typed/autoscaling/v1alpha1/redissentinelautoscaler.go index c84a694ab5..d7be4476cb 100644 --- a/client/clientset/versioned/typed/autoscaling/v1alpha1/redissentinelautoscaler.go +++ b/client/clientset/versioned/typed/autoscaling/v1alpha1/redissentinelautoscaler.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // RedisSentinelAutoscalersGetter has a method to return a RedisSentinelAutoscalerInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/catalog_client.go b/client/clientset/versioned/typed/catalog/v1alpha1/catalog_client.go index 1ed6049c15..10e5655437 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/catalog_client.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/catalog_client.go @@ -21,9 +21,10 @@ package v1alpha1 import ( "net/http" - rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + + rest "k8s.io/client-go/rest" ) type CatalogV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/elasticsearchversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/elasticsearchversion.go index bb9893ac7e..6cc5ca77ed 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/elasticsearchversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/elasticsearchversion.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ElasticsearchVersionsGetter has a method to return a ElasticsearchVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/etcdversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/etcdversion.go index cea5ffdeb0..7b2f068c1c 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/etcdversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/etcdversion.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // EtcdVersionsGetter has a method to return a EtcdVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_catalog_client.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_catalog_client.go index e23d2e9737..daaf71c42c 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_catalog_client.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_catalog_client.go @@ -19,9 +19,10 @@ limitations under the License. package fake import ( + v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/catalog/v1alpha1" + rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/catalog/v1alpha1" ) type FakeCatalogV1alpha1 struct { diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_elasticsearchversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_elasticsearchversion.go index 1cdfdbda12..04739e7772 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_elasticsearchversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_elasticsearchversion.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeElasticsearchVersions implements ElasticsearchVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_etcdversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_etcdversion.go index 6958fac40a..258c9c9464 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_etcdversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_etcdversion.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeEtcdVersions implements EtcdVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_kafkaversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_kafkaversion.go index c9c80e246a..6e91bd7893 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_kafkaversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_kafkaversion.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeKafkaVersions implements KafkaVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mariadbversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mariadbversion.go index fcebfcfe27..c724a81096 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mariadbversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mariadbversion.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeMariaDBVersions implements MariaDBVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_memcachedversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_memcachedversion.go index 7f7c1d2596..7d1c509dc5 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_memcachedversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_memcachedversion.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeMemcachedVersions implements MemcachedVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mongodbversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mongodbversion.go index 5f7d3bb94f..301a2951d0 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mongodbversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mongodbversion.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeMongoDBVersions implements MongoDBVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mysqlversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mysqlversion.go index df952e4c1c..32162f3f37 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mysqlversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_mysqlversion.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeMySQLVersions implements MySQLVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_perconaxtradbversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_perconaxtradbversion.go index 891de7e554..0ac6dfa5ac 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_perconaxtradbversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_perconaxtradbversion.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakePerconaXtraDBVersions implements PerconaXtraDBVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_pgbouncerversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_pgbouncerversion.go index e38879225a..a40e402a8e 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_pgbouncerversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_pgbouncerversion.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakePgBouncerVersions implements PgBouncerVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_postgresversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_postgresversion.go index cde34bba1a..5da5f214dc 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_postgresversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_postgresversion.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakePostgresVersions implements PostgresVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_proxysqlversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_proxysqlversion.go index edccddbe0e..fdfbdde41b 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_proxysqlversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_proxysqlversion.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeProxySQLVersions implements ProxySQLVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_redisversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_redisversion.go index bda0352860..6c7abc3117 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_redisversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/fake/fake_redisversion.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // FakeRedisVersions implements RedisVersionInterface diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/kafkaversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/kafkaversion.go index 27880e1292..b1537a23c8 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/kafkaversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/kafkaversion.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // KafkaVersionsGetter has a method to return a KafkaVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/mariadbversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/mariadbversion.go index 46c7042808..45e7820369 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/mariadbversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/mariadbversion.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MariaDBVersionsGetter has a method to return a MariaDBVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/memcachedversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/memcachedversion.go index 3e3e8e470b..a2d2f9200e 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/memcachedversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/memcachedversion.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MemcachedVersionsGetter has a method to return a MemcachedVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/mongodbversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/mongodbversion.go index a3864e2d8f..15994c0358 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/mongodbversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/mongodbversion.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MongoDBVersionsGetter has a method to return a MongoDBVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/mysqlversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/mysqlversion.go index fb566c1ada..ff4ec41727 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/mysqlversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/mysqlversion.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MySQLVersionsGetter has a method to return a MySQLVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/perconaxtradbversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/perconaxtradbversion.go index 79673f8827..e5c033edba 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/perconaxtradbversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/perconaxtradbversion.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PerconaXtraDBVersionsGetter has a method to return a PerconaXtraDBVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/pgbouncerversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/pgbouncerversion.go index cc198e9159..d83877574e 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/pgbouncerversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/pgbouncerversion.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PgBouncerVersionsGetter has a method to return a PgBouncerVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/postgresversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/postgresversion.go index 48f481e197..a546863d05 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/postgresversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/postgresversion.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PostgresVersionsGetter has a method to return a PostgresVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/proxysqlversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/proxysqlversion.go index 44f37b26dd..659c1496cb 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/proxysqlversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/proxysqlversion.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ProxySQLVersionsGetter has a method to return a ProxySQLVersionInterface. diff --git a/client/clientset/versioned/typed/catalog/v1alpha1/redisversion.go b/client/clientset/versioned/typed/catalog/v1alpha1/redisversion.go index e859e9f307..9092595b31 100644 --- a/client/clientset/versioned/typed/catalog/v1alpha1/redisversion.go +++ b/client/clientset/versioned/typed/catalog/v1alpha1/redisversion.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // RedisVersionsGetter has a method to return a RedisVersionInterface. diff --git a/client/clientset/versioned/typed/config/v1alpha1/config_client.go b/client/clientset/versioned/typed/config/v1alpha1/config_client.go index 353c42baea..4c00381abe 100644 --- a/client/clientset/versioned/typed/config/v1alpha1/config_client.go +++ b/client/clientset/versioned/typed/config/v1alpha1/config_client.go @@ -21,9 +21,10 @@ package v1alpha1 import ( "net/http" - rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/config/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + + rest "k8s.io/client-go/rest" ) type ConfigV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/dashboard/v1alpha1/dashboard_client.go b/client/clientset/versioned/typed/dashboard/v1alpha1/dashboard_client.go index 4c92d1c788..2e4a287473 100644 --- a/client/clientset/versioned/typed/dashboard/v1alpha1/dashboard_client.go +++ b/client/clientset/versioned/typed/dashboard/v1alpha1/dashboard_client.go @@ -21,9 +21,10 @@ package v1alpha1 import ( "net/http" - rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + + rest "k8s.io/client-go/rest" ) type DashboardV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/dashboard/v1alpha1/elasticsearchdashboard.go b/client/clientset/versioned/typed/dashboard/v1alpha1/elasticsearchdashboard.go index a560af0f72..5af006ae23 100644 --- a/client/clientset/versioned/typed/dashboard/v1alpha1/elasticsearchdashboard.go +++ b/client/clientset/versioned/typed/dashboard/v1alpha1/elasticsearchdashboard.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ElasticsearchDashboardsGetter has a method to return a ElasticsearchDashboardInterface. diff --git a/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_dashboard_client.go b/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_dashboard_client.go index ad8fc7d0a6..0e797db631 100644 --- a/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_dashboard_client.go +++ b/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_dashboard_client.go @@ -19,9 +19,10 @@ limitations under the License. package fake import ( + v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/dashboard/v1alpha1" + rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/dashboard/v1alpha1" ) type FakeDashboardV1alpha1 struct { diff --git a/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_elasticsearchdashboard.go b/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_elasticsearchdashboard.go index 7917f67956..d7926573bc 100644 --- a/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_elasticsearchdashboard.go +++ b/client/clientset/versioned/typed/dashboard/v1alpha1/fake/fake_elasticsearchdashboard.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" ) // FakeElasticsearchDashboards implements ElasticsearchDashboardInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha1/kubedb_client.go b/client/clientset/versioned/typed/kubedb/v1alpha1/kubedb_client.go index 61f3ace380..d4b7476d7f 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha1/kubedb_client.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha1/kubedb_client.go @@ -21,9 +21,10 @@ package v1alpha1 import ( "net/http" - rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/kubedb/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + + rest "k8s.io/client-go/rest" ) type KubedbV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/elasticsearch.go b/client/clientset/versioned/typed/kubedb/v1alpha2/elasticsearch.go index a4e4236eec..9a83917a39 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/elasticsearch.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/elasticsearch.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ElasticsearchesGetter has a method to return a ElasticsearchInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/etcd.go b/client/clientset/versioned/typed/kubedb/v1alpha2/etcd.go index 0447389c7a..79242a95b2 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/etcd.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/etcd.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // EtcdsGetter has a method to return a EtcdInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_elasticsearch.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_elasticsearch.go index 2950869562..265e2f07e8 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_elasticsearch.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_elasticsearch.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeElasticsearches implements ElasticsearchInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_etcd.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_etcd.go index ceb2e8eaa4..c294260a22 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_etcd.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_etcd.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeEtcds implements EtcdInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kafka.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kafka.go index c7bd6a2e39..8cf66760d9 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kafka.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kafka.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeKafkas implements KafkaInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kubedb_client.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kubedb_client.go index 3ff80ab597..503a0974f5 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kubedb_client.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_kubedb_client.go @@ -19,9 +19,10 @@ limitations under the License. package fake import ( + v1alpha2 "kubedb.dev/apimachinery/client/clientset/versioned/typed/kubedb/v1alpha2" + rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" - v1alpha2 "kubedb.dev/apimachinery/client/clientset/versioned/typed/kubedb/v1alpha2" ) type FakeKubedbV1alpha2 struct { diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mariadb.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mariadb.go index df47ab7fc9..117cf13c20 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mariadb.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mariadb.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeMariaDBs implements MariaDBInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_memcached.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_memcached.go index 9a9db04247..a68a42ad14 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_memcached.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_memcached.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeMemcacheds implements MemcachedInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mongodb.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mongodb.go index 038089998d..63660932ef 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mongodb.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mongodb.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeMongoDBs implements MongoDBInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mysql.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mysql.go index 08d0522056..f28c87d6ea 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mysql.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_mysql.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeMySQLs implements MySQLInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_perconaxtradb.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_perconaxtradb.go index c1a1a7e19d..4f1ca39800 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_perconaxtradb.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_perconaxtradb.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakePerconaXtraDBs implements PerconaXtraDBInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_pgbouncer.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_pgbouncer.go index 4c45e0812a..d9892229f3 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_pgbouncer.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_pgbouncer.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakePgBouncers implements PgBouncerInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_postgres.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_postgres.go index 80b13f75fd..070ce113c2 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_postgres.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_postgres.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakePostgreses implements PostgresInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_proxysql.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_proxysql.go index 3708686cb1..13cb2cf417 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_proxysql.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_proxysql.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeProxySQLs implements ProxySQLInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redis.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redis.go index 02fc5839a1..47908acfb1 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redis.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redis.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeRedises implements RedisInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redissentinel.go b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redissentinel.go index c044d32660..b9a1d27113 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redissentinel.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/fake/fake_redissentinel.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // FakeRedisSentinels implements RedisSentinelInterface diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/kafka.go b/client/clientset/versioned/typed/kubedb/v1alpha2/kafka.go index da2f275b4a..3a809e67ba 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/kafka.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/kafka.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // KafkasGetter has a method to return a KafkaInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/kubedb_client.go b/client/clientset/versioned/typed/kubedb/v1alpha2/kubedb_client.go index 302af9fa80..c10df5948c 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/kubedb_client.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/kubedb_client.go @@ -21,9 +21,10 @@ package v1alpha2 import ( "net/http" - rest "k8s.io/client-go/rest" v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + + rest "k8s.io/client-go/rest" ) type KubedbV1alpha2Interface interface { diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/mariadb.go b/client/clientset/versioned/typed/kubedb/v1alpha2/mariadb.go index 38a43e8cc9..37314271d9 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/mariadb.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/mariadb.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MariaDBsGetter has a method to return a MariaDBInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/memcached.go b/client/clientset/versioned/typed/kubedb/v1alpha2/memcached.go index 21efffd709..4b18840723 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/memcached.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/memcached.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MemcachedsGetter has a method to return a MemcachedInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/mongodb.go b/client/clientset/versioned/typed/kubedb/v1alpha2/mongodb.go index 174aeb0753..b662f3901d 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/mongodb.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/mongodb.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MongoDBsGetter has a method to return a MongoDBInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/mysql.go b/client/clientset/versioned/typed/kubedb/v1alpha2/mysql.go index 06db779da6..5592cd93f9 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/mysql.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/mysql.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MySQLsGetter has a method to return a MySQLInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/perconaxtradb.go b/client/clientset/versioned/typed/kubedb/v1alpha2/perconaxtradb.go index 83ea891a04..f500b04ef5 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/perconaxtradb.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/perconaxtradb.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PerconaXtraDBsGetter has a method to return a PerconaXtraDBInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/pgbouncer.go b/client/clientset/versioned/typed/kubedb/v1alpha2/pgbouncer.go index 94d9ceeefc..f10768c946 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/pgbouncer.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/pgbouncer.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PgBouncersGetter has a method to return a PgBouncerInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/postgres.go b/client/clientset/versioned/typed/kubedb/v1alpha2/postgres.go index 33fdb75299..1d6676a724 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/postgres.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/postgres.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PostgresesGetter has a method to return a PostgresInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/proxysql.go b/client/clientset/versioned/typed/kubedb/v1alpha2/proxysql.go index 6f60b5c7a9..cab09d9e9b 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/proxysql.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/proxysql.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ProxySQLsGetter has a method to return a ProxySQLInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/redis.go b/client/clientset/versioned/typed/kubedb/v1alpha2/redis.go index 6b797910b1..cc53f023a1 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/redis.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/redis.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // RedisesGetter has a method to return a RedisInterface. diff --git a/client/clientset/versioned/typed/kubedb/v1alpha2/redissentinel.go b/client/clientset/versioned/typed/kubedb/v1alpha2/redissentinel.go index fead247c2d..7c10945ea2 100644 --- a/client/clientset/versioned/typed/kubedb/v1alpha2/redissentinel.go +++ b/client/clientset/versioned/typed/kubedb/v1alpha2/redissentinel.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // RedisSentinelsGetter has a method to return a RedisSentinelInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/elasticsearchopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/elasticsearchopsrequest.go index fa59e6aaa9..2908f20f05 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/elasticsearchopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/elasticsearchopsrequest.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ElasticsearchOpsRequestsGetter has a method to return a ElasticsearchOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/etcdopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/etcdopsrequest.go index 9823f10b05..6fe6be11cf 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/etcdopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/etcdopsrequest.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // EtcdOpsRequestsGetter has a method to return a EtcdOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_elasticsearchopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_elasticsearchopsrequest.go index 7e7c259525..1b3952141a 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_elasticsearchopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_elasticsearchopsrequest.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeElasticsearchOpsRequests implements ElasticsearchOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_etcdopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_etcdopsrequest.go index 1a9594dd8c..e4db32b0db 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_etcdopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_etcdopsrequest.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeEtcdOpsRequests implements EtcdOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_kafkaopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_kafkaopsrequest.go index 231b80b3f9..b10804ef2e 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_kafkaopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_kafkaopsrequest.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeKafkaOpsRequests implements KafkaOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mariadbopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mariadbopsrequest.go index fcb90fa00e..0ab5fad8b0 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mariadbopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mariadbopsrequest.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeMariaDBOpsRequests implements MariaDBOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_memcachedopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_memcachedopsrequest.go index 3584118b93..70535403c9 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_memcachedopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_memcachedopsrequest.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeMemcachedOpsRequests implements MemcachedOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mongodbopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mongodbopsrequest.go index 0ce920b838..9fe96c5817 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mongodbopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mongodbopsrequest.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeMongoDBOpsRequests implements MongoDBOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mysqlopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mysqlopsrequest.go index e30c83cb24..c5437ced56 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mysqlopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_mysqlopsrequest.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeMySQLOpsRequests implements MySQLOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_ops_client.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_ops_client.go index 9eba2e4e9a..ee546799f2 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_ops_client.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_ops_client.go @@ -19,9 +19,10 @@ limitations under the License. package fake import ( + v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/ops/v1alpha1" + rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/ops/v1alpha1" ) type FakeOpsV1alpha1 struct { diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_perconaxtradbopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_perconaxtradbopsrequest.go index 506e87b5e2..f8e4d40b04 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_perconaxtradbopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_perconaxtradbopsrequest.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakePerconaXtraDBOpsRequests implements PerconaXtraDBOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_pgbounceropsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_pgbounceropsrequest.go index ce36b3072a..7ee2d6d5bf 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_pgbounceropsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_pgbounceropsrequest.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakePgBouncerOpsRequests implements PgBouncerOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_postgresopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_postgresopsrequest.go index 78b45e3d9a..686e5952a8 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_postgresopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_postgresopsrequest.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakePostgresOpsRequests implements PostgresOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_proxysqlopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_proxysqlopsrequest.go index a57a24be95..e75b97f742 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_proxysqlopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_proxysqlopsrequest.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeProxySQLOpsRequests implements ProxySQLOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redisopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redisopsrequest.go index 490fafb3e8..417d8e7d8d 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redisopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redisopsrequest.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeRedisOpsRequests implements RedisOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redissentinelopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redissentinelopsrequest.go index 2ff976d54e..c8890e6e09 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redissentinelopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/fake/fake_redissentinelopsrequest.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // FakeRedisSentinelOpsRequests implements RedisSentinelOpsRequestInterface diff --git a/client/clientset/versioned/typed/ops/v1alpha1/kafkaopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/kafkaopsrequest.go index 168ff77a89..d24494a999 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/kafkaopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/kafkaopsrequest.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // KafkaOpsRequestsGetter has a method to return a KafkaOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/mariadbopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/mariadbopsrequest.go index 4a5b5117b5..e1a56e396e 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/mariadbopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/mariadbopsrequest.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MariaDBOpsRequestsGetter has a method to return a MariaDBOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/memcachedopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/memcachedopsrequest.go index b2d4cf77aa..7750b2930d 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/memcachedopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/memcachedopsrequest.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MemcachedOpsRequestsGetter has a method to return a MemcachedOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/mongodbopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/mongodbopsrequest.go index 85ec0b81f0..757eed013d 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/mongodbopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/mongodbopsrequest.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MongoDBOpsRequestsGetter has a method to return a MongoDBOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/mysqlopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/mysqlopsrequest.go index 509a847189..66d0c7ba49 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/mysqlopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/mysqlopsrequest.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MySQLOpsRequestsGetter has a method to return a MySQLOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/ops_client.go b/client/clientset/versioned/typed/ops/v1alpha1/ops_client.go index d06d0542d9..89ae094f67 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/ops_client.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/ops_client.go @@ -21,9 +21,10 @@ package v1alpha1 import ( "net/http" - rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + + rest "k8s.io/client-go/rest" ) type OpsV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/ops/v1alpha1/perconaxtradbopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/perconaxtradbopsrequest.go index b5792aa454..c5e9f01e15 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/perconaxtradbopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/perconaxtradbopsrequest.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PerconaXtraDBOpsRequestsGetter has a method to return a PerconaXtraDBOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/pgbounceropsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/pgbounceropsrequest.go index e21405798d..4fd8edf321 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/pgbounceropsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/pgbounceropsrequest.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PgBouncerOpsRequestsGetter has a method to return a PgBouncerOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/postgresopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/postgresopsrequest.go index 859f3ef8e4..813f0b6183 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/postgresopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/postgresopsrequest.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PostgresOpsRequestsGetter has a method to return a PostgresOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/proxysqlopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/proxysqlopsrequest.go index e450d264c0..e109b4bc69 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/proxysqlopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/proxysqlopsrequest.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // ProxySQLOpsRequestsGetter has a method to return a ProxySQLOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/redisopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/redisopsrequest.go index 004898a074..99218356fa 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/redisopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/redisopsrequest.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // RedisOpsRequestsGetter has a method to return a RedisOpsRequestInterface. diff --git a/client/clientset/versioned/typed/ops/v1alpha1/redissentinelopsrequest.go b/client/clientset/versioned/typed/ops/v1alpha1/redissentinelopsrequest.go index babe19e50b..a34aa0b69e 100644 --- a/client/clientset/versioned/typed/ops/v1alpha1/redissentinelopsrequest.go +++ b/client/clientset/versioned/typed/ops/v1alpha1/redissentinelopsrequest.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // RedisSentinelOpsRequestsGetter has a method to return a RedisSentinelOpsRequestInterface. diff --git a/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_postgres_client.go b/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_postgres_client.go index eb5f3118e7..7719cf9da4 100644 --- a/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_postgres_client.go +++ b/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_postgres_client.go @@ -19,9 +19,10 @@ limitations under the License. package fake import ( + v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/postgres/v1alpha1" + rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/postgres/v1alpha1" ) type FakePostgresV1alpha1 struct { diff --git a/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_publisher.go b/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_publisher.go index 65af64f67b..51513d4c22 100644 --- a/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_publisher.go +++ b/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_publisher.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" ) // FakePublishers implements PublisherInterface diff --git a/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_subscriber.go b/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_subscriber.go index c55e0767a5..3c69eb5658 100644 --- a/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_subscriber.go +++ b/client/clientset/versioned/typed/postgres/v1alpha1/fake/fake_subscriber.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" ) // FakeSubscribers implements SubscriberInterface diff --git a/client/clientset/versioned/typed/postgres/v1alpha1/postgres_client.go b/client/clientset/versioned/typed/postgres/v1alpha1/postgres_client.go index 0da7db17be..d3de22acaf 100644 --- a/client/clientset/versioned/typed/postgres/v1alpha1/postgres_client.go +++ b/client/clientset/versioned/typed/postgres/v1alpha1/postgres_client.go @@ -21,9 +21,10 @@ package v1alpha1 import ( "net/http" - rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + + rest "k8s.io/client-go/rest" ) type PostgresV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/postgres/v1alpha1/publisher.go b/client/clientset/versioned/typed/postgres/v1alpha1/publisher.go index cc12ed72c9..d397736fcc 100644 --- a/client/clientset/versioned/typed/postgres/v1alpha1/publisher.go +++ b/client/clientset/versioned/typed/postgres/v1alpha1/publisher.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PublishersGetter has a method to return a PublisherInterface. diff --git a/client/clientset/versioned/typed/postgres/v1alpha1/subscriber.go b/client/clientset/versioned/typed/postgres/v1alpha1/subscriber.go index 8b7812fe56..071f1ac387 100644 --- a/client/clientset/versioned/typed/postgres/v1alpha1/subscriber.go +++ b/client/clientset/versioned/typed/postgres/v1alpha1/subscriber.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // SubscribersGetter has a method to return a SubscriberInterface. diff --git a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mariadbdatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mariadbdatabase.go index 48d9c126b6..b4881ff905 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mariadbdatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mariadbdatabase.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // FakeMariaDBDatabases implements MariaDBDatabaseInterface diff --git a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mongodbdatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mongodbdatabase.go index f84957f61c..99e83a66b9 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mongodbdatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mongodbdatabase.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // FakeMongoDBDatabases implements MongoDBDatabaseInterface diff --git a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mysqldatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mysqldatabase.go index 4130821be3..87eba1712c 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mysqldatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_mysqldatabase.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // FakeMySQLDatabases implements MySQLDatabaseInterface diff --git a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_postgresdatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_postgresdatabase.go index b600d2ea23..16338cab75 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_postgresdatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_postgresdatabase.go @@ -21,13 +21,14 @@ package fake import ( "context" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // FakePostgresDatabases implements PostgresDatabaseInterface diff --git a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_schema_client.go b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_schema_client.go index 53af4a1626..0f0a3f7fde 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_schema_client.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/fake/fake_schema_client.go @@ -19,9 +19,10 @@ limitations under the License. package fake import ( + v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/schema/v1alpha1" + rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" - v1alpha1 "kubedb.dev/apimachinery/client/clientset/versioned/typed/schema/v1alpha1" ) type FakeSchemaV1alpha1 struct { diff --git a/client/clientset/versioned/typed/schema/v1alpha1/mariadbdatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/mariadbdatabase.go index 9820398df7..df1643ba35 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/mariadbdatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/mariadbdatabase.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MariaDBDatabasesGetter has a method to return a MariaDBDatabaseInterface. diff --git a/client/clientset/versioned/typed/schema/v1alpha1/mongodbdatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/mongodbdatabase.go index ed686fde71..b73a0d4a6a 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/mongodbdatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/mongodbdatabase.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MongoDBDatabasesGetter has a method to return a MongoDBDatabaseInterface. diff --git a/client/clientset/versioned/typed/schema/v1alpha1/mysqldatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/mysqldatabase.go index 690105e0c0..9a5e9e8798 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/mysqldatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/mysqldatabase.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // MySQLDatabasesGetter has a method to return a MySQLDatabaseInterface. diff --git a/client/clientset/versioned/typed/schema/v1alpha1/postgresdatabase.go b/client/clientset/versioned/typed/schema/v1alpha1/postgresdatabase.go index 7337579072..20c4f1c5b5 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/postgresdatabase.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/postgresdatabase.go @@ -22,12 +22,13 @@ import ( "context" "time" + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" - scheme "kubedb.dev/apimachinery/client/clientset/versioned/scheme" ) // PostgresDatabasesGetter has a method to return a PostgresDatabaseInterface. diff --git a/client/clientset/versioned/typed/schema/v1alpha1/schema_client.go b/client/clientset/versioned/typed/schema/v1alpha1/schema_client.go index 49e356b61b..275d94608e 100644 --- a/client/clientset/versioned/typed/schema/v1alpha1/schema_client.go +++ b/client/clientset/versioned/typed/schema/v1alpha1/schema_client.go @@ -21,9 +21,10 @@ package v1alpha1 import ( "net/http" - rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + + rest "k8s.io/client-go/rest" ) type SchemaV1alpha1Interface interface { diff --git a/client/clientset/versioned/typed/ui/v1alpha1/ui_client.go b/client/clientset/versioned/typed/ui/v1alpha1/ui_client.go index fdb622a52d..50923582b6 100644 --- a/client/clientset/versioned/typed/ui/v1alpha1/ui_client.go +++ b/client/clientset/versioned/typed/ui/v1alpha1/ui_client.go @@ -21,9 +21,10 @@ package v1alpha1 import ( "net/http" - rest "k8s.io/client-go/rest" v1alpha1 "kubedb.dev/apimachinery/apis/ui/v1alpha1" "kubedb.dev/apimachinery/client/clientset/versioned/scheme" + + rest "k8s.io/client-go/rest" ) type UiV1alpha1Interface interface { diff --git a/client/informers/externalversions/autoscaling/v1alpha1/elasticsearchautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/elasticsearchautoscaler.go index 053aac5ddd..adc4766e50 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/elasticsearchautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/elasticsearchautoscaler.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // ElasticsearchAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/etcdautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/etcdautoscaler.go index b73302ce5c..d44e521255 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/etcdautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/etcdautoscaler.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // EtcdAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/mariadbautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/mariadbautoscaler.go index 2de703278f..75f1803ba3 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/mariadbautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/mariadbautoscaler.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MariaDBAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/memcachedautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/memcachedautoscaler.go index 91ba1bf04f..8c2a792d05 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/memcachedautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/memcachedautoscaler.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MemcachedAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/mongodbautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/mongodbautoscaler.go index d31d4490df..552d6a8389 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/mongodbautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/mongodbautoscaler.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MongoDBAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/mysqlautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/mysqlautoscaler.go index 65253deb13..a930b0dde7 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/mysqlautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/mysqlautoscaler.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MySQLAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/perconaxtradbautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/perconaxtradbautoscaler.go index 2d20d793a5..976140524f 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/perconaxtradbautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/perconaxtradbautoscaler.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // PerconaXtraDBAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/pgbouncerautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/pgbouncerautoscaler.go index 6776d36144..304c5c1dde 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/pgbouncerautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/pgbouncerautoscaler.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // PgBouncerAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/postgresautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/postgresautoscaler.go index 8716001a67..fcef2cdfbf 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/postgresautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/postgresautoscaler.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // PostgresAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/proxysqlautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/proxysqlautoscaler.go index d452b9b9ed..c6ffa7c0a1 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/proxysqlautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/proxysqlautoscaler.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // ProxySQLAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/redisautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/redisautoscaler.go index a317852954..2a27aae59c 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/redisautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/redisautoscaler.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // RedisAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/autoscaling/v1alpha1/redissentinelautoscaler.go b/client/informers/externalversions/autoscaling/v1alpha1/redissentinelautoscaler.go index d7443524b3..4627832d5c 100644 --- a/client/informers/externalversions/autoscaling/v1alpha1/redissentinelautoscaler.go +++ b/client/informers/externalversions/autoscaling/v1alpha1/redissentinelautoscaler.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" autoscalingv1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/autoscaling/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // RedisSentinelAutoscalerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/elasticsearchversion.go b/client/informers/externalversions/catalog/v1alpha1/elasticsearchversion.go index e40d93d016..67bd5104a2 100644 --- a/client/informers/externalversions/catalog/v1alpha1/elasticsearchversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/elasticsearchversion.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // ElasticsearchVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/etcdversion.go b/client/informers/externalversions/catalog/v1alpha1/etcdversion.go index fe7cc4e66e..5db07e9009 100644 --- a/client/informers/externalversions/catalog/v1alpha1/etcdversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/etcdversion.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // EtcdVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/kafkaversion.go b/client/informers/externalversions/catalog/v1alpha1/kafkaversion.go index d168dd8d33..abbb4c3dfe 100644 --- a/client/informers/externalversions/catalog/v1alpha1/kafkaversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/kafkaversion.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // KafkaVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/mariadbversion.go b/client/informers/externalversions/catalog/v1alpha1/mariadbversion.go index 22e881ad88..1023bd499e 100644 --- a/client/informers/externalversions/catalog/v1alpha1/mariadbversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/mariadbversion.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MariaDBVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/memcachedversion.go b/client/informers/externalversions/catalog/v1alpha1/memcachedversion.go index c06eace33c..6f81b88ee0 100644 --- a/client/informers/externalversions/catalog/v1alpha1/memcachedversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/memcachedversion.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MemcachedVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/mongodbversion.go b/client/informers/externalversions/catalog/v1alpha1/mongodbversion.go index 41b00c611c..a890055129 100644 --- a/client/informers/externalversions/catalog/v1alpha1/mongodbversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/mongodbversion.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MongoDBVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/mysqlversion.go b/client/informers/externalversions/catalog/v1alpha1/mysqlversion.go index 4eb22ae9ef..6e1c5673bd 100644 --- a/client/informers/externalversions/catalog/v1alpha1/mysqlversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/mysqlversion.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MySQLVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/perconaxtradbversion.go b/client/informers/externalversions/catalog/v1alpha1/perconaxtradbversion.go index a9f23734a9..544403aa41 100644 --- a/client/informers/externalversions/catalog/v1alpha1/perconaxtradbversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/perconaxtradbversion.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // PerconaXtraDBVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/pgbouncerversion.go b/client/informers/externalversions/catalog/v1alpha1/pgbouncerversion.go index 0ba0cbfd9a..65f8a7ba05 100644 --- a/client/informers/externalversions/catalog/v1alpha1/pgbouncerversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/pgbouncerversion.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // PgBouncerVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/postgresversion.go b/client/informers/externalversions/catalog/v1alpha1/postgresversion.go index 365cac5aad..be65628c5f 100644 --- a/client/informers/externalversions/catalog/v1alpha1/postgresversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/postgresversion.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // PostgresVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/proxysqlversion.go b/client/informers/externalversions/catalog/v1alpha1/proxysqlversion.go index 2dbdbcb7fe..1237a8df89 100644 --- a/client/informers/externalversions/catalog/v1alpha1/proxysqlversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/proxysqlversion.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // ProxySQLVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/catalog/v1alpha1/redisversion.go b/client/informers/externalversions/catalog/v1alpha1/redisversion.go index 710710ac00..cc880a3d35 100644 --- a/client/informers/externalversions/catalog/v1alpha1/redisversion.go +++ b/client/informers/externalversions/catalog/v1alpha1/redisversion.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/catalog/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // RedisVersionInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/dashboard/v1alpha1/elasticsearchdashboard.go b/client/informers/externalversions/dashboard/v1alpha1/elasticsearchdashboard.go index b438dfa7ed..7e005a70a2 100644 --- a/client/informers/externalversions/dashboard/v1alpha1/elasticsearchdashboard.go +++ b/client/informers/externalversions/dashboard/v1alpha1/elasticsearchdashboard.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" dashboardv1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/dashboard/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // ElasticsearchDashboardInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/factory.go b/client/informers/externalversions/factory.go index 82646914c7..b323f94e72 100644 --- a/client/informers/externalversions/factory.go +++ b/client/informers/externalversions/factory.go @@ -23,10 +23,6 @@ import ( sync "sync" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - schema "k8s.io/apimachinery/pkg/runtime/schema" - cache "k8s.io/client-go/tools/cache" versioned "kubedb.dev/apimachinery/client/clientset/versioned" autoscaling "kubedb.dev/apimachinery/client/informers/externalversions/autoscaling" catalog "kubedb.dev/apimachinery/client/informers/externalversions/catalog" @@ -36,6 +32,11 @@ import ( ops "kubedb.dev/apimachinery/client/informers/externalversions/ops" postgres "kubedb.dev/apimachinery/client/informers/externalversions/postgres" externalversionsschema "kubedb.dev/apimachinery/client/informers/externalversions/schema" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + schema "k8s.io/apimachinery/pkg/runtime/schema" + cache "k8s.io/client-go/tools/cache" ) // SharedInformerOption defines the functional option type for SharedInformerFactory. diff --git a/client/informers/externalversions/generic.go b/client/informers/externalversions/generic.go index 867c84232f..4024964aba 100644 --- a/client/informers/externalversions/generic.go +++ b/client/informers/externalversions/generic.go @@ -21,8 +21,6 @@ package externalversions import ( "fmt" - schema "k8s.io/apimachinery/pkg/runtime/schema" - cache "k8s.io/client-go/tools/cache" v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" catalogv1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" dashboardv1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" @@ -30,6 +28,9 @@ import ( opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" postgresv1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + + schema "k8s.io/apimachinery/pkg/runtime/schema" + cache "k8s.io/client-go/tools/cache" ) // GenericInformer is type of SharedIndexInformer which will locate and delegate to other diff --git a/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/client/informers/externalversions/internalinterfaces/factory_interfaces.go index 0ed5066a98..2b02452953 100644 --- a/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -21,10 +21,11 @@ package internalinterfaces import ( time "time" + versioned "kubedb.dev/apimachinery/client/clientset/versioned" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" cache "k8s.io/client-go/tools/cache" - versioned "kubedb.dev/apimachinery/client/clientset/versioned" ) // NewInformerFunc takes versioned.Interface and time.Duration to return a SharedIndexInformer. diff --git a/client/informers/externalversions/kubedb/v1alpha2/elasticsearch.go b/client/informers/externalversions/kubedb/v1alpha2/elasticsearch.go index 0efe775ecc..27ccbc1f97 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/elasticsearch.go +++ b/client/informers/externalversions/kubedb/v1alpha2/elasticsearch.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // ElasticsearchInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/etcd.go b/client/informers/externalversions/kubedb/v1alpha2/etcd.go index 202c9ce40e..bb8e79cc6c 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/etcd.go +++ b/client/informers/externalversions/kubedb/v1alpha2/etcd.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // EtcdInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/kafka.go b/client/informers/externalversions/kubedb/v1alpha2/kafka.go index 2ec56cd0e0..be59d909e7 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/kafka.go +++ b/client/informers/externalversions/kubedb/v1alpha2/kafka.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // KafkaInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/mariadb.go b/client/informers/externalversions/kubedb/v1alpha2/mariadb.go index 0acbd3c8ea..415daca85d 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/mariadb.go +++ b/client/informers/externalversions/kubedb/v1alpha2/mariadb.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MariaDBInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/memcached.go b/client/informers/externalversions/kubedb/v1alpha2/memcached.go index 79ba85234d..9136bb4a91 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/memcached.go +++ b/client/informers/externalversions/kubedb/v1alpha2/memcached.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MemcachedInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/mongodb.go b/client/informers/externalversions/kubedb/v1alpha2/mongodb.go index 81d52f9d7b..87c943e4be 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/mongodb.go +++ b/client/informers/externalversions/kubedb/v1alpha2/mongodb.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MongoDBInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/mysql.go b/client/informers/externalversions/kubedb/v1alpha2/mysql.go index 3020093a70..4cbdcf5f9a 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/mysql.go +++ b/client/informers/externalversions/kubedb/v1alpha2/mysql.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MySQLInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/perconaxtradb.go b/client/informers/externalversions/kubedb/v1alpha2/perconaxtradb.go index 8fe49d1e22..d4ca683920 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/perconaxtradb.go +++ b/client/informers/externalversions/kubedb/v1alpha2/perconaxtradb.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // PerconaXtraDBInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/pgbouncer.go b/client/informers/externalversions/kubedb/v1alpha2/pgbouncer.go index 9787803986..5e006ba3d5 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/pgbouncer.go +++ b/client/informers/externalversions/kubedb/v1alpha2/pgbouncer.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // PgBouncerInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/postgres.go b/client/informers/externalversions/kubedb/v1alpha2/postgres.go index 94c18e5534..0d1091571a 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/postgres.go +++ b/client/informers/externalversions/kubedb/v1alpha2/postgres.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // PostgresInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/proxysql.go b/client/informers/externalversions/kubedb/v1alpha2/proxysql.go index 7dbe8b3e91..c64aaf2a19 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/proxysql.go +++ b/client/informers/externalversions/kubedb/v1alpha2/proxysql.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // ProxySQLInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/redis.go b/client/informers/externalversions/kubedb/v1alpha2/redis.go index 71afa6252a..1cba0d9a8a 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/redis.go +++ b/client/informers/externalversions/kubedb/v1alpha2/redis.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // RedisInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/kubedb/v1alpha2/redissentinel.go b/client/informers/externalversions/kubedb/v1alpha2/redissentinel.go index 9e21161b7d..b1cc8a5244 100644 --- a/client/informers/externalversions/kubedb/v1alpha2/redissentinel.go +++ b/client/informers/externalversions/kubedb/v1alpha2/redissentinel.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" kubedbv1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha2 "kubedb.dev/apimachinery/client/listers/kubedb/v1alpha2" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // RedisSentinelInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/elasticsearchopsrequest.go b/client/informers/externalversions/ops/v1alpha1/elasticsearchopsrequest.go index e9008f3587..4a7d62461e 100644 --- a/client/informers/externalversions/ops/v1alpha1/elasticsearchopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/elasticsearchopsrequest.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // ElasticsearchOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/etcdopsrequest.go b/client/informers/externalversions/ops/v1alpha1/etcdopsrequest.go index de58b27efc..4cc7473cb5 100644 --- a/client/informers/externalversions/ops/v1alpha1/etcdopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/etcdopsrequest.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // EtcdOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/kafkaopsrequest.go b/client/informers/externalversions/ops/v1alpha1/kafkaopsrequest.go index 01fa4a55c9..b173c12ffc 100644 --- a/client/informers/externalversions/ops/v1alpha1/kafkaopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/kafkaopsrequest.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // KafkaOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/mariadbopsrequest.go b/client/informers/externalversions/ops/v1alpha1/mariadbopsrequest.go index a9f5be2687..7a3e49028e 100644 --- a/client/informers/externalversions/ops/v1alpha1/mariadbopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/mariadbopsrequest.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MariaDBOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/memcachedopsrequest.go b/client/informers/externalversions/ops/v1alpha1/memcachedopsrequest.go index c6d061c1a8..139cd9d2f7 100644 --- a/client/informers/externalversions/ops/v1alpha1/memcachedopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/memcachedopsrequest.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MemcachedOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/mongodbopsrequest.go b/client/informers/externalversions/ops/v1alpha1/mongodbopsrequest.go index 0bfe1c10f7..1cc509af45 100644 --- a/client/informers/externalversions/ops/v1alpha1/mongodbopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/mongodbopsrequest.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MongoDBOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/mysqlopsrequest.go b/client/informers/externalversions/ops/v1alpha1/mysqlopsrequest.go index c3c12690f0..69f0b06925 100644 --- a/client/informers/externalversions/ops/v1alpha1/mysqlopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/mysqlopsrequest.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MySQLOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/perconaxtradbopsrequest.go b/client/informers/externalversions/ops/v1alpha1/perconaxtradbopsrequest.go index bc2587d666..5019276421 100644 --- a/client/informers/externalversions/ops/v1alpha1/perconaxtradbopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/perconaxtradbopsrequest.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // PerconaXtraDBOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/pgbounceropsrequest.go b/client/informers/externalversions/ops/v1alpha1/pgbounceropsrequest.go index ec94bdcfd9..81c256c77a 100644 --- a/client/informers/externalversions/ops/v1alpha1/pgbounceropsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/pgbounceropsrequest.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // PgBouncerOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/postgresopsrequest.go b/client/informers/externalversions/ops/v1alpha1/postgresopsrequest.go index b9a5e952fc..3f49d1fefd 100644 --- a/client/informers/externalversions/ops/v1alpha1/postgresopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/postgresopsrequest.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // PostgresOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/proxysqlopsrequest.go b/client/informers/externalversions/ops/v1alpha1/proxysqlopsrequest.go index bddf00acdb..f584f34c2b 100644 --- a/client/informers/externalversions/ops/v1alpha1/proxysqlopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/proxysqlopsrequest.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // ProxySQLOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/redisopsrequest.go b/client/informers/externalversions/ops/v1alpha1/redisopsrequest.go index df2b7e69f1..330ab785a1 100644 --- a/client/informers/externalversions/ops/v1alpha1/redisopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/redisopsrequest.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // RedisOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/ops/v1alpha1/redissentinelopsrequest.go b/client/informers/externalversions/ops/v1alpha1/redissentinelopsrequest.go index e562516de2..de5d7f6eb0 100644 --- a/client/informers/externalversions/ops/v1alpha1/redissentinelopsrequest.go +++ b/client/informers/externalversions/ops/v1alpha1/redissentinelopsrequest.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" opsv1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/ops/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // RedisSentinelOpsRequestInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/postgres/v1alpha1/publisher.go b/client/informers/externalversions/postgres/v1alpha1/publisher.go index 870736c962..30ed7fda3f 100644 --- a/client/informers/externalversions/postgres/v1alpha1/publisher.go +++ b/client/informers/externalversions/postgres/v1alpha1/publisher.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" postgresv1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/postgres/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // PublisherInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/postgres/v1alpha1/subscriber.go b/client/informers/externalversions/postgres/v1alpha1/subscriber.go index feba2bf1c7..d89b62a86d 100644 --- a/client/informers/externalversions/postgres/v1alpha1/subscriber.go +++ b/client/informers/externalversions/postgres/v1alpha1/subscriber.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" postgresv1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/postgres/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // SubscriberInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/schema/v1alpha1/mariadbdatabase.go b/client/informers/externalversions/schema/v1alpha1/mariadbdatabase.go index b12a0b2190..b8eebdd391 100644 --- a/client/informers/externalversions/schema/v1alpha1/mariadbdatabase.go +++ b/client/informers/externalversions/schema/v1alpha1/mariadbdatabase.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/schema/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MariaDBDatabaseInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/schema/v1alpha1/mongodbdatabase.go b/client/informers/externalversions/schema/v1alpha1/mongodbdatabase.go index d0a690106f..c7e8558f84 100644 --- a/client/informers/externalversions/schema/v1alpha1/mongodbdatabase.go +++ b/client/informers/externalversions/schema/v1alpha1/mongodbdatabase.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/schema/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MongoDBDatabaseInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/schema/v1alpha1/mysqldatabase.go b/client/informers/externalversions/schema/v1alpha1/mysqldatabase.go index e34a97f540..04dadf51d0 100644 --- a/client/informers/externalversions/schema/v1alpha1/mysqldatabase.go +++ b/client/informers/externalversions/schema/v1alpha1/mysqldatabase.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/schema/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // MySQLDatabaseInformer provides access to a shared informer and lister for diff --git a/client/informers/externalversions/schema/v1alpha1/postgresdatabase.go b/client/informers/externalversions/schema/v1alpha1/postgresdatabase.go index 0d3769b8dc..5e8afb9329 100644 --- a/client/informers/externalversions/schema/v1alpha1/postgresdatabase.go +++ b/client/informers/externalversions/schema/v1alpha1/postgresdatabase.go @@ -22,14 +22,15 @@ import ( "context" time "time" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" schemav1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" versioned "kubedb.dev/apimachinery/client/clientset/versioned" internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces" v1alpha1 "kubedb.dev/apimachinery/client/listers/schema/v1alpha1" + + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" ) // PostgresDatabaseInformer provides access to a shared informer and lister for diff --git a/client/listers/autoscaling/v1alpha1/elasticsearchautoscaler.go b/client/listers/autoscaling/v1alpha1/elasticsearchautoscaler.go index 7a1c4ab4e8..0e720a75ab 100644 --- a/client/listers/autoscaling/v1alpha1/elasticsearchautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/elasticsearchautoscaler.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // ElasticsearchAutoscalerLister helps list ElasticsearchAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/etcdautoscaler.go b/client/listers/autoscaling/v1alpha1/etcdautoscaler.go index d636ee4b3c..c9e0f6f234 100644 --- a/client/listers/autoscaling/v1alpha1/etcdautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/etcdautoscaler.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // EtcdAutoscalerLister helps list EtcdAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/mariadbautoscaler.go b/client/listers/autoscaling/v1alpha1/mariadbautoscaler.go index af367cb542..f965f3a6d0 100644 --- a/client/listers/autoscaling/v1alpha1/mariadbautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/mariadbautoscaler.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // MariaDBAutoscalerLister helps list MariaDBAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/memcachedautoscaler.go b/client/listers/autoscaling/v1alpha1/memcachedautoscaler.go index 026e80c45f..01fcababab 100644 --- a/client/listers/autoscaling/v1alpha1/memcachedautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/memcachedautoscaler.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // MemcachedAutoscalerLister helps list MemcachedAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/mongodbautoscaler.go b/client/listers/autoscaling/v1alpha1/mongodbautoscaler.go index eddb34d90c..ea4cd11039 100644 --- a/client/listers/autoscaling/v1alpha1/mongodbautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/mongodbautoscaler.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // MongoDBAutoscalerLister helps list MongoDBAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/mysqlautoscaler.go b/client/listers/autoscaling/v1alpha1/mysqlautoscaler.go index 977b1ec939..a79e9b0b92 100644 --- a/client/listers/autoscaling/v1alpha1/mysqlautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/mysqlautoscaler.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // MySQLAutoscalerLister helps list MySQLAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/perconaxtradbautoscaler.go b/client/listers/autoscaling/v1alpha1/perconaxtradbautoscaler.go index 8bab20a90b..8734e8c2f4 100644 --- a/client/listers/autoscaling/v1alpha1/perconaxtradbautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/perconaxtradbautoscaler.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // PerconaXtraDBAutoscalerLister helps list PerconaXtraDBAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/pgbouncerautoscaler.go b/client/listers/autoscaling/v1alpha1/pgbouncerautoscaler.go index 349b0d3eb8..2b0f04f898 100644 --- a/client/listers/autoscaling/v1alpha1/pgbouncerautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/pgbouncerautoscaler.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // PgBouncerAutoscalerLister helps list PgBouncerAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/postgresautoscaler.go b/client/listers/autoscaling/v1alpha1/postgresautoscaler.go index 39bdb982ab..e8ebab8d61 100644 --- a/client/listers/autoscaling/v1alpha1/postgresautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/postgresautoscaler.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // PostgresAutoscalerLister helps list PostgresAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/proxysqlautoscaler.go b/client/listers/autoscaling/v1alpha1/proxysqlautoscaler.go index b69cedb174..45853c826d 100644 --- a/client/listers/autoscaling/v1alpha1/proxysqlautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/proxysqlautoscaler.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // ProxySQLAutoscalerLister helps list ProxySQLAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/redisautoscaler.go b/client/listers/autoscaling/v1alpha1/redisautoscaler.go index 4a938b5a61..93c8d77d14 100644 --- a/client/listers/autoscaling/v1alpha1/redisautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/redisautoscaler.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // RedisAutoscalerLister helps list RedisAutoscalers. diff --git a/client/listers/autoscaling/v1alpha1/redissentinelautoscaler.go b/client/listers/autoscaling/v1alpha1/redissentinelautoscaler.go index 14488caa5f..5064fa9bc1 100644 --- a/client/listers/autoscaling/v1alpha1/redissentinelautoscaler.go +++ b/client/listers/autoscaling/v1alpha1/redissentinelautoscaler.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/autoscaling/v1alpha1" ) // RedisSentinelAutoscalerLister helps list RedisSentinelAutoscalers. diff --git a/client/listers/catalog/v1alpha1/elasticsearchversion.go b/client/listers/catalog/v1alpha1/elasticsearchversion.go index 87ce903777..b82219e9ab 100644 --- a/client/listers/catalog/v1alpha1/elasticsearchversion.go +++ b/client/listers/catalog/v1alpha1/elasticsearchversion.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // ElasticsearchVersionLister helps list ElasticsearchVersions. diff --git a/client/listers/catalog/v1alpha1/etcdversion.go b/client/listers/catalog/v1alpha1/etcdversion.go index 51bc240cd6..6a6b2dadf4 100644 --- a/client/listers/catalog/v1alpha1/etcdversion.go +++ b/client/listers/catalog/v1alpha1/etcdversion.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // EtcdVersionLister helps list EtcdVersions. diff --git a/client/listers/catalog/v1alpha1/kafkaversion.go b/client/listers/catalog/v1alpha1/kafkaversion.go index 2ff4bc4959..3a2c274f11 100644 --- a/client/listers/catalog/v1alpha1/kafkaversion.go +++ b/client/listers/catalog/v1alpha1/kafkaversion.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // KafkaVersionLister helps list KafkaVersions. diff --git a/client/listers/catalog/v1alpha1/mariadbversion.go b/client/listers/catalog/v1alpha1/mariadbversion.go index ccb4c21395..1d5945ddc2 100644 --- a/client/listers/catalog/v1alpha1/mariadbversion.go +++ b/client/listers/catalog/v1alpha1/mariadbversion.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // MariaDBVersionLister helps list MariaDBVersions. diff --git a/client/listers/catalog/v1alpha1/memcachedversion.go b/client/listers/catalog/v1alpha1/memcachedversion.go index 3fec3ffeda..e3d98f9148 100644 --- a/client/listers/catalog/v1alpha1/memcachedversion.go +++ b/client/listers/catalog/v1alpha1/memcachedversion.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // MemcachedVersionLister helps list MemcachedVersions. diff --git a/client/listers/catalog/v1alpha1/mongodbversion.go b/client/listers/catalog/v1alpha1/mongodbversion.go index c99ea64f8d..7a5525eac6 100644 --- a/client/listers/catalog/v1alpha1/mongodbversion.go +++ b/client/listers/catalog/v1alpha1/mongodbversion.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // MongoDBVersionLister helps list MongoDBVersions. diff --git a/client/listers/catalog/v1alpha1/mysqlversion.go b/client/listers/catalog/v1alpha1/mysqlversion.go index 2764572cbd..cf906fb53c 100644 --- a/client/listers/catalog/v1alpha1/mysqlversion.go +++ b/client/listers/catalog/v1alpha1/mysqlversion.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // MySQLVersionLister helps list MySQLVersions. diff --git a/client/listers/catalog/v1alpha1/perconaxtradbversion.go b/client/listers/catalog/v1alpha1/perconaxtradbversion.go index 5a40e5eeba..18a070fe58 100644 --- a/client/listers/catalog/v1alpha1/perconaxtradbversion.go +++ b/client/listers/catalog/v1alpha1/perconaxtradbversion.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // PerconaXtraDBVersionLister helps list PerconaXtraDBVersions. diff --git a/client/listers/catalog/v1alpha1/pgbouncerversion.go b/client/listers/catalog/v1alpha1/pgbouncerversion.go index de146938c1..1401cb7d7d 100644 --- a/client/listers/catalog/v1alpha1/pgbouncerversion.go +++ b/client/listers/catalog/v1alpha1/pgbouncerversion.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // PgBouncerVersionLister helps list PgBouncerVersions. diff --git a/client/listers/catalog/v1alpha1/postgresversion.go b/client/listers/catalog/v1alpha1/postgresversion.go index b272df139f..d7deb05dd6 100644 --- a/client/listers/catalog/v1alpha1/postgresversion.go +++ b/client/listers/catalog/v1alpha1/postgresversion.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // PostgresVersionLister helps list PostgresVersions. diff --git a/client/listers/catalog/v1alpha1/proxysqlversion.go b/client/listers/catalog/v1alpha1/proxysqlversion.go index 40c2b3ea5d..1e281dd1b2 100644 --- a/client/listers/catalog/v1alpha1/proxysqlversion.go +++ b/client/listers/catalog/v1alpha1/proxysqlversion.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // ProxySQLVersionLister helps list ProxySQLVersions. diff --git a/client/listers/catalog/v1alpha1/redisversion.go b/client/listers/catalog/v1alpha1/redisversion.go index 4acea156e5..9d1abb15cc 100644 --- a/client/listers/catalog/v1alpha1/redisversion.go +++ b/client/listers/catalog/v1alpha1/redisversion.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/catalog/v1alpha1" ) // RedisVersionLister helps list RedisVersions. diff --git a/client/listers/dashboard/v1alpha1/elasticsearchdashboard.go b/client/listers/dashboard/v1alpha1/elasticsearchdashboard.go index 370426c2f8..89c58b7324 100644 --- a/client/listers/dashboard/v1alpha1/elasticsearchdashboard.go +++ b/client/listers/dashboard/v1alpha1/elasticsearchdashboard.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/dashboard/v1alpha1" ) // ElasticsearchDashboardLister helps list ElasticsearchDashboards. diff --git a/client/listers/kubedb/v1alpha2/elasticsearch.go b/client/listers/kubedb/v1alpha2/elasticsearch.go index 49c5686803..ffe0f46c39 100644 --- a/client/listers/kubedb/v1alpha2/elasticsearch.go +++ b/client/listers/kubedb/v1alpha2/elasticsearch.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha2 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // ElasticsearchLister helps list Elasticsearches. diff --git a/client/listers/kubedb/v1alpha2/etcd.go b/client/listers/kubedb/v1alpha2/etcd.go index bad96bbc76..3c59151d33 100644 --- a/client/listers/kubedb/v1alpha2/etcd.go +++ b/client/listers/kubedb/v1alpha2/etcd.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha2 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // EtcdLister helps list Etcds. diff --git a/client/listers/kubedb/v1alpha2/kafka.go b/client/listers/kubedb/v1alpha2/kafka.go index 3315530ee9..69dff9abd4 100644 --- a/client/listers/kubedb/v1alpha2/kafka.go +++ b/client/listers/kubedb/v1alpha2/kafka.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha2 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // KafkaLister helps list Kafkas. diff --git a/client/listers/kubedb/v1alpha2/mariadb.go b/client/listers/kubedb/v1alpha2/mariadb.go index b1bd906b79..880a94db4d 100644 --- a/client/listers/kubedb/v1alpha2/mariadb.go +++ b/client/listers/kubedb/v1alpha2/mariadb.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha2 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // MariaDBLister helps list MariaDBs. diff --git a/client/listers/kubedb/v1alpha2/memcached.go b/client/listers/kubedb/v1alpha2/memcached.go index 73edf6fe8a..14720c0f0c 100644 --- a/client/listers/kubedb/v1alpha2/memcached.go +++ b/client/listers/kubedb/v1alpha2/memcached.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha2 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // MemcachedLister helps list Memcacheds. diff --git a/client/listers/kubedb/v1alpha2/mongodb.go b/client/listers/kubedb/v1alpha2/mongodb.go index a881970e7c..b5bd328d88 100644 --- a/client/listers/kubedb/v1alpha2/mongodb.go +++ b/client/listers/kubedb/v1alpha2/mongodb.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha2 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // MongoDBLister helps list MongoDBs. diff --git a/client/listers/kubedb/v1alpha2/mysql.go b/client/listers/kubedb/v1alpha2/mysql.go index 8fdc75c167..48fb8cdd12 100644 --- a/client/listers/kubedb/v1alpha2/mysql.go +++ b/client/listers/kubedb/v1alpha2/mysql.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha2 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // MySQLLister helps list MySQLs. diff --git a/client/listers/kubedb/v1alpha2/perconaxtradb.go b/client/listers/kubedb/v1alpha2/perconaxtradb.go index f346060237..3ed75289d3 100644 --- a/client/listers/kubedb/v1alpha2/perconaxtradb.go +++ b/client/listers/kubedb/v1alpha2/perconaxtradb.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha2 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // PerconaXtraDBLister helps list PerconaXtraDBs. diff --git a/client/listers/kubedb/v1alpha2/pgbouncer.go b/client/listers/kubedb/v1alpha2/pgbouncer.go index 3c8aa3780a..c62beb239a 100644 --- a/client/listers/kubedb/v1alpha2/pgbouncer.go +++ b/client/listers/kubedb/v1alpha2/pgbouncer.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha2 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // PgBouncerLister helps list PgBouncers. diff --git a/client/listers/kubedb/v1alpha2/postgres.go b/client/listers/kubedb/v1alpha2/postgres.go index 5b4052a482..e0f2cbc089 100644 --- a/client/listers/kubedb/v1alpha2/postgres.go +++ b/client/listers/kubedb/v1alpha2/postgres.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha2 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // PostgresLister helps list Postgreses. diff --git a/client/listers/kubedb/v1alpha2/proxysql.go b/client/listers/kubedb/v1alpha2/proxysql.go index 14135b27a9..52b3237feb 100644 --- a/client/listers/kubedb/v1alpha2/proxysql.go +++ b/client/listers/kubedb/v1alpha2/proxysql.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha2 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // ProxySQLLister helps list ProxySQLs. diff --git a/client/listers/kubedb/v1alpha2/redis.go b/client/listers/kubedb/v1alpha2/redis.go index 219ff6d626..5c52347678 100644 --- a/client/listers/kubedb/v1alpha2/redis.go +++ b/client/listers/kubedb/v1alpha2/redis.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha2 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // RedisLister helps list Redises. diff --git a/client/listers/kubedb/v1alpha2/redissentinel.go b/client/listers/kubedb/v1alpha2/redissentinel.go index 734862e0d9..7071d75a9a 100644 --- a/client/listers/kubedb/v1alpha2/redissentinel.go +++ b/client/listers/kubedb/v1alpha2/redissentinel.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha2 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // RedisSentinelLister helps list RedisSentinels. diff --git a/client/listers/ops/v1alpha1/elasticsearchopsrequest.go b/client/listers/ops/v1alpha1/elasticsearchopsrequest.go index 5b681c7dbd..ddbe6c6afb 100644 --- a/client/listers/ops/v1alpha1/elasticsearchopsrequest.go +++ b/client/listers/ops/v1alpha1/elasticsearchopsrequest.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // ElasticsearchOpsRequestLister helps list ElasticsearchOpsRequests. diff --git a/client/listers/ops/v1alpha1/etcdopsrequest.go b/client/listers/ops/v1alpha1/etcdopsrequest.go index 82156ca18f..f6c9d385c8 100644 --- a/client/listers/ops/v1alpha1/etcdopsrequest.go +++ b/client/listers/ops/v1alpha1/etcdopsrequest.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // EtcdOpsRequestLister helps list EtcdOpsRequests. diff --git a/client/listers/ops/v1alpha1/kafkaopsrequest.go b/client/listers/ops/v1alpha1/kafkaopsrequest.go index 5efbea2be1..d54229fd05 100644 --- a/client/listers/ops/v1alpha1/kafkaopsrequest.go +++ b/client/listers/ops/v1alpha1/kafkaopsrequest.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // KafkaOpsRequestLister helps list KafkaOpsRequests. diff --git a/client/listers/ops/v1alpha1/mariadbopsrequest.go b/client/listers/ops/v1alpha1/mariadbopsrequest.go index a4a0d83a7d..d3f99c76f8 100644 --- a/client/listers/ops/v1alpha1/mariadbopsrequest.go +++ b/client/listers/ops/v1alpha1/mariadbopsrequest.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // MariaDBOpsRequestLister helps list MariaDBOpsRequests. diff --git a/client/listers/ops/v1alpha1/memcachedopsrequest.go b/client/listers/ops/v1alpha1/memcachedopsrequest.go index 64eb40351b..c8e196febb 100644 --- a/client/listers/ops/v1alpha1/memcachedopsrequest.go +++ b/client/listers/ops/v1alpha1/memcachedopsrequest.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // MemcachedOpsRequestLister helps list MemcachedOpsRequests. diff --git a/client/listers/ops/v1alpha1/mongodbopsrequest.go b/client/listers/ops/v1alpha1/mongodbopsrequest.go index 12bf2e7bac..4746ce67bc 100644 --- a/client/listers/ops/v1alpha1/mongodbopsrequest.go +++ b/client/listers/ops/v1alpha1/mongodbopsrequest.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // MongoDBOpsRequestLister helps list MongoDBOpsRequests. diff --git a/client/listers/ops/v1alpha1/mysqlopsrequest.go b/client/listers/ops/v1alpha1/mysqlopsrequest.go index d3cc4eb8b1..d0c0e3cf03 100644 --- a/client/listers/ops/v1alpha1/mysqlopsrequest.go +++ b/client/listers/ops/v1alpha1/mysqlopsrequest.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // MySQLOpsRequestLister helps list MySQLOpsRequests. diff --git a/client/listers/ops/v1alpha1/perconaxtradbopsrequest.go b/client/listers/ops/v1alpha1/perconaxtradbopsrequest.go index d78f2a166c..894c84721c 100644 --- a/client/listers/ops/v1alpha1/perconaxtradbopsrequest.go +++ b/client/listers/ops/v1alpha1/perconaxtradbopsrequest.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // PerconaXtraDBOpsRequestLister helps list PerconaXtraDBOpsRequests. diff --git a/client/listers/ops/v1alpha1/pgbounceropsrequest.go b/client/listers/ops/v1alpha1/pgbounceropsrequest.go index 2b7eb4110d..c551f8a32a 100644 --- a/client/listers/ops/v1alpha1/pgbounceropsrequest.go +++ b/client/listers/ops/v1alpha1/pgbounceropsrequest.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // PgBouncerOpsRequestLister helps list PgBouncerOpsRequests. diff --git a/client/listers/ops/v1alpha1/postgresopsrequest.go b/client/listers/ops/v1alpha1/postgresopsrequest.go index 109771b2b4..095c23ef64 100644 --- a/client/listers/ops/v1alpha1/postgresopsrequest.go +++ b/client/listers/ops/v1alpha1/postgresopsrequest.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // PostgresOpsRequestLister helps list PostgresOpsRequests. diff --git a/client/listers/ops/v1alpha1/proxysqlopsrequest.go b/client/listers/ops/v1alpha1/proxysqlopsrequest.go index 95619423c4..acaa813be0 100644 --- a/client/listers/ops/v1alpha1/proxysqlopsrequest.go +++ b/client/listers/ops/v1alpha1/proxysqlopsrequest.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // ProxySQLOpsRequestLister helps list ProxySQLOpsRequests. diff --git a/client/listers/ops/v1alpha1/redisopsrequest.go b/client/listers/ops/v1alpha1/redisopsrequest.go index 578b6eb9f3..1b890841c6 100644 --- a/client/listers/ops/v1alpha1/redisopsrequest.go +++ b/client/listers/ops/v1alpha1/redisopsrequest.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // RedisOpsRequestLister helps list RedisOpsRequests. diff --git a/client/listers/ops/v1alpha1/redissentinelopsrequest.go b/client/listers/ops/v1alpha1/redissentinelopsrequest.go index af9fc0c507..05244c7226 100644 --- a/client/listers/ops/v1alpha1/redissentinelopsrequest.go +++ b/client/listers/ops/v1alpha1/redissentinelopsrequest.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/ops/v1alpha1" ) // RedisSentinelOpsRequestLister helps list RedisSentinelOpsRequests. diff --git a/client/listers/postgres/v1alpha1/publisher.go b/client/listers/postgres/v1alpha1/publisher.go index d930694577..d5ed388ace 100644 --- a/client/listers/postgres/v1alpha1/publisher.go +++ b/client/listers/postgres/v1alpha1/publisher.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" ) // PublisherLister helps list Publishers. diff --git a/client/listers/postgres/v1alpha1/subscriber.go b/client/listers/postgres/v1alpha1/subscriber.go index 3822bfd255..02730a578b 100644 --- a/client/listers/postgres/v1alpha1/subscriber.go +++ b/client/listers/postgres/v1alpha1/subscriber.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/postgres/v1alpha1" ) // SubscriberLister helps list Subscribers. diff --git a/client/listers/schema/v1alpha1/mariadbdatabase.go b/client/listers/schema/v1alpha1/mariadbdatabase.go index 87613e90d0..b4a30c74ef 100644 --- a/client/listers/schema/v1alpha1/mariadbdatabase.go +++ b/client/listers/schema/v1alpha1/mariadbdatabase.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // MariaDBDatabaseLister helps list MariaDBDatabases. diff --git a/client/listers/schema/v1alpha1/mongodbdatabase.go b/client/listers/schema/v1alpha1/mongodbdatabase.go index 30d732117e..a96e3ba219 100644 --- a/client/listers/schema/v1alpha1/mongodbdatabase.go +++ b/client/listers/schema/v1alpha1/mongodbdatabase.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // MongoDBDatabaseLister helps list MongoDBDatabases. diff --git a/client/listers/schema/v1alpha1/mysqldatabase.go b/client/listers/schema/v1alpha1/mysqldatabase.go index dd6a18c2f4..226db04809 100644 --- a/client/listers/schema/v1alpha1/mysqldatabase.go +++ b/client/listers/schema/v1alpha1/mysqldatabase.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // MySQLDatabaseLister helps list MySQLDatabases. diff --git a/client/listers/schema/v1alpha1/postgresdatabase.go b/client/listers/schema/v1alpha1/postgresdatabase.go index a3245ac58a..fc7e91219c 100644 --- a/client/listers/schema/v1alpha1/postgresdatabase.go +++ b/client/listers/schema/v1alpha1/postgresdatabase.go @@ -19,10 +19,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1alpha1 "kubedb.dev/apimachinery/apis/schema/v1alpha1" ) // PostgresDatabaseLister helps list PostgresDatabases. diff --git a/openapi/swagger.json b/openapi/swagger.json index cf8d671e99..472da65fe9 100644 --- a/openapi/swagger.json +++ b/openapi/swagger.json @@ -30925,6 +30925,10 @@ "dev.kubedb.apimachinery.apis.kubedb.v1alpha2.KernelSettings": { "type": "object", "properties": { + "disableDefaults": { + "description": "DisableDefaults can be set to false to avoid defaulting via mutator", + "type": "boolean" + }, "privileged": { "description": "Privileged specifies the status whether the init container requires privileged access to perform the following commands.", "type": "boolean" From 3060075c7005dfee1f310879dea98718bce95cb6 Mon Sep 17 00:00:00 2001 From: raihankhan Date: Fri, 24 Nov 2023 15:14:17 +0600 Subject: [PATCH 5/8] Set default user for exporter container Signed-off-by: raihankhan --- apis/kubedb/v1alpha2/elasticsearch_helpers.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apis/kubedb/v1alpha2/elasticsearch_helpers.go b/apis/kubedb/v1alpha2/elasticsearch_helpers.go index 5902b83396..f3e400bc27 100644 --- a/apis/kubedb/v1alpha2/elasticsearch_helpers.go +++ b/apis/kubedb/v1alpha2/elasticsearch_helpers.go @@ -623,8 +623,15 @@ func (e *Elasticsearch) SetDefaults(esVersion *catalog.ElasticsearchVersion, top e.setDefaultAffinity(&e.Spec.PodTemplate, e.OffshootSelectors(), topology) e.setContainerSecurityContextDefaults(&e.Spec.PodTemplate) e.setDefaultInternalUsersAndRoleMappings(esVersion) + e.SetMetricsExporterDefaults() e.SetTLSDefaults(esVersion) +} + +func (e *Elasticsearch) SetMetricsExporterDefaults() { e.Spec.Monitor.SetDefaults() + if e.Spec.Monitor != nil && e.Spec.Monitor.Prometheus != nil && e.Spec.Monitor.Prometheus.Exporter.SecurityContext.RunAsUser == nil { + e.Spec.Monitor.Prometheus.Exporter.SecurityContext.RunAsUser = pointer.Int64P(1000) + } } // setDefaultAffinity From 3ae79b15ae7e28d7d049ee4900d4cfec9f240d42 Mon Sep 17 00:00:00 2001 From: pritamdas99 Date: Mon, 27 Nov 2023 13:24:15 +0600 Subject: [PATCH 6/8] Default disableSecurity to false. Signed-off-by: pritamdas99 --- apis/kubedb/v1alpha2/elasticsearch_helpers.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apis/kubedb/v1alpha2/elasticsearch_helpers.go b/apis/kubedb/v1alpha2/elasticsearch_helpers.go index f3e400bc27..b9aa17fbb3 100644 --- a/apis/kubedb/v1alpha2/elasticsearch_helpers.go +++ b/apis/kubedb/v1alpha2/elasticsearch_helpers.go @@ -597,6 +597,9 @@ func (e *Elasticsearch) SetDefaults(esVersion *catalog.ElasticsearchVersion, top // - Ref: https://www.elastic.co/guide/en/elasticsearch/reference/7.9/vm-max-map-count.html // if kernelSettings defaults is enabled systls-init container will be injected with the default vm_map_count settings // if not init container will not be injected and default values will not be set + if e.Spec.KernelSettings == nil { + e.Spec.KernelSettings.DisableDefaults = false + } if e.Spec.KernelSettings != nil && !e.Spec.KernelSettings.DisableDefaults { e.Spec.KernelSettings.Privileged = true vmMapCountNotSet := true @@ -614,10 +617,6 @@ func (e *Elasticsearch) SetDefaults(esVersion *catalog.ElasticsearchVersion, top Value: "262144", }) } - } else { - e.Spec.KernelSettings = &KernelSettings{ - DisableDefaults: true, - } } e.setDefaultAffinity(&e.Spec.PodTemplate, e.OffshootSelectors(), topology) From 3d933c97d4049aa33733051523599a01425664a8 Mon Sep 17 00:00:00 2001 From: pritamdas99 Date: Mon, 27 Nov 2023 14:03:30 +0600 Subject: [PATCH 7/8] Initialize kernelSettings if nil. Signed-off-by: pritamdas99 --- apis/kubedb/v1alpha2/elasticsearch_helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/kubedb/v1alpha2/elasticsearch_helpers.go b/apis/kubedb/v1alpha2/elasticsearch_helpers.go index b9aa17fbb3..7872d7e2e3 100644 --- a/apis/kubedb/v1alpha2/elasticsearch_helpers.go +++ b/apis/kubedb/v1alpha2/elasticsearch_helpers.go @@ -598,7 +598,7 @@ func (e *Elasticsearch) SetDefaults(esVersion *catalog.ElasticsearchVersion, top // if kernelSettings defaults is enabled systls-init container will be injected with the default vm_map_count settings // if not init container will not be injected and default values will not be set if e.Spec.KernelSettings == nil { - e.Spec.KernelSettings.DisableDefaults = false + e.Spec.KernelSettings = &KernelSettings{} } if e.Spec.KernelSettings != nil && !e.Spec.KernelSettings.DisableDefaults { e.Spec.KernelSettings.Privileged = true From ff70468c7ee9b0986021466e7e531c20c63e5762 Mon Sep 17 00:00:00 2001 From: pritamdas99 Date: Mon, 27 Nov 2023 15:53:53 +0600 Subject: [PATCH 8/8] Refactor kernelSettings default function. Signed-off-by: pritamdas99 --- apis/kubedb/v1alpha2/elasticsearch_helpers.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apis/kubedb/v1alpha2/elasticsearch_helpers.go b/apis/kubedb/v1alpha2/elasticsearch_helpers.go index 7872d7e2e3..5ea78d54b4 100644 --- a/apis/kubedb/v1alpha2/elasticsearch_helpers.go +++ b/apis/kubedb/v1alpha2/elasticsearch_helpers.go @@ -598,9 +598,11 @@ func (e *Elasticsearch) SetDefaults(esVersion *catalog.ElasticsearchVersion, top // if kernelSettings defaults is enabled systls-init container will be injected with the default vm_map_count settings // if not init container will not be injected and default values will not be set if e.Spec.KernelSettings == nil { - e.Spec.KernelSettings = &KernelSettings{} + e.Spec.KernelSettings = &KernelSettings{ + DisableDefaults: false, + } } - if e.Spec.KernelSettings != nil && !e.Spec.KernelSettings.DisableDefaults { + if !e.Spec.KernelSettings.DisableDefaults { e.Spec.KernelSettings.Privileged = true vmMapCountNotSet := true if len(e.Spec.KernelSettings.Sysctls) != 0 {