The Client metadata of the main client caller (i.e. the one who created the session, typically the CLI invoked by the user)
(ctx context.Context)
| 1941 | // The Client metadata of the main client caller (i.e. the one who created the |
| 1942 | // session, typically the CLI invoked by the user) |
| 1943 | func (srv *Server) MainClientCallerMetadata(ctx context.Context) (*engine.ClientMetadata, error) { |
| 1944 | client, err := srv.clientFromContext(ctx) |
| 1945 | if err != nil { |
| 1946 | return nil, err |
| 1947 | } |
| 1948 | return srv.SpecificClientMetadata(ctx, client.daggerSession.mainClientCallerID) |
| 1949 | } |
| 1950 | |
| 1951 | // The Client metadata of a specific client ID within the same session as the |
| 1952 | // current client. |
nothing calls this directly
no test coverage detected