kentikapi

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	APIURLUS = "https://api.kentik.com/api/v5"
	APIURLEU = "https://api.kentik.eu/api/v5"
)

Public constants.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Users              *api_resources.UsersAPI
	Devices            *api_resources.DevicesAPI
	DeviceLabels       *api_resources.DeviceLabelsAPI
	Sites              *api_resources.SitesAPI
	Tags               *api_resources.TagsAPI
	SavedFilters       *api_resources.SavedFiltersAPI
	CustomDimensions   *api_resources.CustomDimensionsAPI
	CustomApplications *api_resources.CustomApplicationsAPI
	Query              *api_resources.QueryAPI
	MyKentikPortal     *api_resources.MyKentikPortalAPI
	Plans              *api_resources.PlansAPI
	// Batch
	Alerting *api_resources.AlertingAPI
	// contains filtered or unexported fields
}

Client is the root object for manipulating all the Kentik API resources.

func NewClient

func NewClient(c Config) *Client

NewClient creates a new Kentik API client.

type Config

type Config struct {
	// APIURL defaults to "https://api.kentik.com/api/v5"
	APIURL    string
	AuthEmail string
	AuthToken string
}

Config holds configuration of the client.

Directories

Path Synopsis
internal
NOTE: modified by hand to reflect actual API enumerators NOTE: modified by hand to reflect actual API enumerators NOTE: modified by hand to reflect actual API enumerators NOTE: modified by hand to reflect actual API enumerators NOTE: modified by hand to reflect actual API enumerators NOTE: modified by hand to reflect actual API enumerators NOTE: modified by hand to reflect actual API enumerators
NOTE: modified by hand to reflect actual API enumerators NOTE: modified by hand to reflect actual API enumerators NOTE: modified by hand to reflect actual API enumerators NOTE: modified by hand to reflect actual API enumerators NOTE: modified by hand to reflect actual API enumerators NOTE: modified by hand to reflect actual API enumerators NOTE: modified by hand to reflect actual API enumerators

Jump to

Keyboard shortcuts

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