kubernetes

package
v1.59.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventComplexType

type EventComplexType struct {
	Active  bool   `json:"active"`  // Activate
	Label   string `json:"label"`   // Field selector name
	Pattern string `json:"pattern"` // The set of allowed characters for this field has been extended with ActiveGate version 1.259. For more details, see the [documentation](https://dt-url.net/7h23wuk#set-up-event-field-selectors).
}

func (*EventComplexType) MarshalHCL

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

func (*EventComplexType) Schema

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

func (*EventComplexType) UnmarshalHCL

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

type EventComplexTypes

type EventComplexTypes []*EventComplexType

func (EventComplexTypes) MarshalHCL

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

func (*EventComplexTypes) Schema

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

func (*EventComplexTypes) UnmarshalHCL

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

type FlagDefaultTrue

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

func (*FlagDefaultTrue) MarshalHCL

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

func (*FlagDefaultTrue) Schema

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

func (*FlagDefaultTrue) UnmarshalHCL

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

type Settings

type Settings struct {
	ActiveGateGroup                 *string           `json:"activeGateGroup,omitempty"`                 // ActiveGate Group
	AuthToken                       *string           `json:"authToken,omitempty"`                       // Create a bearer token for [Kubernetes](https://dt-url.net/og43szq \"Kubernetes\") or [OpenShift](https://dt-url.net/7l43xtp \"OpenShift\").
	CertificateCheckEnabled         *bool             `json:"certificateCheckEnabled,omitempty"`         // Require valid certificates for communication with API server (recommended)
	CloudApplicationPipelineEnabled *bool             `json:"cloudApplicationPipelineEnabled,omitempty"` // Monitor Kubernetes namespaces, services, workloads, and pods
	ClusterID                       *string           `json:"clusterId,omitempty"`                       // Unique ID of the cluster, the containerized ActiveGate is deployed to. Defaults to the UUID of the kube-system namespace. The cluster ID of containerized ActiveGates is shown on the Deployment status screen.
	ClusterIdEnabled                bool              `json:"clusterIdEnabled"`                          // For more information on local Kubernetes API monitoring, see the [documentation](https://dt-url.net/6q62uep).
	Enabled                         bool              `json:"enabled"`                                   // This setting is enabled (`true`) or disabled (`false`)
	EndpointUrl                     *string           `json:"endpointUrl,omitempty"`                     // Get the API URL for [Kubernetes](https://dt-url.net/kz23snj \"Kubernetes\") or [OpenShift](https://dt-url.net/d623xgw \"OpenShift\").
	EventPatterns                   EventComplexTypes `json:"eventPatterns,omitempty"`                   // Define Kubernetes event filters to ingest events into your environment. For more details, see the [documentation](https://dt-url.net/2201p0u).
	EventProcessingActive           *bool             `json:"eventProcessingActive,omitempty"`           // All events are monitored by default unless event filters are specified.\n\nKubernetes events are subject to Davis data units (DDU) licensing.\nSee [DDUs for events](https://dt-url.net/5n03vcu) for details.
	FilterEvents                    *bool             `json:"filterEvents,omitempty"`                    // Include only events specified by Events Field Selectors
	HostnameVerificationEnabled     *bool             `json:"hostnameVerificationEnabled,omitempty"`     // Verify hostname in certificate against Kubernetes API URL
	IncludeAllFdiEvents             *bool             `json:"includeAllFdiEvents,omitempty"`             // For a list of included events, see the [documentation](https://dt-url.net/l61d02no).
	Label                           string            `json:"label"`                                     // Renaming the cluster breaks configurations that are based on its name (e.g., management zones, and alerting).
	OpenMetricsBuiltinEnabled       *bool             `json:"openMetricsBuiltinEnabled,omitempty"`       // The workload resource metrics are based on a subset of cAdvisor metrics. Depending on your Kubernetes cluster size, this may increase the CPU/memory resource consumption of your ActiveGate.
	OpenMetricsPipelineEnabled      *bool             `json:"openMetricsPipelineEnabled,omitempty"`      // For annotation guidance, see the [documentation](https://dt-url.net/g42i0ppw).
	PvcMonitoringEnabled            *bool             `json:"pvcMonitoringEnabled,omitempty"`            // To enable dashboards and alerts, add the [Kubernetes persistent volume claims](ui/hub/ext/com.dynatrace.extension.kubernetes-pvc) extension to your environment.
	Scope                           *string           `json:"-" scope:"scope"`                           // The scope of this setting (KUBERNETES_CLUSTER)
}

func (*Settings) FillDemoValues

func (me *Settings) FillDemoValues() []string

func (*Settings) GetScope added in v1.40.0

func (me *Settings) GetScope() string

func (*Settings) HandlePreconditions

func (me *Settings) HandlePreconditions() error

func (*Settings) MarshalHCL

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

func (*Settings) Schema

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

func (*Settings) SetScope added in v1.40.0

func (me *Settings) SetScope(scope string)

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