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 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. StringRepresentation *string `json:"stringRepresentation,omitempty"` // The string representation of the tag. }
TagFilter A tag-based filter of monitored entities.
func (*TagFilter) MarshalHCL ¶
type TagFilters ¶
type TagFilters []*TagFilter
func (TagFilters) MarshalHCL ¶
func (me TagFilters) MarshalHCL() (map[string]interface{}, error)
func (*TagFilters) UnmarshalHCL ¶
func (me *TagFilters) UnmarshalHCL(decoder hcl.Decoder) error
Click to show internal directories.
Click to hide internal directories.