Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HttpMethods = struct { Get HttpMethod Post HttpMethod Put HttpMethod Delete HttpMethod Head HttpMethod Connect HttpMethod Options HttpMethod Trace HttpMethod Patch HttpMethod }{ "GET", "POST", "PUT", "DELETE", "HEAD", "CONNECT", "OPTIONS", "TRACE", "PATCH", }
View Source
var PathComparisonTypes = struct { Equals PathComparisonType DoesNotEqual PathComparisonType Contains PathComparisonType DoesNotContain PathComparisonType StartsWith PathComparisonType DoesNotStartWith PathComparisonType EndsWith PathComparisonType DoesNotEndWith PathComparisonType }{ "EQUALS", "DOES_NOT_EQUAL", "CONTAINS", "DOES_NOT_CONTAIN", "STARTS_WITH", "DOES_NOT_START_WITH", "ENDS_WITH", "DOES_NOT_END_WITH", }
View Source
var SamplingScaleFactorLookup = map[string]SamplingScaleFactor{ "IncreaseCapturing128Times": SamplingScaleFactors.IncreaseCapturing128Times, "IncreaseCapturing64Times": SamplingScaleFactors.IncreaseCapturing64Times, "IncreaseCapturing32Times": SamplingScaleFactors.IncreaseCapturing32Times, "IncreaseCapturing16Times": SamplingScaleFactors.IncreaseCapturing16Times, "IncreaseCapturing8Times": SamplingScaleFactors.IncreaseCapturing8Times, "IncreaseCapturing4Times": SamplingScaleFactors.IncreaseCapturing4Times, "IncreaseCapturing2Times": SamplingScaleFactors.IncreaseCapturing2Times, "ReduceCapturingByFactor2": SamplingScaleFactors.ReduceCapturingByFactor2, "ReduceCapturingByFactor4": SamplingScaleFactors.ReduceCapturingByFactor4, "ReduceCapturingByFactor8": SamplingScaleFactors.ReduceCapturingByFactor8, "ReduceCapturingByFactor16": SamplingScaleFactors.ReduceCapturingByFactor16, "ReduceCapturingByFactor32": SamplingScaleFactors.ReduceCapturingByFactor32, "ReduceCapturingByFactor64": SamplingScaleFactors.ReduceCapturingByFactor64, "ReduceCapturingByFactor128": SamplingScaleFactors.ReduceCapturingByFactor128, }
View Source
var SamplingScaleFactors = struct { IncreaseCapturing128Times SamplingScaleFactor IncreaseCapturing64Times SamplingScaleFactor IncreaseCapturing32Times SamplingScaleFactor IncreaseCapturing16Times SamplingScaleFactor IncreaseCapturing8Times SamplingScaleFactor IncreaseCapturing4Times SamplingScaleFactor IncreaseCapturing2Times SamplingScaleFactor ReduceCapturingByFactor2 SamplingScaleFactor ReduceCapturingByFactor4 SamplingScaleFactor ReduceCapturingByFactor8 SamplingScaleFactor ReduceCapturingByFactor16 SamplingScaleFactor ReduceCapturingByFactor32 SamplingScaleFactor ReduceCapturingByFactor64 SamplingScaleFactor ReduceCapturingByFactor128 SamplingScaleFactor }{ "0", "1", "2", "3", "4", "5", "6", "8", "9", "10", "11", "12", "13", "14", }
Functions ¶
This section is empty.
Types ¶
type HttpMethod ¶
type HttpMethod string
type PathComparisonType ¶
type PathComparisonType string
type QueryParameter ¶
type QueryParameter struct { Name string `json:"name"` // Query parameter name Value *string `json:"value,omitempty"` // Query parameter value ValueIsUndefined bool `json:"valueIsUndefined,omitempty"` // Query parameter value is undefined }
func (*QueryParameter) MarshalHCL ¶
func (me *QueryParameter) MarshalHCL(properties hcl.Properties) error
func (*QueryParameter) UnmarshalHCL ¶
func (me *QueryParameter) UnmarshalHCL(decoder hcl.Decoder) error
type QueryParameters ¶
type QueryParameters []*QueryParameter
func (QueryParameters) MarshalHCL ¶
func (me QueryParameters) MarshalHCL(properties hcl.Properties) error
func (*QueryParameters) UnmarshalHCL ¶
func (me *QueryParameters) UnmarshalHCL(decoder hcl.Decoder) error
type SamplingScaleFactor ¶
type SamplingScaleFactor string
type Settings ¶
type Settings struct { Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) Factor *SamplingScaleFactor `json:"factor,omitempty"` // Select the scaling factor for the current sampling rate of the system. Possible values: `IncreaseCapturing128Times`, `IncreaseCapturing64Times`, `IncreaseCapturing32Times`, `IncreaseCapturing16Times`, `IncreaseCapturing8Times`, `IncreaseCapturing4Times`, `IncreaseCapturing2Times`, `ReduceCapturingByFactor2`, `ReduceCapturingByFactor4`, `ReduceCapturingByFactor8`, `ReduceCapturingByFactor16`, `ReduceCapturingByFactor32`, `ReduceCapturingByFactor64`, `ReduceCapturingByFactor128` HttpMethod []HttpMethod `json:"httpMethod,omitempty"` // Possible values: `GET`, `POST`, `PUT`, `DELETE`, `HEAD`, `CONNECT`, `OPTIONS`, `TRACE`, `PATCH` HttpMethodAny bool `json:"httpMethodAny"` // The scaling factor for the defined URL will be applied to any HTTP method. Ignore bool `json:"ignore"` // The matching URLs will always be ignored, also if Adaptive Traffic Management is not active. Path *string `json:"path,omitempty"` // Path of the URL. PathComparisonType *PathComparisonType `json:"pathComparisonType,omitempty"` // Path comparison condition. Possible values: `EQUALS`, `DOES_NOT_EQUAL`, `CONTAINS`, `DOES_NOT_CONTAIN`, `STARTS_WITH`, `DOES_NOT_START_WITH`, `ENDS_WITH`, `DOES_NOT_END_WITH` QueryParameters QueryParameters `json:"queryParameters"` // Add URL parameters in any order. **All** specified parameters must be present in the query of an URL to get a match. Scope *string `json:"-" scope:"scope"` // The scope of this setting (PROCESS_GROUP_INSTANCE, PROCESS_GROUP). Omit this property if you want to cover the whole environment. }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.