vmanageapi

package
v0.0.0-...-9c374dc Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	UUID  string
	Token string
}

type VManageAPI

type VManageAPI struct {
	Client   *http.Client
	Username string
	Password string
	BaseURL  string
}

func NewVmanage

func NewVmanage(baseurl string, username string, password string) *VManageAPI

func (*VManageAPI) GetDevices

func (app *VManageAPI) GetDevices() []*Device

func (*VManageAPI) GetOrgnazation

func (app *VManageAPI) GetOrgnazation() string

func (*VManageAPI) GetvBond

func (app *VManageAPI) GetvBond() (string, string)

type VmanageInfo

type VmanageInfo struct {
	BaseURL  string `yaml:baseurl`
	Username string `yaml:username`
	Password string `yaml:password`
}

Jump to

Keyboard shortcuts

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