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

Function create

frontend/src/state/backend-api.ts:2551–2558  ·  view source on GitHub ↗
(secret: CreateSecretRequest)

Source from the content-addressed store, hash-verified

2549 await client.deleteSecret({ request: secret });
2550 },
2551 async create(secret: CreateSecretRequest) {
2552 const client = appConfig.rpcnSecretsClient;
2553 if (!client) {
2554 throw new Error('redpanda connect secret client is not initialized');
2555 }
2556
2557 await client.createSecret({ request: secret });
2558 },
2559 async update(_id: string, updateSecretRequest: UpdateSecretRequest) {
2560 const client = appConfig.rpcnSecretsClient;
2561 if (!client) {

Callers 15

createPipelineFunction · 0.85
updatePipelineFunction · 0.85
configureUserPermissionsFunction · 0.85
createUsernameSecretFunction · 0.85
createPasswordSecretFunction · 0.85
createKafkaUserFunction · 0.85
schema.test.tsxFile · 0.85
createFieldFunction · 0.85

Calls

no outgoing calls

Tested by 15

createTransportFunction · 0.68
buildTransportFunction · 0.68
createTransportFunction · 0.68
createRangeQueryResponseFunction · 0.68
createTestTransportFunction · 0.68
createPipelineFunction · 0.68
buildTransportFunction · 0.68
createMockShadowLinkFunction · 0.68
createBaseShadowLinkFunction · 0.68
createMockShadowLinkFunction · 0.68
makeTransportFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…