9d3a4e236d
* rename some stuff * more renaming * clean up api * rename more functions * rename cms -> gms * update comment * update swagger gen * update endpoints * overzealous * final touches * dont modify existing migrations * break structs into domain and dtos * add some conversion funcs * fix build * update frontend * try to make swagger happy
15 lines
395 B
Go
15 lines
395 B
Go
package gmsclient
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/grafana/grafana/pkg/services/cloudmigration"
|
|
)
|
|
|
|
type Client interface {
|
|
ValidateKey(context.Context, cloudmigration.CloudMigrationSession) error
|
|
MigrateData(context.Context, cloudmigration.CloudMigrationSession, cloudmigration.MigrateDataRequest) (*cloudmigration.MigrateDataResponse, error)
|
|
}
|
|
|
|
const logPrefix = "cloudmigration.gmsclient"
|