tag

package
v1.56.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 4 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

View Source
var Operators = struct {
	Equals       Operator
	TagKeyEquals Operator
}{
	"EQUALS",
	"TAG_KEY_EQUALS",
}

Operators offers the known enum values

Functions

This section is empty.

Types

type Context

type Context string

Context The origin of the tag, such as AWS or Cloud Foundry.

Custom tags use the `CONTEXTLESS` value.

type Info

type Info 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.
	Unknowns map[string]json.RawMessage `json:"-"`
}

Info Tag of a Dynatrace entity.

func (*Info) MarshalHCL

func (ti *Info) MarshalHCL(properties hcl.Properties) error

func (*Info) Schema

func (ti *Info) Schema() map[string]*schema.Schema

func (*Info) UnmarshalHCL

func (ti *Info) UnmarshalHCL(decoder hcl.Decoder) error

type Operator

type Operator string

Operator Operator of the comparison. You can reverse it by setting **negate** to `true`. Possible values depend on the **type** of the comparison. Find the list of actual models in the description of the **type** field and check the description of the model you need.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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