Documentation ¶
Overview ¶
Package inspector implements a client-server utility that can be used for verifying Kismatic nodes. The server can be run without the client, but networking checks require the client to connect to a check server running on a remote node.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // TargetNode is the ip:port of the inspector running on the remote node TargetNode string // TargetNodeRole is the role of the node we are inspecting TargetNodeFacts []string // contains filtered or unexported fields }
The Client executes rules against a remote inspector
type Server ¶
type Server struct { // The Port the server will listen on Port int // NodeFacts are the facts that apply to the node where the server is running NodeFacts []string // contains filtered or unexported fields }
Server supports the execution of inspector rules from a remote node
Directories ¶
Path | Synopsis |
---|---|
Package check implements a set of primitive checks that are used to validate inspector rules
|
Package check implements a set of primitive checks that are used to validate inspector rules |
Package cmd implements the CLI commands of the inspector
|
Package cmd implements the CLI commands of the inspector |
Package rule implements the inspector rules and the engine that runs the rules according to the conditions.
|
Package rule implements the inspector rules and the engine that runs the rules according to the conditions. |
Click to show internal directories.
Click to hide internal directories.