tag

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TagsService

type TagsService struct {
	common.RestAPI
}

func NewTagsService

func NewTagsService(c *client.Client) *TagsService

NewTagService returns the session's tag service.

func (*TagsService) GetTag

func (t *TagsService) GetTag(ctx context.Context, id string) (*types.Tag, error)

func (*TagsService) ListAttachedTags

func (t *TagsService) ListAttachedTags(ctx context.Context, targetType string, ref string) ([]string, error)

ListAttachedTags fetches the array of tag IDs attached to the given object.

Jump to

Keyboard shortcuts

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