KubeKween
fc39ac6d51
Add a check to avoid nil pointer ( #1861 )
...
Signed-off-by: Carlisia <carlisia@vmware.com >
2019-09-10 09:29:32 -06:00
Steve Kriss
ffa3251efc
move contents of pkg/util/test into pkg/test
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-08-07 08:26:00 -06:00
KubeKween
0a771e6a53
Add cmd to list plugins ( #1535 )
...
* Add cmd to list plugins
Signed-off-by: Carlisia <carlisiac@vmware.com >
2019-06-05 13:41:02 -04:00
Carlisia
6f496a8921
Bug fix
...
Signed-off-by: Carlisia <carlisiac@vmware.com >
2019-04-24 14:18:24 -07:00
Carlisia
7d28f82540
Address code review
...
Signed-off-by: Carlisia <carlisiac@vmware.com >
2019-04-24 10:54:43 -07:00
Andy Goldstein
01d0b026e9
Fail backup if it already exists in object storage
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2019-04-22 15:22:58 -07:00
KubeKween
abee09aa2d
Add validation for plugin name format and dups ( #1339 )
...
* Add validation for plugin name format and dups
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Bug fix
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Add changelog
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Address code reviews
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Fix code
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Address code reviews
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Add documentation
Signed-off-by: Carlisia <carlisiac@vmware.com >
* Update godoc
Signed-off-by: Carlisia <carlisiac@vmware.com >
* More doc
Signed-off-by: Carlisia <carlisiac@vmware.com >
2019-04-12 08:25:04 -06:00
KubeKween
13eaad0e64
Refactor protobuf ( #1354 )
...
* Update protobuffs
Signed-off-by: Carlisia <carlisiac@vmware.com >
2019-04-09 13:50:05 -04:00
sseago
a519547efc
Adds support for allowing a RestoreItemAction to skip item restore ( #1336 )
...
* Adds support for allowing a RestoreItemAction to skip item restore
This allows a RestoreItemAction plugin to signal to velero that
the returned item should be skipped rather than restored to the
cluster.
To support this, a boolean SkipRestore attribute is added to
RestoreItemActionExecuteOutput. If restore.restoreResource finds
this set to true, any remaining actions on this item are skipped,
and restore on this item is skipped. Execution continues with
the next item of this resource type.
To signal this for a particular item, the RestoreItemAction's
Execute method should call WithoutRestore() on the
RestoreItemActionExecuteOutput before returning it.
Signed-off-by: Scott Seago <sseago@redhat.com >
* Autogenerated code to support SkipRestore
Signed-off-by: Scott Seago <sseago@redhat.com >
* Added changelog for #1336
Signed-off-by: Scott Seago <sseago@redhat.com >
2019-04-04 13:39:54 -06:00
Steve Kriss
a696cd09f2
remove Warning from restore item action output ( #1318 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-03-28 13:08:37 -07:00
Steve Kriss
be42ea782d
turn down log levels in plugin server to DEBUG ( #1325 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-03-28 12:44:26 -07:00
Steve Kriss
9b635c0e14
add additionalItems to restore item actions ( #1304 )
...
* add additionalItems to restore item actions
Signed-off-by: Steve Kriss <krisss@vmware.com >
Co-authored-by: Andy Goldstein <goldsteina@vmware.com >
2019-03-28 12:21:56 -07:00
KubeKween
477e42286c
Bump plugin client version ( #1319 )
...
* Bump plugin client version
Signed-off-by: Carlisia <carlisiac@vmware.com >
2019-03-28 11:34:43 -04:00
Nolan Brubaker
21f3169ad3
Merge pull request #1321 from skriss/rename-block-store
...
rename BlockStore to VolumeSnapshotter
2019-03-28 11:33:06 -04:00
Steve Kriss
86293b68b3
don't wrap io.EOF errors during gRPC streaming
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-03-27 16:22:28 -06:00
Steve Kriss
bb9c3f6a1a
rename BlockStore to VolumeSnapshotter
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-03-27 14:55:28 -06:00
Nolan Brubaker
3f2c28f6bb
Merge pull request #1301 from skriss/plugins-error-location
...
log error locations from plugin logger and don't overwrite in client
2019-03-27 11:21:52 -04:00
Steve Kriss
7b0d8217de
send plugin error stack traces over gRPC and log error locations
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-03-27 08:34:03 -06:00
Steve Kriss
b1c0e9c49b
update plugins to work with updated go-plugin ( #1308 )
...
* update plugins to work with updated go-plugin
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-03-21 12:32:18 -07:00
Steve Kriss
ff2db31b32
log error locations from plugin logger and don't overwrite in client
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-03-20 16:13:37 -06:00
Steve Kriss
a111eed2af
update license headers to Velero contributors ( #1302 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-03-20 12:32:48 -07:00
Carlisia
7dfe58d37f
Split plugin framework into its own package
...
Signed-off-by: Carlisia <carlisiac@vmware.com >
2019-03-19 15:36:31 -07:00