package
Version:
v0.0.0-...-536d3ef
Opens a new window with list of versions in this module.
Published: Mar 1, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Test Icinga2 Custom Plugins
It reads local ~/.kube/config
data and uses current-context
for cluster and auth information.
Run Test
Run following command to test Plugins
-
component_status
go test -v github.com/appscode/searchlight/test -run ^TestComponentStatus$
-
json_path
go test -v github.com/appscode/searchlight/test -run ^TestJsonPath$
-
kube_event
go test -v github.com/appscode/searchlight/test -run ^TestKubeEvent$
-
node_count
go test -v github.com/appscode/searchlight/test -run ^TestNodeCount$
-
node_status
go test -v github.com/appscode/searchlight/test -run ^TestNodeStatus$
Following two will create temporary kubernetes objects to test
To run all Test
go test -v github.com/appscode/searchlight/test
Run following command for E2E test
-
MultipleAlerts
go test -v github.com/appscode/searchlight/test -run ^TestMultipleAlerts$
-
MultipleAlertsOnMultipleObjects
go test -v github.com/appscode/searchlight/test -run ^TestMultipleAlertsOnMultipleObjects$
Documentation
¶
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.