Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeStats ¶
type NodeStats struct { NestedStats struct { Entries struct { Name struct { Description string `json:"description,omitempty"` } `json:"tmName,omitempty"` IPAddress struct { Description string `json:"description,omitempty"` } `json:"addr,omitempty"` ServersideBitsIn struct { Value int64 `json:"value"` } `json:"serverside.bitsIn,omitempty"` ServersideBitsOut struct { Value int64 `json:"value"` } `json:"serverside.bitsOut,omitempty"` ServersideCurConns struct { Value int64 `json:"value"` } `json:"serverside.curConns,omitempty"` ServersidePktsIn struct { Value int64 `json:"value"` } `json:"serverside.pktsIn,omitempty"` ServersidePktsOut struct { Value int64 `json:"value"` } `json:"serverside.pktsOut,omitempty"` AvailabilityState struct { Description string `json:"description,omitempty"` } `json:"status.availabilityState,omitempty"` EnabledState struct { Description string `json:"description,omitempty"` } `json:"status.enabledState,omitempty"` TotalRequests struct { Value int64 `json:"value"` } `json:"totRequests,omitempty"` CurSessions struct { Value int64 `json:"value"` } `json:"curSessions,omitempty"` } `json:"entries,omitempty"` } `json:"nestedStats,omitempty"` }
NodeStats represents the statistics returned for a single node
type PoolMemberStats ¶
type PoolMemberStats struct { NestedStats struct { Entries struct { Name struct { Description string `json:"description,omitempty"` } `json:"nodeName,omitempty"` PoolName struct { Description string `json:"description,omitempty"` } `json:"poolName,omitempty"` IPAddress struct { Description string `json:"description,omitempty"` } `json:"addr,omitempty"` Port struct { Value int64 `json:"value,omitempty"` } `json:"port,omitempty"` ServersideBitsIn struct { Value int64 `json:"value"` } `json:"serverside.bitsIn,omitempty"` ServersideBitsOut struct { Value int64 `json:"value"` } `json:"serverside.bitsOut,omitempty"` ServersideCurConns struct { Value int64 `json:"value"` } `json:"serverside.curConns,omitempty"` ServersidePktsIn struct { Value int64 `json:"value"` } `json:"serverside.pktsIn,omitempty"` ServersidePktsOut struct { Value int64 `json:"value"` } `json:"serverside.pktsOut,omitempty"` AvailabilityState struct { Description string `json:"description,omitempty"` } `json:"status.availabilityState,omitempty"` EnabledState struct { Description string `json:"description,omitempty"` } `json:"status.enabledState,omitempty"` TotalRequests struct { Value int64 `json:"value"` } `json:"totRequests,omitempty"` CurSessions struct { Value int64 `json:"value"` } `json:"curSessions,omitempty"` } `json:"entries,omitempty"` } `json:"nestedStats,omitempty"` }
PoolMemberStats represents the statistics returned for a single pool member
type PoolMembers ¶
type PoolMembers struct {
Entries map[string]PoolMemberStats `json:"entries"`
}
PoolMembers represents the top level json returned by the members/stats endpoint
type PoolStats ¶
type PoolStats struct { NestedStats struct { Entries struct { Name struct { Description string `json:"description,omitempty"` } `json:"tmName,omitempty"` ServersideBitsIn struct { Value int64 `json:"value"` } `json:"serverside.bitsIn,omitempty"` ServersideBitsOut struct { Value int64 `json:"value"` } `json:"serverside.bitsOut,omitempty"` ServersideCurConns struct { Value int64 `json:"value"` } `json:"serverside.curConns,omitempty"` ServersidePktsIn struct { Value int64 `json:"value"` } `json:"serverside.pktsIn,omitempty"` ServersidePktsOut struct { Value int64 `json:"value"` } `json:"serverside.pktsOut,omitempty"` AvailabilityState struct { Description string `json:"description,omitempty"` } `json:"status.availabilityState,omitempty"` EnabledState struct { Description string `json:"description,omitempty"` } `json:"status.enabledState,omitempty"` TotalRequests struct { Value int64 `json:"value"` } `json:"totRequests,omitempty"` TotalMemberCount struct { Value int64 `json:"value"` } `json:"memberCnt,omitempty"` ActiveMemberCount struct { Value int64 `json:"value"` } `json:"activeMemberCnt,omitempty"` AvailableMemberCount struct { Value int64 `json:"value"` } `json:"availableMemberCnt,omitempty"` } `json:"entries,omitempty"` } `json:"nestedStats,omitempty"` }
PoolStats represents the statistics returned for a single pool
type Token ¶
type Token struct {
Token string `json:"token,omitempty"`
}
Token represents where the actual token data is stored
type TokenDetails ¶
type TokenDetails struct {
Token Token `json:"token"`
}
TokenDetails represents the top level json returned by the authn/login endpoint
type VirtualServerProperties ¶
type VirtualServerProperties struct { SelfLink string `json:"selfLink"` PoolName string `json:"pool"` }
VirtualServerProperties represents the properties returned for a single virtual server
type VirtualServerStats ¶
type VirtualServerStats struct { NestedStats struct { Entries struct { Name struct { Description string `json:"description,omitempty"` } `json:"tmName,omitempty"` // PoolName is not actually in the /stats response and will be pulled from the normal /virtual response PoolName struct { Description string `json:"description,omitempty"` } `json:"poolName,omitempty"` Destination struct { Description string `json:"description,omitempty"` } `json:"destination,omitempty"` ClientsideBitsIn struct { Value int64 `json:"value"` } `json:"clientside.bitsIn,omitempty"` ClientsideBitsOut struct { Value int64 `json:"value"` } `json:"clientside.bitsOut,omitempty"` ClientsideCurConns struct { Value int64 `json:"value"` } `json:"clientside.curConns,omitempty"` ClientsidePktsIn struct { Value int64 `json:"value"` } `json:"clientside.pktsIn,omitempty"` ClientsidePktsOut struct { Value int64 `json:"value"` } `json:"clientside.pktsOut,omitempty"` AvailabilityState struct { Description string `json:"description,omitempty"` } `json:"status.availabilityState,omitempty"` EnabledState struct { Description string `json:"description,omitempty"` } `json:"status.enabledState,omitempty"` TotalRequests struct { Value int64 `json:"value"` } `json:"totRequests,omitempty"` } `json:"entries,omitempty"` } `json:"nestedStats,omitempty"` }
VirtualServerStats represents the statistics returned for a single virtual server
type VirtualServers ¶
type VirtualServers struct {
Entries map[string]VirtualServerStats `json:"entries"`
}
VirtualServers represents the top level json returned by the virtual/stats endpoint
type VirtualServersDetails ¶
type VirtualServersDetails struct {
Items []VirtualServerProperties `json:"items"`
}
VirtualServersDetails represents the top level json returned by the /virtual endpoint