An open API service indexing awesome lists of open source software.

https://github.com/dcos/dcos-checks

checks for DC/OS cluster
https://github.com/dcos/dcos-checks

dcos dcos-checks dcos-ux-guild

Last synced: about 1 year ago
JSON representation

checks for DC/OS cluster

Awesome Lists containing this project

README

          

# dcos-checks

### add a new check
1. `go get github.com/spf13/cobra/cobra`
2. `cobra add -t github.com/dcos/dcos-checks/cmd/checks/ `
3. edit `cmd/checks/.go`
4. rename `init()` to `func Add(root *cobra.Command)` and change it accordingly:

```
func Add(root *cobra.Command) {
root.AddCommand()
// other flag and configuration goes here
}
```
5. Modify `cmd/subcommands.go` to add your check.

see https://github.com/spf13/cobra for more details