Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultMonacoUserAgent = "Dynatrace Monitoring as Code/" + version.MonitoringAsCode + " " + (runtime.GOOS + " " + runtime.GOARCH)
Functions ¶
This section is empty.
Types ¶
type ClientOptions ¶
type ClientSet ¶
type ClientSet struct { // dtClient is the client capable of updating or creating settings and classic configs DTClient dtclient.Client // autClient is the client capable of updating or creating automation API configs AutClient *automation.Client // bucketClient is the client capable of updating or creating Grail Bucket configs BucketClient *buckets.Client }
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
type PlatformAuth ¶
Click to show internal directories.
Click to hide internal directories.