common

package
v1.28.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Contexts = struct {
	AWS          Context
	AWSGeneric   Context
	Azure        Context
	CloudFoundry Context
	Contextless  Context
	Environment  Context
	GoogleCloud  Context
	Kubernetes   Context
}{
	"AWS",
	"AWS_GENERIC",
	"AZURE",
	"CLOUD_FOUNDRY",
	"CONTEXTLESS",
	"ENVIRONMENT",
	"GOOGLE_CLOUD",
	"KUBERNETES",
}

Contexts offers the known enum values

Functions

This section is empty.

Types

type ConfigMetadata

type ConfigMetadata struct {
	ClusterVersion               *string  `json:"clusterVersion,omitempty"`               // Dynatrace server version.
	ConfigurationVersions        []int64  `json:"configurationVersions,omitempty"`        // A Sorted list of the version numbers of the configuration.
	CurrentConfigurationVersions []string `json:"currentConfigurationVersions,omitempty"` // A Sorted list of string version numbers of the configuration.
}

ConfigMetadata Metadata useful for debugging

func (*ConfigMetadata) MarshalHCL

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

func (*ConfigMetadata) Schema

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

func (*ConfigMetadata) UnmarshalHCL

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

type Context

type Context string

Context The origin of the tag, such as AWS or Cloud Foundry. Custom tags use the `CONTEXTLESS` value.

type TagFilter

type TagFilter struct {
	Context Context `json:"context"`         // The origin of the tag, such as AWS or Cloud Foundry.  Custom tags use the `CONTEXTLESS` value.
	Key     string  `json:"key"`             // The key of the tag. Custom tags have the tag value here.
	Value   *string `json:"value,omitempty"` // The value of the tag. Not applicable to custom tags.
}

TagFilter A tag-based filter of monitored entities.

func (*TagFilter) Equals

func (me *TagFilter) Equals(other *TagFilter) bool

func (*TagFilter) MarshalHCL

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

func (*TagFilter) Schema

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

func (*TagFilter) UnmarshalHCL

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

type TagFilters

type TagFilters []*TagFilter

func (TagFilters) MarshalHCL

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

func (TagFilters) Schema

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

func (*TagFilters) UnmarshalHCL

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

Jump to

Keyboard shortcuts

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