Documentation ¶
Overview ¶
Copyright © 2020 Marvin
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2020 Marvin ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2020 Marvin ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2020 Marvin ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2020 Marvin ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2020 Marvin ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func AssessOracleColumnNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableColumnNameLengthCheck, public.ReportSummary, error)
- func AssessOracleDBOverview(oracle *oracle.Oracle, ...) (*public.ReportOverview, public.ReportSummary, error)
- func AssessOracleIndexNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableIndexNameLengthCheck, public.ReportSummary, error)
- func AssessOracleMaxActiveSessionCount(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaActiveSession, public.ReportSummary, error)
- func AssessOraclePartitionTableCountsCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaPartitionTableCountsCheck, public.ReportSummary, error)
- func AssessOracleSchemaCodeOverview(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaCodeObject, public.ReportSummary, error)
- func AssessOracleSchemaColumnTypeCompatible(schemaName []string, oracle *oracle.Oracle, ...) ([]public.SchemaColumnTypeCompatibles, public.ReportSummary, error)
- func AssessOracleSchemaConstraintTypeCompatible(schemaName []string, oracle *oracle.Oracle, ...) ([]public.SchemaConstraintTypeCompatibles, public.ReportSummary, error)
- func AssessOracleSchemaDefaultValue(schemaName []string, oracle *oracle.Oracle, ...) ([]public.SchemaDefaultValueCompatibles, public.ReportSummary, error)
- func AssessOracleSchemaIndexTypeCompatible(schemaName []string, oracle *oracle.Oracle, ...) ([]public.SchemaIndexTypeCompatibles, public.ReportSummary, error)
- func AssessOracleSchemaMaterializedViewOverview(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaMaterializedViewObject, public.ReportSummary, error)
- func AssessOracleSchemaObjectTypeCompatible(schemaName []string, oracle *oracle.Oracle, ...) ([]public.SchemaObjectTypeCompatibles, public.ReportSummary, error)
- func AssessOracleSchemaOverview(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableSizeData, public.ReportSummary, error)
- func AssessOracleSchemaPartitionTypeCompatible(schemaName []string, oracle *oracle.Oracle, ...) ([]public.SchemaPartitionTypeCompatibles, public.ReportSummary, error)
- func AssessOracleSchemaSubPartitionTypeCompatible(schemaName []string, oracle *oracle.Oracle, ...) ([]public.SchemaSubPartitionTypeCompatibles, public.ReportSummary, error)
- func AssessOracleSchemaSynonymOverview(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaSynonymObject, public.ReportSummary, error)
- func AssessOracleSchemaTableAvgRowLengthTOP(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableAvgRowLengthTOP, public.ReportSummary, error)
- func AssessOracleSchemaTableNumberTypeEqual0(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableNumberTypeEqual0, public.ReportSummary, error)
- func AssessOracleSchemaTableRowsTOP(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableRowsTOP, public.ReportSummary, error)
- func AssessOracleSchemaTableTypeCompatible(schemaName []string, oracle *oracle.Oracle, ...) ([]public.SchemaTableTypeCompatibles, public.ReportSummary, error)
- func AssessOracleSchemaTemporaryTableCompatible(schemaName []string, oracle *oracle.Oracle, ...) ([]public.SchemaTemporaryTableTypeCompatibles, public.ReportSummary, error)
- func AssessOracleSchemaViewTypeCompatible(schemaName []string, oracle *oracle.Oracle, ...) ([]public.SchemaViewTypeCompatibles, public.ReportSummary, error)
- func AssessOracleSequenceNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaSequenceNameLengthCheck, public.ReportSummary, error)
- func AssessOracleTableColumnCountsCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableColumnCountsCheck, public.ReportSummary, error)
- func AssessOracleTableIndexCountsCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableIndexCountsCheck, public.ReportSummary, error)
- func AssessOracleTableIndexRowLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableIndexRowLengthCheck, public.ReportSummary, error)
- func AssessOracleTableNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableNameLengthCheck, public.ReportSummary, error)
- func AssessOracleTableRowLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableRowLengthCheck, public.ReportSummary, error)
- func AssessOracleUsernameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.UsernameLengthCheck, public.ReportSummary, error)
- func AssessOracleViewNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaViewNameLengthCheck, public.ReportSummary, error)
- func GetAssessDatabaseCheckResult(schemaName []string, oracle *oracle.Oracle) (*public.ReportCheck, *public.ReportSummary, error)
- func GetAssessDatabaseCompatibleResult(ctx context.Context, metaDB *meta.Meta, oracle *oracle.Oracle, ...) (*public.ReportCompatible, *public.ReportSummary, error)
- func GetAssessDatabaseOverviewResult(ctx context.Context, metaDB *meta.Meta, oracle *oracle.Oracle, ...) (*public.ReportOverview, public.ReportSummary, error)
- func GetAssessDatabaseRelatedResult(schemaName []string, oracle *oracle.Oracle) (*public.ReportRelated, *public.ReportSummary, error)
- func GetAssessDatabaseReport(ctx context.Context, metaDB *meta.Meta, oracle *oracle.Oracle, ...) (*public.Report, error)
- type Assess
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssessOracleColumnNameLengthCheck ¶
func AssessOracleColumnNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableColumnNameLengthCheck, public.ReportSummary, error)
func AssessOracleDBOverview ¶
func AssessOracleDBOverview(oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible, reportName, reportUser string) (*public.ReportOverview, public.ReportSummary, error)
Oracle Database Overview
func AssessOracleIndexNameLengthCheck ¶
func AssessOracleIndexNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableIndexNameLengthCheck, public.ReportSummary, error)
func AssessOracleMaxActiveSessionCount ¶
func AssessOracleMaxActiveSessionCount(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaActiveSession, public.ReportSummary, error)
func AssessOraclePartitionTableCountsCheck ¶
func AssessOraclePartitionTableCountsCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaPartitionTableCountsCheck, public.ReportSummary, error)
Oracle Database Check
func AssessOracleSchemaCodeOverview ¶
func AssessOracleSchemaCodeOverview(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaCodeObject, public.ReportSummary, error)
func AssessOracleSchemaColumnTypeCompatible ¶
func AssessOracleSchemaColumnTypeCompatible(schemaName []string, oracle *oracle.Oracle, buildinDatatypeMap map[string]meta.BuildinDatatypeRule) ([]public.SchemaColumnTypeCompatibles, public.ReportSummary, error)
func AssessOracleSchemaConstraintTypeCompatible ¶
func AssessOracleSchemaConstraintTypeCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]public.SchemaConstraintTypeCompatibles, public.ReportSummary, error)
func AssessOracleSchemaDefaultValue ¶
func AssessOracleSchemaDefaultValue(schemaName []string, oracle *oracle.Oracle, defaultValueMap map[string]meta.BuildinGlobalDefaultval) ([]public.SchemaDefaultValueCompatibles, public.ReportSummary, error)
func AssessOracleSchemaIndexTypeCompatible ¶
func AssessOracleSchemaIndexTypeCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]public.SchemaIndexTypeCompatibles, public.ReportSummary, error)
func AssessOracleSchemaMaterializedViewOverview ¶
func AssessOracleSchemaMaterializedViewOverview(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaMaterializedViewObject, public.ReportSummary, error)
func AssessOracleSchemaObjectTypeCompatible ¶
func AssessOracleSchemaObjectTypeCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]public.SchemaObjectTypeCompatibles, public.ReportSummary, error)
func AssessOracleSchemaOverview ¶
func AssessOracleSchemaOverview(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableSizeData, public.ReportSummary, error)
Oracle Database Reference
func AssessOracleSchemaPartitionTypeCompatible ¶
func AssessOracleSchemaPartitionTypeCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]public.SchemaPartitionTypeCompatibles, public.ReportSummary, error)
func AssessOracleSchemaSubPartitionTypeCompatible ¶
func AssessOracleSchemaSubPartitionTypeCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]public.SchemaSubPartitionTypeCompatibles, public.ReportSummary, error)
func AssessOracleSchemaSynonymOverview ¶
func AssessOracleSchemaSynonymOverview(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaSynonymObject, public.ReportSummary, error)
func AssessOracleSchemaTableAvgRowLengthTOP ¶
func AssessOracleSchemaTableAvgRowLengthTOP(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableAvgRowLengthTOP, public.ReportSummary, error)
func AssessOracleSchemaTableNumberTypeEqual0 ¶
func AssessOracleSchemaTableNumberTypeEqual0(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableNumberTypeEqual0, public.ReportSummary, error)
func AssessOracleSchemaTableRowsTOP ¶
func AssessOracleSchemaTableRowsTOP(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableRowsTOP, public.ReportSummary, error)
func AssessOracleSchemaTableTypeCompatible ¶
func AssessOracleSchemaTableTypeCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]public.SchemaTableTypeCompatibles, public.ReportSummary, error)
Oracle Database Compatible
func AssessOracleSchemaTemporaryTableCompatible ¶
func AssessOracleSchemaTemporaryTableCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]public.SchemaTemporaryTableTypeCompatibles, public.ReportSummary, error)
func AssessOracleSchemaViewTypeCompatible ¶
func AssessOracleSchemaViewTypeCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]public.SchemaViewTypeCompatibles, public.ReportSummary, error)
func AssessOracleSequenceNameLengthCheck ¶
func AssessOracleSequenceNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaSequenceNameLengthCheck, public.ReportSummary, error)
func AssessOracleTableColumnCountsCheck ¶
func AssessOracleTableColumnCountsCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableColumnCountsCheck, public.ReportSummary, error)
func AssessOracleTableIndexCountsCheck ¶
func AssessOracleTableIndexCountsCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableIndexCountsCheck, public.ReportSummary, error)
func AssessOracleTableIndexRowLengthCheck ¶
func AssessOracleTableIndexRowLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableIndexRowLengthCheck, public.ReportSummary, error)
func AssessOracleTableNameLengthCheck ¶
func AssessOracleTableNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableNameLengthCheck, public.ReportSummary, error)
func AssessOracleTableRowLengthCheck ¶
func AssessOracleTableRowLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaTableRowLengthCheck, public.ReportSummary, error)
func AssessOracleUsernameLengthCheck ¶
func AssessOracleUsernameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.UsernameLengthCheck, public.ReportSummary, error)
func AssessOracleViewNameLengthCheck ¶
func AssessOracleViewNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]public.SchemaViewNameLengthCheck, public.ReportSummary, error)
func GetAssessDatabaseCheckResult ¶
func GetAssessDatabaseCheckResult(schemaName []string, oracle *oracle.Oracle) (*public.ReportCheck, *public.ReportSummary, error)
Oracle Database Check
func GetAssessDatabaseCompatibleResult ¶
func GetAssessDatabaseCompatibleResult(ctx context.Context, metaDB *meta.Meta, oracle *oracle.Oracle, schemaName []string, dbTypeS, dbTypeT string) (*public.ReportCompatible, *public.ReportSummary, error)
Oracle Database Compatible
func GetAssessDatabaseOverviewResult ¶
func GetAssessDatabaseOverviewResult(ctx context.Context, metaDB *meta.Meta, oracle *oracle.Oracle, reportName, reportUser, dbTypeS, dbTypeT string) (*public.ReportOverview, public.ReportSummary, error)
Oracle Database Overview
func GetAssessDatabaseRelatedResult ¶
func GetAssessDatabaseRelatedResult(schemaName []string, oracle *oracle.Oracle) (*public.ReportRelated, *public.ReportSummary, error)
Oracle Database Related