Documentation
¶
Index ¶
- func GenerateQueryAssessmentReport(queries []utils.QueryTranslationResult, outputPath string) error
- func GenerateReport(dbName string, assessmentOutput utils.AssessmentOutput)
- func PerformAssessment(conv *internal.Conv, sourceProfile profiles.SourceProfile, ...) (utils.AssessmentOutput, error)
- type AIClientService
- type CodeReportRow
- type SchemaReportRow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateQueryAssessmentReport ¶
func GenerateQueryAssessmentReport(queries []utils.QueryTranslationResult, outputPath string) error
func GenerateReport ¶
func GenerateReport(dbName string, assessmentOutput utils.AssessmentOutput)
func PerformAssessment ¶
func PerformAssessment(conv *internal.Conv, sourceProfile profiles.SourceProfile, assessmentConfig map[string]string, projectId string) (utils.AssessmentOutput, error)
Types ¶
type AIClientService ¶
type AIClientService struct {
NewClientFunc func(ctx context.Context, projectID, location string, opts ...option.ClientOption) (*genai.Client, error)
TranslateQueriesFunc func(ctx context.Context, queries []utils.QueryTranslationInput, aiClient *genai.Client, mysqlSchema, spannerSchema string) ([]utils.QueryTranslationResult, error)
}
type CodeReportRow ¶
type CodeReportRow struct {
// contains filtered or unexported fields
}
type SchemaReportRow ¶
type SchemaReportRow struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.