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

Method IsMatch

backend/pkg/connector/patch/all.go:83–85  ·  view source on GitHub ↗

IsMatch implements the ConfigPatch.IsMatch interface.

(configKey, connectorClass string)

Source from the content-addressed store, hash-verified

81
82// IsMatch implements the ConfigPatch.IsMatch interface.
83func (c *ConfigPatchAll) IsMatch(configKey, connectorClass string) bool {
84 return c.ConfigurationKeySelector.IsMatch(configKey) && c.ConnectorClassSelector.IsMatch(connectorClass)
85}
86
87// PatchDefinition implements the ConfigPatch.PatchDefinition interface.
88func (c *ConfigPatchAll) PatchDefinition(d model.ConfigDefinition, _ string) model.ConfigDefinition {

Callers 1

TestPatchConfigAllFunction · 0.95

Calls 1

IsMatchMethod · 0.65

Tested by 1

TestPatchConfigAllFunction · 0.76