Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressGroup ¶
type AddressGroup struct { XMLName xml.Name `xml:"addressGroup"` PrimaryAddress string `xml:"primaryAddress"` SubnetMask string `xml:"subnetMask"` }
AddressGroup object within AddressGroup list.
type AddressGroups ¶
type AddressGroups struct {
AddressGroups []AddressGroup `xml:"addressGroup"`
}
AddressGroups within EdgeInterface.
type CreateEdgeInterfaceAPI ¶
CreateEdgeInterfaceAPI struct
func NewCreate ¶
func NewCreate(edgeInterfaceList *EdgeInterfaces, edgeID string) *CreateEdgeInterfaceAPI
NewCreate returns a new object of CreateEdgeInterfaceAPI
func (CreateEdgeInterfaceAPI) GetResponse ¶
func (createAPI CreateEdgeInterfaceAPI) GetResponse() *EdgeInterfaces
GetResponse returns the ResponseObject.
type DeleteEdgeInterfaceAPI ¶
DeleteEdgeInterfaceAPI struct
func NewDelete ¶
func NewDelete(edgeID string, index int) *DeleteEdgeInterfaceAPI
NewDelete returns a new delete method object of DeleteEdgeInterfaceAPI
type EdgeInterface ¶
type EdgeInterface struct { XMLName xml.Name `xml:"interface"` Name string `xml:"name"` Label string `xml:"label,omitempty"` Mtu int `xml:"mtu"` Type string `xml:"type"` IsConnected bool `xml:"isConnected"` ConnectedToID string `xml:"connectedToId"` AddressGroups AddressGroups `xml:"addressGroups"` Index int `xml:"index,omitempty"` }
EdgeInterface object within EdgeInterfaces list.
type EdgeInterfaces ¶
type EdgeInterfaces struct { XMLName xml.Name `xml:"interfaces"` Interfaces []EdgeInterface `xml:"interface"` }
EdgeInterfaces top level list object
func (EdgeInterfaces) FilterByName ¶
func (s EdgeInterfaces) FilterByName(name string) *EdgeInterface
FilterByName filters EdgeInterfaces list by given name of interface and returns the found interface object.
func (EdgeInterfaces) String ¶
func (s EdgeInterfaces) String() string
type GetAllEdgeInterfacesAPI ¶
GetAllEdgeInterfacesAPI base object.
func NewGetAll ¶
func NewGetAll(edgeID string) *GetAllEdgeInterfacesAPI
NewGetAll returns the api object of GetAllEdgeInterfacesAPI
func (GetAllEdgeInterfacesAPI) GetResponse ¶
func (getAllAPI GetAllEdgeInterfacesAPI) GetResponse() *EdgeInterfaces
GetResponse returns ResponseObject of GetAllEdgeInterfacesAPI
type GetEdgeInterfaceAPI ¶
GetEdgeInterfaceAPI base object.
func NewGet ¶
func NewGet(edgeID string, index int) *GetEdgeInterfaceAPI
NewGet returns the api object of GetEdgeInterfaceAPI
func (GetEdgeInterfaceAPI) GetResponse ¶
func (getAPI GetEdgeInterfaceAPI) GetResponse() EdgeInterface
GetResponse returns ResponseObject of GetEdgeInterfaceAPI
type UpdateEdgeInterfaceAPI ¶
UpdateEdgeInterfaceAPI struct
func NewUpdate ¶
func NewUpdate(edgeID string, index int, edge EdgeInterface) *UpdateEdgeInterfaceAPI
NewUpdate returns a new delete method object of UpdateEdgeInterfaceAPI