Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Domain ¶
type Domain interface {
// Name is the name of the domain
Name() (string, error)
// XML returns the XML description of the domain
XML() (string, error)
}
Domain is the common interface representing domains
type Driver ¶
type Driver interface {
// Close close the current driver connection
Close() error
// ListDomain returns a list of domains using
// options
ListDomain(opts Options) ([]Domain, error)
// GetDomain returns a domain from its name
GetDomain(name string) (Domain, error)
}
Driver interface represents the middleware between the APIs and the TUI
Click to show internal directories.
Click to hide internal directories.