o2m

package
v1.0.33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

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.

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.

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.

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.

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.

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

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

func GetAssessDatabaseReport

func GetAssessDatabaseReport(ctx context.Context, metaDB *meta.Meta, oracle *oracle.Oracle, schemaName []string, reportName, reportUser, dbTypeS, dbTypeT string) (*public.Report, error)

Types

type Assess

type Assess struct {
	// contains filtered or unexported fields
}

func NewAssess

func NewAssess(ctx context.Context, cfg *config.Config) (*Assess, error)

func (*Assess) Assess

func (r *Assess) Assess() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL