MCPcopy
hub / github.com/cli/cli / CreateJob

Method CreateJob

pkg/cmd/agent-task/capi/client.go:15–15  ·  view source on GitHub ↗
(ctx context.Context, owner, repo, problemStatement, baseBranch string, customAgent string)

Source from the content-addressed store, hash-verified

13type CapiClient interface {
14 ListLatestSessionsForViewer(ctx context.Context, limit int) ([]*Session, error)
15 CreateJob(ctx context.Context, owner, repo, problemStatement, baseBranch string, customAgent string) (*Job, error)
16 GetJob(ctx context.Context, owner, repo, jobID string) (*Job, error)
17 GetSession(ctx context.Context, id string) (*Session, error)
18 GetSessionLogs(ctx context.Context, id string) ([]byte, error)

Callers 1

createRunFunction · 0.65

Implementers 2

CAPIClientpkg/cmd/agent-task/capi/client.go
CapiClientMockpkg/cmd/agent-task/capi/client_mock.go

Calls

no outgoing calls

Tested by

no test coverage detected