client

package
v2.8.0-dev.f513d866 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientOptions

type ClientOptions struct {
	CustomUserAgent string
	SupportArchive  bool
	CachingDisabled bool
}

type ClientSet

type ClientSet struct {
	// contains filtered or unexported fields
}

ClientSet composes a "full" set of sub-clients to access Dynatrace APIs Each field may be nil, if the ClientSet is partially initialized - e.g. no autClient will be part of a ClientSet created for a 'classic' Dynatrace environment, as Automations are a Platform feature

func CreateClassicClientSet

func CreateClassicClientSet(url string, token string, opts ClientOptions) (*ClientSet, error)

func CreatePlatformClientSet

func CreatePlatformClientSet(url string, auth PlatformAuth, opts ClientOptions) (*ClientSet, error)

func (ClientSet) Automation

func (s ClientSet) Automation() *automation.Client

func (ClientSet) Bucket added in v2.7.0

func (s ClientSet) Bucket() *buckets.Client

func (ClientSet) Classic

func (s ClientSet) Classic() *dtclient.DynatraceClient

func (ClientSet) Entities

func (s ClientSet) Entities() *dtclient.DynatraceClient

func (ClientSet) Settings

func (s ClientSet) Settings() *dtclient.DynatraceClient

type PlatformAuth

type PlatformAuth struct {
	OauthClientID, OauthClientSecret, OauthTokenURL string
	Token                                           string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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