MCPcopy Create free account
hub / github.com/Atsika/aznet / CleanupBootstrap

Method CleanupBootstrap

azqueue.go:214–221  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

212 }
213 reqSAS, err := p.makeSAS(reqName, sas.QueuePermissions{Add: true})
214 if err != nil {
215 return SessionTokens{}, fmt.Errorf("%w: %v", ErrSASGenerationFailed, err)
216 }
217 resSAS, err := p.makeSAS(resName, sas.QueuePermissions{Read: true, Process: true})
218 if err != nil {
219 return SessionTokens{}, fmt.Errorf("%w: %v", ErrSASGenerationFailed, err)
220 }
221 return SessionTokens{Req: reqSAS, Res: resSAS}, nil
222}
223
224func (p *queueDriver) NewTransport(_ context.Context, connID string, tokens SessionTokens, isInitiator bool) (Transport, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected