kentikapi

package
v0.0.0-...-92e41f0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

README

Generated code

Code under cloudexport/ and synthetics/ is generated from OpenAPI spec.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// cloudexport
	CloudExportAdminServiceApi *cloudexport.CloudExportAdminServiceApiService

	// synthetics
	SyntheticsAdminServiceApi *synthetics.SyntheticsAdminServiceApiService
	SyntheticsDataServiceApi  *synthetics.SyntheticsDataServiceApiService
}

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

func NewClient

func NewClient(c Config) *Client

NewClient creates Kentik API client with provided Config.

type Config

type Config struct {
	// CloudExportAPIURL defaults to "https://cloudexports.api.kentik.com".
	CloudExportAPIURL string
	// SyntheticsAPIURL defaults to "https://synthetics.api.kentik.com".
	SyntheticsAPIURL string
	AuthEmail        string
	AuthToken        string
	RetryCfg         RetryConfig
	// LogPayloads enables logging of request and response payloads.
	LogPayloads bool
}

Config holds configuration of the Client.

type RetryConfig

type RetryConfig = httputil.RetryConfig

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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