Web UI for insights operator instrumentation service
A simple web-based user interface to the insights operator instrumentation service
Use the standard Go command:
go build
This command should create an executable file named insights-operator-web-ui
.
Just run the executable file created by go build
:
./insights-operator-web-ui
Configuration is stored in config.toml
. ATM two options needs to be specified:
- URL to the insights operator instrumentation service
- port or full address where this tool will be available
Travis CI is configured for this repository. Several tests and checks are started for all pull requests:
- Unit tests that use the standard tool
go test
go fmt
tool to check code formatting. That tool is run with-s
flag to perform following transformationsgo vet
to report likely mistakes in source code, for example suspicious constructs, such as Printf calls whose arguments do not align with the format string.golint
as a linter for all Go sources stored in this repositorygocyclo
to report all functions and methods with too high cyclomatic complexity. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 9ineffassign
to detect and print all ineffectual assignments in Go codeerrcheck
for checking for all unchecked errors in go programsshellcheck
to perform static analysis for all shell scripts used in this repositoryabcgo
to measure ABC metrics for Go source code and check if the metrics does not exceed specified threshold
Please note that all checks mentioned above have to pass for the change to be merged into master branch.
History of checks done by CI is available at RedHatInsights / insights-operator-web-ui.
Please look into document CONTRIBUTING.md that contains all information about how to contribute to this project.
Please look also at Definition of Done document with further informations.
Package manifest is available at docs/manifest.txt.