Documentation
¶
Index ¶
Constants ¶
const ( // DefaultHost is the default Host // found in Meta (info) section of spec file DefaultHost string = "environment.live.dynatrace.com" // DefaultBasePath is the default BasePath // found in Meta (info) section of spec file DefaultBasePath string = "/api/config/v1" )
Variables ¶
var Default = NewHTTPClient(nil)
Default go dynatrace HTTP client.
var DefaultSchemes = []string{"https"}
DefaultSchemes are the default schemes found in Meta (info) section of spec file
Functions ¶
This section is empty.
Types ¶
type GoDynatrace ¶
type GoDynatrace struct {
AwsCredentialsConfiguration a_w_s_credentials_configuration.ClientService
AlertingProfiles alerting_profiles.ClientService
AnomalyDetectionaws anomaly_detection_a_w_s.ClientService
AnomalyDetectionApplications anomaly_detection_applications.ClientService
AnomalyDetectionDatabaseServices anomaly_detection_database_services.ClientService
AnomalyDetectionDiskEvents anomaly_detection_disk_events.ClientService
AnomalyDetectionHosts anomaly_detection_hosts.ClientService
AnomalyDetectionMetricEvents anomaly_detection_metric_events.ClientService
AnomalyDetectionServices anomaly_detection_services.ClientService
AnomalyDetectionvMware anomaly_detection_v_mware.ClientService
ApplicationDetectionRules application_detection_rules.ClientService
AutomaticallyAppliedTags automatically_applied_tags.ClientService
AzureCredentialsConfiguration azure_credentials_configuration.ClientService
CloudFoundryCredentialsConfiguration cloud_foundry_credentials_configuration.ClientService
CredentialVault credential_vault.ClientService
Dashboards dashboards.ClientService
DataPrivacyAndSecurity data_privacy_and_security.ClientService
FrequentIssueDetection frequent_issue_detection.ClientService
KubernetesCredentialsConfiguration kubernetes_credentials_configuration.ClientService
LogMonitoringMetrics log_monitoring_metrics.ClientService
MaintenanceWindows maintenance_windows.ClientService
ManagementZones management_zones.ClientService
MobileDeobfuscationAndSymbolication mobile_deobfuscation_and_symbolication.ClientService
Notifications notifications.ClientService
Plugins plugins.ClientService
RumMetrics r_u_m_metrics.ClientService
RemoteEnvironments remote_environments.ClientService
Reports reports.ClientService
ServiceCalculatedMetrics service_calculated_metrics.ClientService
ServiceCustomServices service_custom_services.ClientService
ServiceDetectionFullWebRequest service_detection_full_web_request.ClientService
ServiceDetectionFullWebService service_detection_full_web_service.ClientService
ServiceDetectionOpaqueAndExternalWebRequest service_detection_opaque_and_external_web_request.ClientService
ServiceibmmqTracing service_i_b_m_m_q_tracing.ClientService
ServiceRequestAttributes service_request_attributes.ClientService
ServiceRequestNaming service_request_naming.ClientService
WebApplicationConfiguration web_application_configuration.ClientService
Transport runtime.ClientTransport
}
GoDynatrace is a client for go dynatrace
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *GoDynatrace
New creates a new go dynatrace client
func NewHTTPClient ¶
func NewHTTPClient(formats strfmt.Registry) *GoDynatrace
NewHTTPClient creates a new go dynatrace HTTP client.
func NewHTTPClientWithConfig ¶
func NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *GoDynatrace
NewHTTPClientWithConfig creates a new go dynatrace HTTP client, using a customizable transport config.
func (*GoDynatrace) SetTransport ¶
func (c *GoDynatrace) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client and all its subresources
type TransportConfig ¶
TransportConfig contains the transport related info, found in the meta section of the spec file.
func DefaultTransportConfig ¶
func DefaultTransportConfig() *TransportConfig
DefaultTransportConfig creates a TransportConfig with the default settings taken from the meta section of the spec file.
func (*TransportConfig) WithBasePath ¶
func (cfg *TransportConfig) WithBasePath(basePath string) *TransportConfig
WithBasePath overrides the default basePath, provided by the meta section of the spec file.
func (*TransportConfig) WithHost ¶
func (cfg *TransportConfig) WithHost(host string) *TransportConfig
WithHost overrides the default host, provided by the meta section of the spec file.
func (*TransportConfig) WithSchemes ¶
func (cfg *TransportConfig) WithSchemes(schemes []string) *TransportConfig
WithSchemes overrides the default schemes, provided by the meta section of the spec file.