1
0
mirror of https://github.com/Oxalide/vsphere-influxdb-go.git synced 2023-10-10 11:36:51 +00:00

add vendoring with go dep

This commit is contained in:
Adrian Todorov
2017-10-25 20:52:40 +00:00
parent 704f4d20d1
commit a59409f16b
1627 changed files with 489673 additions and 0 deletions

25
vendor/github.com/vmware/govmomi/govc/test/clean.sh generated vendored Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/bash
#
# Cleanup any artifacts created by govc
#
. $(dirname $0)/test_helper.bash
teardown
datastore_rm() {
name=$1
govc datastore.rm $name 2> /dev/null
}
datastore_rm $GOVC_TEST_IMG
datastore_rm $GOVC_TEST_ISO
datastore_rm $GOVC_TEST_VMDK
datastore_rm $(echo $GOVC_TEST_VMDK | sed 's/.vmdk/-flat.vmdk/')
datastore_rm $(dirname $GOVC_TEST_VMDK)
# Recursively destroy all resource pools created by the test suite
govc ls host/*/Resources/govc-test-* | \
xargs -rt govc pool.destroy -r
govc datastore.ls