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

Method IsMatch

backend/pkg/connector/patch/common.go:52–54  ·  view source on GitHub ↗

IsMatch implements the ConfigPatch.IsMatch interface.

(configKey, connectorClass string)

Source from the content-addressed store, hash-verified

50
51// IsMatch implements the ConfigPatch.IsMatch interface.
52func (c *ConfigPatchCommon) IsMatch(configKey, connectorClass string) bool {
53 return c.ConfigurationKeySelector.IsMatch(configKey) && c.ConnectorClassSelector.IsMatch(connectorClass)
54}
55
56// PatchDefinition implements the ConfigPatch.PatchDefinition interface.
57func (*ConfigPatchCommon) PatchDefinition(d model.ConfigDefinition, _ string) model.ConfigDefinition {

Callers

nothing calls this directly

Calls 1

IsMatchMethod · 0.65

Tested by

no test coverage detected