MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / OnEnvRequest

Method OnEnvRequest

internal/sshserver/handler.go:352–352  ·  view source on GitHub ↗

endregion region Requests before program execution OnEnvRequest is called when the client requests an environment variable to be set. The implementation can return an error to reject the request.

(
		requestID uint64,
		name string,
		value string,
	)

Source from the content-addressed store, hash-verified

350 // OnEnvRequest is called when the client requests an environment variable to be set. The implementation can return
351 // an error to reject the request.
352 OnEnvRequest(
353 requestID uint64,
354 name string,
355 value string,

Callers 5

OnEnvRequestMethod · 0.65
OnEnvRequestMethod · 0.65
OnExecRequestMethod · 0.65
OnSubsystemMethod · 0.65
onEnvRequestMethod · 0.65

Implementers 8

sessionChannelHandlerinternal/auditlogintegration/handler_s
backendHandlerinternal/auditlogintegration/integrati
sessionHandlerinternal/security/handler_session.go
dummyBackendinternal/security/handler_session_test
channelHandlerinternal/kubernetes/channelHandler.go
AbstractSessionChannelHandlerinternal/sshserver/AbstractSessionChan
dummySessioninternal/metricsintegration/integratio
sshChannelHandlerinternal/sshproxy/sshChannelHandler.go

Calls

no outgoing calls

Tested by

no test coverage detected