Documentation ¶
Index ¶
Constants ¶
View Source
const PlugName string = "vctags"
PlugName contains the name of this plugin
Variables ¶
View Source
var (
ErrorNoVcTagMgr = errors.New("no vSphere tag manager, please create one")
)
Common raised errors
Functions ¶
This section is empty.
Types ¶
type VcTagCache ¶
type VcTagCache struct { tls.ClientConfig // contains filtered or unexported fields }
func (*VcTagCache) Get ¶
func (c *VcTagCache) Get(k string) (map[string]string, bool)
Get returns tags from the cache corresponding to the given moid
func (*VcTagCache) Run ¶
func (c *VcTagCache) Run(ctx context.Context, pollInterval time.Duration)
Run executes a permanent loop waiting for context end or cache refresh trigger
func (*VcTagCache) SetCategoryFilter ¶
func (c *VcTagCache) SetCategoryFilter(cats []string)
SetCategoryFilter allows configuring a filter of tag categories to read from vSphere
Click to show internal directories.
Click to hide internal directories.