Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAO ¶
type DAO interface { // ListByResourceTypeID Lists tags by resourceType and resourceID ListByResourceTypeID(ctx context.Context, resourceType string, resourceID uint) ([]*models.Tag, error) // ListByResourceTypeIDs ListByResourceTypeID Lists tags by resourceType and resourceIDs // if distinct enabled, tags only contains tag_key and tag_value ListByResourceTypeIDs(ctx context.Context, resourceType string, resourceIDs []uint, deduplicate bool) ([]*models.Tag, error) // UpsertByResourceTypeID upsert tags UpsertByResourceTypeID(ctx context.Context, resourceType string, resourceID uint, tags []*models.Tag) error GetMetatagKeys(ctx context.Context) ([]string, error) }
Click to show internal directories.
Click to hide internal directories.