Files
Paweł Gronowski fca6d1f16d extpoints: Let extensions use a regular Engine API client
Extensions had no supported way to call the Engine API.
The configured hosts may be socket-activated or TLS-only TCP.

Add the org.mobyproject.extension.daemon.api.v0 point.
It returns the address of a private unix socket where the daemon serves
its regular API handler.

daemonapiv0.NewClient helper resolves the point and returns a
*client.Client.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-11-04 19:47:55 +01:00

22 lines
493 B
Protocol Buffer
Generated

// Code generated by mobyextgen. DO NOT EDIT.
syntax = "proto3";
package org.mobyproject.extension.daemon.api.v0;
option go_package = "github.com/moby/moby/v2/extpoints/daemonapi/v0/protogen";
// DaemonAPI locates the Engine API endpoint the daemon serves for extensions.
// Use [NewClient] instead of calling it directly.
service DaemonAPI {
// Get returns the endpoint.
rpc Get(GetRequest) returns (GetResponse);
}
message GetRequest {
}
message GetResponse {
string host = 1;
}