zfs-localpv/pkg
Pawan 26968b5394 feat(backup,restore): adding validation for backup and restore
Added a schema validation for backup and restore CR. Also validating
the server address in the backup/restore controller.

Validating the server address as :

^([0-9]+.[0-9]+.[0-9]+.[0-9]+:[0-9]+)$

which is :

<any number>.<any number>.<any number>.<any number>:<any number>

Here we are validating just the format of the IP, not validating that IP should be
correct which  will be little more complex. In any case if IP is not correct,
the zfs send will fail, so no need to do complex validation to validate the
correct IP and port.

Signed-off-by: Pawan <pawan@mayadata.io>
2020-09-30 11:32:32 +05:30
..
apis/openebs.io/zfs feat(backup,restore): adding validation for backup and restore 2020-09-30 11:32:32 +05:30
builder feat(zfspv): adding backup and restore support (#162) 2020-09-08 13:44:39 +05:30
client/k8s/v1alpha1 feat(zfspv) Add golint check to travis (#175) 2020-07-07 18:21:02 +05:30
common feat(zfspv) Add golint check to travis (#175) 2020-07-07 18:21:02 +05:30
config feat(zfs-localpv): initial commit 2019-09-18 08:44:08 +05:30
driver feat(zfspv): adding backup and restore support (#162) 2020-09-08 13:44:39 +05:30
generated feat(zfspv): adding backup and restore support (#162) 2020-09-08 13:44:39 +05:30
mgmt feat(zfspv): adding backup and restore support (#162) 2020-09-08 13:44:39 +05:30
response chore(go-lint): fix golint warning (#133) 2020-06-09 14:47:23 +05:30
usage feat(zfspv) Add golint check to travis (#175) 2020-07-07 18:21:02 +05:30
version feat(zfspv): move to klog (#166) 2020-06-29 12:18:33 +05:30
zfs feat(backup,restore): adding validation for backup and restore 2020-09-30 11:32:32 +05:30