Documentation ¶
Overview ¶
Package netbackup provides functions for calling netbackup APIs and get there response back in structured formata.
Index ¶
- func Get(jwt string, url string) (jsonData map[string]interface{}, code int, err error)
- func GetBaseURLString(server string) string
- func ImagesList(jwt string, server string)
- func JobList(jwt string, server string)
- func Login(username string, password string, domain string, domainType string, ...) string
- func MappingList(jwt string, server string)
- func Ping(server string) string
- func Post(jwt string, url string, reqValue []byte) (jsonData map[string]interface{}, code int, err error)
- type NetBackup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBaseURLString ¶
GetBaseURLString This returns the base URL for netbackup
func ImagesList ¶
ImagesList API Returns list of catalog images
func Login ¶
func Login(username string, password string, domain string, domainType string, server string) string
Login function
func MappingList ¶
MappingList Returns list of mappings for the server in JSON format
Types ¶
Click to show internal directories.
Click to hide internal directories.