k8s: Obtain relevant information from Rancher 98/88798/4
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Sun, 26 May 2019 13:35:02 +0000 (15:35 +0200)
committerGary Wu <gary.wu@futurewei.com>
Mon, 24 Jun 2019 14:54:30 +0000 (14:54 +0000)
commit6b223c9548d48675596eb0e9d1cc8a8e01435dfc
treec9853a421c9f0006005a2a9be5df9aa295d27b5e
parentcbf3f2d7e96fb2841d142c8e78f7eb0e652d52a8
k8s: Obtain relevant information from Rancher

This patch introduces Rancher queries using its CLI client. It depends
on having utility binary located in PATH and providing configuration
file prior first use.

Issue-ID: SECCOM-235
Change-Id: Idb011e27b4801c5700b4482656463849736298da
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
test/security/k8s/src/check/cmd/check/check.go
test/security/k8s/src/check/rancher/rancher.go [new file with mode: 0644]