ceph-csi/pkg/util
Niels de Vos a1de56dbd3 tests: in case 'go test' is run in a container, skip TestGetPIDLimit()
In (standard, non-privileged) container environments the /sys/fs/cgroup
mountpoint is not available. This would cause the tests to fail, as
TestGetPIDLimit() tries to write to the cgroup configuration.

The test will work when run as root on a privileged container or
directly on a host (as Travis CI does).

Setting the CEPH_CSI_RUN_ALL_TESTS environment variable to a non-empty
value will cause the test to be executed.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-04-02 06:08:03 +00:00
..
cachepersister.go Audit log and follow klog standard 2020-03-27 09:24:52 +00:00
cephcmds.go Handle Delete operation if pool not found 2020-02-11 15:58:15 +00:00
cephconf.go Avoid keyring message while logging 2019-07-25 09:48:09 +00:00
conn_pool_test.go Use Error instead of Errorf 2020-03-30 08:53:16 +00:00
conn_pool.go Correct static errors and source code comments. 2020-03-30 05:13:24 +00:00
credentials.go Add a check for nil secrets 2019-09-27 05:10:01 +00:00
crypto.go Reduce encryption KMS configuration SC parameters 2020-02-10 15:21:11 +00:00
cryptsetup.go Adds PVC encryption with LUKS 2019-12-16 08:12:44 +00:00
csiconfig_test.go Removed config maps and replaced with rados omaps 2019-05-19 12:29:33 +00:00
csiconfig.go Removed config maps and replaced with rados omaps 2019-05-19 12:29:33 +00:00
errors.go Handle Delete operation if pool not found 2020-02-11 15:58:15 +00:00
httpserver.go implement grpc metrics for ceph-csi 2019-08-30 06:50:32 +00:00
idlocker_test.go Change the logic of locking 2019-09-20 07:37:17 +00:00
idlocker.go fix typos 2020-03-24 15:43:03 +00:00
k8scmcache.go Enable all static-checks in golangci-lint 2019-06-10 15:56:17 +05:30
log.go Add req-ID to logging 2019-09-11 13:45:40 +00:00
nodecache.go Audit log and follow klog standard 2020-03-27 09:24:52 +00:00
pidlimit_test.go tests: in case 'go test' is run in a container, skip TestGetPIDLimit() 2020-04-02 06:08:03 +00:00
pidlimit.go Address security concerns reported by 'gosec' 2019-09-04 11:48:37 +00:00
stripsecrets.go Use --keyfile option to pass keys to all Ceph CLIs 2019-07-25 12:46:15 +00:00
util_test.go Fix volsize for cephfs and rbd 2019-10-11 08:22:27 +00:00
util.go Update to kube v1.17 2020-01-17 12:06:02 +00:00
validate.go Move mounting staging instance to a sub-path within staging path 2019-08-13 14:07:52 +00:00
vault.go Correct static errors and source code comments. 2020-03-30 05:13:24 +00:00
volid_test.go Make CephFS plugin stateless reusing RADOS based journal scheme 2019-05-30 06:20:35 -04:00
volid.go Enable all static-checks in golangci-lint 2019-06-10 15:56:17 +05:30
voljournal.go added volumeNamePrefix and snapshotNamePrefix as parameters for storageClass 2020-02-25 05:03:51 +00:00