MCPcopy
hub / github.com/redpanda-data/console / ConfigPatch

Interface ConfigPatch

backend/pkg/connector/patch/patch.go:25–32  ·  view source on GitHub ↗

ConfigPatch is an interface that can be implemented to patch one or more aspects of a configuration that exists in one or more connector configurations. For instance the importance for all "ssl."-prefix configuration keys can be lowered to "LOW", across all connector plugins that report this configu

Source from the content-addressed store, hash-verified

23// the importance for all "ssl."-prefix configuration keys can be lowered to "LOW",
24// across all connector plugins that report this configuration.
25type ConfigPatch interface {
26 // IsMatch determines if the definition and value shall be patched for a given
27 // configuration key or connector class.
28 IsMatch(configKey, connectorClass string) bool
29
30 // PatchDefinition lets you change the definition.
31 PatchDefinition(definition model.ConfigDefinition, connectorClass string) model.ConfigDefinition
32}
33
34// IncludeExcludeSelector is a selector consisting of two regexes that you can use
35// to match a string. The Include regex is used to match results that generally qualify

Callers 9

applyConfigPatchesMethod · 0.65
IsMatchMethod · 0.65
IsMatchMethod · 0.65
IsMatchMethod · 0.65
IsMatchMethod · 0.65
IsMatchMethod · 0.65
IsMatchMethod · 0.65
IsMatchMethod · 0.65
applyConfigPatchesMethod · 0.65

Implementers 15

ConfigPatchRedpandaGCSbackend/pkg/connector/patch/redpanda_g
ConfigPatchAllbackend/pkg/connector/patch/all.go
ConfigPatchJdbcSourcebackend/pkg/connector/patch/jdbc_sourc
ConfigPatchDebeziumMysqlSourcebackend/pkg/connector/patch/debezium_m
ConfigPatchDebeziumSQLServerSourcebackend/pkg/connector/patch/debezium_s
ConfigPatchCommonbackend/pkg/connector/patch/common.go
ConfigPatchSnowflakebackend/pkg/connector/patch/snowflake_
ConfigPatchRedpandaS3backend/pkg/connector/patch/redpanda_s
ConfigPatchBigQuerybackend/pkg/connector/patch/bigquery_s
ConfigPatchMongoDBbackend/pkg/connector/patch/mongo.go
ConfigPatchMirrorSourcebackend/pkg/connector/patch/mirror.go
ConfigPatchIcebergSinkbackend/pkg/connector/patch/iceberg_si

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…