Documentation
¶
Overview ¶
Package hosttags provides access to host tags
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tags ¶
type Tags struct { System []string `json:"system"` GoogleCloudPlatform []string `json:"google cloud platform,omitempty"` }
Tags contains the detected host tags
func Get ¶
Get the host tags, optionally looking in the cache There are two levels of caching: - First one controlled by `cached` boolean, used for performances (cache all tags) - Second one per provider, to avoid missing host tags for 30 minutes when a component fails (for instance, Cluster Agent). This second layer is always on.
Click to show internal directories.
Click to hide internal directories.