Documentation ¶
Index ¶
- func WithAddr(addr string) func(proxy *Proxy)
- func WithHttpClient(httpClient *http.Client) func(proxy *Proxy)
- func WithServerUrl(serverUrl string, creds clientcredentials.Config) func(proxy *Proxy)
- type Proxy
- func (s *Proxy) Run() error
- func (s *Proxy) StreamLogs(ctx context.Context, req *connect.Request[agentv1.StreamLogsRequest]) (*connect.Response[agentv1.StreamLogsResponse], error)
- func (s *Proxy) UploadLogs(ctx context.Context, req *connect.Request[agentv1.UploadLogsRequest]) (*connect.Response[agentv1.UploadLogsResponse], error)
- func (s *Proxy) UploadPlan(ctx context.Context, req *connect.Request[agentv1.UploadPlanRequest]) (*connect.Response[agentv1.UploadPlanResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithHttpClient ¶
func WithServerUrl ¶
func WithServerUrl(serverUrl string, creds clientcredentials.Config) func(proxy *Proxy)
Types ¶
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func (*Proxy) StreamLogs ¶
func (*Proxy) UploadLogs ¶
func (*Proxy) UploadPlan ¶
Click to show internal directories.
Click to hide internal directories.