traffic

package
v0.0.0-...-37a5cf9 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Q struct {
	Viewer struct {
		Zones Zones `graphql:"zones(filter: {zoneTag: $zoneTag})"`
	}
}

Functions

This section is empty.

Types

type Pool

type Pool struct {
	ColoCode   string
	Healthy    int
	LbName     string
	OriginName string
	Policy     string
	PoolName   string
	Region     string
}

func Run

func Run(zoneTag string, token string, start string, end string, limit int) ([]Pool, error)

Run executes the graphQL query to fetch traffic (load balancer) related statistics

type Zones

type Zones []struct {
	LoadBalancingRequestsAdaptiveGroups loadBalancingRequestsAdaptiveGroups `` /* 182-byte string literal not displayed */
}

Jump to

Keyboard shortcuts

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