sqlresultmasker

package
v0.0.0-...-e37dd3a Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MaskWorkbenchResultsArgs

type MaskWorkbenchResultsArgs struct {
	Rows         [][]any  `json:"rows"`
	ColumnNames  []string `json:"column_names"`
	SQL          string   `json:"sql"`
	DBServiceUID string   `json:"db_service_uid"`
	SchemaName   string   `json:"schema_name"`
	ProjectUID   string   `json:"project_uid"`
}

MaskWorkbenchResultsArgs carries tabular SQL workbench (ODC) result data and masking scope. Rows are masked in place.

type SQLResultMasker

type SQLResultMasker interface {
	MaskSQLWorkbenchResults(ctx context.Context, args *MaskWorkbenchResultsArgs) (map[string]bool, error)
}

SQLResultMasker masks SQL workbench (ODC) tabular result rows in place and reports which columns were masked.

Jump to

Keyboard shortcuts

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