workloaddetection

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MatchEnums = struct {
	Contains    MatchEnum
	Ends        MatchEnum
	Equals      MatchEnum
	Exists      MatchEnum
	NotContains MatchEnum
	NotEnds     MatchEnum
	NotEquals   MatchEnum
	NotStarts   MatchEnum
	Starts      MatchEnum
}{
	"CONTAINS",
	"ENDS",
	"EQUALS",
	"EXISTS",
	"NOT_CONTAINS",
	"NOT_ENDS",
	"NOT_EQUALS",
	"NOT_STARTS",
	"STARTS",
}

Functions

This section is empty.

Types

type CloudFoundryCAWD

type CloudFoundryCAWD struct {
	Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`)
}

func (*CloudFoundryCAWD) MarshalHCL

func (me *CloudFoundryCAWD) MarshalHCL(properties hcl.Properties) error

func (*CloudFoundryCAWD) Schema

func (me *CloudFoundryCAWD) Schema() map[string]*schema.Schema

func (*CloudFoundryCAWD) UnmarshalHCL

func (me *CloudFoundryCAWD) UnmarshalHCL(decoder hcl.Decoder) error

type DockerCAWD

type DockerCAWD struct {
	Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`)
}

func (*DockerCAWD) MarshalHCL

func (me *DockerCAWD) MarshalHCL(properties hcl.Properties) error

func (*DockerCAWD) Schema

func (me *DockerCAWD) Schema() map[string]*schema.Schema

func (*DockerCAWD) UnmarshalHCL

func (me *DockerCAWD) UnmarshalHCL(decoder hcl.Decoder) error

type FilterComplex

type FilterComplex struct {
	Enabled          bool              `json:"enabled"`          // This setting is enabled (`true`) or disabled (`false`)
	InclusionToggles *InclusionToggles `json:"inclusionToggles"` // ID calculation based on
	MatchFilter      *MatchFilter      `json:"matchFilter"`      // When namespace
}

func (*FilterComplex) MarshalHCL

func (me *FilterComplex) MarshalHCL(properties hcl.Properties) error

func (*FilterComplex) Schema

func (me *FilterComplex) Schema() map[string]*schema.Schema

func (*FilterComplex) UnmarshalHCL

func (me *FilterComplex) UnmarshalHCL(decoder hcl.Decoder) error

type FilterComplexes

type FilterComplexes []*FilterComplex

func (FilterComplexes) MarshalHCL

func (me FilterComplexes) MarshalHCL(properties hcl.Properties) error

func (*FilterComplexes) Schema

func (me *FilterComplexes) Schema() map[string]*schema.Schema

func (*FilterComplexes) UnmarshalHCL

func (me *FilterComplexes) UnmarshalHCL(decoder hcl.Decoder) error

type InclusionToggles

type InclusionToggles struct {
	IncBasepod   bool `json:"incBasepod"`   // E.g. \"cloud-credential-operator-\" for \"cloud-credential-operator-5ff6dbff57-gszgq\"
	IncContainer bool `json:"incContainer"` // Container name
	IncNamespace bool `json:"incNamespace"` // Namespace name
	IncProduct   bool `json:"incProduct"`   // If Product is enabled and has no value, it defaults to Base pod name
	IncStage     bool `json:"incStage"`     // Stage
}

func (*InclusionToggles) MarshalHCL

func (me *InclusionToggles) MarshalHCL(properties hcl.Properties) error

func (*InclusionToggles) Schema

func (me *InclusionToggles) Schema() map[string]*schema.Schema

func (*InclusionToggles) UnmarshalHCL

func (me *InclusionToggles) UnmarshalHCL(decoder hcl.Decoder) error

type KubernetesOpenShiftCAWD

type KubernetesOpenShiftCAWD struct {
	Enabled bool            `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`)
	Filters FilterComplexes `json:"filters"` // Define rules to merge similar Kubernetes workloads into process groups. \n\n You can use workload properties like namespace name, base pod name or container name as well as the [environment variables DT_RELEASE_STAGE and DT_RELEASE_PRODUCT](https://dt-url.net/sb02v2a) for grouping processes of similar workloads. The first applicable rule will be applied. If no rule matches, “Namespace name” + “Base pod name” + “Container name” is used as fallback.
}

func (*KubernetesOpenShiftCAWD) MarshalHCL

func (me *KubernetesOpenShiftCAWD) MarshalHCL(properties hcl.Properties) error

func (*KubernetesOpenShiftCAWD) Schema

func (me *KubernetesOpenShiftCAWD) Schema() map[string]*schema.Schema

func (*KubernetesOpenShiftCAWD) UnmarshalHCL

func (me *KubernetesOpenShiftCAWD) UnmarshalHCL(decoder hcl.Decoder) error

type MatchEnum

type MatchEnum string

type MatchFilter

type MatchFilter struct {
	MatchOperator MatchEnum `json:"matchOperator"`       // Possible Values: `CONTAINS`, `ENDS`, `EQUALS`, `EXISTS`, `NOT_CONTAINS`, `NOT_ENDS`, `NOT_EQUALS`, `NOT_STARTS`, `STARTS`
	Namespace     *string   `json:"namespace,omitempty"` // Namespace name
}

func (*MatchFilter) MarshalHCL

func (me *MatchFilter) MarshalHCL(properties hcl.Properties) error

func (*MatchFilter) Schema

func (me *MatchFilter) Schema() map[string]*schema.Schema

func (*MatchFilter) UnmarshalHCL

func (me *MatchFilter) UnmarshalHCL(decoder hcl.Decoder) error

type Settings

type Settings struct {
	CloudFoundry *CloudFoundryCAWD        `json:"cloudFoundry"` // Enable this setting to get \n * Processes of Cloud Foundry application instances merged into process groups by Cloud Foundry application. \n *  Container resource metrics (Container group instance entities) and [related screens](https://www.dynatrace.com/support/help/shortlink/container-groups).
	Docker       *DockerCAWD              `json:"docker"`       // Enable this setting for plain Docker environments to get \n * Container resource metrics (Container group instance entities) and [related screens](https://www.dynatrace.com/support/help/shortlink/container-groups).
	Kubernetes   *KubernetesOpenShiftCAWD `json:"kubernetes"`   // Enable this setting to get \n * Insights into your Kubernetes namespaces, workloads and pods (cloud application namespace, cloud application and cloud application instance and entities). \n * Container resource metrics (container group instance entities) and [related screens](https://www.dynatrace.com/support/help/shortlink/container-groups). \n * Similar workloads merged into process groups based on defined rules (see below). \n * Version detection for services that run in Kubernetes workloads.
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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