Versions in this module Expand all Collapse all v1 v1.0.1 Apr 9, 2021 v1.0.0 Apr 9, 2021 Changes in this version + var DefaultBinPath = "/var/ossec/bin" + var DefaultSSHPort = 22 + var DefaultTempDir = "/tmp" + type Agent struct + ID string + IP string + Name string + type Client struct + func New(opts *Options) (*Client, error) + func (c *Client) Close() error + func (c *Client) Find(searchKey, searchValue string) (*Agent, error) + func (c *Client) Import(host, ip string) (*Agent, error) + func (c *Client) Key(id string) (string, error) + func (c *Client) List() ([]*Agent, error) + func (c *Client) Remove(id string) error + type Options struct + BinDir string + Debug bool + Host string + HostKey string + IgnoreHostKey bool + NoSudo bool + Password string + Port int + TempDir string + Username string