mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-05-09 22:08:12 +00:00
refactor: use one struct for context handling and cancellation
This commit is contained in:
@@ -7,7 +7,14 @@ import (
|
||||
"github.com/tinyauthapp/tinyauth/internal/utils/tlog"
|
||||
)
|
||||
|
||||
type LabelProvider interface {
|
||||
type LabelProvider int
|
||||
|
||||
const (
|
||||
LabelProviderDocker LabelProvider = iota
|
||||
LabelProviderKubernetes
|
||||
)
|
||||
|
||||
type LabelProviderImpl interface {
|
||||
GetLabels(appDomain string) (*model.App, error)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user