package desktop
import "github.com/docker/compose/v2/internal/desktop"
Index ¶
- type Client
- func NewClient(apiEndpoint string) *Client
- func (c *Client) Close() error
- func (c *Client) Ping(ctx context.Context) (*PingResponse, error)
- type IntegrationService
- type PingResponse
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for integration with Docker Desktop features.
func NewClient ¶
NewClient creates a Desktop integration client for the provided in-memory socket address (AF_UNIX or named pipe).
func (*Client) Close ¶
Close releases any open connections.
func (*Client) Ping ¶
func (c *Client) Ping(ctx context.Context) (*PingResponse, error)
Ping is a minimal API used to ensure that the server is available.
type IntegrationService ¶
type PingResponse ¶
type PingResponse struct { ServerTime int64 `json:"serverTime"` }
Source Files ¶
- Version
- v2.25.0
- Published
- Mar 15, 2024
- Platform
- windows/amd64
- Imports
- 8 packages
- Last checked
- 7 minutes ago –
Tools for package owners.