mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 15:26:40 +00:00
13 lines
399 B
Go
13 lines
399 B
Go
package domain
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Manager interface {
|
|
GetDomains(ctx context.Context, accountID, userID string) ([]*Domain, error)
|
|
CreateDomain(ctx context.Context, accountID, userID, domainName, targetCluster string) (*Domain, error)
|
|
DeleteDomain(ctx context.Context, accountID, userID, domainID string) error
|
|
ValidateDomain(ctx context.Context, accountID, userID, domainID string)
|
|
}
|