Versions in this module Expand all Collapse all v0 v0.19.0 Sep 30, 2018 Changes in this version + type Category struct + AssociableTypes []string + Cardinality string + Description string + ID string + Name string + UsedBy []string + func (c *Category) Patch(src *Category) + type Manager struct + func NewManager(client *rest.Client) *Manager + func (c *Manager) AttachTag(ctx context.Context, tagID string, ref mo.Reference) error + func (c *Manager) CreateCategory(ctx context.Context, category *Category) (string, error) + func (c *Manager) CreateTag(ctx context.Context, tag *Tag) (string, error) + func (c *Manager) DeleteCategory(ctx context.Context, category *Category) error + func (c *Manager) DeleteTag(ctx context.Context, tag *Tag) error + func (c *Manager) DetachTag(ctx context.Context, tagID string, ref mo.Reference) error + func (c *Manager) GetAttachedTags(ctx context.Context, ref mo.Reference) ([]Tag, error) + func (c *Manager) GetCategories(ctx context.Context) ([]Category, error) + func (c *Manager) GetCategory(ctx context.Context, id string) (*Category, error) + func (c *Manager) GetTag(ctx context.Context, id string) (*Tag, error) + func (c *Manager) GetTags(ctx context.Context) ([]Tag, error) + func (c *Manager) GetTagsForCategory(ctx context.Context, id string) ([]Tag, error) + func (c *Manager) ListAttachedObjects(ctx context.Context, tagID string) ([]mo.Reference, error) + func (c *Manager) ListAttachedTags(ctx context.Context, ref mo.Reference) ([]string, error) + func (c *Manager) ListCategories(ctx context.Context) ([]string, error) + func (c *Manager) ListTags(ctx context.Context) ([]string, error) + func (c *Manager) ListTagsForCategory(ctx context.Context, id string) ([]string, error) + func (c *Manager) UpdateCategory(ctx context.Context, category *Category) error + func (c *Manager) UpdateTag(ctx context.Context, tag *Tag) error + type Tag struct + CategoryID string + Description string + ID string + Name string + UsedBy []string + func (t *Tag) Patch(src *Tag)