MCPcopy Index your code

hub / github.com/PhaedrusTheGreek/nagioscheckbeat / functions

Functions34 in github.com/PhaedrusTheGreek/nagioscheckbeat

↓ 3 callersMethodCheck
()
check/check.go:82
↓ 3 callersMethodSetup
(config *config.NagiosCheckConfig)
check/check.go:26
↓ 2 callersMethodRun
(publish func([]beat.Event))
check/check.go:60
↓ 1 callersFunctionParsePerfString
(perfString string)
nagiosperf/nagiosperf.go:98
↓ 1 callersMethodStop
Stop stops nagioscheckbeat.
beater/nagioscheckbeat.go:68
↓ 1 callersFunctioneachPerf
* Splits string by spaces, ignoring spaces between quotes */
nagiosperf/nagiosperf.go:122
↓ 1 callersFunctionmain
()
main.go:9
↓ 1 callersFunctionparse
(perfString string)
nagiosperf/nagiosperf.go:42
FunctionAssetFieldsYml
AssetFieldsYml returns asset data. This is the base64 encoded gzipped contents of fields.yml.
include/fields.go:34
FunctionBuild
Build builds the Beat binary.
magefile.go:41
FunctionBuildGoDaemon
BuildGoDaemon builds the go-daemon binary (use crossBuildGoDaemon).
magefile.go:52
FunctionClean
Clean cleans all generated files and build artifacts.
magefile.go:67
MethodCleanup
()
check/check.go:164
FunctionConfig
Config generates both the short/reference/docker configs.
magefile.go:115
FunctionCrossBuild
CrossBuild cross-builds the beat for all target platforms.
magefile.go:57
FunctionCrossBuildGoDaemon
CrossBuildGoDaemon cross-builds the go-daemon binary using Docker.
magefile.go:62
FunctionFields
Fields generates a fields.yml for the Beat.
magefile.go:96
FunctionGoTestIntegration
GoTestIntegration executes the Go integration tests. Use TEST_COVERAGE=true to enable code coverage profiling. Use RACE_DETECTOR=true to enable the ra
magefile.go:110
FunctionGoTestUnit
GoTestUnit executes the Go unit tests. Use TEST_COVERAGE=true to enable code coverage profiling. Use RACE_DETECTOR=true to enable the race detector.
magefile.go:103
FunctionGolangCrossBuild
GolangCrossBuild build the Beat binary inside of the golang-builder. Do not use directly, use crossBuild instead.
magefile.go:47
FunctionNew
New creates an instance of nagioscheckbeat.
beater/nagioscheckbeat.go:22
FunctionNiceStatus
(status int)
nagiosperf/nagiosperf.go:28
FunctionPackage
Package packages the Beat for distribution. Use SNAPSHOT=true to build snapshots. Use PLATFORMS to control the target platforms.
magefile.go:74
MethodRun
Run starts nagioscheckbeat.
beater/nagioscheckbeat.go:36
FunctionTestCheck
(t *testing.T)
check/check_test.go:16
FunctionTestPackages
TestPackages tests the generated packages (i.e. file modes, owners, groups).
magefile.go:86
FunctionTestParse
(t *testing.T)
nagiosperf/nagiosperf_test.go:6
FunctionTestSystem
Test started when the test binary is started. Only calls main.
main_test.go:22
FunctionUpdate
Update updates the generated files (aka make update).
magefile.go:91
Functioninit
()
magefile.go:33
Functioninit
()
main_test.go:14
Functioninit
()
include/fields.go:26
MethodsetUpClass
(self)
tests/system/nagioscheckbeat.py:10
Methodtest_base
Basic test with exiting Nagioscheckbeat normally
tests/system/test_base.py:8