package
0.0.0-20210624121128-6b231d83a5d4
Repository: https://github.com/tkestack/kube-jarvis.git
Documentation: pkg.go.dev
# README
example diagnostic
This is the example that shows how to write a diagnostic plugins
config
diagnostics:
- type: "example"
# default values
name: "example"
catalogue: ["other"]
config:
message: "message" #extra message
supported cluster type
- all
# Functions
NewDiagnostic return a example diagnostic.
# Constants
DiagnosticType is type name of this Diagnostic.
# Structs
Diagnostic is a example diagnostic shows how to write a diagnostic.