Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/PhaedrusTheGreek/nagioscheckbeat
/ functions
Functions
34 in github.com/PhaedrusTheGreek/nagioscheckbeat
⨍
Functions
34
◇
Types & classes
7
↓ 3 callers
Method
Check
()
check/check.go:82
↓ 3 callers
Method
Setup
(config *config.NagiosCheckConfig)
check/check.go:26
↓ 2 callers
Method
Run
(publish func([]beat.Event))
check/check.go:60
↓ 1 callers
Function
ParsePerfString
(perfString string)
nagiosperf/nagiosperf.go:98
↓ 1 callers
Method
Stop
Stop stops nagioscheckbeat.
beater/nagioscheckbeat.go:68
↓ 1 callers
Function
eachPerf
* Splits string by spaces, ignoring spaces between quotes */
nagiosperf/nagiosperf.go:122
↓ 1 callers
Function
main
()
main.go:9
↓ 1 callers
Function
parse
(perfString string)
nagiosperf/nagiosperf.go:42
Function
AssetFieldsYml
AssetFieldsYml returns asset data. This is the base64 encoded gzipped contents of fields.yml.
include/fields.go:34
Function
Build
Build builds the Beat binary.
magefile.go:41
Function
BuildGoDaemon
BuildGoDaemon builds the go-daemon binary (use crossBuildGoDaemon).
magefile.go:52
Function
Clean
Clean cleans all generated files and build artifacts.
magefile.go:67
Method
Cleanup
()
check/check.go:164
Function
Config
Config generates both the short/reference/docker configs.
magefile.go:115
Function
CrossBuild
CrossBuild cross-builds the beat for all target platforms.
magefile.go:57
Function
CrossBuildGoDaemon
CrossBuildGoDaemon cross-builds the go-daemon binary using Docker.
magefile.go:62
Function
Fields
Fields generates a fields.yml for the Beat.
magefile.go:96
Function
GoTestIntegration
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
Function
GoTestUnit
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
Function
GolangCrossBuild
GolangCrossBuild build the Beat binary inside of the golang-builder. Do not use directly, use crossBuild instead.
magefile.go:47
Function
New
New creates an instance of nagioscheckbeat.
beater/nagioscheckbeat.go:22
Function
NiceStatus
(status int)
nagiosperf/nagiosperf.go:28
Function
Package
Package packages the Beat for distribution. Use SNAPSHOT=true to build snapshots. Use PLATFORMS to control the target platforms.
magefile.go:74
Method
Run
Run starts nagioscheckbeat.
beater/nagioscheckbeat.go:36
Function
TestCheck
(t *testing.T)
check/check_test.go:16
Function
TestPackages
TestPackages tests the generated packages (i.e. file modes, owners, groups).
magefile.go:86
Function
TestParse
(t *testing.T)
nagiosperf/nagiosperf_test.go:6
Function
TestSystem
Test started when the test binary is started. Only calls main.
main_test.go:22
Function
Update
Update updates the generated files (aka make update).
magefile.go:91
Function
init
()
magefile.go:33
Function
init
()
main_test.go:14
Function
init
()
include/fields.go:26
Method
setUpClass
(self)
tests/system/nagioscheckbeat.py:10
Method
test_base
Basic test with exiting Nagioscheckbeat normally
tests/system/test_base.py:8