Documentation ¶
Index ¶
- Variables
- type ComparisonEnum
- type DataSourceComplex
- type DataSourceEnum
- type DataSourceWithStaticStringEnum
- type EventAttributeComplex
- type EventCategoryAttributeComplex
- func (me *EventCategoryAttributeComplex) HandlePreconditions() error
- func (me *EventCategoryAttributeComplex) MarshalHCL(properties hcl.Properties) error
- func (me *EventCategoryAttributeComplex) Schema() map[string]*schema.Schema
- func (me *EventCategoryAttributeComplex) UnmarshalHCL(decoder hcl.Decoder) error
- type EventComplex
- type EventDataAttributeComplex
- type EventDataFieldComplex
- type EventDataFieldComplexes
- type MatcherComplex
- type MatcherComplexes
- type Settings
Constants ¶
This section is empty.
Variables ¶
View Source
var ComparisonEnums = struct { Contains ComparisonEnum EndsWith ComparisonEnum Equals ComparisonEnum Exists ComparisonEnum NContains ComparisonEnum NEndsWith ComparisonEnum NEquals ComparisonEnum NExists ComparisonEnum NStartsWith ComparisonEnum StartsWith ComparisonEnum }{ "CONTAINS", "ENDS_WITH", "EQUALS", "EXISTS", "N_CONTAINS", "N_ENDS_WITH", "N_EQUALS", "N_EXISTS", "N_STARTS_WITH", "STARTS_WITH", }
View Source
var DataSourceEnums = struct { RequestBody DataSourceEnum RequestHeaders DataSourceEnum RequestMethod DataSourceEnum RequestParameters DataSourceEnum RequestPath DataSourceEnum RequestUrl DataSourceEnum ResponseBody DataSourceEnum ResponseHeaders DataSourceEnum ResponseStatuscode DataSourceEnum }{ "request.body", "request.headers", "request.method", "request.parameters", "request.path", "request.url", "response.body", "response.headers", "response.statusCode", }
View Source
var DataSourceWithStaticStringEnums = struct { ConstantString DataSourceWithStaticStringEnum RequestBody DataSourceWithStaticStringEnum RequestHeaders DataSourceWithStaticStringEnum RequestMethod DataSourceWithStaticStringEnum RequestParameters DataSourceWithStaticStringEnum RequestPath DataSourceWithStaticStringEnum RequestUrl DataSourceWithStaticStringEnum ResponseBody DataSourceWithStaticStringEnum ResponseHeaders DataSourceWithStaticStringEnum ResponseStatuscode DataSourceWithStaticStringEnum }{ "constant.string", "request.body", "request.headers", "request.method", "request.parameters", "request.path", "request.url", "response.body", "response.headers", "response.statusCode", }
Functions ¶
This section is empty.
Types ¶
type ComparisonEnum ¶
type ComparisonEnum string
type DataSourceComplex ¶
type DataSourceComplex struct { DataSource DataSourceEnum `json:"dataSource"` // Possible Values: `Request_body`, `Request_headers`, `Request_method`, `Request_parameters`, `Request_path`, `Request_url`, `Response_body`, `Response_headers`, `Response_statusCode` Path *string `json:"path,omitempty"` // [See our documentation](https://dt-url.net/ei034bx) }
func (*DataSourceComplex) HandlePreconditions ¶
func (me *DataSourceComplex) HandlePreconditions() error
func (*DataSourceComplex) MarshalHCL ¶
func (me *DataSourceComplex) MarshalHCL(properties hcl.Properties) error
func (*DataSourceComplex) UnmarshalHCL ¶
func (me *DataSourceComplex) UnmarshalHCL(decoder hcl.Decoder) error
type DataSourceEnum ¶
type DataSourceEnum string
type DataSourceWithStaticStringEnum ¶
type DataSourceWithStaticStringEnum string
type EventAttributeComplex ¶
type EventAttributeComplex struct { Path *string `json:"path,omitempty"` // [See our documentation](https://dt-url.net/ei034bx) Source *string `json:"source,omitempty"` // Fixed value SourceType DataSourceWithStaticStringEnum `json:"sourceType"` // Possible Values: `Constant_string`, `Request_body`, `Request_headers`, `Request_method`, `Request_parameters`, `Request_path`, `Request_url`, `Response_body`, `Response_headers`, `Response_statusCode` }
func (*EventAttributeComplex) HandlePreconditions ¶
func (me *EventAttributeComplex) HandlePreconditions() error
func (*EventAttributeComplex) MarshalHCL ¶
func (me *EventAttributeComplex) MarshalHCL(properties hcl.Properties) error
func (*EventAttributeComplex) Schema ¶
func (me *EventAttributeComplex) Schema() map[string]*schema.Schema
func (*EventAttributeComplex) UnmarshalHCL ¶
func (me *EventAttributeComplex) UnmarshalHCL(decoder hcl.Decoder) error
type EventCategoryAttributeComplex ¶
type EventCategoryAttributeComplex struct { Path *string `json:"path,omitempty"` // [See our documentation](https://dt-url.net/ei034bx) Source *string `json:"source,omitempty"` // Fixed value SourceType DataSourceWithStaticStringEnum `json:"sourceType"` // Possible Values: `Constant_string`, `Request_body`, `Request_headers`, `Request_method`, `Request_parameters`, `Request_path`, `Request_url`, `Response_body`, `Response_headers`, `Response_statusCode` }
func (*EventCategoryAttributeComplex) HandlePreconditions ¶
func (me *EventCategoryAttributeComplex) HandlePreconditions() error
func (*EventCategoryAttributeComplex) MarshalHCL ¶
func (me *EventCategoryAttributeComplex) MarshalHCL(properties hcl.Properties) error
func (*EventCategoryAttributeComplex) Schema ¶
func (me *EventCategoryAttributeComplex) Schema() map[string]*schema.Schema
func (*EventCategoryAttributeComplex) UnmarshalHCL ¶
func (me *EventCategoryAttributeComplex) UnmarshalHCL(decoder hcl.Decoder) error
type EventComplex ¶
type EventComplex struct { Category *EventCategoryAttributeComplex `json:"category"` // Event category Data EventDataFieldComplexes `json:"data,omitempty"` // Additional attributes for the business event. Provider *EventAttributeComplex `json:"provider"` // Event provider Type *EventAttributeComplex `json:"type"` // Event type }
func (*EventComplex) MarshalHCL ¶
func (me *EventComplex) MarshalHCL(properties hcl.Properties) error
func (*EventComplex) UnmarshalHCL ¶
func (me *EventComplex) UnmarshalHCL(decoder hcl.Decoder) error
type EventDataAttributeComplex ¶
type EventDataAttributeComplex struct { Path *string `json:"path,omitempty"` // [See our documentation](https://dt-url.net/ei034bx) Source *string `json:"source,omitempty"` // Fixed value SourceType DataSourceWithStaticStringEnum `json:"sourceType"` // Possible Values: `Constant_string`, `Request_body`, `Request_headers`, `Request_method`, `Request_parameters`, `Request_path`, `Request_url`, `Response_body`, `Response_headers`, `Response_statusCode` }
func (*EventDataAttributeComplex) HandlePreconditions ¶
func (me *EventDataAttributeComplex) HandlePreconditions() error
func (*EventDataAttributeComplex) MarshalHCL ¶
func (me *EventDataAttributeComplex) MarshalHCL(properties hcl.Properties) error
func (*EventDataAttributeComplex) Schema ¶
func (me *EventDataAttributeComplex) Schema() map[string]*schema.Schema
func (*EventDataAttributeComplex) UnmarshalHCL ¶
func (me *EventDataAttributeComplex) UnmarshalHCL(decoder hcl.Decoder) error
type EventDataFieldComplex ¶
type EventDataFieldComplex struct { Name string `json:"name"` // Field name to be added to data. Source *EventDataAttributeComplex `json:"source"` }
func (*EventDataFieldComplex) MarshalHCL ¶
func (me *EventDataFieldComplex) MarshalHCL(properties hcl.Properties) error
func (*EventDataFieldComplex) Schema ¶
func (me *EventDataFieldComplex) Schema() map[string]*schema.Schema
func (*EventDataFieldComplex) UnmarshalHCL ¶
func (me *EventDataFieldComplex) UnmarshalHCL(decoder hcl.Decoder) error
type EventDataFieldComplexes ¶
type EventDataFieldComplexes []*EventDataFieldComplex
func (EventDataFieldComplexes) MarshalHCL ¶
func (me EventDataFieldComplexes) MarshalHCL(properties hcl.Properties) error
func (*EventDataFieldComplexes) Schema ¶
func (me *EventDataFieldComplexes) Schema() map[string]*schema.Schema
func (*EventDataFieldComplexes) UnmarshalHCL ¶
func (me *EventDataFieldComplexes) UnmarshalHCL(decoder hcl.Decoder) error
type MatcherComplex ¶
type MatcherComplex struct { CaseSensitive *bool `json:"caseSensitive,omitempty"` // Case sensitive Source *DataSourceComplex `json:"source"` Type ComparisonEnum `json:"type"` // Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `EXISTS`, `N_CONTAINS`, `N_ENDS_WITH`, `N_EQUALS`, `N_EXISTS`, `N_STARTS_WITH`, `STARTS_WITH` Value *string `json:"value,omitempty"` }
Matcher. Rule must match
func (*MatcherComplex) HandlePreconditions ¶
func (me *MatcherComplex) HandlePreconditions() error
func (*MatcherComplex) MarshalHCL ¶
func (me *MatcherComplex) MarshalHCL(properties hcl.Properties) error
func (*MatcherComplex) UnmarshalHCL ¶
func (me *MatcherComplex) UnmarshalHCL(decoder hcl.Decoder) error
type MatcherComplexes ¶
type MatcherComplexes []*MatcherComplex
func (MatcherComplexes) MarshalHCL ¶
func (me MatcherComplexes) MarshalHCL(properties hcl.Properties) error
func (*MatcherComplexes) UnmarshalHCL ¶
func (me *MatcherComplexes) UnmarshalHCL(decoder hcl.Decoder) error
type Settings ¶
type Settings struct { Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) Event *EventComplex `json:"event"` // Event meta data RuleName string `json:"ruleName"` // Rule name Scope *string `json:"-" scope:"scope"` // The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. Triggers MatcherComplexes `json:"triggers"` // Define conditions to trigger business events from incoming web requests. Triggers are connected by AND logic per capture rule. If you set multiple trigger rules, all of them need to be fulfilled to capture a business event. InsertAfter string `json:"-"` }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.