MCPcopy Index your code
hub / github.com/cli/cli / CAPIClient

Struct CAPIClient

pkg/cmd/agent-task/capi/client.go:24–28  ·  view source on GitHub ↗

CAPIClient is a client for interacting with the Copilot API

Source from the content-addressed store, hash-verified

22
23// CAPIClient is a client for interacting with the Copilot API
24type CAPIClient struct {
25 httpClient *http.Client
26 host string
27 capiBaseURL string
28}
29
30// NewCAPIClient creates a new CAPI client. Provide a token, the user's GitHub
31// host, the resolved Copilot API URL, and an HTTP client which will be used as

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected