Documentation
¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) GetConfig() (*pb.Config, error)
- func (c *Client) GetRuleStatus(ruleName string) (*pb.Rule, error)
- func (c *Client) ListWatchedPaths() ([]string, error)
- func (c *Client) Ping() error
- func (c *Client) TriggerRule(ruleName string) (*pb.TriggerRuleResponse, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps the gRPC client with convenience methods
func (*Client) GetRuleStatus ¶
GetRuleStatus retrieves the status of a specific rule
func (*Client) ListWatchedPaths ¶
ListWatchedPaths retrieves all watched file patterns
func (*Client) TriggerRule ¶
func (c *Client) TriggerRule(ruleName string) (*pb.TriggerRuleResponse, error)
TriggerRule triggers execution of a specific rule
Click to show internal directories.
Click to hide internal directories.