Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTagNotFound = errors.New("tag: not found") ErrTagUnexpectedAffectedRows = errors.New("tag: unexpected affected rows") )
Functions ¶
This section is empty.
Types ¶
type TagStorage ¶
type TagStorage interface { UpsertTag(ctx context.Context, tag *domain.Tag) error GetTag(ctx context.Context, id, environmentId string) (*domain.Tag, error) ListTags( ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, limit, offset int, ) ([]*proto.Tag, int, int64, error) ListAllEnvironmentTags(ctx context.Context) ([]*proto.EnvironmentTag, error) DeleteTag(ctx context.Context, id, environmentId string) error }
func NewTagStorage ¶
func NewTagStorage(qe mysql.QueryExecer) TagStorage
Click to show internal directories.
Click to hide internal directories.