propagation

package
v1.29.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UniversalTagContexts = struct {
	AWS                 UniversalTagContext
	AWSGeneric          UniversalTagContext
	Azure               UniversalTagContext
	CloudFoundry        UniversalTagContext
	Contextless         UniversalTagContext
	Environment         UniversalTagContext
	GoogleComputeEngine UniversalTagContext
	Kubernetes          UniversalTagContext
}{
	"AWS",
	"AWS_GENERIC",
	"AZURE",
	"CLOUD_FOUNDRY",
	"CONTEXTLESS",
	"ENVIRONMENT",
	"GOOGLE_COMPUTE_ENGINE",
	"KUBERNETES",
}

UniversalTagContexts offers the known enum values

View Source
var UniversalTagKeyContexts = struct {
	AWS                 UniversalTagKeyContext
	AWSGeneric          UniversalTagKeyContext
	Azure               UniversalTagKeyContext
	CloudFoundry        UniversalTagKeyContext
	Contextless         UniversalTagKeyContext
	Environment         UniversalTagKeyContext
	GoogleComputeEngine UniversalTagKeyContext
	Kubernetes          UniversalTagKeyContext
}{
	"AWS",
	"AWS_GENERIC",
	"AZURE",
	"CLOUD_FOUNDRY",
	"CONTEXTLESS",
	"ENVIRONMENT",
	"GOOGLE_COMPUTE_ENGINE",
	"KUBERNETES",
}

UniversalTagKeyContexts offers the known enum values

Functions

This section is empty.

Types

type Source

type Source struct {
	ManagementZone *string                    `json:"managementZone,omitempty"` // Use only request attributes from services that belong to this management zone.. Use either this or `serviceTag`
	ServiceTag     *UniversalTag              `json:"serviceTag,omitempty"`     // Use only request attributes from services that have this tag. Use either this or `managementZone`
	Unknowns       map[string]json.RawMessage `json:"-"`
}

Source Defines valid sources of request attributes for conditions or placeholders.

func (*Source) MarshalHCL

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

func (*Source) MarshalJSON

func (me *Source) MarshalJSON() ([]byte, error)

func (*Source) Schema

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

func (*Source) UnmarshalHCL

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

func (*Source) UnmarshalJSON

func (me *Source) UnmarshalJSON(data []byte) error

type UniversalTag

type UniversalTag struct {
	Key     string               `json:"key"`               // The key of the tag. For custom tags, put the tag value here. The key allows categorization of multiple tags. It is possible that there are multiple values for a single key which will all be represented as standalone tags. Therefore, the key does not have the semantic of a map key but is more like a key of a key-value tuple. In some cases, for example custom tags, the key represents the actual tag value and the value field is not set – those are called valueless tags.
	TagKey  *UniversalTagKey     `json:"tagKey,omitempty"`  // has no documentation
	Value   *string              `json:"value,omitempty"`   // The value of the tag. Not applicable to custom tags.  If a tag does have a separate key and value (in the textual representation they are split by the colon ‘:’), this field is set with the actual value. Key-value pairs can occur for automatically imported tags and tags set by rules if extractors are used.
	Context *UniversalTagContext `json:"context,omitempty"` // The origin of the tag, such as AWS or Cloud Foundry. For custom tags use the `CONTEXTLESS` value.  The context is set for tags that are automatically imported by OneAgent (for example, from the AWS console or environment variables). It’s useful for determining the origin of tags when not manually defined, and it also helps to prevent clashes with other existing tags. If the tag is not automatically imported, `CONTEXTLESS` set.
}

UniversalTag Use only request attributes from services that have this tag. Use either this or `managementZone`

func (*UniversalTag) MarshalHCL

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

func (*UniversalTag) MarshalJSON

func (me *UniversalTag) MarshalJSON() ([]byte, error)

func (*UniversalTag) Schema

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

func (*UniversalTag) UnmarshalHCL

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

func (*UniversalTag) UnmarshalJSON

func (me *UniversalTag) UnmarshalJSON(data []byte) error

type UniversalTagContext

type UniversalTagContext string

UniversalTagContext The origin of the tag, such as AWS or Cloud Foundry. For custom tags use the `CONTEXTLESS` value. The context is set for tags that are automatically imported by OneAgent (for example, from the AWS console or environment variables). It’s useful for determining the origin of tags when not manually defined, and it also helps to prevent clashes with other existing tags. If the tag is not automatically imported, `CONTEXTLESS` set.

type UniversalTagKey

type UniversalTagKey struct {
	Key     *string                 `json:"key,omitempty"`     // has no documentation
	Context *UniversalTagKeyContext `json:"context,omitempty"` // has no documentation
}

UniversalTagKey has no documentation

func (*UniversalTagKey) MarshalHCL

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

func (*UniversalTagKey) MarshalJSON

func (me *UniversalTagKey) MarshalJSON() ([]byte, error)

func (*UniversalTagKey) Schema

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

func (*UniversalTagKey) UnmarshalHCL

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

func (*UniversalTagKey) UnmarshalJSON

func (me *UniversalTagKey) UnmarshalJSON(data []byte) error

type UniversalTagKeyContext

type UniversalTagKeyContext string

UniversalTagKeyContext has no documentation

Jump to

Keyboard shortcuts

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