Documentation
¶
Index ¶
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 sends commands to JunOS and parses results
func NewClient ¶
func NewClient(ssh *connector.SSHConnection, opts ...ClientOption) *Client
NewClient creates a new client to connect to
func (*Client) IsSatelliteEnabled ¶
IsSatelliteEnabled returns if sattelite features are enabled on the device
func (*Client) IsScrapingLicenseEnabled ¶
func (*Client) RunCommandAndParse ¶
RunCommandAndParse runs a command on JunOS and unmarshals the XML result
type ClientOption ¶
type ClientOption func(*Client)
func WithDebug ¶
func WithDebug() ClientOption
func WithLicenseInformation ¶
func WithLicenseInformation() ClientOption
func WithSatellite ¶
func WithSatellite() ClientOption
Click to show internal directories.
Click to hide internal directories.