lib

package
v0.0.0-...-b246a27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2020 License: AGPL-3.0 Imports: 10 Imported by: 0

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
}

func NewClient

func NewClient(conf *Config) (client *Client, err error)

func (*Client) ClickElement

func (client *Client) ClickElement(selector string)

func (*Client) CreateDHCPAddressReservation

func (client *Client) CreateDHCPAddressReservation(reservation DHCPAddressReservation) (err error)

func (*Client) DHCPAddressReservations

func (client *Client) DHCPAddressReservations() (reservations []DHCPAddressReservation, err error)

func (*Client) Exit

func (client *Client) Exit()

func (*Client) FindElementBySelector

func (client *Client) FindElementBySelector(selector string) (elem selenium.WebElement)

func (*Client) FindElementsBySelector

func (client *Client) FindElementsBySelector(selector string) (elems []selenium.WebElement)

type Config

type Config struct {
	Host     string
	Username string
	Password string
}

type DHCPAddressReservation

type DHCPAddressReservation struct {
	Id      uint64
	MAC     string
	IP      string
	Enabled bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL