From 608147a0934565ad011feb616b812a4902a276c0 Mon Sep 17 00:00:00 2001 From: Ian Roberts Date: Fri, 19 Nov 2021 10:04:19 +0000 Subject: [PATCH 1/7] Make log verbosity configurable in helm installation (#397) Make log verbosity level configurable via chart values, rather than hard-coding --v values (several components are currently set at --v=5, the most verbose level, intended for trace-level logging). For backwards compatibility the defaults are set to match the previous hard-coded values everywhere, but this can now be overridden via csiController.{attacher|provisioner|resizer|snapshotController}.logLevel for the controller (or csiController.logLevel to set the default for all four), csiNode.driverRegistrar.logLevel for the CSI node and cvcOperator.logLevel for the CVC operator. Signed-off-by: Ian Roberts --- deploy/helm/charts/Chart.yaml | 2 +- deploy/helm/charts/README.md | 8 ++++++++ deploy/helm/charts/templates/csi-controller.yaml | 8 ++++---- deploy/helm/charts/templates/csi-node.yaml | 2 +- deploy/helm/charts/templates/cvc-operator.yaml | 2 +- deploy/helm/charts/values.yaml | 3 +++ 6 files changed, 18 insertions(+), 7 deletions(-) diff --git a/deploy/helm/charts/Chart.yaml b/deploy/helm/charts/Chart.yaml index 16efab5a..f8c93526 100644 --- a/deploy/helm/charts/Chart.yaml +++ b/deploy/helm/charts/Chart.yaml @@ -4,7 +4,7 @@ description: CStor-Operator helm chart for Kubernetes type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 3.0.1 +version: 3.0.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. appVersion: 3.0.0 diff --git a/deploy/helm/charts/README.md b/deploy/helm/charts/README.md index 1ef63c14..7fe80b7d 100644 --- a/deploy/helm/charts/README.md +++ b/deploy/helm/charts/README.md @@ -122,19 +122,23 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | csiController.attacher.image.registry | string | `"k8s.gcr.io/"` | CSI attacher image registry | | csiController.attacher.image.repository | string | `"sig-storage/csi-attacher"` | CSI attacher image repo | | csiController.attacher.image.tag | string | `"v3.1.0"` | CSI attacher image tag | +| csiController.attacher.logLevel | string | _unspecified_ | Override log level for CSI attacher container (1 = least verbose, 5 = most verbose) | | csiController.attacher.name | string | `"csi-attacher"` | CSI attacher container name| | csiController.componentName | string | `"openebs-cstor-csi-controller"` | CSI controller component name | +| csiController.logLevel | string | `"5"` | Default log level for all CSI controller containers (1 = least verbose, 5 = most verbose) unless overridden for a specific container | | csiController.nodeSelector | object | `{}` | CSI controller pod node selector | | csiController.podAnnotations | object | `{}` | CSI controller pod annotations | | csiController.provisioner.image.pullPolicy | string | `"IfNotPresent"` | CSI provisioner image pull policy | | csiController.provisioner.image.registry | string | `"k8s.gcr.io/"` | CSI provisioner image pull registry | | csiController.provisioner.image.repository | string | `"sig-storage/csi-provisioner"` | CSI provisioner image pull repository | | csiController.provisioner.image.tag | string | `"v3.0.0"` | CSI provisioner image tag | +| csiController.provisioner.logLevel | string | _unspecified_ | Override log level for CSI provisioner container (1 = least verbose, 5 = most verbose) | | csiController.provisioner.name | string | `"csi-provisioner"` | CSI provisioner container name | | csiController.resizer.image.pullPolicy | string | `"IfNotPresent"` | CSI resizer image pull policy | | csiController.resizer.image.registry | string | `"k8s.gcr.io/"` | CSI resizer image registry | | csiController.resizer.image.repository | string | `"sig-storage/csi-resizer"` | CSI resizer image repository| | csiController.resizer.image.tag | string | `"v1.2.0"` | CSI resizer image tag | +| csiController.resizer.logLevel | string | _unspecified_ | Override log level for CSI resizer container (1 = least verbose, 5 = most verbose) | | csiController.resizer.name | string | `"csi-resizer"` | CSI resizer container name | | csiController.resources | object | `{}` | CSI controller container resources | | csiController.securityContext | object | `{}` | CSI controller security context | @@ -142,6 +146,7 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | csiController.snapshotController.image.registry | string | `"k8s.gcr.io/"` | CSI snapshot controller image registry | | csiController.snapshotController.image.repository | string | `"sig-storage/snapshot-controller"` | CSI snapshot controller image repository | | csiController.snapshotController.image.tag | string | `"v3.0.3"` | CSI snapshot controller image tag | +| csiController.snapshotController.logLevel | string | _unspecified_ | Override log level for CSI snapshot controller container (1 = least verbose, 5 = most verbose) | | csiController.snapshotController.name | string | `"snapshot-controller"` | CSI snapshot controller container name | | csiController.snapshotter.image.pullPolicy | string | `"IfNotPresent"` | CSI snapshotter image pull policy | | csiController.snapshotter.image.registry | string | `"k8s.gcr.io/"` | CSI snapshotter image pull registry | @@ -155,9 +160,11 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | csiNode.driverRegistrar.image.registry | string | `"k8s.gcr.io/"` | CSI Node driver registrar image registry | | csiNode.driverRegistrar.image.repository | string | `"sig-storage/csi-node-driver-registrar"` | CSI Node driver registrar image repository | | csiNode.driverRegistrar.image.tag | string | `"v2.3.0"` | CSI Node driver registrar image tag| +| csiNode.driverRegistrar.logLevel | string | _unspecified_ | Override log level for CSI node driver registrar container (1 = least verbose, 5 = most verbose) | | csiNode.driverRegistrar.name | string | `"csi-node-driver-registrar"` | CSI Node driver registrar container name | | csiNode.kubeletDir | string | `"/var/lib/kubelet/"` | Kubelet root dir | | csiNode.labels | object | `{}` | CSI Node pod labels | +| csiNode.logLevel | string | `"5"` | Default log level for CSI node containers (1 = least verbose, 5 = most verbose) unless overriden for a specific container | | csiNode.nodeSelector | object | `{}` | CSI Node pod nodeSelector | | csiNode.podAnnotations | object | `{}` | CSI Node pod annotations | | csiNode.resources | object | `{}` | CSI Node pod resources | @@ -197,6 +204,7 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | cvcOperator.image.registry | string | `nil` | CVC operator image registry | | cvcOperator.image.repository | string | `"openebs/cvc-operator"` | CVC operator image repository | | cvcOperator.image.tag | string | `"3.0.0"` | CVC operator image tag | +| cvcOperator.logLevel | string | `"2"` | Log level for CVC operator container (1 = least verbose, 5 = most verbose) | | cvcOperator.nodeSelector | object | `{}` | CVC operator pod nodeSelector | | cvcOperator.podAnnotations | object | `{}` | CVC operator pod annotations | | cvcOperator.resources | object | `{}` |CVC operator pod resources | diff --git a/deploy/helm/charts/templates/csi-controller.yaml b/deploy/helm/charts/templates/csi-controller.yaml index b8cb8273..2bcfc380 100644 --- a/deploy/helm/charts/templates/csi-controller.yaml +++ b/deploy/helm/charts/templates/csi-controller.yaml @@ -29,7 +29,7 @@ spec: resources: {{ toYaml .Values.csiController.resources | indent 12 }} args: - - "--v=5" + - "--v={{ .Values.csiController.resizer.logLevel | default .Values.csiController.logLevel }}" - "--csi-address=$(ADDRESS)" - "--leader-election" env: @@ -53,7 +53,7 @@ spec: - name: {{ .Values.csiController.snapshotController.name }} image: "{{ .Values.csiController.snapshotController.image.registry }}{{ .Values.csiController.snapshotController.image.repository }}:{{ .Values.csiController.snapshotController.image.tag }}" args: - - "--v=5" + - "--v={{ .Values.csiController.snapshotController.logLevel | default .Values.csiController.logLevel }}" - "--leader-election=false" imagePullPolicy: {{ .Values.csiController.snapshotController.image.pullPolicy }} - name: {{ .Values.csiController.provisioner.name }} @@ -61,7 +61,7 @@ spec: imagePullPolicy: {{ .Values.csiController.provisioner.image.pullPolicy }} args: - "--csi-address=$(ADDRESS)" - - "--v=5" + - "--v={{ .Values.csiController.provisioner.logLevel | default .Values.csiController.logLevel }}" - "--feature-gates=Topology=true" - "--extra-create-metadata=true" - "--metrics-address=:22011" @@ -81,7 +81,7 @@ spec: image: "{{ .Values.csiController.attacher.image.registry }}{{ .Values.csiController.attacher.image.repository }}:{{ .Values.csiController.attacher.image.tag }}" imagePullPolicy: {{ .Values.csiController.attacher.image.pullPolicy }} args: - - "--v=5" + - "--v={{ .Values.csiController.attacher.logLevel | default .Values.csiController.logLevel }}" - "--csi-address=$(ADDRESS)" env: - name: ADDRESS diff --git a/deploy/helm/charts/templates/csi-node.yaml b/deploy/helm/charts/templates/csi-node.yaml index 8a9a59e2..f319bc54 100644 --- a/deploy/helm/charts/templates/csi-node.yaml +++ b/deploy/helm/charts/templates/csi-node.yaml @@ -29,7 +29,7 @@ spec: resources: {{ toYaml .Values.csiNode.resources | indent 12 }} args: - - "--v=5" + - "--v={{ .Values.csiNode.driverRegistrar.logLevel | default .Values.csiNode.logLevel }}" - "--csi-address=$(ADDRESS)" - "--kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)" lifecycle: diff --git a/deploy/helm/charts/templates/cvc-operator.yaml b/deploy/helm/charts/templates/cvc-operator.yaml index 561c6562..f1ec691f 100644 --- a/deploy/helm/charts/templates/cvc-operator.yaml +++ b/deploy/helm/charts/templates/cvc-operator.yaml @@ -28,7 +28,7 @@ spec: imagePullPolicy: {{ .Values.cvcOperator.image.pullPolicy }} image: "{{ .Values.cvcOperator.image.registry }}{{ .Values.cvcOperator.image.repository }}:{{ .Values.cvcOperator.image.tag }}" args: - - "--v=2" + - "--v={{ .Values.cvcOperator.logLevel }}" - "--leader-election=false" - "--bind=$(OPENEBS_CVC_POD_IP)" resources: diff --git a/deploy/helm/charts/values.yaml b/deploy/helm/charts/values.yaml index 5a5346e1..ea207685 100644 --- a/deploy/helm/charts/values.yaml +++ b/deploy/helm/charts/values.yaml @@ -85,6 +85,7 @@ cvcOperator: tolerations: [] resources: {} securityContext: {} + logLevel: "2" csiController: priorityClass: @@ -92,6 +93,7 @@ csiController: name: cstor-csi-controller-critical value: 900000000 componentName: "openebs-cstor-csi-controller" + logLevel: "5" resizer: name: "csi-resizer" image: @@ -176,6 +178,7 @@ csiNode: pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. tag: v2.3.0 + logLevel: "5" updateStrategy: type: RollingUpdate annotations: {} From 1d4b9b2c5644bbbafea04e6e1505ca6d35f5e47c Mon Sep 17 00:00:00 2001 From: Abhishek Agarwal Date: Mon, 29 Nov 2021 16:48:56 +0530 Subject: [PATCH 2/7] chore(deps): update go mod to use the openebs v3 api modules (#403) Updates the openebs/api dependencies to use v3 release. --- cmd/cspc-operator/app/start.go | 6 +- cmd/pool-manager/app/start.go | 4 +- cmd/volume-manager/app/commands.go | 2 +- cmd/webhook/main.go | 2 +- go.mod | 2 +- go.sum | 5 +- .../backup-controller/controller.go | 10 ++-- .../backup-controller/controller_test.go | 4 +- pkg/controllers/backup-controller/handler.go | 2 +- pkg/controllers/common/common.go | 6 +- pkg/controllers/common/common_test.go | 4 +- pkg/controllers/cspc-controller/cleanup.go | 6 +- .../cspc-controller/cleanup_test.go | 8 +-- pkg/controllers/cspc-controller/controller.go | 18 +++--- pkg/controllers/cspc-controller/handler.go | 4 +- .../cspc-controller/handler_test.go | 10 ++-- pkg/controllers/cspc-controller/operations.go | 6 +- pkg/controllers/cspc-controller/scale.go | 4 +- pkg/controllers/cspc-controller/status.go | 4 +- pkg/controllers/cspc-controller/sync.go | 8 +-- .../cspc-controller/util/cspc_util.go | 2 +- .../cspc-controller/util/cspc_util_test.go | 2 +- pkg/controllers/cspi-controller/controller.go | 8 +-- pkg/controllers/cspi-controller/handler.go | 8 +-- .../cspi-controller/handler_test.go | 12 ++-- pkg/controllers/cspi-controller/status.go | 2 +- .../cspi-controller/status_test.go | 4 +- .../cspi-controller/util/cspi_utils.go | 2 +- pkg/controllers/cspi-controller/utils.go | 4 +- .../cstorvolumeconfig/controller.go | 8 +-- .../cstorvolumeconfig/controller_base.go | 10 ++-- .../cstorvolumeconfig/controller_test.go | 8 +-- .../cstorvolumeconfig/deployment.go | 8 +-- pkg/controllers/cstorvolumeconfig/pdb.go | 2 +- pkg/controllers/cstorvolumeconfig/policy.go | 2 +- pkg/controllers/cstorvolumeconfig/start.go | 6 +- .../cstorvolumeconfig/volume_operations.go | 10 ++-- .../replica-controller/controller.go | 8 +-- .../replica-controller/controller_test.go | 4 +- pkg/controllers/replica-controller/handler.go | 4 +- .../replica-controller/handler_test.go | 6 +- .../replica-controller/runner_test.go | 10 ++-- pkg/controllers/restore-controller/handler.go | 4 +- .../new_restore_controller.go | 10 ++-- .../new_restore_controller_test.go | 4 +- pkg/controllers/testutil/zcmd/zpool/add.go | 2 +- pkg/controllers/testutil/zcmd/zpool/create.go | 4 +- pkg/controllers/testutil/zcmd/zpool/dump.go | 2 +- pkg/controllers/testutil/zcmd/zpool/fake.go | 2 +- .../testutil/zcmd/zpool/pool_utils.go | 2 +- .../testutil/zcmd/zpool/replace.go | 2 +- pkg/controllers/volume-mgmt/controller.go | 8 +-- .../volume-mgmt/controller_test.go | 4 +- pkg/controllers/volume-mgmt/handler.go | 8 +-- pkg/controllers/volume-mgmt/handler_test.go | 8 +-- pkg/controllers/volume-mgmt/runner_test.go | 10 ++-- pkg/controllers/volume-mgmt/start.go | 8 +-- pkg/controllers/volume-mgmt/start_test.go | 2 +- pkg/controllers/volume-mgmt/volume/volume.go | 6 +- .../volume-mgmt/volume/volume_test.go | 4 +- pkg/cspc/algorithm/build_csp.go | 4 +- pkg/cspc/algorithm/build_deploy.go | 10 ++-- pkg/cspc/algorithm/config.go | 8 +-- pkg/cspc/algorithm/select_node.go | 6 +- pkg/cspc/algorithm/select_node_test.go | 8 +-- pkg/pool/operations/config.go | 2 +- pkg/pool/operations/create.go | 4 +- pkg/pool/operations/delete.go | 2 +- pkg/pool/operations/disk_operation.go | 2 +- pkg/pool/operations/import.go | 4 +- pkg/pool/operations/modify.go | 4 +- pkg/pool/operations/pool_utils.go | 10 ++-- pkg/pool/operations/pool_utils_test.go | 6 +- pkg/pool/operations/property.go | 2 +- pkg/pool/operations/status.go | 2 +- pkg/pool/pool.go | 6 +- .../cstorvolumeconfig/backup_endpoint.go | 10 ++-- .../backup_restore_helper.go | 2 +- pkg/server/cstorvolumeconfig/https_test.go | 14 ++--- .../cstorvolumeconfig/restore_endpoint.go | 8 +-- pkg/server/cstorvolumeconfig/server.go | 2 +- pkg/server/cstorvolumeconfig/v1_backup.go | 6 +- .../cstorvolumeconfig/v1alpha1_backup.go | 6 +- .../cstorvolumeconfig/v1alpha1_restore.go | 4 +- pkg/snapshot/client.go | 2 +- pkg/snapshot/snapshot.go | 4 +- pkg/snapshot/snapshottest/snapshot.go | 2 +- pkg/volume-rpc/client/api.go | 4 +- pkg/volume-rpc/client/api_test.go | 2 +- pkg/volume-rpc/client/server.go | 4 +- pkg/volume-rpc/targetserver/config.go | 8 +-- pkg/volume-rpc/targetserver/server.go | 4 +- pkg/volumereplica/volumereplica.go | 8 +-- pkg/volumereplica/volumereplica_test.go | 2 +- pkg/webhook/configuration.go | 4 +- pkg/webhook/cspc.go | 10 ++-- pkg/webhook/cspc_operations.go | 8 +-- pkg/webhook/cspc_operations_test.go | 4 +- pkg/webhook/cspc_test.go | 10 ++-- pkg/webhook/cvc.go | 6 +- pkg/webhook/cvc_test.go | 6 +- pkg/webhook/pvc.go | 2 +- pkg/webhook/webhook.go | 2 +- pkg/zcmd/zpool/dump/builder.go | 2 +- pkg/zcmd/zpool/dump/utils.go | 2 +- .../cspc/provisioning/pool_properties_test.go | 4 +- tests/cspc/provisioning/provisioning_test.go | 4 +- .../provisioing/provisioning_test.go | 2 +- .../provisioing/provisioning_utils.go | 2 +- tests/pkg/cache/cspccache/cache.go | 2 +- tests/pkg/cspc/cspcspecbuilder/specbuilder.go | 2 +- .../cvcspecbuilder/specbuilder.go | 2 +- tests/pkg/k8sclient/client.go | 2 +- tests/pkg/k8sclient/cspc_util.go | 6 +- tests/pkg/k8sclient/cspi_util.go | 4 +- tests/pkg/k8sclient/cv_util.go | 6 +- tests/pkg/k8sclient/cvc_util.go | 4 +- tests/pkg/k8sclient/cvr_util.go | 6 +- .../github.com/openebs/api/{v2 => v3}/LICENSE | 0 .../api/{v2 => v3}/pkg/apis/cstor/doc.go | 0 .../pkg/apis/cstor/v1/cstorbackup.go | 0 .../cstor/v1/cstorbackuprestorebuilder.go | 0 .../pkg/apis/cstor/v1/cstorcompletebackup.go | 0 .../pkg/apis/cstor/v1/cstorpoolcluster.go | 0 .../apis/cstor/v1/cstorpoolclusterbuilder.go | 2 +- .../pkg/apis/cstor/v1/cstorpoolinstance.go | 0 .../apis/cstor/v1/cstorpoolinstancebuilder.go | 2 +- .../pkg/apis/cstor/v1/cstorrestore.go | 0 .../pkg/apis/cstor/v1/cstorvolume.go | 16 ++++++ .../pkg/apis/cstor/v1/cstorvolume.proto | 0 .../apis/cstor/v1/cstorvolumeattachments.go | 0 .../pkg/apis/cstor/v1/cstorvolumebuilder.go | 4 +- .../pkg/apis/cstor/v1/cstorvolumeconfig.go | 0 .../pkg/apis/cstor/v1/cstorvolumepolicy.go | 0 .../pkg/apis/cstor/v1/cstorvolumereplica.go | 0 .../api/{v2 => v3}/pkg/apis/cstor/v1/doc.go | 0 .../{v2 => v3}/pkg/apis/cstor/v1/register.go | 2 +- .../apis/cstor/v1/version_details_types.go | 0 .../apis/cstor/v1/zz_generated.deepcopy.go | 0 .../api/{v2 => v3}/pkg/apis/openebs.io/doc.go | 0 .../openebs.io/v1alpha1/blockdevice_types.go | 0 .../v1alpha1/blockdeviceclaim_types.go | 0 .../v1alpha1/blockdeviceclaimbuilder.go | 25 ++++++++- .../apis/openebs.io/v1alpha1/cstorbackup.go | 0 .../v1alpha1/cstorcompletebackup.go | 0 .../apis/openebs.io/v1alpha1/cstorrestore.go | 0 .../pkg/apis/openebs.io/v1alpha1/doc.go | 0 .../apis/openebs.io/v1alpha1/migrationtask.go | 0 .../pkg/apis/openebs.io/v1alpha1/register.go | 2 +- .../openebs.io/v1alpha1/upgradetask_types.go | 0 .../v1alpha1/zz_generated.deepcopy.go | 0 .../api/{v2 => v3}/pkg/apis/types/types.go | 0 .../client/clientset/versioned/clientset.go | 4 +- .../pkg/client/clientset/versioned/doc.go | 0 .../versioned/fake/clientset_generated.go | 10 ++-- .../client/clientset/versioned/fake/doc.go | 0 .../clientset/versioned/fake/register.go | 4 +- .../client/clientset/versioned/scheme/doc.go | 0 .../clientset/versioned/scheme/register.go | 4 +- .../versioned/typed/cstor/v1/cstor_client.go | 4 +- .../versioned/typed/cstor/v1/cstorbackup.go | 4 +- .../typed/cstor/v1/cstorcompletedbackup.go | 4 +- .../typed/cstor/v1/cstorpoolcluster.go | 4 +- .../typed/cstor/v1/cstorpoolinstance.go | 4 +- .../versioned/typed/cstor/v1/cstorrestore.go | 4 +- .../versioned/typed/cstor/v1/cstorvolume.go | 4 +- .../typed/cstor/v1/cstorvolumeattachment.go | 4 +- .../typed/cstor/v1/cstorvolumeconfig.go | 4 +- .../typed/cstor/v1/cstorvolumepolicy.go | 4 +- .../typed/cstor/v1/cstorvolumereplica.go | 4 +- .../clientset/versioned/typed/cstor/v1/doc.go | 0 .../versioned/typed/cstor/v1/fake/doc.go | 0 .../typed/cstor/v1/fake/fake_cstor_client.go | 2 +- .../typed/cstor/v1/fake/fake_cstorbackup.go | 2 +- .../v1/fake/fake_cstorcompletedbackup.go | 2 +- .../cstor/v1/fake/fake_cstorpoolcluster.go | 2 +- .../cstor/v1/fake/fake_cstorpoolinstance.go | 2 +- .../typed/cstor/v1/fake/fake_cstorrestore.go | 2 +- .../typed/cstor/v1/fake/fake_cstorvolume.go | 2 +- .../v1/fake/fake_cstorvolumeattachment.go | 2 +- .../cstor/v1/fake/fake_cstorvolumeconfig.go | 2 +- .../cstor/v1/fake/fake_cstorvolumepolicy.go | 2 +- .../cstor/v1/fake/fake_cstorvolumereplica.go | 2 +- .../typed/cstor/v1/generated_expansion.go | 0 .../typed/openebs.io/v1alpha1/blockdevice.go | 4 +- .../openebs.io/v1alpha1/blockdeviceclaim.go | 4 +- .../typed/openebs.io/v1alpha1/cstorbackup.go | 4 +- .../v1alpha1/cstorcompletedbackup.go | 4 +- .../typed/openebs.io/v1alpha1/cstorrestore.go | 4 +- .../typed/openebs.io/v1alpha1/doc.go | 0 .../typed/openebs.io/v1alpha1/fake/doc.go | 0 .../v1alpha1/fake/fake_blockdevice.go | 2 +- .../v1alpha1/fake/fake_blockdeviceclaim.go | 2 +- .../v1alpha1/fake/fake_cstorbackup.go | 2 +- .../fake/fake_cstorcompletedbackup.go | 2 +- .../v1alpha1/fake/fake_cstorrestore.go | 2 +- .../v1alpha1/fake/fake_migrationtask.go | 2 +- .../v1alpha1/fake/fake_openebs.io_client.go | 2 +- .../v1alpha1/fake/fake_upgradetask.go | 2 +- .../v1alpha1/generated_expansion.go | 0 .../openebs.io/v1alpha1/migrationtask.go | 4 +- .../openebs.io/v1alpha1/openebs.io_client.go | 4 +- .../typed/openebs.io/v1alpha1/upgradetask.go | 4 +- .../externalversions/cstor/interface.go | 4 +- .../externalversions/cstor/v1/cstorbackup.go | 8 +-- .../cstor/v1/cstorcompletedbackup.go | 8 +-- .../cstor/v1/cstorpoolcluster.go | 8 +-- .../cstor/v1/cstorpoolinstance.go | 8 +-- .../externalversions/cstor/v1/cstorrestore.go | 8 +-- .../externalversions/cstor/v1/cstorvolume.go | 8 +-- .../cstor/v1/cstorvolumeattachment.go | 8 +-- .../cstor/v1/cstorvolumeconfig.go | 8 +-- .../cstor/v1/cstorvolumepolicy.go | 8 +-- .../cstor/v1/cstorvolumereplica.go | 8 +-- .../externalversions/cstor/v1/interface.go | 2 +- .../informers/externalversions/factory.go | 8 +-- .../informers/externalversions/generic.go | 4 +- .../internalinterfaces/factory_interfaces.go | 2 +- .../externalversions/openebs.io/interface.go | 4 +- .../openebs.io/v1alpha1/blockdevice.go | 8 +-- .../openebs.io/v1alpha1/blockdeviceclaim.go | 8 +-- .../openebs.io/v1alpha1/cstorbackup.go | 8 +-- .../v1alpha1/cstorcompletedbackup.go | 8 +-- .../openebs.io/v1alpha1/cstorrestore.go | 8 +-- .../openebs.io/v1alpha1/interface.go | 2 +- .../openebs.io/v1alpha1/migrationtask.go | 8 +-- .../openebs.io/v1alpha1/upgradetask.go | 8 +-- .../client/listers/cstor/v1/cstorbackup.go | 2 +- .../listers/cstor/v1/cstorcompletedbackup.go | 2 +- .../listers/cstor/v1/cstorpoolcluster.go | 2 +- .../listers/cstor/v1/cstorpoolinstance.go | 2 +- .../client/listers/cstor/v1/cstorrestore.go | 2 +- .../client/listers/cstor/v1/cstorvolume.go | 2 +- .../listers/cstor/v1/cstorvolumeattachment.go | 2 +- .../listers/cstor/v1/cstorvolumeconfig.go | 2 +- .../listers/cstor/v1/cstorvolumepolicy.go | 2 +- .../listers/cstor/v1/cstorvolumereplica.go | 2 +- .../listers/cstor/v1/expansion_generated.go | 0 .../openebs.io/v1alpha1/blockdevice.go | 2 +- .../openebs.io/v1alpha1/blockdeviceclaim.go | 2 +- .../openebs.io/v1alpha1/cstorbackup.go | 2 +- .../v1alpha1/cstorcompletedbackup.go | 2 +- .../openebs.io/v1alpha1/cstorrestore.go | 2 +- .../v1alpha1/expansion_generated.go | 0 .../openebs.io/v1alpha1/migrationtask.go | 2 +- .../openebs.io/v1alpha1/upgradetask.go | 2 +- .../internalapis/apis/cstor/cstorbackup.go | 0 .../apis/cstor/cstorcompletebackup.go | 0 .../apis/cstor/cstorpool_topology.go | 2 +- .../apis/cstor/cstorpoolcluster.go | 0 .../apis/cstor/cstorpoolinstance.go | 0 .../internalapis/apis/cstor/cstorrestore.go | 0 .../internalapis/apis/cstor/cstorvolume.go | 0 .../apis/cstor/cstorvolumeattachment.go | 0 .../apis/cstor/cstorvolumeconfig.go | 0 .../apis/cstor/cstorvolumepolicy.go | 0 .../apis/cstor/cstorvolumereplica.go | 0 .../pkg/internalapis/apis/cstor/doc.go | 0 .../pkg/internalapis/apis/cstor/register.go | 2 +- .../apis/cstor/version_details_types.go | 0 .../apis/cstor/zz_generated.deepcopy.go | 0 .../pkg/kubernetes/apps/deployment.go | 2 +- .../pkg/kubernetes/core/container.go | 6 ++ .../api/{v2 => v3}/pkg/kubernetes/core/pod.go | 6 ++ .../{v2 => v3}/pkg/kubernetes/core/secret.go | 0 .../{v2 => v3}/pkg/kubernetes/core/service.go | 0 .../{v2 => v3}/pkg/kubernetes/core/volume.go | 0 .../leaderelection/leader_election.go | 0 .../{v2 => v3}/pkg/proto/cstorvolume.pb.go | 0 .../openebs/api/{v2 => v3}/pkg/util/env.go | 0 .../api/{v2 => v3}/pkg/util/exec-run.go | 0 .../api/{v2 => v3}/pkg/util/fileoperator.go | 2 +- .../api/{v2 => v3}/pkg/util/formatters.go | 9 --- .../openebs/api/{v2 => v3}/pkg/util/hash.go | 0 .../openebs/api/{v2 => v3}/pkg/util/iscsi.go | 0 .../api/{v2 => v3}/pkg/util/signals/signal.go | 3 - .../pkg/util/signals/signal_posix.go | 0 .../pkg/util/signals/signal_windows.go | 0 .../api/{v2 => v3}/pkg/util/unixsock.go | 9 ++- .../api/{v2 => v3}/pkg/util/unstructured.go | 0 .../openebs/api/{v2 => v3}/pkg/util/util.go | 0 vendor/modules.txt | 56 +++++++++---------- 282 files changed, 567 insertions(+), 524 deletions(-) rename vendor/github.com/openebs/api/{v2 => v3}/LICENSE (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/doc.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorbackup.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorbackuprestorebuilder.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorcompletebackup.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorpoolcluster.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorpoolclusterbuilder.go (99%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorpoolinstance.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorpoolinstancebuilder.go (99%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorrestore.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorvolume.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorvolume.proto (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorvolumeattachments.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorvolumebuilder.go (99%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorvolumeconfig.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorvolumepolicy.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/cstorvolumereplica.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/doc.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/register.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/version_details_types.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/cstor/v1/zz_generated.deepcopy.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/openebs.io/doc.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/openebs.io/v1alpha1/blockdevice_types.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/openebs.io/v1alpha1/blockdeviceclaim_types.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/openebs.io/v1alpha1/blockdeviceclaimbuilder.go (89%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/openebs.io/v1alpha1/cstorbackup.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/openebs.io/v1alpha1/cstorcompletebackup.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/openebs.io/v1alpha1/cstorrestore.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/openebs.io/v1alpha1/doc.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/openebs.io/v1alpha1/migrationtask.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/openebs.io/v1alpha1/register.go (97%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/openebs.io/v1alpha1/upgradetask_types.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/openebs.io/v1alpha1/zz_generated.deepcopy.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/apis/types/types.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/clientset.go (96%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/doc.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/fake/clientset_generated.go (89%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/fake/doc.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/fake/register.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/scheme/doc.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/scheme/register.go (94%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/cstor_client.go (97%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/cstorbackup.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/cstorcompletedbackup.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/cstorpoolcluster.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/cstorpoolinstance.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/cstorrestore.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolume.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumeattachment.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumeconfig.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumepolicy.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumereplica.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/doc.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/fake/doc.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstor_client.go (97%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorbackup.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorcompletedbackup.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorpoolcluster.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorpoolinstance.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorrestore.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolume.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumeattachment.go (99%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumeconfig.go (99%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumepolicy.go (99%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumereplica.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/cstor/v1/generated_expansion.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/blockdevice.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/blockdeviceclaim.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorbackup.go (97%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorcompletedbackup.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorrestore.go (97%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/doc.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/doc.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_blockdevice.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_blockdeviceclaim.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorbackup.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorcompletedbackup.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorrestore.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_migrationtask.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_openebs.io_client.go (96%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_upgradetask.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/generated_expansion.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/migrationtask.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/openebs.io_client.go (96%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/upgradetask.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/cstor/interface.go (91%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/cstor/v1/cstorbackup.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/cstor/v1/cstorcompletedbackup.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/cstor/v1/cstorpoolcluster.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/cstor/v1/cstorpoolinstance.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/cstor/v1/cstorrestore.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/cstor/v1/cstorvolume.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/cstor/v1/cstorvolumeattachment.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/cstor/v1/cstorvolumeconfig.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/cstor/v1/cstorvolumepolicy.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/cstor/v1/cstorvolumereplica.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/cstor/v1/interface.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/factory.go (96%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/generic.go (97%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go (95%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/openebs.io/interface.go (92%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/openebs.io/v1alpha1/blockdevice.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/openebs.io/v1alpha1/blockdeviceclaim.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorbackup.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorcompletedbackup.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorrestore.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/openebs.io/v1alpha1/interface.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/openebs.io/v1alpha1/migrationtask.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/informers/externalversions/openebs.io/v1alpha1/upgradetask.go (93%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/cstor/v1/cstorbackup.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/cstor/v1/cstorcompletedbackup.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/cstor/v1/cstorpoolcluster.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/cstor/v1/cstorpoolinstance.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/cstor/v1/cstorrestore.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/cstor/v1/cstorvolume.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/cstor/v1/cstorvolumeattachment.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/cstor/v1/cstorvolumeconfig.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/cstor/v1/cstorvolumepolicy.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/cstor/v1/cstorvolumereplica.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/cstor/v1/expansion_generated.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/openebs.io/v1alpha1/blockdevice.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/openebs.io/v1alpha1/blockdeviceclaim.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/openebs.io/v1alpha1/cstorbackup.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/openebs.io/v1alpha1/cstorcompletedbackup.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/openebs.io/v1alpha1/cstorrestore.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/openebs.io/v1alpha1/expansion_generated.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/openebs.io/v1alpha1/migrationtask.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/client/listers/openebs.io/v1alpha1/upgradetask.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/cstorbackup.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/cstorcompletebackup.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/cstorpool_topology.go (99%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/cstorpoolcluster.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/cstorpoolinstance.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/cstorrestore.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/cstorvolume.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/cstorvolumeattachment.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/cstorvolumeconfig.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/cstorvolumepolicy.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/cstorvolumereplica.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/doc.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/register.go (97%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/version_details_types.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/internalapis/apis/cstor/zz_generated.deepcopy.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/kubernetes/apps/deployment.go (98%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/kubernetes/core/container.go (97%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/kubernetes/core/pod.go (96%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/kubernetes/core/secret.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/kubernetes/core/service.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/kubernetes/core/volume.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/kubernetes/leaderelection/leader_election.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/proto/cstorvolume.pb.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/util/env.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/util/exec-run.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/util/fileoperator.go (99%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/util/formatters.go (97%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/util/hash.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/util/iscsi.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/util/signals/signal.go (90%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/util/signals/signal_posix.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/util/signals/signal_windows.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/util/unixsock.go (96%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/util/unstructured.go (100%) rename vendor/github.com/openebs/api/{v2 => v3}/pkg/util/util.go (100%) diff --git a/cmd/cspc-operator/app/start.go b/cmd/cspc-operator/app/start.go index d7e8ff74..e7f5c69e 100644 --- a/cmd/cspc-operator/app/start.go +++ b/cmd/cspc-operator/app/start.go @@ -24,9 +24,9 @@ import ( "strconv" "time" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" - leader "github.com/openebs/api/v2/pkg/kubernetes/leaderelection" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" + leader "github.com/openebs/api/v3/pkg/kubernetes/leaderelection" cspccontroller "github.com/openebs/cstor-operators/pkg/controllers/cspc-controller" "github.com/pkg/errors" kubeinformers "k8s.io/client-go/informers" diff --git a/cmd/pool-manager/app/start.go b/cmd/pool-manager/app/start.go index 6e66f154..e82d9992 100644 --- a/cmd/pool-manager/app/start.go +++ b/cmd/pool-manager/app/start.go @@ -32,8 +32,8 @@ import ( "github.com/pkg/errors" "k8s.io/klog" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" "github.com/openebs/cstor-operators/pkg/signals" kubeinformers "k8s.io/client-go/informers" "k8s.io/client-go/kubernetes" diff --git a/cmd/volume-manager/app/commands.go b/cmd/volume-manager/app/commands.go index ff13d730..e34ca7aa 100644 --- a/cmd/volume-manager/app/commands.go +++ b/cmd/volume-manager/app/commands.go @@ -17,7 +17,7 @@ limitations under the License. package app import ( - "github.com/openebs/api/v2/pkg/util" + "github.com/openebs/api/v3/pkg/util" "github.com/spf13/cobra" "k8s.io/klog" ) diff --git a/cmd/webhook/main.go b/cmd/webhook/main.go index 7b2eb965..22d416b8 100644 --- a/cmd/webhook/main.go +++ b/cmd/webhook/main.go @@ -29,7 +29,7 @@ import ( "k8s.io/client-go/tools/clientcmd" "k8s.io/klog" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" //snapclientset "github.com/openebs/maya/pkg/client/generated/openebs.io/snapshot/v1alpha1/clientset/internalclientset" ) diff --git a/go.mod b/go.mod index 5804e3e1..fd2bd0bf 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/imdario/mergo v0.3.8 // indirect github.com/onsi/ginkgo v1.12.0 github.com/onsi/gomega v1.9.0 - github.com/openebs/api/v2 v2.4.0 + github.com/openebs/api/v3 v3.0.0-20211116062351-ecd9a8a61d3e github.com/pkg/errors v0.9.1 github.com/spf13/cobra v0.0.5 github.com/spf13/pflag v1.0.5 diff --git a/go.sum b/go.sum index 779caf6b..40a4bf4a 100644 --- a/go.sum +++ b/go.sum @@ -58,6 +58,7 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZm github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96 h1:cenwrSVm+Z7QLSV/BsnenAOcDXdX4cMv4wP0B/5QbPg= github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= +github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153 h1:yUdfgN0XgIJw7foRItutHYUIhlcKzcSf5vDpdhQAKTc= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= @@ -190,8 +191,8 @@ github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1Cpa github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.9.0 h1:R1uwffexN6Pr340GtYRIdZmAiN4J+iw6WG4wog1DUXg= github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA= -github.com/openebs/api/v2 v2.4.0 h1:MiDyuNe1TnwskN+1JAQr5DoiI/IWxbgljKg7ssGPIjg= -github.com/openebs/api/v2 v2.4.0/go.mod h1:nLCaNvVjgjkjeD2a+n1fMbv5HjoEYP4XB8OAbwmIXtY= +github.com/openebs/api/v3 v3.0.0-20211116062351-ecd9a8a61d3e h1:7k/1G9XfczLmBuCP8hIqcCBMZrJFjmHZaJirzFq5lxY= +github.com/openebs/api/v3 v3.0.0-20211116062351-ecd9a8a61d3e/go.mod h1:GQFzH6s1YHJElE8YIFcyLATk8+wOIHo9ZoN5tAtUFCo= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= diff --git a/pkg/controllers/backup-controller/controller.go b/pkg/controllers/backup-controller/controller.go index 5dc173de..31840865 100644 --- a/pkg/controllers/backup-controller/controller.go +++ b/pkg/controllers/backup-controller/controller.go @@ -34,12 +34,12 @@ import ( "github.com/openebs/cstor-operators/pkg/controllers/common" - cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebstypes "github.com/openebs/api/v2/pkg/apis/types" + cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebstypes "github.com/openebs/api/v3/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - openebsScheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + openebsScheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" ) var ( diff --git a/pkg/controllers/backup-controller/controller_test.go b/pkg/controllers/backup-controller/controller_test.go index b60cb7e0..5ffbd2ca 100644 --- a/pkg/controllers/backup-controller/controller_test.go +++ b/pkg/controllers/backup-controller/controller_test.go @@ -19,8 +19,8 @@ import ( "testing" "time" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" - openebsinformers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" + openebsinformers "github.com/openebs/api/v3/pkg/client/informers/externalversions" kubeinformers "k8s.io/client-go/informers" "k8s.io/client-go/kubernetes/fake" diff --git a/pkg/controllers/backup-controller/handler.go b/pkg/controllers/backup-controller/handler.go index f1a7498a..e3c09631 100644 --- a/pkg/controllers/backup-controller/handler.go +++ b/pkg/controllers/backup-controller/handler.go @@ -20,7 +20,7 @@ import ( "context" "fmt" - cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1" "github.com/openebs/cstor-operators/pkg/controllers/common" "github.com/openebs/cstor-operators/pkg/volumereplica" corev1 "k8s.io/api/core/v1" diff --git a/pkg/controllers/common/common.go b/pkg/controllers/common/common.go index ea2c3fe7..9dea3a4a 100644 --- a/pkg/controllers/common/common.go +++ b/pkg/controllers/common/common.go @@ -23,9 +23,9 @@ import ( "sync" "time" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - "github.com/openebs/api/v2/pkg/util" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + "github.com/openebs/api/v3/pkg/util" "github.com/openebs/cstor-operators/pkg/pool" "github.com/openebs/cstor-operators/pkg/volumereplica" zcmd "github.com/openebs/cstor-operators/pkg/zcmd" diff --git a/pkg/controllers/common/common_test.go b/pkg/controllers/common/common_test.go index e68cc94f..1e008dc9 100644 --- a/pkg/controllers/common/common_test.go +++ b/pkg/controllers/common/common_test.go @@ -22,8 +22,8 @@ import ( "testing" "time" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" "github.com/openebs/cstor-operators/pkg/pool" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog" diff --git a/pkg/controllers/cspc-controller/cleanup.go b/pkg/controllers/cspc-controller/cleanup.go index 56af4e33..2f7532a1 100644 --- a/pkg/controllers/cspc-controller/cleanup.go +++ b/pkg/controllers/cspc-controller/cleanup.go @@ -19,10 +19,10 @@ package cspccontroller import ( "context" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" - "github.com/openebs/api/v2/pkg/util" + "github.com/openebs/api/v3/pkg/util" "github.com/pkg/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog" diff --git a/pkg/controllers/cspc-controller/cleanup_test.go b/pkg/controllers/cspc-controller/cleanup_test.go index 95991b47..cec1ca71 100644 --- a/pkg/controllers/cspc-controller/cleanup_test.go +++ b/pkg/controllers/cspc-controller/cleanup_test.go @@ -17,10 +17,10 @@ limitations under the License. package cspccontroller import ( - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" kubeinformers "k8s.io/client-go/informers" "k8s.io/client-go/kubernetes/fake" diff --git a/pkg/controllers/cspc-controller/controller.go b/pkg/controllers/cspc-controller/controller.go index 911e8684..322f5681 100644 --- a/pkg/controllers/cspc-controller/controller.go +++ b/pkg/controllers/cspc-controller/controller.go @@ -19,15 +19,15 @@ package cspccontroller import ( "fmt" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - types "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - openebsScheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" - cstorstoredversion "github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1" - openebsstoredversion "github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" - v1interface "github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1" - listers "github.com/openebs/api/v2/pkg/client/listers/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + types "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + openebsScheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" + cstorstoredversion "github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1" + openebsstoredversion "github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" + v1interface "github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1" + listers "github.com/openebs/api/v3/pkg/client/listers/cstor/v1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/client-go/kubernetes" diff --git a/pkg/controllers/cspc-controller/handler.go b/pkg/controllers/cspc-controller/handler.go index 54a45325..d5b91e9e 100644 --- a/pkg/controllers/cspc-controller/handler.go +++ b/pkg/controllers/cspc-controller/handler.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/openebs/api/v2/pkg/apis/types" + "github.com/openebs/api/v3/pkg/apis/types" "github.com/openebs/cstor-operators/pkg/cspc/algorithm" "time" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" k8serror "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/runtime" diff --git a/pkg/controllers/cspc-controller/handler_test.go b/pkg/controllers/cspc-controller/handler_test.go index 07ec278d..3af503ad 100644 --- a/pkg/controllers/cspc-controller/handler_test.go +++ b/pkg/controllers/cspc-controller/handler_test.go @@ -23,11 +23,11 @@ import ( "testing" "time" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebscore "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - "github.com/openebs/api/v2/pkg/apis/types" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" - openebsinformers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebscore "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + "github.com/openebs/api/v3/pkg/apis/types" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" + openebsinformers "github.com/openebs/api/v3/pkg/client/informers/externalversions" "github.com/openebs/cstor-operators/pkg/controllers/testutil" "github.com/openebs/cstor-operators/pkg/cspc/algorithm" "github.com/pkg/errors" diff --git a/pkg/controllers/cspc-controller/operations.go b/pkg/controllers/cspc-controller/operations.go index d351e2b5..5011952d 100644 --- a/pkg/controllers/cspc-controller/operations.go +++ b/pkg/controllers/cspc-controller/operations.go @@ -19,9 +19,9 @@ package cspccontroller import ( "context" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsapis "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - "github.com/openebs/api/v2/pkg/apis/types" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsapis "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + "github.com/openebs/api/v3/pkg/apis/types" "github.com/pkg/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog" diff --git a/pkg/controllers/cspc-controller/scale.go b/pkg/controllers/cspc-controller/scale.go index 514699ee..46cccb60 100644 --- a/pkg/controllers/cspc-controller/scale.go +++ b/pkg/controllers/cspc-controller/scale.go @@ -20,8 +20,8 @@ import ( "context" "fmt" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/runtime" diff --git a/pkg/controllers/cspc-controller/status.go b/pkg/controllers/cspc-controller/status.go index d12473a8..1592b75b 100644 --- a/pkg/controllers/cspc-controller/status.go +++ b/pkg/controllers/cspc-controller/status.go @@ -19,8 +19,8 @@ package cspccontroller import ( "context" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" "github.com/openebs/cstor-operators/pkg/controllers/cspc-controller/util" "github.com/pkg/errors" appsv1 "k8s.io/api/apps/v1" diff --git a/pkg/controllers/cspc-controller/sync.go b/pkg/controllers/cspc-controller/sync.go index b9fb05a8..d6291509 100644 --- a/pkg/controllers/cspc-controller/sync.go +++ b/pkg/controllers/cspc-controller/sync.go @@ -23,10 +23,10 @@ import ( "reflect" "strings" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - "github.com/openebs/api/v2/pkg/util" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + "github.com/openebs/api/v3/pkg/util" "github.com/openebs/cstor-operators/pkg/cspc/algorithm" "github.com/openebs/cstor-operators/pkg/version" "github.com/pkg/errors" diff --git a/pkg/controllers/cspc-controller/util/cspc_util.go b/pkg/controllers/cspc-controller/util/cspc_util.go index fa5ec0bb..77e47e42 100644 --- a/pkg/controllers/cspc-controller/util/cspc_util.go +++ b/pkg/controllers/cspc-controller/util/cspc_util.go @@ -17,7 +17,7 @@ limitations under the License. package util import ( - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/pkg/controllers/cspc-controller/util/cspc_util_test.go b/pkg/controllers/cspc-controller/util/cspc_util_test.go index a88dfe3f..d924a94e 100644 --- a/pkg/controllers/cspc-controller/util/cspc_util_test.go +++ b/pkg/controllers/cspc-controller/util/cspc_util_test.go @@ -15,7 +15,7 @@ limitations under the License. package util import ( - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" corev1 "k8s.io/api/core/v1" "reflect" diff --git a/pkg/controllers/cspi-controller/controller.go b/pkg/controllers/cspi-controller/controller.go index 7312a854..c17e3e3c 100644 --- a/pkg/controllers/cspi-controller/controller.go +++ b/pkg/controllers/cspi-controller/controller.go @@ -28,13 +28,13 @@ import ( "k8s.io/client-go/util/workqueue" "k8s.io/klog" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" common "github.com/openebs/cstor-operators/pkg/controllers/common" zcmd "github.com/openebs/cstor-operators/pkg/zcmd/bin" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - openebsScheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + openebsScheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" ) const poolControllerName = "CStorPoolInstance" diff --git a/pkg/controllers/cspi-controller/handler.go b/pkg/controllers/cspi-controller/handler.go index ec4bb1d6..29602715 100644 --- a/pkg/controllers/cspi-controller/handler.go +++ b/pkg/controllers/cspi-controller/handler.go @@ -22,10 +22,10 @@ import ( "os" "strings" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - "github.com/openebs/api/v2/pkg/util" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + "github.com/openebs/api/v3/pkg/util" "github.com/openebs/cstor-operators/pkg/controllers/common" cspiutil "github.com/openebs/cstor-operators/pkg/controllers/cspi-controller/util" zpool "github.com/openebs/cstor-operators/pkg/pool/operations" diff --git a/pkg/controllers/cspi-controller/handler_test.go b/pkg/controllers/cspi-controller/handler_test.go index dd35d1ad..89d4661e 100644 --- a/pkg/controllers/cspi-controller/handler_test.go +++ b/pkg/controllers/cspi-controller/handler_test.go @@ -26,12 +26,12 @@ import ( "testing" "time" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebscore "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - "github.com/openebs/api/v2/pkg/apis/types" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" - openebsinformers "github.com/openebs/api/v2/pkg/client/informers/externalversions" - "github.com/openebs/api/v2/pkg/util" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebscore "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + "github.com/openebs/api/v3/pkg/apis/types" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" + openebsinformers "github.com/openebs/api/v3/pkg/client/informers/externalversions" + "github.com/openebs/api/v3/pkg/util" "github.com/openebs/cstor-operators/pkg/controllers/common" cspiutil "github.com/openebs/cstor-operators/pkg/controllers/cspi-controller/util" "github.com/openebs/cstor-operators/pkg/controllers/testutil" diff --git a/pkg/controllers/cspi-controller/status.go b/pkg/controllers/cspi-controller/status.go index 9e44bde0..d64dab41 100644 --- a/pkg/controllers/cspi-controller/status.go +++ b/pkg/controllers/cspi-controller/status.go @@ -20,7 +20,7 @@ import ( "context" "time" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" cspiutil "github.com/openebs/cstor-operators/pkg/controllers/cspi-controller/util" "github.com/pkg/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/controllers/cspi-controller/status_test.go b/pkg/controllers/cspi-controller/status_test.go index 9936bcb8..21c5ab4f 100644 --- a/pkg/controllers/cspi-controller/status_test.go +++ b/pkg/controllers/cspi-controller/status_test.go @@ -20,8 +20,8 @@ import ( "context" "testing" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" cspiutil "github.com/openebs/cstor-operators/pkg/controllers/cspi-controller/util" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/controllers/cspi-controller/util/cspi_utils.go b/pkg/controllers/cspi-controller/util/cspi_utils.go index c7bf6ac2..e9cdeff1 100644 --- a/pkg/controllers/cspi-controller/util/cspi_utils.go +++ b/pkg/controllers/cspi-controller/util/cspi_utils.go @@ -17,7 +17,7 @@ limitations under the License. package cspicontroller import ( - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/pkg/controllers/cspi-controller/utils.go b/pkg/controllers/cspi-controller/utils.go index cfc245ae..bc4bc319 100644 --- a/pkg/controllers/cspi-controller/utils.go +++ b/pkg/controllers/cspi-controller/utils.go @@ -20,9 +20,9 @@ import ( "os" "reflect" - types "github.com/openebs/api/v2/pkg/apis/types" + types "github.com/openebs/api/v3/pkg/apis/types" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" "github.com/pkg/errors" ) diff --git a/pkg/controllers/cstorvolumeconfig/controller.go b/pkg/controllers/cstorvolumeconfig/controller.go index accb14eb..3b6a0a4a 100644 --- a/pkg/controllers/cstorvolumeconfig/controller.go +++ b/pkg/controllers/cstorvolumeconfig/controller.go @@ -23,15 +23,15 @@ import ( "strings" "time" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - apitypes "github.com/openebs/api/v2/pkg/apis/types" - "github.com/openebs/api/v2/pkg/util" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + apitypes "github.com/openebs/api/v3/pkg/apis/types" + "github.com/openebs/api/v3/pkg/util" "github.com/openebs/cstor-operators/pkg/util/hash" "github.com/openebs/cstor-operators/pkg/version" errors "github.com/pkg/errors" "k8s.io/klog" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" policy "k8s.io/api/policy/v1beta1" diff --git a/pkg/controllers/cstorvolumeconfig/controller_base.go b/pkg/controllers/cstorvolumeconfig/controller_base.go index c9cfe62b..1d14bc84 100644 --- a/pkg/controllers/cstorvolumeconfig/controller_base.go +++ b/pkg/controllers/cstorvolumeconfig/controller_base.go @@ -20,11 +20,11 @@ import ( "fmt" "time" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - openebsScheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" - listers "github.com/openebs/api/v2/pkg/client/listers/cstor/v1" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + openebsScheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" + listers "github.com/openebs/api/v3/pkg/client/listers/cstor/v1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/util/runtime" diff --git a/pkg/controllers/cstorvolumeconfig/controller_test.go b/pkg/controllers/cstorvolumeconfig/controller_test.go index e099c8a3..20cbc36a 100644 --- a/pkg/controllers/cstorvolumeconfig/controller_test.go +++ b/pkg/controllers/cstorvolumeconfig/controller_test.go @@ -26,10 +26,10 @@ import ( "testing" "time" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - apistypes "github.com/openebs/api/v2/pkg/apis/types" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" - openebsinformers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + apistypes "github.com/openebs/api/v3/pkg/apis/types" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" + openebsinformers "github.com/openebs/api/v3/pkg/client/informers/externalversions" "github.com/openebs/cstor-operators/pkg/controllers/testutil" errors "github.com/pkg/errors" k8serror "k8s.io/apimachinery/pkg/api/errors" diff --git a/pkg/controllers/cstorvolumeconfig/deployment.go b/pkg/controllers/cstorvolumeconfig/deployment.go index d9666fd0..a99e2039 100644 --- a/pkg/controllers/cstorvolumeconfig/deployment.go +++ b/pkg/controllers/cstorvolumeconfig/deployment.go @@ -21,10 +21,10 @@ import ( "os" "strconv" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - deploy "github.com/openebs/api/v2/pkg/kubernetes/apps" - apicore "github.com/openebs/api/v2/pkg/kubernetes/core" - "github.com/openebs/api/v2/pkg/util" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + deploy "github.com/openebs/api/v3/pkg/kubernetes/apps" + apicore "github.com/openebs/api/v3/pkg/kubernetes/core" + "github.com/openebs/api/v3/pkg/util" "github.com/openebs/cstor-operators/pkg/version" errors "github.com/pkg/errors" appsv1 "k8s.io/api/apps/v1" diff --git a/pkg/controllers/cstorvolumeconfig/pdb.go b/pkg/controllers/cstorvolumeconfig/pdb.go index dfee087a..d9780cb5 100644 --- a/pkg/controllers/cstorvolumeconfig/pdb.go +++ b/pkg/controllers/cstorvolumeconfig/pdb.go @@ -20,7 +20,7 @@ import ( "context" "fmt" - "github.com/openebs/api/v2/pkg/apis/types" + "github.com/openebs/api/v3/pkg/apis/types" policy "k8s.io/api/policy/v1beta1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr" diff --git a/pkg/controllers/cstorvolumeconfig/policy.go b/pkg/controllers/cstorvolumeconfig/policy.go index 41b2a666..67b9c432 100644 --- a/pkg/controllers/cstorvolumeconfig/policy.go +++ b/pkg/controllers/cstorvolumeconfig/policy.go @@ -17,7 +17,7 @@ limitations under the License. package cstorvolumeconfig import ( - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" ) diff --git a/pkg/controllers/cstorvolumeconfig/start.go b/pkg/controllers/cstorvolumeconfig/start.go index 49bd07ba..5bb3f44e 100644 --- a/pkg/controllers/cstorvolumeconfig/start.go +++ b/pkg/controllers/cstorvolumeconfig/start.go @@ -23,9 +23,9 @@ import ( "os/signal" "time" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" - leader "github.com/openebs/api/v2/pkg/kubernetes/leaderelection" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" + leader "github.com/openebs/api/v3/pkg/kubernetes/leaderelection" server "github.com/openebs/cstor-operators/pkg/server" cvcserver "github.com/openebs/cstor-operators/pkg/server/cstorvolumeconfig" "github.com/openebs/cstor-operators/pkg/snapshot" diff --git a/pkg/controllers/cstorvolumeconfig/volume_operations.go b/pkg/controllers/cstorvolumeconfig/volume_operations.go index b406bfa9..d0412b0c 100644 --- a/pkg/controllers/cstorvolumeconfig/volume_operations.go +++ b/pkg/controllers/cstorvolumeconfig/volume_operations.go @@ -23,17 +23,17 @@ import ( "strings" "time" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" "github.com/openebs/cstor-operators/pkg/util/hash" "github.com/openebs/cstor-operators/pkg/version" "github.com/openebs/cstor-operators/pkg/volumereplica" - "github.com/openebs/api/v2/pkg/util" + "github.com/openebs/api/v3/pkg/util" - apicore "github.com/openebs/api/v2/pkg/kubernetes/core" + apicore "github.com/openebs/api/v3/pkg/kubernetes/core" errors "github.com/pkg/errors" corev1 "k8s.io/api/core/v1" policy "k8s.io/api/policy/v1beta1" diff --git a/pkg/controllers/replica-controller/controller.go b/pkg/controllers/replica-controller/controller.go index e05fc9cd..cebcfcd5 100644 --- a/pkg/controllers/replica-controller/controller.go +++ b/pkg/controllers/replica-controller/controller.go @@ -31,10 +31,10 @@ import ( "k8s.io/client-go/util/workqueue" "k8s.io/klog" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - openebsScheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + openebsScheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" "github.com/openebs/cstor-operators/pkg/controllers/common" ) diff --git a/pkg/controllers/replica-controller/controller_test.go b/pkg/controllers/replica-controller/controller_test.go index e7f890ab..b98779dc 100644 --- a/pkg/controllers/replica-controller/controller_test.go +++ b/pkg/controllers/replica-controller/controller_test.go @@ -19,8 +19,8 @@ import ( "testing" "time" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" kubeinformers "k8s.io/client-go/informers" "k8s.io/client-go/kubernetes/fake" diff --git a/pkg/controllers/replica-controller/handler.go b/pkg/controllers/replica-controller/handler.go index a99fad17..0b4c5aa2 100644 --- a/pkg/controllers/replica-controller/handler.go +++ b/pkg/controllers/replica-controller/handler.go @@ -24,9 +24,9 @@ import ( "reflect" "strings" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" "github.com/openebs/cstor-operators/pkg/controllers/common" "github.com/openebs/cstor-operators/pkg/debug" "github.com/openebs/cstor-operators/pkg/version" diff --git a/pkg/controllers/replica-controller/handler_test.go b/pkg/controllers/replica-controller/handler_test.go index 79ae9616..bf53acda 100644 --- a/pkg/controllers/replica-controller/handler_test.go +++ b/pkg/controllers/replica-controller/handler_test.go @@ -20,9 +20,9 @@ import ( "testing" "time" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" kubeinformers "k8s.io/client-go/informers" "k8s.io/client-go/kubernetes/fake" diff --git a/pkg/controllers/replica-controller/runner_test.go b/pkg/controllers/replica-controller/runner_test.go index 5cc7256c..c6b05276 100644 --- a/pkg/controllers/replica-controller/runner_test.go +++ b/pkg/controllers/replica-controller/runner_test.go @@ -24,17 +24,17 @@ import ( "testing" "time" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" "github.com/openebs/cstor-operators/pkg/controllers/common" "github.com/openebs/cstor-operators/pkg/pool" "github.com/openebs/cstor-operators/pkg/volumereplica" "k8s.io/klog" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" - "github.com/openebs/api/v2/pkg/util" - "github.com/openebs/api/v2/pkg/util/signals" + "github.com/openebs/api/v3/pkg/util" + "github.com/openebs/api/v3/pkg/util/signals" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" kubeinformers "k8s.io/client-go/informers" diff --git a/pkg/controllers/restore-controller/handler.go b/pkg/controllers/restore-controller/handler.go index 5462f914..ee2ee8b4 100644 --- a/pkg/controllers/restore-controller/handler.go +++ b/pkg/controllers/restore-controller/handler.go @@ -22,8 +22,8 @@ import ( "os" "reflect" - cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" + cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" "github.com/openebs/cstor-operators/pkg/controllers/common" "github.com/openebs/cstor-operators/pkg/volumereplica" corev1 "k8s.io/api/core/v1" diff --git a/pkg/controllers/restore-controller/new_restore_controller.go b/pkg/controllers/restore-controller/new_restore_controller.go index 40a6d36b..50d8ac42 100644 --- a/pkg/controllers/restore-controller/new_restore_controller.go +++ b/pkg/controllers/restore-controller/new_restore_controller.go @@ -20,7 +20,7 @@ import ( "context" "os" - "github.com/openebs/api/v2/pkg/apis/types" + "github.com/openebs/api/v3/pkg/apis/types" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -34,12 +34,12 @@ import ( "k8s.io/client-go/util/workqueue" "k8s.io/klog" - cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1" "github.com/openebs/cstor-operators/pkg/controllers/common" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - openebsScheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + openebsScheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" ) const restoreControllerName = "CStorRestore" diff --git a/pkg/controllers/restore-controller/new_restore_controller_test.go b/pkg/controllers/restore-controller/new_restore_controller_test.go index f33fd936..48f980f0 100644 --- a/pkg/controllers/restore-controller/new_restore_controller_test.go +++ b/pkg/controllers/restore-controller/new_restore_controller_test.go @@ -19,8 +19,8 @@ import ( "testing" "time" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" kubeinformers "k8s.io/client-go/informers" "k8s.io/client-go/kubernetes/fake" diff --git a/pkg/controllers/testutil/zcmd/zpool/add.go b/pkg/controllers/testutil/zcmd/zpool/add.go index 6ba7959f..a5f697df 100644 --- a/pkg/controllers/testutil/zcmd/zpool/add.go +++ b/pkg/controllers/testutil/zcmd/zpool/add.go @@ -22,7 +22,7 @@ import ( "strings" "time" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" "github.com/pkg/errors" ) diff --git a/pkg/controllers/testutil/zcmd/zpool/create.go b/pkg/controllers/testutil/zcmd/zpool/create.go index cb4265e5..4bb3297d 100644 --- a/pkg/controllers/testutil/zcmd/zpool/create.go +++ b/pkg/controllers/testutil/zcmd/zpool/create.go @@ -22,8 +22,8 @@ import ( "github.com/pkg/errors" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - internalapi "github.com/openebs/api/v2/pkg/internalapis/apis/cstor" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + internalapi "github.com/openebs/api/v3/pkg/internalapis/apis/cstor" "github.com/openebs/cstor-operators/pkg/controllers/common" ) diff --git a/pkg/controllers/testutil/zcmd/zpool/dump.go b/pkg/controllers/testutil/zcmd/zpool/dump.go index 52e6cd1c..8dfa04e1 100644 --- a/pkg/controllers/testutil/zcmd/zpool/dump.go +++ b/pkg/controllers/testutil/zcmd/zpool/dump.go @@ -19,7 +19,7 @@ import ( "encoding/json" "fmt" - internalapi "github.com/openebs/api/v2/pkg/internalapis/apis/cstor" + internalapi "github.com/openebs/api/v3/pkg/internalapis/apis/cstor" "github.com/pkg/errors" ) diff --git a/pkg/controllers/testutil/zcmd/zpool/fake.go b/pkg/controllers/testutil/zcmd/zpool/fake.go index e4179dcb..ef09db23 100644 --- a/pkg/controllers/testutil/zcmd/zpool/fake.go +++ b/pkg/controllers/testutil/zcmd/zpool/fake.go @@ -17,7 +17,7 @@ limitations under the License. package zpool import ( - internalapi "github.com/openebs/api/v2/pkg/internalapis/apis/cstor" + internalapi "github.com/openebs/api/v3/pkg/internalapis/apis/cstor" ) // PoolMocker mocks the zpool utitlity commands diff --git a/pkg/controllers/testutil/zcmd/zpool/pool_utils.go b/pkg/controllers/testutil/zcmd/zpool/pool_utils.go index 9f74a396..6b1e5a41 100644 --- a/pkg/controllers/testutil/zcmd/zpool/pool_utils.go +++ b/pkg/controllers/testutil/zcmd/zpool/pool_utils.go @@ -15,7 +15,7 @@ limitations under the License. */ package zpool -import internalapi "github.com/openebs/api/v2/pkg/internalapis/apis/cstor" +import internalapi "github.com/openebs/api/v3/pkg/internalapis/apis/cstor" var ( supportedPoolTypes = map[string]bool{ diff --git a/pkg/controllers/testutil/zcmd/zpool/replace.go b/pkg/controllers/testutil/zcmd/zpool/replace.go index bb11c6e0..30bee837 100644 --- a/pkg/controllers/testutil/zcmd/zpool/replace.go +++ b/pkg/controllers/testutil/zcmd/zpool/replace.go @@ -18,7 +18,7 @@ package zpool import ( "strings" - internalapi "github.com/openebs/api/v2/pkg/internalapis/apis/cstor" + internalapi "github.com/openebs/api/v3/pkg/internalapis/apis/cstor" "github.com/pkg/errors" ) diff --git a/pkg/controllers/volume-mgmt/controller.go b/pkg/controllers/volume-mgmt/controller.go index 0888b935..d9a4ddb2 100644 --- a/pkg/controllers/volume-mgmt/controller.go +++ b/pkg/controllers/volume-mgmt/controller.go @@ -29,10 +29,10 @@ import ( "k8s.io/client-go/util/workqueue" "k8s.io/klog" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - openebsScheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + openebsScheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" ) // CStorVolumeController is the controller implementation for CStorVolume resources. diff --git a/pkg/controllers/volume-mgmt/controller_test.go b/pkg/controllers/volume-mgmt/controller_test.go index 25128e65..7eda871a 100644 --- a/pkg/controllers/volume-mgmt/controller_test.go +++ b/pkg/controllers/volume-mgmt/controller_test.go @@ -18,9 +18,9 @@ import ( "testing" "time" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" kubeinformers "k8s.io/client-go/informers" "k8s.io/client-go/kubernetes/fake" diff --git a/pkg/controllers/volume-mgmt/handler.go b/pkg/controllers/volume-mgmt/handler.go index d103cdd1..0caf5156 100644 --- a/pkg/controllers/volume-mgmt/handler.go +++ b/pkg/controllers/volume-mgmt/handler.go @@ -27,10 +27,10 @@ import ( "strings" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - "github.com/openebs/api/v2/pkg/util" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + "github.com/openebs/api/v3/pkg/util" "github.com/openebs/cstor-operators/pkg/controllers/volume-mgmt/volume" "github.com/openebs/cstor-operators/pkg/version" corev1 "k8s.io/api/core/v1" diff --git a/pkg/controllers/volume-mgmt/handler_test.go b/pkg/controllers/volume-mgmt/handler_test.go index 2a6b3b8b..29668c05 100644 --- a/pkg/controllers/volume-mgmt/handler_test.go +++ b/pkg/controllers/volume-mgmt/handler_test.go @@ -22,11 +22,11 @@ import ( "testing" "time" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" - apitypes "github.com/openebs/api/v2/pkg/apis/types" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + apitypes "github.com/openebs/api/v3/pkg/apis/types" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/controllers/volume-mgmt/runner_test.go b/pkg/controllers/volume-mgmt/runner_test.go index f5582674..f343f537 100644 --- a/pkg/controllers/volume-mgmt/runner_test.go +++ b/pkg/controllers/volume-mgmt/runner_test.go @@ -19,15 +19,15 @@ import ( "testing" "time" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" "github.com/openebs/cstor-operators/pkg/controllers/volume-mgmt/volume" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" - "github.com/openebs/api/v2/pkg/util" - "github.com/openebs/api/v2/pkg/util/signals" + "github.com/openebs/api/v3/pkg/util" + "github.com/openebs/api/v3/pkg/util/signals" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" kubeinformers "k8s.io/client-go/informers" diff --git a/pkg/controllers/volume-mgmt/start.go b/pkg/controllers/volume-mgmt/start.go index 3a6d58bd..73875904 100644 --- a/pkg/controllers/volume-mgmt/start.go +++ b/pkg/controllers/volume-mgmt/start.go @@ -33,10 +33,10 @@ import ( "github.com/openebs/cstor-operators/pkg/controllers/volume-mgmt/volume" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - informers "github.com/openebs/api/v2/pkg/client/informers/externalversions" - "github.com/openebs/api/v2/pkg/util" - "github.com/openebs/api/v2/pkg/util/signals" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + informers "github.com/openebs/api/v3/pkg/client/informers/externalversions" + "github.com/openebs/api/v3/pkg/util" + "github.com/openebs/api/v3/pkg/util/signals" ) const ( diff --git a/pkg/controllers/volume-mgmt/start_test.go b/pkg/controllers/volume-mgmt/start_test.go index fa1f3d88..06f9bb3f 100644 --- a/pkg/controllers/volume-mgmt/start_test.go +++ b/pkg/controllers/volume-mgmt/start_test.go @@ -21,7 +21,7 @@ import ( "testing" "time" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" ) func TestGetSyncInterval(t *testing.T) { diff --git a/pkg/controllers/volume-mgmt/volume/volume.go b/pkg/controllers/volume-mgmt/volume/volume.go index 89104051..b0cdc90c 100644 --- a/pkg/controllers/volume-mgmt/volume/volume.go +++ b/pkg/controllers/volume-mgmt/volume/volume.go @@ -26,9 +26,9 @@ import ( "strings" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" - "github.com/openebs/api/v2/pkg/util" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" + "github.com/openebs/api/v3/pkg/util" "github.com/pkg/errors" "k8s.io/apimachinery/pkg/api/resource" "k8s.io/klog" diff --git a/pkg/controllers/volume-mgmt/volume/volume_test.go b/pkg/controllers/volume-mgmt/volume/volume_test.go index 41022329..34763f1e 100644 --- a/pkg/controllers/volume-mgmt/volume/volume_test.go +++ b/pkg/controllers/volume-mgmt/volume/volume_test.go @@ -18,8 +18,8 @@ import ( "reflect" "testing" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/util" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/util" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" diff --git a/pkg/cspc/algorithm/build_csp.go b/pkg/cspc/algorithm/build_csp.go index fde64a8e..7eddef8b 100644 --- a/pkg/cspc/algorithm/build_csp.go +++ b/pkg/cspc/algorithm/build_csp.go @@ -17,8 +17,8 @@ limitations under the License. package algorithm import ( - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" "github.com/openebs/cstor-operators/pkg/version" "github.com/pkg/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/cspc/algorithm/build_deploy.go b/pkg/cspc/algorithm/build_deploy.go index 9e432cdf..36f47f19 100644 --- a/pkg/cspc/algorithm/build_deploy.go +++ b/pkg/cspc/algorithm/build_deploy.go @@ -19,11 +19,11 @@ package algorithm import ( "os" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" - deployapi "github.com/openebs/api/v2/pkg/kubernetes/apps" - coreapi "github.com/openebs/api/v2/pkg/kubernetes/core" - util "github.com/openebs/api/v2/pkg/util" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" + deployapi "github.com/openebs/api/v3/pkg/kubernetes/apps" + coreapi "github.com/openebs/api/v3/pkg/kubernetes/core" + util "github.com/openebs/api/v3/pkg/util" "github.com/openebs/cstor-operators/pkg/version" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" diff --git a/pkg/cspc/algorithm/config.go b/pkg/cspc/algorithm/config.go index 29d502d9..b15f9a01 100644 --- a/pkg/cspc/algorithm/config.go +++ b/pkg/cspc/algorithm/config.go @@ -17,10 +17,10 @@ limitations under the License. package algorithm import ( - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - cstorstoredversion "github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1" - openebsstoredversion "github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + cstorstoredversion "github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1" + openebsstoredversion "github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1" "github.com/pkg/errors" "k8s.io/client-go/kubernetes" ) diff --git a/pkg/cspc/algorithm/select_node.go b/pkg/cspc/algorithm/select_node.go index 1c0339de..51641759 100644 --- a/pkg/cspc/algorithm/select_node.go +++ b/pkg/cspc/algorithm/select_node.go @@ -21,9 +21,9 @@ import ( "fmt" "strings" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsio "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - "github.com/openebs/api/v2/pkg/apis/types" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsio "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + "github.com/openebs/api/v3/pkg/apis/types" "github.com/pkg/errors" k8serror "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/resource" diff --git a/pkg/cspc/algorithm/select_node_test.go b/pkg/cspc/algorithm/select_node_test.go index 1d65db13..ed444b0d 100644 --- a/pkg/cspc/algorithm/select_node_test.go +++ b/pkg/cspc/algorithm/select_node_test.go @@ -22,10 +22,10 @@ import ( "strconv" "testing" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsio "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - "github.com/openebs/api/v2/pkg/apis/types" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsio "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + "github.com/openebs/api/v3/pkg/apis/types" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" corev1 "k8s.io/api/core/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/pkg/pool/operations/config.go b/pkg/pool/operations/config.go index 46ce79ff..add6e3e1 100644 --- a/pkg/pool/operations/config.go +++ b/pkg/pool/operations/config.go @@ -17,7 +17,7 @@ limitations under the License. package v1alpha2 import ( - openebsclientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" + openebsclientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" zcmd "github.com/openebs/cstor-operators/pkg/zcmd/bin" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/record" diff --git a/pkg/pool/operations/create.go b/pkg/pool/operations/create.go index 8f1a2503..8f8d1690 100644 --- a/pkg/pool/operations/create.go +++ b/pkg/pool/operations/create.go @@ -17,8 +17,8 @@ limitations under the License. package v1alpha2 import ( - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" zfs "github.com/openebs/cstor-operators/pkg/zcmd" "github.com/pkg/errors" "k8s.io/klog" diff --git a/pkg/pool/operations/delete.go b/pkg/pool/operations/delete.go index 9bd3dae8..83bdebb0 100644 --- a/pkg/pool/operations/delete.go +++ b/pkg/pool/operations/delete.go @@ -17,7 +17,7 @@ limitations under the License. package v1alpha2 import ( - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" zfs "github.com/openebs/cstor-operators/pkg/zcmd" "k8s.io/klog" ) diff --git a/pkg/pool/operations/disk_operation.go b/pkg/pool/operations/disk_operation.go index 80d1ea8e..36f69c99 100644 --- a/pkg/pool/operations/disk_operation.go +++ b/pkg/pool/operations/disk_operation.go @@ -20,7 +20,7 @@ import ( "context" "fmt" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" cspiutil "github.com/openebs/cstor-operators/pkg/controllers/cspi-controller/util" zfs "github.com/openebs/cstor-operators/pkg/zcmd" "github.com/pkg/errors" diff --git a/pkg/pool/operations/import.go b/pkg/pool/operations/import.go index 147a8fec..62b6ebe7 100644 --- a/pkg/pool/operations/import.go +++ b/pkg/pool/operations/import.go @@ -19,8 +19,8 @@ package v1alpha2 import ( "fmt" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" "github.com/openebs/cstor-operators/pkg/controllers/common" "github.com/openebs/cstor-operators/pkg/pool" "github.com/openebs/cstor-operators/pkg/volumereplica" diff --git a/pkg/pool/operations/modify.go b/pkg/pool/operations/modify.go index 9a520dad..2f9d4171 100644 --- a/pkg/pool/operations/modify.go +++ b/pkg/pool/operations/modify.go @@ -20,8 +20,8 @@ import ( "context" "fmt" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" cspiutil "github.com/openebs/cstor-operators/pkg/controllers/cspi-controller/util" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/pool/operations/pool_utils.go b/pkg/pool/operations/pool_utils.go index dfe6caa6..19dc7ee9 100644 --- a/pkg/pool/operations/pool_utils.go +++ b/pkg/pool/operations/pool_utils.go @@ -21,12 +21,12 @@ import ( "fmt" "strings" - "github.com/openebs/api/v2/pkg/apis/types" + "github.com/openebs/api/v3/pkg/apis/types" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsapis "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - zpool "github.com/openebs/api/v2/pkg/internalapis/apis/cstor" - "github.com/openebs/api/v2/pkg/util" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsapis "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + zpool "github.com/openebs/api/v3/pkg/internalapis/apis/cstor" + "github.com/openebs/api/v3/pkg/util" "github.com/openebs/cstor-operators/pkg/pool" zcmd "github.com/openebs/cstor-operators/pkg/zcmd" bin "github.com/openebs/cstor-operators/pkg/zcmd/bin" diff --git a/pkg/pool/operations/pool_utils_test.go b/pkg/pool/operations/pool_utils_test.go index 39334b88..49633919 100644 --- a/pkg/pool/operations/pool_utils_test.go +++ b/pkg/pool/operations/pool_utils_test.go @@ -22,9 +22,9 @@ import ( "strings" "testing" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - ndmapis "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - zpool "github.com/openebs/api/v2/pkg/internalapis/apis/cstor" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + ndmapis "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + zpool "github.com/openebs/api/v3/pkg/internalapis/apis/cstor" bin "github.com/openebs/cstor-operators/pkg/zcmd/bin" "github.com/pkg/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/pool/operations/property.go b/pkg/pool/operations/property.go index 49886a9b..52ae95da 100644 --- a/pkg/pool/operations/property.go +++ b/pkg/pool/operations/property.go @@ -19,7 +19,7 @@ package v1alpha2 import ( "sync" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" zcmd "github.com/openebs/cstor-operators/pkg/zcmd" "github.com/pkg/errors" ) diff --git a/pkg/pool/operations/status.go b/pkg/pool/operations/status.go index 67ec4b28..75eb6283 100644 --- a/pkg/pool/operations/status.go +++ b/pkg/pool/operations/status.go @@ -19,7 +19,7 @@ package v1alpha2 import ( "strings" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" volumereplica "github.com/openebs/cstor-operators/pkg/volumereplica" zfs "github.com/openebs/cstor-operators/pkg/zcmd" bin "github.com/openebs/cstor-operators/pkg/zcmd/bin" diff --git a/pkg/pool/pool.go b/pkg/pool/pool.go index 9b237891..aa9fe531 100644 --- a/pkg/pool/pool.go +++ b/pkg/pool/pool.go @@ -20,9 +20,9 @@ import ( "strings" "time" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - zpool "github.com/openebs/api/v2/pkg/internalapis/apis/cstor" - "github.com/openebs/api/v2/pkg/util" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + zpool "github.com/openebs/api/v3/pkg/internalapis/apis/cstor" + "github.com/openebs/api/v3/pkg/util" zfs "github.com/openebs/cstor-operators/pkg/zcmd" "k8s.io/klog" ) diff --git a/pkg/server/cstorvolumeconfig/backup_endpoint.go b/pkg/server/cstorvolumeconfig/backup_endpoint.go index 12ab8d48..4d0ad604 100644 --- a/pkg/server/cstorvolumeconfig/backup_endpoint.go +++ b/pkg/server/cstorvolumeconfig/backup_endpoint.go @@ -25,11 +25,11 @@ import ( "strings" version "github.com/hashicorp/go-version" - cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsapis "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - cstortypes "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - "github.com/openebs/api/v2/pkg/util" + cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsapis "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + cstortypes "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + "github.com/openebs/api/v3/pkg/util" snapshot "github.com/openebs/cstor-operators/pkg/snapshot" "github.com/pkg/errors" k8serror "k8s.io/apimachinery/pkg/api/errors" diff --git a/pkg/server/cstorvolumeconfig/backup_restore_helper.go b/pkg/server/cstorvolumeconfig/backup_restore_helper.go index 758710d1..33e59d9c 100644 --- a/pkg/server/cstorvolumeconfig/backup_restore_helper.go +++ b/pkg/server/cstorvolumeconfig/backup_restore_helper.go @@ -19,7 +19,7 @@ package cstorvolumeconfig import ( "context" - cstortypes "github.com/openebs/api/v2/pkg/apis/types" + cstortypes "github.com/openebs/api/v3/pkg/apis/types" "github.com/pkg/errors" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/server/cstorvolumeconfig/https_test.go b/pkg/server/cstorvolumeconfig/https_test.go index 123559f9..6e3bb4b5 100644 --- a/pkg/server/cstorvolumeconfig/https_test.go +++ b/pkg/server/cstorvolumeconfig/https_test.go @@ -30,16 +30,16 @@ import ( "testing" "time" - cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsapis "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - cstortypes "github.com/openebs/api/v2/pkg/apis/types" + cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsapis "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + cstortypes "github.com/openebs/api/v3/pkg/apis/types" "github.com/pkg/errors" k8serror "k8s.io/apimachinery/pkg/api/errors" - openebstypes "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" - "github.com/openebs/api/v2/pkg/util" + openebstypes "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" + "github.com/openebs/api/v3/pkg/util" server "github.com/openebs/cstor-operators/pkg/server" snapshot "github.com/openebs/cstor-operators/pkg/snapshot/snapshottest" corev1 "k8s.io/api/core/v1" diff --git a/pkg/server/cstorvolumeconfig/restore_endpoint.go b/pkg/server/cstorvolumeconfig/restore_endpoint.go index dde7d3f1..d2ee12a0 100644 --- a/pkg/server/cstorvolumeconfig/restore_endpoint.go +++ b/pkg/server/cstorvolumeconfig/restore_endpoint.go @@ -26,10 +26,10 @@ import ( "time" version "github.com/hashicorp/go-version" - cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsapis "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - cstortypes "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" + cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsapis "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + cstortypes "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" cstorversion "github.com/openebs/cstor-operators/pkg/version" "github.com/pkg/errors" corev1 "k8s.io/api/core/v1" diff --git a/pkg/server/cstorvolumeconfig/server.go b/pkg/server/cstorvolumeconfig/server.go index 94b30cd0..22f670d5 100644 --- a/pkg/server/cstorvolumeconfig/server.go +++ b/pkg/server/cstorvolumeconfig/server.go @@ -21,7 +21,7 @@ import ( "log" "sync" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" server "github.com/openebs/cstor-operators/pkg/server" "github.com/openebs/cstor-operators/pkg/snapshot" "k8s.io/client-go/kubernetes" diff --git a/pkg/server/cstorvolumeconfig/v1_backup.go b/pkg/server/cstorvolumeconfig/v1_backup.go index dfabc537..616556ac 100644 --- a/pkg/server/cstorvolumeconfig/v1_backup.go +++ b/pkg/server/cstorvolumeconfig/v1_backup.go @@ -19,9 +19,9 @@ package cstorvolumeconfig import ( "context" - cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - cstortypes "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" + cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + cstortypes "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" "github.com/pkg/errors" k8serror "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/server/cstorvolumeconfig/v1alpha1_backup.go b/pkg/server/cstorvolumeconfig/v1alpha1_backup.go index 4518a412..1751940e 100644 --- a/pkg/server/cstorvolumeconfig/v1alpha1_backup.go +++ b/pkg/server/cstorvolumeconfig/v1alpha1_backup.go @@ -19,9 +19,9 @@ package cstorvolumeconfig import ( "context" - openebsapis "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - cstortypes "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" + openebsapis "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + cstortypes "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" "github.com/pkg/errors" k8serror "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/server/cstorvolumeconfig/v1alpha1_restore.go b/pkg/server/cstorvolumeconfig/v1alpha1_restore.go index 008aa801..39ad2620 100644 --- a/pkg/server/cstorvolumeconfig/v1alpha1_restore.go +++ b/pkg/server/cstorvolumeconfig/v1alpha1_restore.go @@ -18,8 +18,8 @@ package cstorvolumeconfig import ( "context" - openebsapis "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - cstortypes "github.com/openebs/api/v2/pkg/apis/types" + openebsapis "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + cstortypes "github.com/openebs/api/v3/pkg/apis/types" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog" ) diff --git a/pkg/snapshot/client.go b/pkg/snapshot/client.go index 7a875f22..8e567360 100644 --- a/pkg/snapshot/client.go +++ b/pkg/snapshot/client.go @@ -21,7 +21,7 @@ import ( "net" "strings" - v1proto "github.com/openebs/api/v2/pkg/proto" + v1proto "github.com/openebs/api/v3/pkg/proto" "github.com/pkg/errors" "google.golang.org/grpc" ) diff --git a/pkg/snapshot/snapshot.go b/pkg/snapshot/snapshot.go index 302bd260..cd49d64f 100644 --- a/pkg/snapshot/snapshot.go +++ b/pkg/snapshot/snapshot.go @@ -17,8 +17,8 @@ package snapshot import ( "context" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - v1proto "github.com/openebs/api/v2/pkg/proto" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + v1proto "github.com/openebs/api/v3/pkg/proto" "github.com/pkg/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog" diff --git a/pkg/snapshot/snapshottest/snapshot.go b/pkg/snapshot/snapshottest/snapshot.go index 151a4130..3892b25e 100644 --- a/pkg/snapshot/snapshottest/snapshot.go +++ b/pkg/snapshot/snapshottest/snapshot.go @@ -15,7 +15,7 @@ limitations under the License. package snapshottest import ( - v1proto "github.com/openebs/api/v2/pkg/proto" + v1proto "github.com/openebs/api/v3/pkg/proto" "github.com/pkg/errors" ) diff --git a/pkg/volume-rpc/client/api.go b/pkg/volume-rpc/client/api.go index 7321dd90..23f7843f 100644 --- a/pkg/volume-rpc/client/api.go +++ b/pkg/volume-rpc/client/api.go @@ -20,8 +20,8 @@ import ( "k8s.io/klog" - "github.com/openebs/api/v2/pkg/proto" - "github.com/openebs/api/v2/pkg/util" + "github.com/openebs/api/v3/pkg/proto" + "github.com/openebs/api/v3/pkg/util" "golang.org/x/net/context" ) diff --git a/pkg/volume-rpc/client/api_test.go b/pkg/volume-rpc/client/api_test.go index 197b6bc2..06789d15 100644 --- a/pkg/volume-rpc/client/api_test.go +++ b/pkg/volume-rpc/client/api_test.go @@ -18,7 +18,7 @@ import ( "context" "testing" - "github.com/openebs/api/v2/pkg/proto" + "github.com/openebs/api/v3/pkg/proto" ) type TestUnixSock struct{} diff --git a/pkg/volume-rpc/client/server.go b/pkg/volume-rpc/client/server.go index 16d26cb0..a0e692f3 100644 --- a/pkg/volume-rpc/client/server.go +++ b/pkg/volume-rpc/client/server.go @@ -21,8 +21,8 @@ import ( "net" "strconv" - "github.com/openebs/api/v2/pkg/proto" - "github.com/openebs/api/v2/pkg/util" + "github.com/openebs/api/v3/pkg/proto" + "github.com/openebs/api/v3/pkg/util" "google.golang.org/grpc" "k8s.io/klog" ) diff --git a/pkg/volume-rpc/targetserver/config.go b/pkg/volume-rpc/targetserver/config.go index 753dff7a..31a392e4 100644 --- a/pkg/volume-rpc/targetserver/config.go +++ b/pkg/volume-rpc/targetserver/config.go @@ -18,10 +18,10 @@ import ( "context" "fmt" - apis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - "github.com/openebs/api/v2/pkg/util" + apis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + "github.com/openebs/api/v3/pkg/util" "github.com/pkg/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog" diff --git a/pkg/volume-rpc/targetserver/server.go b/pkg/volume-rpc/targetserver/server.go index 6d6aa854..0c8582fa 100644 --- a/pkg/volume-rpc/targetserver/server.go +++ b/pkg/volume-rpc/targetserver/server.go @@ -25,8 +25,8 @@ import ( "syscall" "time" - "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" + "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" "github.com/pkg/errors" "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" diff --git a/pkg/volumereplica/volumereplica.go b/pkg/volumereplica/volumereplica.go index df069d8a..23d27694 100644 --- a/pkg/volumereplica/volumereplica.go +++ b/pkg/volumereplica/volumereplica.go @@ -26,10 +26,10 @@ import ( "github.com/openebs/cstor-operators/pkg/log/alertlog" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - types "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - "github.com/openebs/api/v2/pkg/util" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + types "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + "github.com/openebs/api/v3/pkg/util" "github.com/openebs/cstor-operators/pkg/debug" "github.com/openebs/cstor-operators/pkg/util/hash" zcmd "github.com/openebs/cstor-operators/pkg/zcmd" diff --git a/pkg/volumereplica/volumereplica_test.go b/pkg/volumereplica/volumereplica_test.go index 5006923d..25266dc0 100644 --- a/pkg/volumereplica/volumereplica_test.go +++ b/pkg/volumereplica/volumereplica_test.go @@ -24,7 +24,7 @@ import ( "testing" "time" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog" ) diff --git a/pkg/webhook/configuration.go b/pkg/webhook/configuration.go index 5f154df5..98c90b70 100644 --- a/pkg/webhook/configuration.go +++ b/pkg/webhook/configuration.go @@ -22,8 +22,8 @@ import ( "os" "strings" - "github.com/openebs/api/v2/pkg/apis/types" - "github.com/openebs/api/v2/pkg/util" + "github.com/openebs/api/v3/pkg/apis/types" + "github.com/openebs/api/v3/pkg/util" "github.com/openebs/cstor-operators/pkg/version" "github.com/pkg/errors" admissionregistration "k8s.io/api/admissionregistration/v1" diff --git a/pkg/webhook/cspc.go b/pkg/webhook/cspc.go index 45058bd2..35508765 100644 --- a/pkg/webhook/cspc.go +++ b/pkg/webhook/cspc.go @@ -26,11 +26,11 @@ import ( "reflect" "strings" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsapis "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - "github.com/openebs/api/v2/pkg/util" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsapis "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + "github.com/openebs/api/v3/pkg/util" "github.com/pkg/errors" v1 "k8s.io/api/admission/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/webhook/cspc_operations.go b/pkg/webhook/cspc_operations.go index 3d54e31e..8e021dbd 100644 --- a/pkg/webhook/cspc_operations.go +++ b/pkg/webhook/cspc_operations.go @@ -22,10 +22,10 @@ import ( "reflect" "strings" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsapis "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsapis "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" "github.com/pkg/errors" k8serror "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/resource" diff --git a/pkg/webhook/cspc_operations_test.go b/pkg/webhook/cspc_operations_test.go index 7ceb2bb0..0c5305bc 100644 --- a/pkg/webhook/cspc_operations_test.go +++ b/pkg/webhook/cspc_operations_test.go @@ -17,11 +17,11 @@ limitations under the License. package webhook import ( - "github.com/openebs/api/v2/pkg/apis/types" + "github.com/openebs/api/v3/pkg/apis/types" "reflect" "testing" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/pkg/webhook/cspc_test.go b/pkg/webhook/cspc_test.go index e5ba93f3..23afddf1 100644 --- a/pkg/webhook/cspc_test.go +++ b/pkg/webhook/cspc_test.go @@ -22,11 +22,11 @@ import ( "strconv" "testing" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsapi "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - "github.com/openebs/api/v2/pkg/apis/types" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - openebsapifake "github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsapi "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + "github.com/openebs/api/v3/pkg/apis/types" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + openebsapifake "github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake" "github.com/pkg/errors" v1 "k8s.io/api/admission/v1" corev1 "k8s.io/api/core/v1" diff --git a/pkg/webhook/cvc.go b/pkg/webhook/cvc.go index b8b9f1df..31b16505 100644 --- a/pkg/webhook/cvc.go +++ b/pkg/webhook/cvc.go @@ -21,9 +21,9 @@ import ( "encoding/json" "net/http" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - util "github.com/openebs/api/v2/pkg/util" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + util "github.com/openebs/api/v3/pkg/util" "github.com/pkg/errors" v1 "k8s.io/api/admission/v1" corev1 "k8s.io/api/core/v1" diff --git a/pkg/webhook/cvc_test.go b/pkg/webhook/cvc_test.go index e4a64dbb..761177ad 100644 --- a/pkg/webhook/cvc_test.go +++ b/pkg/webhook/cvc_test.go @@ -20,9 +20,9 @@ import ( "context" "testing" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - openebsFakeClientset "github.com/openebs/api/v2/pkg/client/clientset/versioned/fake" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + openebsFakeClientset "github.com/openebs/api/v3/pkg/client/clientset/versioned/fake" "github.com/pkg/errors" v1 "k8s.io/api/admission/v1" corev1 "k8s.io/api/core/v1" diff --git a/pkg/webhook/pvc.go b/pkg/webhook/pvc.go index 9f9a7e99..351c7808 100644 --- a/pkg/webhook/pvc.go +++ b/pkg/webhook/pvc.go @@ -19,7 +19,7 @@ import ( "fmt" "net/http" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" v1 "k8s.io/api/admission/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog" diff --git a/pkg/webhook/webhook.go b/pkg/webhook/webhook.go index 2a9bd89c..f90da507 100644 --- a/pkg/webhook/webhook.go +++ b/pkg/webhook/webhook.go @@ -24,7 +24,7 @@ import ( "io/ioutil" "net/http" - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" v1 "k8s.io/api/admission/v1" admissionregistrationv1 "k8s.io/api/admissionregistration/v1" appsv1 "k8s.io/api/apps/v1" diff --git a/pkg/zcmd/zpool/dump/builder.go b/pkg/zcmd/zpool/dump/builder.go index e5ba2be5..be6c23bf 100644 --- a/pkg/zcmd/zpool/dump/builder.go +++ b/pkg/zcmd/zpool/dump/builder.go @@ -24,7 +24,7 @@ import ( "runtime" "strings" - vdump "github.com/openebs/api/v2/pkg/internalapis/apis/cstor" + vdump "github.com/openebs/api/v3/pkg/internalapis/apis/cstor" "github.com/openebs/cstor-operators/pkg/zcmd/bin" "github.com/pkg/errors" ) diff --git a/pkg/zcmd/zpool/dump/utils.go b/pkg/zcmd/zpool/dump/utils.go index 1caba372..740ec567 100644 --- a/pkg/zcmd/zpool/dump/utils.go +++ b/pkg/zcmd/zpool/dump/utils.go @@ -21,7 +21,7 @@ import ( "strings" "unicode" - vdump "github.com/openebs/api/v2/pkg/internalapis/apis/cstor" + vdump "github.com/openebs/api/v3/pkg/internalapis/apis/cstor" ) // SetPool method set the Pool field of PoolDump object. diff --git a/tests/cspc/provisioning/pool_properties_test.go b/tests/cspc/provisioning/pool_properties_test.go index 5a76217b..bfe8f386 100644 --- a/tests/cspc/provisioning/pool_properties_test.go +++ b/tests/cspc/provisioning/pool_properties_test.go @@ -23,8 +23,8 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" "github.com/openebs/cstor-operators/tests/pkg/cspc/cspcspecbuilder" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/tests/cspc/provisioning/provisioning_test.go b/tests/cspc/provisioning/provisioning_test.go index d8a05007..1ac909cc 100644 --- a/tests/cspc/provisioning/provisioning_test.go +++ b/tests/cspc/provisioning/provisioning_test.go @@ -24,8 +24,8 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" "github.com/openebs/cstor-operators/tests/pkg/cspc/cspcspecbuilder" corev1 "k8s.io/api/core/v1" k8serrors "k8s.io/apimachinery/pkg/api/errors" diff --git a/tests/cstorvolume/provisioing/provisioning_test.go b/tests/cstorvolume/provisioing/provisioning_test.go index 47673646..37339698 100644 --- a/tests/cstorvolume/provisioing/provisioning_test.go +++ b/tests/cstorvolume/provisioing/provisioning_test.go @@ -23,7 +23,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1" "github.com/openebs/cstor-operators/tests/pkg/cspc/cspcspecbuilder" "github.com/openebs/cstor-operators/tests/pkg/cstorvolumeconfig/cvcspecbuilder" "github.com/openebs/cstor-operators/tests/pkg/k8sclient" diff --git a/tests/cstorvolume/provisioing/provisioning_utils.go b/tests/cstorvolume/provisioing/provisioning_utils.go index 51f45da9..ee079427 100644 --- a/tests/cstorvolume/provisioing/provisioning_utils.go +++ b/tests/cstorvolume/provisioing/provisioning_utils.go @@ -21,7 +21,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1" "github.com/openebs/cstor-operators/tests/pkg/cspc/cspcspecbuilder" "github.com/openebs/cstor-operators/tests/pkg/cstorvolumeconfig/cvcspecbuilder" "github.com/openebs/cstor-operators/tests/pkg/k8sclient" diff --git a/tests/pkg/cache/cspccache/cache.go b/tests/pkg/cache/cspccache/cache.go index 5b6f2efa..0c2a6cf8 100644 --- a/tests/pkg/cache/cspccache/cache.go +++ b/tests/pkg/cache/cspccache/cache.go @@ -20,7 +20,7 @@ import ( "context" "reflect" - "github.com/openebs/api/v2/pkg/apis/types" + "github.com/openebs/api/v3/pkg/apis/types" "github.com/openebs/cstor-operators/tests/pkg/infra" "github.com/openebs/cstor-operators/tests/pkg/k8sclient" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/tests/pkg/cspc/cspcspecbuilder/specbuilder.go b/tests/pkg/cspc/cspcspecbuilder/specbuilder.go index 0d2163c6..829c0c61 100644 --- a/tests/pkg/cspc/cspcspecbuilder/specbuilder.go +++ b/tests/pkg/cspc/cspcspecbuilder/specbuilder.go @@ -19,7 +19,7 @@ package cspcspecbuilder import ( "reflect" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" "github.com/openebs/cstor-operators/tests/pkg/cache/cspccache" "github.com/openebs/cstor-operators/tests/pkg/infra" corev1 "k8s.io/api/core/v1" diff --git a/tests/pkg/cstorvolumeconfig/cvcspecbuilder/specbuilder.go b/tests/pkg/cstorvolumeconfig/cvcspecbuilder/specbuilder.go index 656ec8a0..bb4058c5 100644 --- a/tests/pkg/cstorvolumeconfig/cvcspecbuilder/specbuilder.go +++ b/tests/pkg/cstorvolumeconfig/cvcspecbuilder/specbuilder.go @@ -17,7 +17,7 @@ limitations under the License. package cvcspecbuilder import ( - cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1" "github.com/openebs/cstor-operators/tests/pkg/infra" corev1 "k8s.io/api/core/v1" "k8s.io/klog" diff --git a/tests/pkg/k8sclient/client.go b/tests/pkg/k8sclient/client.go index 2cca211c..7bbb3c90 100644 --- a/tests/pkg/k8sclient/client.go +++ b/tests/pkg/k8sclient/client.go @@ -20,7 +20,7 @@ import ( "flag" "time" - openebsclientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" + openebsclientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" "github.com/pkg/errors" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" diff --git a/tests/pkg/k8sclient/cspc_util.go b/tests/pkg/k8sclient/cspc_util.go index 8776732e..ef8b6028 100644 --- a/tests/pkg/k8sclient/cspc_util.go +++ b/tests/pkg/k8sclient/cspc_util.go @@ -22,9 +22,9 @@ import ( "time" . "github.com/onsi/gomega" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - "github.com/openebs/api/v2/pkg/apis/types" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + "github.com/openebs/api/v3/pkg/apis/types" "github.com/pkg/errors" v1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" diff --git a/tests/pkg/k8sclient/cspi_util.go b/tests/pkg/k8sclient/cspi_util.go index 8dbefcb5..093eb927 100644 --- a/tests/pkg/k8sclient/cspi_util.go +++ b/tests/pkg/k8sclient/cspi_util.go @@ -21,8 +21,8 @@ import ( "time" . "github.com/onsi/gomega" - cstor "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/apis/types" + cstor "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/apis/types" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" ) diff --git a/tests/pkg/k8sclient/cv_util.go b/tests/pkg/k8sclient/cv_util.go index 9633b04e..1841873a 100644 --- a/tests/pkg/k8sclient/cv_util.go +++ b/tests/pkg/k8sclient/cv_util.go @@ -22,9 +22,9 @@ import ( "strconv" "time" - cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebstypes "github.com/openebs/api/v2/pkg/apis/types" - "github.com/openebs/api/v2/pkg/util" + cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebstypes "github.com/openebs/api/v3/pkg/apis/types" + "github.com/openebs/api/v3/pkg/util" "github.com/pkg/errors" corev1 "k8s.io/api/core/v1" k8serror "k8s.io/apimachinery/pkg/api/errors" diff --git a/tests/pkg/k8sclient/cvc_util.go b/tests/pkg/k8sclient/cvc_util.go index 61f9b1d0..e316ad32 100644 --- a/tests/pkg/k8sclient/cvc_util.go +++ b/tests/pkg/k8sclient/cvc_util.go @@ -21,8 +21,8 @@ import ( "encoding/json" "time" - cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/util" + cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/util" "github.com/pkg/errors" k8serror "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/tests/pkg/k8sclient/cvr_util.go b/tests/pkg/k8sclient/cvr_util.go index d51d67b5..cf1ce595 100644 --- a/tests/pkg/k8sclient/cvr_util.go +++ b/tests/pkg/k8sclient/cvr_util.go @@ -20,9 +20,9 @@ import ( "context" "time" - cstorapis "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebstypes "github.com/openebs/api/v2/pkg/apis/types" - "github.com/openebs/api/v2/pkg/util" + cstorapis "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebstypes "github.com/openebs/api/v3/pkg/apis/types" + "github.com/openebs/api/v3/pkg/util" "github.com/pkg/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog" diff --git a/vendor/github.com/openebs/api/v2/LICENSE b/vendor/github.com/openebs/api/v3/LICENSE similarity index 100% rename from vendor/github.com/openebs/api/v2/LICENSE rename to vendor/github.com/openebs/api/v3/LICENSE diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/doc.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/doc.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/doc.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/doc.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorbackup.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorbackup.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorbackup.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorbackup.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorbackuprestorebuilder.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorbackuprestorebuilder.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorbackuprestorebuilder.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorbackuprestorebuilder.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorcompletebackup.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorcompletebackup.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorcompletebackup.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorcompletebackup.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorpoolcluster.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorpoolcluster.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorpoolcluster.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorpoolcluster.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorpoolclusterbuilder.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorpoolclusterbuilder.go similarity index 99% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorpoolclusterbuilder.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorpoolclusterbuilder.go index 0403b9d9..836ef274 100644 --- a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorpoolclusterbuilder.go +++ b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorpoolclusterbuilder.go @@ -17,7 +17,7 @@ limitations under the License. package v1 import ( - "github.com/openebs/api/v2/pkg/util" + "github.com/openebs/api/v3/pkg/util" corev1 "k8s.io/api/core/v1" ) diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorpoolinstance.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorpoolinstance.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorpoolinstance.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorpoolinstance.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorpoolinstancebuilder.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorpoolinstancebuilder.go similarity index 99% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorpoolinstancebuilder.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorpoolinstancebuilder.go index 7b64c2ed..18e2340e 100644 --- a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorpoolinstancebuilder.go +++ b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorpoolinstancebuilder.go @@ -17,7 +17,7 @@ limitations under the License. package v1 import ( - "github.com/openebs/api/v2/pkg/util" + "github.com/openebs/api/v3/pkg/util" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorrestore.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorrestore.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorrestore.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorrestore.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolume.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolume.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolume.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolume.go index ced05533..7e303859 100644 --- a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolume.go +++ b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolume.go @@ -199,3 +199,19 @@ const ( // ConditionSuccess states resizing underlying volumes are successfull ConditionSuccess ConditionStatus = "Success" ) + +// Status written onto CStorVolume objects. +const ( + // volume is getting initialized + CVStatusInit CStorVolumePhase = "Init" + // volume allows IOs and snapshot + CVStatusHealthy CStorVolumePhase = "Healthy" + // volume only satisfies consistency factor + CVStatusDegraded CStorVolumePhase = "Degraded" + // Volume is offline + CVStatusOffline CStorVolumePhase = "Offline" + // Error in retrieving volume details + CVStatusError CStorVolumePhase = "Error" + // volume controller config generation failed due to invalid parameters + CVStatusInvalid CStorVolumePhase = "Invalid" +) diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolume.proto b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolume.proto similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolume.proto rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolume.proto diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolumeattachments.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolumeattachments.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolumeattachments.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolumeattachments.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolumebuilder.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolumebuilder.go similarity index 99% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolumebuilder.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolumebuilder.go index acad2019..8b0425d6 100644 --- a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolumebuilder.go +++ b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolumebuilder.go @@ -20,8 +20,8 @@ import ( "fmt" "strings" - "github.com/openebs/api/v2/pkg/apis/types" - "github.com/openebs/api/v2/pkg/util" + "github.com/openebs/api/v3/pkg/apis/types" + "github.com/openebs/api/v3/pkg/util" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog" diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolumeconfig.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolumeconfig.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolumeconfig.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolumeconfig.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolumepolicy.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolumepolicy.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolumepolicy.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolumepolicy.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolumereplica.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolumereplica.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/cstorvolumereplica.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/cstorvolumereplica.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/doc.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/doc.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/doc.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/doc.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/register.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/register.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/register.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/register.go index efe251e8..ebc09ff2 100644 --- a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/register.go +++ b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/register.go @@ -17,7 +17,7 @@ limitations under the License. package v1 import ( - "github.com/openebs/api/v2/pkg/apis/cstor" + "github.com/openebs/api/v3/pkg/apis/cstor" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/version_details_types.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/version_details_types.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/version_details_types.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/version_details_types.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/zz_generated.deepcopy.go b/vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/zz_generated.deepcopy.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/cstor/v1/zz_generated.deepcopy.go rename to vendor/github.com/openebs/api/v3/pkg/apis/cstor/v1/zz_generated.deepcopy.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/doc.go b/vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/doc.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/doc.go rename to vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/doc.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/blockdevice_types.go b/vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/blockdevice_types.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/blockdevice_types.go rename to vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/blockdevice_types.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/blockdeviceclaim_types.go b/vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/blockdeviceclaim_types.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/blockdeviceclaim_types.go rename to vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/blockdeviceclaim_types.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/blockdeviceclaimbuilder.go b/vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/blockdeviceclaimbuilder.go similarity index 89% rename from vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/blockdeviceclaimbuilder.go rename to vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/blockdeviceclaimbuilder.go index bddff3b1..c77ef074 100644 --- a/vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/blockdeviceclaimbuilder.go +++ b/vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/blockdeviceclaimbuilder.go @@ -17,11 +17,14 @@ limitations under the License. package v1alpha1 import ( - "github.com/openebs/api/v2/pkg/util" + "strings" + "github.com/pkg/errors" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + + "github.com/openebs/api/v3/pkg/util" ) const ( @@ -165,6 +168,26 @@ func (bdc *BlockDeviceClaim) WithBlockDeviceTag(bdTagValue string) *BlockDeviceC return bdc } +// WithSelector appends (or creates) the BDC Label Selector +// by setting the provided key and corresponding value +// This will enable the NDM to pick only devices that +// match the given label and its value. +func (bdc *BlockDeviceClaim) WithSelector(labelSelector map[string]string) *BlockDeviceClaim { + if bdc.Spec.Selector == nil { + bdc.Spec.Selector = &metav1.LabelSelector{} + } + if bdc.Spec.Selector.MatchLabels == nil { + bdc.Spec.Selector.MatchLabels = map[string]string{} + } + + for key, value := range labelSelector { + if len(strings.TrimSpace(value)) != 0 { + bdc.Spec.Selector.MatchLabels[key] = value + } + } + return bdc +} + // RemoveFinalizer removes the given finalizer from the object. func (bdc *BlockDeviceClaim) RemoveFinalizer(finalizer string) { bdc.Finalizers = util.RemoveString(bdc.Finalizers, finalizer) diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/cstorbackup.go b/vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/cstorbackup.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/cstorbackup.go rename to vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/cstorbackup.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/cstorcompletebackup.go b/vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/cstorcompletebackup.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/cstorcompletebackup.go rename to vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/cstorcompletebackup.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/cstorrestore.go b/vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/cstorrestore.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/cstorrestore.go rename to vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/cstorrestore.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/doc.go b/vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/doc.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/doc.go rename to vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/doc.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/migrationtask.go b/vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/migrationtask.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/migrationtask.go rename to vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/migrationtask.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/register.go b/vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/register.go similarity index 97% rename from vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/register.go rename to vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/register.go index 73ead046..1932a178 100644 --- a/vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/register.go +++ b/vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/register.go @@ -17,7 +17,7 @@ limitations under the License. package v1alpha1 import ( - "github.com/openebs/api/v2/pkg/apis/openebs.io" + "github.com/openebs/api/v3/pkg/apis/openebs.io" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/upgradetask_types.go b/vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/upgradetask_types.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/upgradetask_types.go rename to vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/upgradetask_types.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/zz_generated.deepcopy.go b/vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/zz_generated.deepcopy.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1/zz_generated.deepcopy.go rename to vendor/github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1/zz_generated.deepcopy.go diff --git a/vendor/github.com/openebs/api/v2/pkg/apis/types/types.go b/vendor/github.com/openebs/api/v3/pkg/apis/types/types.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/apis/types/types.go rename to vendor/github.com/openebs/api/v3/pkg/apis/types/types.go diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/clientset.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/clientset.go similarity index 96% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/clientset.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/clientset.go index 7cef2e06..6a1995e4 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/clientset.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/clientset.go @@ -21,8 +21,8 @@ package versioned import ( "fmt" - cstorv1 "github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1" - openebsv1alpha1 "github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1" + cstorv1 "github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1" + openebsv1alpha1 "github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1" discovery "k8s.io/client-go/discovery" rest "k8s.io/client-go/rest" flowcontrol "k8s.io/client-go/util/flowcontrol" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/doc.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/doc.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/doc.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/doc.go diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/fake/clientset_generated.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/fake/clientset_generated.go similarity index 89% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/fake/clientset_generated.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/fake/clientset_generated.go index bc31e136..251bb9cd 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/fake/clientset_generated.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/fake/clientset_generated.go @@ -19,11 +19,11 @@ limitations under the License. package fake import ( - clientset "github.com/openebs/api/v2/pkg/client/clientset/versioned" - cstorv1 "github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1" - fakecstorv1 "github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake" - openebsv1alpha1 "github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1" - fakeopenebsv1alpha1 "github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake" + clientset "github.com/openebs/api/v3/pkg/client/clientset/versioned" + cstorv1 "github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1" + fakecstorv1 "github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake" + openebsv1alpha1 "github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1" + fakeopenebsv1alpha1 "github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/discovery" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/fake/doc.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/fake/doc.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/fake/doc.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/fake/doc.go diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/fake/register.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/fake/register.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/fake/register.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/fake/register.go index f3e50989..1792497f 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/fake/register.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/fake/register.go @@ -19,8 +19,8 @@ limitations under the License. package fake import ( - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsv1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsv1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme/doc.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme/doc.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme/doc.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme/doc.go diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme/register.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme/register.go similarity index 94% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme/register.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme/register.go index 2c858e85..267f6e6c 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme/register.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme/register.go @@ -19,8 +19,8 @@ limitations under the License. package scheme import ( - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - openebsv1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + openebsv1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstor_client.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstor_client.go similarity index 97% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstor_client.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstor_client.go index d3736e02..97f481f3 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstor_client.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstor_client.go @@ -19,8 +19,8 @@ limitations under the License. package v1 import ( - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" rest "k8s.io/client-go/rest" ) diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorbackup.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorbackup.go index dc9add75..e9d17fd6 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorbackup.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorcompletedbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorcompletedbackup.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorcompletedbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorcompletedbackup.go index 21020057..adf1ba39 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorcompletedbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorcompletedbackup.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorpoolcluster.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorpoolcluster.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorpoolcluster.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorpoolcluster.go index 20870b3e..68116247 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorpoolcluster.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorpoolcluster.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorpoolinstance.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorpoolinstance.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorpoolinstance.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorpoolinstance.go index 825d7c7b..b4a2a755 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorpoolinstance.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorpoolinstance.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorrestore.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorrestore.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorrestore.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorrestore.go index 66f01011..9ddeedf1 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorrestore.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorrestore.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolume.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolume.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolume.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolume.go index 88c0b4e5..183248b0 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolume.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolume.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumeattachment.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumeattachment.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumeattachment.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumeattachment.go index 3d940fd9..d39916e8 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumeattachment.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumeattachment.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumeconfig.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumeconfig.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumeconfig.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumeconfig.go index e70bf276..dcca6e71 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumeconfig.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumeconfig.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumepolicy.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumepolicy.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumepolicy.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumepolicy.go index 437955a7..332392d3 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumepolicy.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumepolicy.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumereplica.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumereplica.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumereplica.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumereplica.go index 8a28d09d..5bd4d952 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumereplica.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/cstorvolumereplica.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/doc.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/doc.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/doc.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/doc.go diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/doc.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/doc.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/doc.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/doc.go diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstor_client.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstor_client.go similarity index 97% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstor_client.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstor_client.go index 5a037a28..d37cf0cc 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstor_client.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstor_client.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1 "github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1" + v1 "github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorbackup.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorbackup.go index 47ef001e..084a1d86 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorbackup.go @@ -21,7 +21,7 @@ package fake import ( "context" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorcompletedbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorcompletedbackup.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorcompletedbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorcompletedbackup.go index 0dcb1387..2dc0e377 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorcompletedbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorcompletedbackup.go @@ -21,7 +21,7 @@ package fake import ( "context" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorpoolcluster.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorpoolcluster.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorpoolcluster.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorpoolcluster.go index 005b3283..936b13bf 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorpoolcluster.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorpoolcluster.go @@ -21,7 +21,7 @@ package fake import ( "context" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorpoolinstance.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorpoolinstance.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorpoolinstance.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorpoolinstance.go index c6dc9e1a..6eb15ac2 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorpoolinstance.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorpoolinstance.go @@ -21,7 +21,7 @@ package fake import ( "context" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorrestore.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorrestore.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorrestore.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorrestore.go index 3d467e64..5c19ca6b 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorrestore.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorrestore.go @@ -21,7 +21,7 @@ package fake import ( "context" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolume.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolume.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolume.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolume.go index 32b05103..b3ce911c 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolume.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolume.go @@ -21,7 +21,7 @@ package fake import ( "context" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumeattachment.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumeattachment.go similarity index 99% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumeattachment.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumeattachment.go index d17b9865..380d5e93 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumeattachment.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumeattachment.go @@ -21,7 +21,7 @@ package fake import ( "context" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumeconfig.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumeconfig.go similarity index 99% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumeconfig.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumeconfig.go index eccf5285..221e789e 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumeconfig.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumeconfig.go @@ -21,7 +21,7 @@ package fake import ( "context" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumepolicy.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumepolicy.go similarity index 99% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumepolicy.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumepolicy.go index 065ba604..5eb32ec8 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumepolicy.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumepolicy.go @@ -21,7 +21,7 @@ package fake import ( "context" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumereplica.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumereplica.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumereplica.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumereplica.go index 2dd5e41e..4eea19ae 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumereplica.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake/fake_cstorvolumereplica.go @@ -21,7 +21,7 @@ package fake import ( "context" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/generated_expansion.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/generated_expansion.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/generated_expansion.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/generated_expansion.go diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/blockdevice.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/blockdevice.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/blockdevice.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/blockdevice.go index 934c76f2..232ebac3 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/blockdevice.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/blockdevice.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/blockdeviceclaim.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/blockdeviceclaim.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/blockdeviceclaim.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/blockdeviceclaim.go index 02730ff0..c238da56 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/blockdeviceclaim.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/blockdeviceclaim.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorbackup.go similarity index 97% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorbackup.go index 9ab851e8..998b6709 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorbackup.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorcompletedbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorcompletedbackup.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorcompletedbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorcompletedbackup.go index 477e111d..bf3376fb 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorcompletedbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorcompletedbackup.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorrestore.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorrestore.go similarity index 97% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorrestore.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorrestore.go index f95224ea..3cfb60c3 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorrestore.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/cstorrestore.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/doc.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/doc.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/doc.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/doc.go diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/doc.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/doc.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/doc.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/doc.go diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_blockdevice.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_blockdevice.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_blockdevice.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_blockdevice.go index a574c4b7..f290089c 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_blockdevice.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_blockdevice.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_blockdeviceclaim.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_blockdeviceclaim.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_blockdeviceclaim.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_blockdeviceclaim.go index d2503cd4..eb892c5c 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_blockdeviceclaim.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_blockdeviceclaim.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorbackup.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorbackup.go index ba99090d..8b62115c 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorbackup.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorcompletedbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorcompletedbackup.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorcompletedbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorcompletedbackup.go index 1669d9f6..28530e05 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorcompletedbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorcompletedbackup.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorrestore.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorrestore.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorrestore.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorrestore.go index fa9cb67e..87dac389 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorrestore.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_cstorrestore.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_migrationtask.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_migrationtask.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_migrationtask.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_migrationtask.go index ab83ae56..8864d5f6 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_migrationtask.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_migrationtask.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_openebs.io_client.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_openebs.io_client.go similarity index 96% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_openebs.io_client.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_openebs.io_client.go index 082888ba..4d4329b1 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_openebs.io_client.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_openebs.io_client.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1alpha1 "github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_upgradetask.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_upgradetask.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_upgradetask.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_upgradetask.go index 6eca8252..d8511108 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_upgradetask.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake/fake_upgradetask.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/generated_expansion.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/generated_expansion.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/generated_expansion.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/generated_expansion.go diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/migrationtask.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/migrationtask.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/migrationtask.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/migrationtask.go index d3bae3b9..8308a11c 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/migrationtask.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/migrationtask.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/openebs.io_client.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/openebs.io_client.go similarity index 96% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/openebs.io_client.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/openebs.io_client.go index d2afc5e3..d1e2fc29 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/openebs.io_client.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/openebs.io_client.go @@ -19,8 +19,8 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" rest "k8s.io/client-go/rest" ) diff --git a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/upgradetask.go b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/upgradetask.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/upgradetask.go rename to vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/upgradetask.go index 3d37638a..e6391ca5 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/upgradetask.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/upgradetask.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - scheme "github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + scheme "github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/interface.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/interface.go similarity index 91% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/interface.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/interface.go index 9812c53c..72eac77e 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/interface.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/interface.go @@ -19,8 +19,8 @@ limitations under the License. package cstor import ( - v1 "github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" ) // Interface provides access to each of this group's versions. diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorbackup.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorbackup.go index 47cc9917..422baf60 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorbackup.go @@ -22,10 +22,10 @@ import ( "context" time "time" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/openebs/api/v2/pkg/client/listers/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/openebs/api/v3/pkg/client/listers/cstor/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorcompletedbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorcompletedbackup.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorcompletedbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorcompletedbackup.go index 8b10add8..f34be9ed 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorcompletedbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorcompletedbackup.go @@ -22,10 +22,10 @@ import ( "context" time "time" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/openebs/api/v2/pkg/client/listers/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/openebs/api/v3/pkg/client/listers/cstor/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorpoolcluster.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorpoolcluster.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorpoolcluster.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorpoolcluster.go index 9553a810..7a1a2d6e 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorpoolcluster.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorpoolcluster.go @@ -22,10 +22,10 @@ import ( "context" time "time" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/openebs/api/v2/pkg/client/listers/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/openebs/api/v3/pkg/client/listers/cstor/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorpoolinstance.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorpoolinstance.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorpoolinstance.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorpoolinstance.go index 8e39494d..560b1f56 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorpoolinstance.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorpoolinstance.go @@ -22,10 +22,10 @@ import ( "context" time "time" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/openebs/api/v2/pkg/client/listers/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/openebs/api/v3/pkg/client/listers/cstor/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorrestore.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorrestore.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorrestore.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorrestore.go index 86150138..afb3b5c0 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorrestore.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorrestore.go @@ -22,10 +22,10 @@ import ( "context" time "time" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/openebs/api/v2/pkg/client/listers/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/openebs/api/v3/pkg/client/listers/cstor/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolume.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolume.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolume.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolume.go index afd6c507..859451a3 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolume.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolume.go @@ -22,10 +22,10 @@ import ( "context" time "time" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/openebs/api/v2/pkg/client/listers/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/openebs/api/v3/pkg/client/listers/cstor/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolumeattachment.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolumeattachment.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolumeattachment.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolumeattachment.go index 9e79e6ab..3f62cc0f 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolumeattachment.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolumeattachment.go @@ -22,10 +22,10 @@ import ( "context" time "time" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/openebs/api/v2/pkg/client/listers/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/openebs/api/v3/pkg/client/listers/cstor/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolumeconfig.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolumeconfig.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolumeconfig.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolumeconfig.go index baa6e794..fda5bc23 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolumeconfig.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolumeconfig.go @@ -22,10 +22,10 @@ import ( "context" time "time" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/openebs/api/v2/pkg/client/listers/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/openebs/api/v3/pkg/client/listers/cstor/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolumepolicy.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolumepolicy.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolumepolicy.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolumepolicy.go index fb63b2e0..23147765 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolumepolicy.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolumepolicy.go @@ -22,10 +22,10 @@ import ( "context" time "time" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/openebs/api/v2/pkg/client/listers/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/openebs/api/v3/pkg/client/listers/cstor/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolumereplica.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolumereplica.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolumereplica.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolumereplica.go index 3194fcbe..cd74d47a 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/cstorvolumereplica.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/cstorvolumereplica.go @@ -22,10 +22,10 @@ import ( "context" time "time" - cstorv1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/openebs/api/v2/pkg/client/listers/cstor/v1" + cstorv1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/openebs/api/v3/pkg/client/listers/cstor/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/interface.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/interface.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/interface.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/interface.go index b57dae9e..e69f2720 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1/interface.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1/interface.go @@ -19,7 +19,7 @@ limitations under the License. package v1 import ( - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/factory.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/factory.go similarity index 96% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/factory.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/factory.go index 57713b79..3f5c85e3 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/factory.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/factory.go @@ -23,10 +23,10 @@ import ( sync "sync" time "time" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - cstor "github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - openebsio "github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + cstor "github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + openebsio "github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/generic.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/generic.go similarity index 97% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/generic.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/generic.go index c1cf9f12..b27f9a36 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/generic.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/generic.go @@ -21,8 +21,8 @@ package externalversions import ( "fmt" - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" schema "k8s.io/apimachinery/pkg/runtime/schema" cache "k8s.io/client-go/tools/cache" ) diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go similarity index 95% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go index c8931924..c74f79ad 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -21,7 +21,7 @@ package internalinterfaces import ( time "time" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" cache "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/interface.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/interface.go similarity index 92% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/interface.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/interface.go index 7327db37..61e1ea09 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/interface.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/interface.go @@ -19,8 +19,8 @@ limitations under the License. package openebs import ( - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1" ) // Interface provides access to each of this group's versions. diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/blockdevice.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/blockdevice.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/blockdevice.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/blockdevice.go index e00c5136..06e37cb3 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/blockdevice.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/blockdevice.go @@ -22,10 +22,10 @@ import ( "context" time "time" - openebsiov1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1" + openebsiov1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/blockdeviceclaim.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/blockdeviceclaim.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/blockdeviceclaim.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/blockdeviceclaim.go index f309519f..8ffd5879 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/blockdeviceclaim.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/blockdeviceclaim.go @@ -22,10 +22,10 @@ import ( "context" time "time" - openebsiov1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1" + openebsiov1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorbackup.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorbackup.go index 31b633ac..541963c2 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorbackup.go @@ -22,10 +22,10 @@ import ( "context" time "time" - openebsiov1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1" + openebsiov1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorcompletedbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorcompletedbackup.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorcompletedbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorcompletedbackup.go index 7668b677..d2d27737 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorcompletedbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorcompletedbackup.go @@ -22,10 +22,10 @@ import ( "context" time "time" - openebsiov1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1" + openebsiov1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorrestore.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorrestore.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorrestore.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorrestore.go index 4e538643..546c0c08 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorrestore.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/cstorrestore.go @@ -22,10 +22,10 @@ import ( "context" time "time" - openebsiov1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1" + openebsiov1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/interface.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/interface.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/interface.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/interface.go index a650c72d..34e30630 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/interface.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/interface.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/migrationtask.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/migrationtask.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/migrationtask.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/migrationtask.go index f811b7ca..3ef111d9 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/migrationtask.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/migrationtask.go @@ -22,10 +22,10 @@ import ( "context" time "time" - openebsiov1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1" + openebsiov1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/upgradetask.go b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/upgradetask.go similarity index 93% rename from vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/upgradetask.go rename to vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/upgradetask.go index eb9400f7..9fdb98d6 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1/upgradetask.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1/upgradetask.go @@ -22,10 +22,10 @@ import ( "context" time "time" - openebsiov1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" - versioned "github.com/openebs/api/v2/pkg/client/clientset/versioned" - internalinterfaces "github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1" + openebsiov1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" + versioned "github.com/openebs/api/v3/pkg/client/clientset/versioned" + internalinterfaces "github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorbackup.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorbackup.go index 9bd95350..555563fb 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorbackup.go @@ -19,7 +19,7 @@ limitations under the License. package v1 import ( - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorcompletedbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorcompletedbackup.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorcompletedbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorcompletedbackup.go index be3152de..c0841b36 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorcompletedbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorcompletedbackup.go @@ -19,7 +19,7 @@ limitations under the License. package v1 import ( - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorpoolcluster.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorpoolcluster.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorpoolcluster.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorpoolcluster.go index a13faad5..813db448 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorpoolcluster.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorpoolcluster.go @@ -19,7 +19,7 @@ limitations under the License. package v1 import ( - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorpoolinstance.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorpoolinstance.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorpoolinstance.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorpoolinstance.go index 87486dde..dccd0633 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorpoolinstance.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorpoolinstance.go @@ -19,7 +19,7 @@ limitations under the License. package v1 import ( - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorrestore.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorrestore.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorrestore.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorrestore.go index cff64df2..105198d3 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorrestore.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorrestore.go @@ -19,7 +19,7 @@ limitations under the License. package v1 import ( - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolume.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolume.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolume.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolume.go index b0513fd3..91e7940c 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolume.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolume.go @@ -19,7 +19,7 @@ limitations under the License. package v1 import ( - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolumeattachment.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolumeattachment.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolumeattachment.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolumeattachment.go index de78203c..74da2296 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolumeattachment.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolumeattachment.go @@ -19,7 +19,7 @@ limitations under the License. package v1 import ( - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolumeconfig.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolumeconfig.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolumeconfig.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolumeconfig.go index 8ad60bbb..852fa60d 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolumeconfig.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolumeconfig.go @@ -19,7 +19,7 @@ limitations under the License. package v1 import ( - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolumepolicy.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolumepolicy.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolumepolicy.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolumepolicy.go index e1c9d09c..c2f1cd4f 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolumepolicy.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolumepolicy.go @@ -19,7 +19,7 @@ limitations under the License. package v1 import ( - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolumereplica.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolumereplica.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolumereplica.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolumereplica.go index 4cfcadc9..73186171 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/cstorvolumereplica.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/cstorvolumereplica.go @@ -19,7 +19,7 @@ limitations under the License. package v1 import ( - v1 "github.com/openebs/api/v2/pkg/apis/cstor/v1" + v1 "github.com/openebs/api/v3/pkg/apis/cstor/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/expansion_generated.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/expansion_generated.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/cstor/v1/expansion_generated.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/cstor/v1/expansion_generated.go diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/blockdevice.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/blockdevice.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/blockdevice.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/blockdevice.go index b4e9910d..4095d5d0 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/blockdevice.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/blockdevice.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/blockdeviceclaim.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/blockdeviceclaim.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/blockdeviceclaim.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/blockdeviceclaim.go index 2e2afca8..58720b2e 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/blockdeviceclaim.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/blockdeviceclaim.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/cstorbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/cstorbackup.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/cstorbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/cstorbackup.go index 290738a5..76186f64 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/cstorbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/cstorbackup.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/cstorcompletedbackup.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/cstorcompletedbackup.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/cstorcompletedbackup.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/cstorcompletedbackup.go index 39e89f8f..ed0dbf37 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/cstorcompletedbackup.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/cstorcompletedbackup.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/cstorrestore.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/cstorrestore.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/cstorrestore.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/cstorrestore.go index 43a54daf..86f3fd56 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/cstorrestore.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/cstorrestore.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/expansion_generated.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/expansion_generated.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/expansion_generated.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/expansion_generated.go diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/migrationtask.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/migrationtask.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/migrationtask.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/migrationtask.go index 35e75dc4..7f8ac4d6 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/migrationtask.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/migrationtask.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/upgradetask.go b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/upgradetask.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/upgradetask.go rename to vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/upgradetask.go index 4ab44202..29b235a8 100644 --- a/vendor/github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1/upgradetask.go +++ b/vendor/github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1/upgradetask.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1" + v1alpha1 "github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorbackup.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorbackup.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorbackup.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorbackup.go diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorcompletebackup.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorcompletebackup.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorcompletebackup.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorcompletebackup.go diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorpool_topology.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorpool_topology.go similarity index 99% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorpool_topology.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorpool_topology.go index 09b0ae8a..0b7fa2a2 100644 --- a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorpool_topology.go +++ b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorpool_topology.go @@ -20,7 +20,7 @@ import ( "encoding/json" "strings" - "github.com/openebs/api/v2/pkg/util" + "github.com/openebs/api/v3/pkg/util" ) /* diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorpoolcluster.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorpoolcluster.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorpoolcluster.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorpoolcluster.go diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorpoolinstance.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorpoolinstance.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorpoolinstance.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorpoolinstance.go diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorrestore.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorrestore.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorrestore.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorrestore.go diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorvolume.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorvolume.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorvolume.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorvolume.go diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorvolumeattachment.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorvolumeattachment.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorvolumeattachment.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorvolumeattachment.go diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorvolumeconfig.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorvolumeconfig.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorvolumeconfig.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorvolumeconfig.go diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorvolumepolicy.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorvolumepolicy.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorvolumepolicy.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorvolumepolicy.go diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorvolumereplica.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorvolumereplica.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/cstorvolumereplica.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/cstorvolumereplica.go diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/doc.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/doc.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/doc.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/doc.go diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/register.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/register.go similarity index 97% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/register.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/register.go index e6fe52bf..bd0d7f1f 100644 --- a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/register.go +++ b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/register.go @@ -17,7 +17,7 @@ limitations under the License. package cstor import ( - "github.com/openebs/api/v2/pkg/apis/cstor" + "github.com/openebs/api/v3/pkg/apis/cstor" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" ) diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/version_details_types.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/version_details_types.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/version_details_types.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/version_details_types.go diff --git a/vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/zz_generated.deepcopy.go b/vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/zz_generated.deepcopy.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/internalapis/apis/cstor/zz_generated.deepcopy.go rename to vendor/github.com/openebs/api/v3/pkg/internalapis/apis/cstor/zz_generated.deepcopy.go diff --git a/vendor/github.com/openebs/api/v2/pkg/kubernetes/apps/deployment.go b/vendor/github.com/openebs/api/v3/pkg/kubernetes/apps/deployment.go similarity index 98% rename from vendor/github.com/openebs/api/v2/pkg/kubernetes/apps/deployment.go rename to vendor/github.com/openebs/api/v3/pkg/kubernetes/apps/deployment.go index c97bf2de..47fa2d5b 100644 --- a/vendor/github.com/openebs/api/v2/pkg/kubernetes/apps/deployment.go +++ b/vendor/github.com/openebs/api/v3/pkg/kubernetes/apps/deployment.go @@ -15,7 +15,7 @@ package apps import ( - corebuilder "github.com/openebs/api/v2/pkg/kubernetes/core" + corebuilder "github.com/openebs/api/v3/pkg/kubernetes/core" appsv1 "k8s.io/api/apps/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/vendor/github.com/openebs/api/v2/pkg/kubernetes/core/container.go b/vendor/github.com/openebs/api/v3/pkg/kubernetes/core/container.go similarity index 97% rename from vendor/github.com/openebs/api/v2/pkg/kubernetes/core/container.go rename to vendor/github.com/openebs/api/v3/pkg/kubernetes/core/container.go index ad5ba9c6..6cbc1f19 100644 --- a/vendor/github.com/openebs/api/v2/pkg/kubernetes/core/container.go +++ b/vendor/github.com/openebs/api/v3/pkg/kubernetes/core/container.go @@ -120,6 +120,12 @@ func (c *Container) WithEnvsNew(envs []corev1.EnvVar) *Container { return c } +// WithTTY sets the tty boolean for container +func (c *Container) WithTTY(tty bool) *Container { + c.TTY = tty + return c +} + // WithEnvs sets the envs of the container func (c *Container) WithEnvs(envs []corev1.EnvVar) *Container { c.Env = append(c.Env, envs...) diff --git a/vendor/github.com/openebs/api/v2/pkg/kubernetes/core/pod.go b/vendor/github.com/openebs/api/v3/pkg/kubernetes/core/pod.go similarity index 96% rename from vendor/github.com/openebs/api/v2/pkg/kubernetes/core/pod.go rename to vendor/github.com/openebs/api/v3/pkg/kubernetes/core/pod.go index 9371e4d9..8bec90c4 100644 --- a/vendor/github.com/openebs/api/v2/pkg/kubernetes/core/pod.go +++ b/vendor/github.com/openebs/api/v3/pkg/kubernetes/core/pod.go @@ -162,6 +162,12 @@ func (p *PodTemplateSpec) WithTolerationsNew(tolerations ...corev1.Toleration) * return p } +// WithRestartPolicy sets the restart-policy for pod-spec +func (p *PodTemplateSpec) WithRestartPolicy(policy corev1.RestartPolicy) *PodTemplateSpec { + p.Spec.RestartPolicy = policy + return p +} + // WithContainers builds the list of containerbuilder // provided and merges it to the containers field of the podtemplatespec func (p *PodTemplateSpec) WithContainers(containersList ...*Container) *PodTemplateSpec { diff --git a/vendor/github.com/openebs/api/v2/pkg/kubernetes/core/secret.go b/vendor/github.com/openebs/api/v3/pkg/kubernetes/core/secret.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/kubernetes/core/secret.go rename to vendor/github.com/openebs/api/v3/pkg/kubernetes/core/secret.go diff --git a/vendor/github.com/openebs/api/v2/pkg/kubernetes/core/service.go b/vendor/github.com/openebs/api/v3/pkg/kubernetes/core/service.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/kubernetes/core/service.go rename to vendor/github.com/openebs/api/v3/pkg/kubernetes/core/service.go diff --git a/vendor/github.com/openebs/api/v2/pkg/kubernetes/core/volume.go b/vendor/github.com/openebs/api/v3/pkg/kubernetes/core/volume.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/kubernetes/core/volume.go rename to vendor/github.com/openebs/api/v3/pkg/kubernetes/core/volume.go diff --git a/vendor/github.com/openebs/api/v2/pkg/kubernetes/leaderelection/leader_election.go b/vendor/github.com/openebs/api/v3/pkg/kubernetes/leaderelection/leader_election.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/kubernetes/leaderelection/leader_election.go rename to vendor/github.com/openebs/api/v3/pkg/kubernetes/leaderelection/leader_election.go diff --git a/vendor/github.com/openebs/api/v2/pkg/proto/cstorvolume.pb.go b/vendor/github.com/openebs/api/v3/pkg/proto/cstorvolume.pb.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/proto/cstorvolume.pb.go rename to vendor/github.com/openebs/api/v3/pkg/proto/cstorvolume.pb.go diff --git a/vendor/github.com/openebs/api/v2/pkg/util/env.go b/vendor/github.com/openebs/api/v3/pkg/util/env.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/util/env.go rename to vendor/github.com/openebs/api/v3/pkg/util/env.go diff --git a/vendor/github.com/openebs/api/v2/pkg/util/exec-run.go b/vendor/github.com/openebs/api/v3/pkg/util/exec-run.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/util/exec-run.go rename to vendor/github.com/openebs/api/v3/pkg/util/exec-run.go diff --git a/vendor/github.com/openebs/api/v2/pkg/util/fileoperator.go b/vendor/github.com/openebs/api/v3/pkg/util/fileoperator.go similarity index 99% rename from vendor/github.com/openebs/api/v2/pkg/util/fileoperator.go rename to vendor/github.com/openebs/api/v3/pkg/util/fileoperator.go index d9983c49..6b3c5e9a 100644 --- a/vendor/github.com/openebs/api/v2/pkg/util/fileoperator.go +++ b/vendor/github.com/openebs/api/v3/pkg/util/fileoperator.go @@ -119,7 +119,7 @@ func (r RealFileOperator) UpdateOrAppendMultipleLines(fileName string, newLines = append(newLines[:index], newLines[index+1:]...) continue } - if found == false { + if !found { newLines = append(newLines, updatedValue) } } diff --git a/vendor/github.com/openebs/api/v2/pkg/util/formatters.go b/vendor/github.com/openebs/api/v3/pkg/util/formatters.go similarity index 97% rename from vendor/github.com/openebs/api/v2/pkg/util/formatters.go rename to vendor/github.com/openebs/api/v3/pkg/util/formatters.go index c23f3d7e..26708067 100644 --- a/vendor/github.com/openebs/api/v2/pkg/util/formatters.go +++ b/vendor/github.com/openebs/api/v3/pkg/util/formatters.go @@ -48,15 +48,6 @@ func FormatListWithSpaces(in []string) string { return columnize.Format(in, columnConf) } -// Limits the length of the string. -func limit(s string, length int) string { - if len(s) < length { - return s - } - - return s[:length] -} - // FormatTime formats the time to string based on RFC822 func FormatTime(t time.Time) string { return t.Format("01/02/06 15:04:05 MST") diff --git a/vendor/github.com/openebs/api/v2/pkg/util/hash.go b/vendor/github.com/openebs/api/v3/pkg/util/hash.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/util/hash.go rename to vendor/github.com/openebs/api/v3/pkg/util/hash.go diff --git a/vendor/github.com/openebs/api/v2/pkg/util/iscsi.go b/vendor/github.com/openebs/api/v3/pkg/util/iscsi.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/util/iscsi.go rename to vendor/github.com/openebs/api/v3/pkg/util/iscsi.go diff --git a/vendor/github.com/openebs/api/v2/pkg/util/signals/signal.go b/vendor/github.com/openebs/api/v3/pkg/util/signals/signal.go similarity index 90% rename from vendor/github.com/openebs/api/v2/pkg/util/signals/signal.go rename to vendor/github.com/openebs/api/v3/pkg/util/signals/signal.go index 3b8cb4b2..9af35007 100644 --- a/vendor/github.com/openebs/api/v2/pkg/util/signals/signal.go +++ b/vendor/github.com/openebs/api/v3/pkg/util/signals/signal.go @@ -21,13 +21,10 @@ import ( "os/signal" ) -var onlyOneSignalHandler = make(chan struct{}) - // SetupSignalHandler registered for SIGTERM and SIGINT. A stop channel is returned // which is closed on one of these signals. If a second signal is caught, the program // is terminated with exit code 1. func SetupSignalHandler() (stopCh <-chan struct{}) { - // close(onlyOneSignalHandler) // panics when called twice stop := make(chan struct{}) c := make(chan os.Signal, 2) diff --git a/vendor/github.com/openebs/api/v2/pkg/util/signals/signal_posix.go b/vendor/github.com/openebs/api/v3/pkg/util/signals/signal_posix.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/util/signals/signal_posix.go rename to vendor/github.com/openebs/api/v3/pkg/util/signals/signal_posix.go diff --git a/vendor/github.com/openebs/api/v2/pkg/util/signals/signal_windows.go b/vendor/github.com/openebs/api/v3/pkg/util/signals/signal_windows.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/util/signals/signal_windows.go rename to vendor/github.com/openebs/api/v3/pkg/util/signals/signal_windows.go diff --git a/vendor/github.com/openebs/api/v2/pkg/util/unixsock.go b/vendor/github.com/openebs/api/v3/pkg/util/unixsock.go similarity index 96% rename from vendor/github.com/openebs/api/v2/pkg/util/unixsock.go rename to vendor/github.com/openebs/api/v3/pkg/util/unixsock.go index ad2bed9c..600624b3 100644 --- a/vendor/github.com/openebs/api/v2/pkg/util/unixsock.go +++ b/vendor/github.com/openebs/api/v3/pkg/util/unixsock.go @@ -99,12 +99,15 @@ func (r RealUnixSock) SendCommand(cmd string) ([]string, error) { } err = Writer(c, cmd+EndOfLine) if err != nil { - c.Close() + errc := c.Close() + if errc != nil { + return nil, errc + } return nil, err } resp := Reader(c, cmd) - c.Close() - return resp, err + errc := c.Close() + return resp, errc } //TestUnixSock is used as a dummy UnixSock diff --git a/vendor/github.com/openebs/api/v2/pkg/util/unstructured.go b/vendor/github.com/openebs/api/v3/pkg/util/unstructured.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/util/unstructured.go rename to vendor/github.com/openebs/api/v3/pkg/util/unstructured.go diff --git a/vendor/github.com/openebs/api/v2/pkg/util/util.go b/vendor/github.com/openebs/api/v3/pkg/util/util.go similarity index 100% rename from vendor/github.com/openebs/api/v2/pkg/util/util.go rename to vendor/github.com/openebs/api/v3/pkg/util/util.go diff --git a/vendor/modules.txt b/vendor/modules.txt index 9d4eabee..2eef1d16 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -91,34 +91,34 @@ github.com/onsi/gomega/matchers/support/goraph/edge github.com/onsi/gomega/matchers/support/goraph/node github.com/onsi/gomega/matchers/support/goraph/util github.com/onsi/gomega/types -# github.com/openebs/api/v2 v2.2.1-0.20210302070038-f282f96d77c6 -github.com/openebs/api/v2/pkg/apis/cstor -github.com/openebs/api/v2/pkg/apis/cstor/v1 -github.com/openebs/api/v2/pkg/apis/openebs.io -github.com/openebs/api/v2/pkg/apis/openebs.io/v1alpha1 -github.com/openebs/api/v2/pkg/apis/types -github.com/openebs/api/v2/pkg/client/clientset/versioned -github.com/openebs/api/v2/pkg/client/clientset/versioned/fake -github.com/openebs/api/v2/pkg/client/clientset/versioned/scheme -github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1 -github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/cstor/v1/fake -github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1 -github.com/openebs/api/v2/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake -github.com/openebs/api/v2/pkg/client/informers/externalversions -github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor -github.com/openebs/api/v2/pkg/client/informers/externalversions/cstor/v1 -github.com/openebs/api/v2/pkg/client/informers/externalversions/internalinterfaces -github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io -github.com/openebs/api/v2/pkg/client/informers/externalversions/openebs.io/v1alpha1 -github.com/openebs/api/v2/pkg/client/listers/cstor/v1 -github.com/openebs/api/v2/pkg/client/listers/openebs.io/v1alpha1 -github.com/openebs/api/v2/pkg/internalapis/apis/cstor -github.com/openebs/api/v2/pkg/kubernetes/apps -github.com/openebs/api/v2/pkg/kubernetes/core -github.com/openebs/api/v2/pkg/kubernetes/leaderelection -github.com/openebs/api/v2/pkg/proto -github.com/openebs/api/v2/pkg/util -github.com/openebs/api/v2/pkg/util/signals +# github.com/openebs/api/v3 v3.0.0-20211116062351-ecd9a8a61d3e +github.com/openebs/api/v3/pkg/apis/cstor +github.com/openebs/api/v3/pkg/apis/cstor/v1 +github.com/openebs/api/v3/pkg/apis/openebs.io +github.com/openebs/api/v3/pkg/apis/openebs.io/v1alpha1 +github.com/openebs/api/v3/pkg/apis/types +github.com/openebs/api/v3/pkg/client/clientset/versioned +github.com/openebs/api/v3/pkg/client/clientset/versioned/fake +github.com/openebs/api/v3/pkg/client/clientset/versioned/scheme +github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1 +github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/cstor/v1/fake +github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1 +github.com/openebs/api/v3/pkg/client/clientset/versioned/typed/openebs.io/v1alpha1/fake +github.com/openebs/api/v3/pkg/client/informers/externalversions +github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor +github.com/openebs/api/v3/pkg/client/informers/externalversions/cstor/v1 +github.com/openebs/api/v3/pkg/client/informers/externalversions/internalinterfaces +github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io +github.com/openebs/api/v3/pkg/client/informers/externalversions/openebs.io/v1alpha1 +github.com/openebs/api/v3/pkg/client/listers/cstor/v1 +github.com/openebs/api/v3/pkg/client/listers/openebs.io/v1alpha1 +github.com/openebs/api/v3/pkg/internalapis/apis/cstor +github.com/openebs/api/v3/pkg/kubernetes/apps +github.com/openebs/api/v3/pkg/kubernetes/core +github.com/openebs/api/v3/pkg/kubernetes/leaderelection +github.com/openebs/api/v3/pkg/proto +github.com/openebs/api/v3/pkg/util +github.com/openebs/api/v3/pkg/util/signals # github.com/pkg/errors v0.9.1 github.com/pkg/errors # github.com/pmezard/go-difflib v1.0.0 From 0e68f845814086c713fe3ee75fabb178ebb1ece7 Mon Sep 17 00:00:00 2001 From: Niladri Halder Date: Wed, 1 Dec 2021 17:13:38 +0530 Subject: [PATCH 3/7] chore(docs): update prerequisites (#406) * Extend prerequisites to mention raw block devices * Add lsblk -fa flag to command, provision storage --> provision the storage Signed-off-by: Niladri Halder --- docs/quick.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quick.md b/docs/quick.md index e21f750a..441923d7 100644 --- a/docs/quick.md +++ b/docs/quick.md @@ -15,7 +15,7 @@ meets the following prerequisites: | Ubuntu/Debian | open-iscsi |
  • sudo apt install open-iscsi -y
  • sudo systemctl enable --now iscsid
  • | sudo systemctl status iscsid.service | | RancherOS | open-iscsi |
    • sudo ros s enable open-iscsi
    • sudo ros s up open-iscsi
    • | ros service list iscsi | -3. You have disks attached to nodes to provision storage. +3. You have disks attached to nodes to provision the storage. The disks MUST not have any filesystem and the disks MUST not be mounted on the Node. cStor requires raw block devices. You can use the `lsblk -fa` command to check if the disks have a filesystem or if the disk is mounted.

      CAUTION:

      From 802373575e5761c5012783db2f776c726b690d63 Mon Sep 17 00:00:00 2001 From: Abhishek Agarwal Date: Tue, 7 Dec 2021 12:09:29 +0530 Subject: [PATCH 4/7] update(helm): allow setting different base dir(and others) for cspc and cvc operators (#404) * Allow setting different dir path for cspc and cvc operators Signed-off-by: Abhishek Agarwal --- deploy/helm/charts/Chart.yaml | 2 +- deploy/helm/charts/README.md | 3 +++ deploy/helm/charts/templates/cspc-operator.yaml | 12 ++++++++---- deploy/helm/charts/templates/cvc-operator.yaml | 11 ++++------- deploy/helm/charts/values.yaml | 3 +++ 5 files changed, 19 insertions(+), 12 deletions(-) diff --git a/deploy/helm/charts/Chart.yaml b/deploy/helm/charts/Chart.yaml index f8c93526..cb688a72 100644 --- a/deploy/helm/charts/Chart.yaml +++ b/deploy/helm/charts/Chart.yaml @@ -4,7 +4,7 @@ description: CStor-Operator helm chart for Kubernetes type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 3.0.2 +version: 3.0.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. appVersion: 3.0.0 diff --git a/deploy/helm/charts/README.md b/deploy/helm/charts/README.md index 7fe80b7d..f25d9178 100644 --- a/deploy/helm/charts/README.md +++ b/deploy/helm/charts/README.md @@ -192,6 +192,8 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | cspcOperator.resyncInterval | string | `"30"` | CSPC operator resync interval | | cspcOperator.securityContext | object | `{}` | CSPC operator security context | | cspcOperator.tolerations | list | `[]` | CSPC operator pod tolerations | +| cspcOperator.baseDir | string | `"/var/openebs"` | base directory for openebs cStor pools on host path to store pool related information | +| cspcOperator.sparseDir | string | `"/var/openebs/sparse"` | sparse directory to access sparse based devices | | cstorCSIPlugin.image.pullPolicy | string | `"IfNotPresent"` | CStor CSI driver image pull policy | | cstorCSIPlugin.image.registry | string | `nil` | CStor CSI driver image registry | | cstorCSIPlugin.image.repository | string | `"openebs/cstor-csi-driver"` | CStor CSI driver image repository | @@ -220,6 +222,7 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | cvcOperator.volumeMgmt.image.registry | string | `nil` | Volume mgmt image registry | | cvcOperator.volumeMgmt.image.repository | string | `"openebs/cstor-volume-manager"` | Volume mgmt image repository | | cvcOperator.volumeMgmt.image.tag | string | `"3.0.0"` | Volume mgmt image tag| +| cvcOperator.baseDir | string | `"/var/openebs"` | CVC operator base directory for openebs on host path | | imagePullSecrets | string | `nil` | Image registry pull secrets | | openebsNDM.enabled | bool | `true` | Enable OpenEBS NDM dependency | | openebs-ndm.featureGates.APIService.enabled | bool | `true` | Enable 'API Service' feature gate for NDM | diff --git a/deploy/helm/charts/templates/cspc-operator.yaml b/deploy/helm/charts/templates/cspc-operator.yaml index 140929f2..7ba61d35 100644 --- a/deploy/helm/charts/templates/cspc-operator.yaml +++ b/deploy/helm/charts/templates/cspc-operator.yaml @@ -45,17 +45,21 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name +{{- if .Values.cspcOperator.baseDir }} # OPENEBS_IO_BASE_DIR is used to configure base directory for openebs on host path. # Where OpenEBS can store required files. Default base path will be /var/openebs - # - name: OPENEBS_IO_BASE_DIR - # value: "/var/openebs" + - name: OPENEBS_IO_BASE_DIR + value: {{ .Values.cspcOperator.baseDir | quote }} +{{- end }} +{{- if .Values.cspcOperator.sparseDir }} # OPENEBS_IO_CSTOR_POOL_SPARSE_DIR can be used to specify the hostpath # to be used for saving the shared content between the side cars # of cstor pool pod. This ENV is also used to indicate the location # of the sparse devices. # The default path used is /var/openebs/sparse - #- name: OPENEBS_IO_CSTOR_POOL_SPARSE_DIR - # value: "/var/openebs/sparse" + - name: OPENEBS_IO_CSTOR_POOL_SPARSE_DIR + value: "{{ .Values.cspcOperator.sparseDir }}" +{{- end }} - name: OPENEBS_IO_CSPI_MGMT_IMAGE value: "{{ .Values.cspcOperator.poolManager.image.registry }}{{ .Values.cspcOperator.poolManager.image.repository }}:{{ .Values.cspcOperator.poolManager.image.tag }}" - name: OPENEBS_IO_CSTOR_POOL_IMAGE diff --git a/deploy/helm/charts/templates/cvc-operator.yaml b/deploy/helm/charts/templates/cvc-operator.yaml index f1ec691f..22cd81c4 100644 --- a/deploy/helm/charts/templates/cvc-operator.yaml +++ b/deploy/helm/charts/templates/cvc-operator.yaml @@ -34,15 +34,12 @@ spec: resources: {{ toYaml .Values.cvcOperator.resources | indent 12 }} env: +{{- if .Values.cvcOperator.baseDir }} # OPENEBS_IO_BASE_DIR is used to configure base directory for openebs on host path. # Where OpenEBS can store required files. Default base path will be /var/openebs - # - name: OPENEBS_IO_BASE_DIR - # value: "/var/openebs" - # OPENEBS_IO_CSTOR_TARGET_DIR can be used to specify the hostpath - # that to be used for saving the core dump of cstor volume pod. - # The default path used is /var/openebs/sparse - #- name: OPENEBS_IO_CSTOR_TARGET_DIR - # value: "/var/openebs/sparse" + - name: OPENEBS_IO_BASE_DIR + value: "{{ .Values.cvcOperator.baseDir }}" +{{- end }} - name: OPENEBS_NAMESPACE valueFrom: fieldRef: diff --git a/deploy/helm/charts/values.yaml b/deploy/helm/charts/values.yaml index ea207685..e73f0c7b 100644 --- a/deploy/helm/charts/values.yaml +++ b/deploy/helm/charts/values.yaml @@ -51,6 +51,8 @@ cspcOperator: tolerations: [] resources: {} securityContext: {} + baseDir: "/var/openebs" + sparseDir: "/var/openebs/sparse" cvcOperator: componentName: cvc-operator @@ -85,6 +87,7 @@ cvcOperator: tolerations: [] resources: {} securityContext: {} + baseDir: "/var/openebs" logLevel: "2" csiController: From ea9eaef5b8fde447c86703e08d4bca2e6e453a3d Mon Sep 17 00:00:00 2001 From: sai chaithanya Date: Thu, 13 Jan 2022 11:57:06 +0530 Subject: [PATCH 5/7] chore(doc): changelog for 3.1.0 release (#414) This commit add change log for 3.1.0 release Signed-off-by: sai --- CHANGELOG.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3488869..81cdbdcf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## [v3.1.0]/2022-01-03 +========================== +- update(helm): allow setting different base dir(and others) for cspc and cvc operators [\#404](https://github.com/openebs/cstor-operators/pull/404) ([Ab-hishek](https://github.com/Ab-hishek)) +- chore(deps): update go mod to use the openebs v3 api modules [\#403](https://github.com/openebs/cstor-operators/pull/403) ([Ab-hishek](https://github.com/Ab-hishek)) +- fix(helm): Make log verbosity configurable [\#397](https://github.com/openebs/cstor-operators/pull/397) ([ianroberts](https://github.com/ianroberts)) +- fix(pool): set canmount filesystem property to off for pool dataset [\#400](https://github.com/openebs/cstor-operators/pull/400) ([mittachaitu](https://github.com/mittachaitu)) +- fix(status): update cstor volume status to offline based on availability of target pods [\#395](https://github.com/openebs/cstor-operators/pull/395) ([saltperfect](https://github.com/saltperfect)) + +## [v3.1.0-RC2]/2021-12-29 +=========================== + +## [v3.1.0-RC1]/2021-12-20 +============================ +- update(helm): allow setting different base dir(and others) for cspc and cvc operators [\#404](https://github.com/openebs/cstor-operators/pull/404) ([Ab-hishek](https://github.com/Ab-hishek)) +- chore(deps): update go mod to use the openebs v3 api modules [\#403](https://github.com/openebs/cstor-operators/pull/403) ([Ab-hishek](https://github.com/Ab-hishek)) +- fix(helm): Make log verbosity configurable [\#397](https://github.com/openebs/cstor-operators/pull/397) ([ianroberts](https://github.com/ianroberts)) +- fix(pool): set canmount filesystem property to off for pool dataset [\#400](https://github.com/openebs/cstor-operators/pull/400) ([mittachaitu](https://github.com/mittachaitu)) +- fix(status): update cstor volume status to offline based on availability of target pods [\#395](https://github.com/openebs/cstor-operators/pull/395) ([saltperfect](https://github.com/saltperfect)) + ## [v3.0.0]/2021-09-17 =========================== From 2c77fc701ff381badeb87f035199917b248e7395 Mon Sep 17 00:00:00 2001 From: sai chaithanya Date: Mon, 17 Jan 2022 11:44:34 +0530 Subject: [PATCH 6/7] [stable/cStor]: update cStor charts to 3.1.0 release (#409) This commit does following changes: * Updates the cStor helm chart to 3.1.0 version. * Adds missing CStorVolumeConfig CRD to operator YAML Signed-off-by: mittachaitu --- deploy/crds/all_cstor_crds.yaml | 129 ++++++++++++++++++++++++++++++++ deploy/cstor-operator.yaml | 1 - deploy/helm/charts/Chart.yaml | 6 +- deploy/helm/charts/README.md | 24 +++--- deploy/helm/charts/values.yaml | 22 +++--- 5 files changed, 155 insertions(+), 27 deletions(-) diff --git a/deploy/crds/all_cstor_crds.yaml b/deploy/crds/all_cstor_crds.yaml index 961fb6b5..a76f6bf2 100644 --- a/deploy/crds/all_cstor_crds.yaml +++ b/deploy/crds/all_cstor_crds.yaml @@ -1233,6 +1233,135 @@ status: plural: "" conditions: [] storedVersions: [] +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.4.0 + creationTimestamp: null + name: cstorvolumeattachments.cstor.openebs.io +spec: + group: cstor.openebs.io + names: + kind: CStorVolumeAttachment + listKind: CStorVolumeAttachmentList + plural: cstorvolumeattachments + shortNames: + - cva + singular: cstorvolumeattachment + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: CStorVolumeAttachment represents a CSI based volume + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CStorVolumeAttachmentSpec is the spec for a CStorVolume resource + properties: + iscsi: + description: ISCSIInfo specific to ISCSI protocol, this is filled + only if the volume type is iSCSI + properties: + iqn: + description: Iqn of this volume + type: string + iscsiInterface: + description: IscsiInterface of this volume + type: string + lun: + description: 'Lun specify the lun number 0, 1.. on iSCSI Volume. + (default: 0)' + type: string + targetPortal: + description: TargetPortal holds the target portal of this volume + type: string + type: object + volume: + description: Volume specific info + properties: + accessModes: + description: AccessMode of a volume will hold the access mode + of the volume + items: + type: string + type: array + accessType: + description: AccessType of a volume will indicate if the volume + will be used as a block device or mounted on a path + type: string + capacity: + description: Capacity of the volume + type: string + devicePath: + description: Device Path specifies the device path which is returned + when the iSCSI login is successful + type: string + fsType: + description: FSType of a volume will specify the format type - + ext4(default), xfs of PV + type: string + mountOptions: + description: MountOptions specifies the options with which mount + needs to be attempted + items: + type: string + type: array + name: + description: Name of the CSI volume + type: string + ownerNodeID: + description: OwnerNodeID is the Node ID which is also the owner + of this Volume + type: string + readOnly: + description: ReadOnly specifies if the volume needs to be mounted + in ReadOnly mode + type: boolean + stagingTargetPath: + description: StagingPath of the volume will hold the path on which + the volume is mounted on that node + type: string + targetPath: + description: TargetPath of the volume will hold the path on which + the volume is bind mounted on that node + type: string + required: + - name + - ownerNodeID + type: object + required: + - iscsi + - volume + type: object + status: + description: CStorVolumeAttachmentStatus status represents the current + mount status of the volume + type: string + required: + - spec + type: object + served: true + storage: true +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 diff --git a/deploy/cstor-operator.yaml b/deploy/cstor-operator.yaml index 07976140..be76ba9f 100644 --- a/deploy/cstor-operator.yaml +++ b/deploy/cstor-operator.yaml @@ -1343,7 +1343,6 @@ status: plural: "" conditions: [] storedVersions: [] - --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/deploy/helm/charts/Chart.yaml b/deploy/helm/charts/Chart.yaml index cb688a72..ddbfc0ba 100644 --- a/deploy/helm/charts/Chart.yaml +++ b/deploy/helm/charts/Chart.yaml @@ -4,10 +4,10 @@ description: CStor-Operator helm chart for Kubernetes type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 3.0.3 +version: 3.1.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. -appVersion: 3.0.0 +appVersion: 3.1.0 icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png home: http://www.openebs.io/ keywords: @@ -22,7 +22,7 @@ sources: dependencies: - name: openebs-ndm - version: "1.7.1" + version: "1.8.0" repository: "https://openebs.github.io/node-disk-manager" condition: openebsNDM.enabled diff --git a/deploy/helm/charts/README.md b/deploy/helm/charts/README.md index f25d9178..eb073c78 100644 --- a/deploy/helm/charts/README.md +++ b/deploy/helm/charts/README.md @@ -52,7 +52,7 @@ By default this chart installs additional, dependent charts: | Repository | Name | Version | |------------|------|---------| -| https://openebs.github.io/node-disk-manager | openebs-ndm | 1.7.1 | +| https://openebs.github.io/node-disk-manager | openebs-ndm | 1.8.0 | To disable the dependency during installation, set `openebsNDM.enabled` to `false`. @@ -109,7 +109,7 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | admissionServer.image.pullPolicy | string | `"IfNotPresent"` | Admission webhook image pull policy | | admissionServer.image.registry | string | `nil` | Admission webhook image registry | | admissionServer.image.repository | string | `"openebs/cstor-webhook"` | Admission webhook image repo | -| admissionServer.image.tag | string | `"3.0.0"` | Admission webhook image tag | +| admissionServer.image.tag | string | `"3.1.0"` | Admission webhook image tag | | admissionServer.nodeSelector | object | `{}` | Admission webhook pod node selector | | admissionServer.podAnnotations | object | `{}` | Admission webhook pod annotations | | admissionServer.resources | object | `{}` | Admission webhook pod resources | @@ -175,19 +175,19 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | cspcOperator.componentName | string | `"cspc-operator"` | CSPC operator component name | | cspcOperator.cstorPool.image.registry | string | `nil` | CStor pool image registry | | cspcOperator.cstorPool.image.repository | string | `"openebs/cstor-pool"` | CStor pool image repository| -| cspcOperator.cstorPool.image.tag | string | `"3.0.0"` | CStor pool image tag | +| cspcOperator.cstorPool.image.tag | string | `"3.1.0"` | CStor pool image tag | | cspcOperator.cstorPoolExporter.image.registry | string | `nil` | CStor pool exporter image registry | | cspcOperator.cstorPoolExporter.image.repository | string | `"openebs/m-exporter"` | CStor pool exporter image repository | -| cspcOperator.cstorPoolExporter.image.tag | string | `"3.0.0"` | CStor pool exporter image tag | +| cspcOperator.cstorPoolExporter.image.tag | string | `"3.1.0"` | CStor pool exporter image tag | | cspcOperator.image.pullPolicy | string | `"IfNotPresent"` | CSPC operator image pull policy | | cspcOperator.image.registry | string | `nil` | CSPC operator image registry | | cspcOperator.image.repository | string | `"openebs/cspc-operator"` | CSPC operator image repository | -| cspcOperator.image.tag | string | `"3.0.0"` | CSPC operator image tag | +| cspcOperator.image.tag | string | `"3.1.0"` | CSPC operator image tag | | cspcOperator.nodeSelector | object | `{}` | CSPC operator pod nodeSelector| | cspcOperator.podAnnotations | object | `{}` | CSPC operator pod annotations | | cspcOperator.poolManager.image.registry | string | `nil` | CStor Pool Manager image registry | | cspcOperator.poolManager.image.repository | string | `"openebs/cstor-pool-manager"` | CStor Pool Manager image repository | -| cspcOperator.poolManager.image.tag | string | `"3.0.0"` | CStor Pool Manager image tag | +| cspcOperator.poolManager.image.tag | string | `"3.1.0"` | CStor Pool Manager image tag | | cspcOperator.resources | object | `{}` | CSPC operator pod resources | | cspcOperator.resyncInterval | string | `"30"` | CSPC operator resync interval | | cspcOperator.securityContext | object | `{}` | CSPC operator security context | @@ -197,7 +197,7 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | cstorCSIPlugin.image.pullPolicy | string | `"IfNotPresent"` | CStor CSI driver image pull policy | | cstorCSIPlugin.image.registry | string | `nil` | CStor CSI driver image registry | | cstorCSIPlugin.image.repository | string | `"openebs/cstor-csi-driver"` | CStor CSI driver image repository | -| cstorCSIPlugin.image.tag | string | `"3.0.0"` | CStor CSI driver image tag | +| cstorCSIPlugin.image.tag | string | `"3.1.0"` | CStor CSI driver image tag | | cstorCSIPlugin.name | string | `"cstor-csi-plugin"` | CStor CSI driver container name | | cstorCSIPlugin.remount | string | `"true"` | Enable/disable auto-remount when volume recovers from read-only state | | cvcOperator.annotations | object | `{}` | CVC operator annotations | @@ -205,7 +205,7 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | cvcOperator.image.pullPolicy | string | `"IfNotPresent"` | CVC operator image pull policy | | cvcOperator.image.registry | string | `nil` | CVC operator image registry | | cvcOperator.image.repository | string | `"openebs/cvc-operator"` | CVC operator image repository | -| cvcOperator.image.tag | string | `"3.0.0"` | CVC operator image tag | +| cvcOperator.image.tag | string | `"3.1.0"` | CVC operator image tag | | cvcOperator.logLevel | string | `"2"` | Log level for CVC operator container (1 = least verbose, 5 = most verbose) | | cvcOperator.nodeSelector | object | `{}` | CVC operator pod nodeSelector | | cvcOperator.podAnnotations | object | `{}` | CVC operator pod annotations | @@ -214,14 +214,14 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | cvcOperator.securityContext | object | `{}` | CVC operator security context | | cvcOperator.target.image.registry | string | `nil` | Volume Target image registry | | cvcOperator.target.image.repository | string | `"openebs/cstor-istgt"` | Volume Target image repository | -| cvcOperator.target.image.tag | string | `"3.0.0"` | Volume Target image tag | +| cvcOperator.target.image.tag | string | `"3.1.0"` | Volume Target image tag | | cvcOperator.tolerations | list | `[]` | CVC operator pod tolerations | | cvcOperator.volumeExporter.image.registry | string | `nil` | Volume exporter image registry | | cvcOperator.volumeExporter.image.repository | string | `"openebs/m-exporter"` | Volume exporter image repository | -| cvcOperator.volumeExporter.image.tag | string | `"3.0.0"` | Volume exporter image tag | +| cvcOperator.volumeExporter.image.tag | string | `"3.1.0"` | Volume exporter image tag | | cvcOperator.volumeMgmt.image.registry | string | `nil` | Volume mgmt image registry | | cvcOperator.volumeMgmt.image.repository | string | `"openebs/cstor-volume-manager"` | Volume mgmt image repository | -| cvcOperator.volumeMgmt.image.tag | string | `"3.0.0"` | Volume mgmt image tag| +| cvcOperator.volumeMgmt.image.tag | string | `"3.1.0"` | Volume mgmt image tag| | cvcOperator.baseDir | string | `"/var/openebs"` | CVC operator base directory for openebs on host path | | imagePullSecrets | string | `nil` | Image registry pull secrets | | openebsNDM.enabled | bool | `true` | Enable OpenEBS NDM dependency | @@ -243,7 +243,7 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | openebs-ndm.ndmOperator.image.repository | string | `openebs/node-disk-operator` | Image repository for NDM operator | | rbac.create | bool | `true` | Enable RBAC | | rbac.pspEnabled | bool | `false` | Enable PodSecurityPolicy | -| release.version | string | `"3.0.0"` | Openebs CStor release version | +| release.version | string | `"3.1.0"` | Openebs CStor release version | | serviceAccount.annotations | object | `{}` | Service Account annotations | | serviceAccount.csiController.create | bool | `true` | Enable CSI Controller ServiceAccount | | serviceAccount.csiController.name | string | `"openebs-cstor-csi-controller-sa"` | CSI Controller ServiceAccount name | diff --git a/deploy/helm/charts/values.yaml b/deploy/helm/charts/values.yaml index e73f0c7b..e32c8c26 100644 --- a/deploy/helm/charts/values.yaml +++ b/deploy/helm/charts/values.yaml @@ -3,7 +3,7 @@ # Declare variables to be passed into your templates. release: - version: "3.0.0" + version: "3.1.0" # If false, openebs NDM sub-chart will not be installed openebsNDM: @@ -24,17 +24,17 @@ cspcOperator: image: registry: repository: openebs/cstor-pool-manager - tag: 3.0.0 + tag: 3.1.0 cstorPool: image: registry: repository: openebs/cstor-pool - tag: 3.0.0 + tag: 3.1.0 cstorPoolExporter: image: registry: repository: openebs/m-exporter - tag: 3.0.0 + tag: 3.1.0 image: # Make sure that registry name end with a '/'. # For example : quay.io/ is a correct value here and quay.io is incorrect @@ -42,7 +42,7 @@ cspcOperator: repository: openebs/cspc-operator pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: 3.0.0 + tag: 3.1.0 annotations: {} resyncInterval: "30" podAnnotations: {} @@ -60,17 +60,17 @@ cvcOperator: image: registry: repository: openebs/cstor-istgt - tag: 3.0.0 + tag: 3.1.0 volumeMgmt: image: registry: repository: openebs/cstor-volume-manager - tag: 3.0.0 + tag: 3.1.0 volumeExporter: image: registry: repository: openebs/m-exporter - tag: 3.0.0 + tag: 3.1.0 image: # Make sure that registry name end with a '/'. # For example : quay.io/ is a correct value here and quay.io is incorrect @@ -78,7 +78,7 @@ cvcOperator: repository: openebs/cvc-operator pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: 3.0.0 + tag: 3.1.0 annotations: {} resyncInterval: "30" podAnnotations: {} @@ -164,7 +164,7 @@ cstorCSIPlugin: repository: openebs/cstor-csi-driver pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: 3.0.0 + tag: 3.1.0 remount: "true" csiNode: @@ -217,7 +217,7 @@ admissionServer: repository: openebs/cstor-webhook pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: 3.0.0 + tag: 3.1.0 failurePolicy: "Fail" annotations: {} podAnnotations: {} From 29734a3852628a547da4bc2e91bc511d5519c8e8 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Mon, 11 Apr 2022 10:37:14 +0530 Subject: [PATCH 7/7] refact(e2e): Scale down the application deployment to single replica (#419) Co-authored-by: Aman Gupta --- .../multiple_application_on_single_volume/test.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/e2e-tests/experiments/infra-chaos/multiple_application_on_single_volume/test.yml b/e2e-tests/experiments/infra-chaos/multiple_application_on_single_volume/test.yml index 9b11e6c4..255bfb9a 100644 --- a/e2e-tests/experiments/infra-chaos/multiple_application_on_single_volume/test.yml +++ b/e2e-tests/experiments/infra-chaos/multiple_application_on_single_volume/test.yml @@ -181,7 +181,7 @@ delay: 15 retries: 30 - # wait 5 minutes + # wait for 5 minutes - name: Wait for the application pod to get evicted wait_for: timeout: 300 @@ -260,6 +260,13 @@ pod_name: "{{ scaled_pod_name.stdout }}" when: data_persistence != '' + - name: Scale down the deployment again to single replica + shell: kubectl scale deploy -n {{ namespace }} "{{ app_deploy_name.stdout }}" --replicas=1 + args: + executable: /bin/bash + register: scale_deploy + failed_when: scale_deploy.rc != 0 + - set_fact: flag: "Pass"