Documentation
¶
Index ¶
- func CurrentBranch(ctx context.Context) (string, error)
- func PushBranch(ctx context.Context) (string, error)
- func RepoRoot(ctx context.Context) (string, error)
- func RunGit(ctx context.Context, args ...string) (string, error)
- type CreatePRTool
- type FetchHotspotsTool
- type GitCommitTool
- type GitDiffTool
- type GitFetchTool
- type GitLogTool
- type GitMergeTool
- type GitRebaseTool
- type GitStashTool
- type GitStatusTool
- type PRInput
- type ParseConflictsTool
- type Registry
- type ResolveConflictTool
- type RunLintTool
- type RunTestsTool
- type Tool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreatePRTool ¶
type CreatePRTool struct {
Base string
}
func (CreatePRTool) Description ¶
func (t CreatePRTool) Description() string
func (CreatePRTool) Name ¶
func (t CreatePRTool) Name() string
func (CreatePRTool) RiskLevel ¶
func (t CreatePRTool) RiskLevel() approval.RiskLevel
type FetchHotspotsTool ¶
type FetchHotspotsTool struct{}
func (FetchHotspotsTool) Description ¶
func (t FetchHotspotsTool) Description() string
func (FetchHotspotsTool) Name ¶
func (t FetchHotspotsTool) Name() string
func (FetchHotspotsTool) RiskLevel ¶
func (t FetchHotspotsTool) RiskLevel() approval.RiskLevel
type GitCommitTool ¶
type GitCommitTool struct{}
func (GitCommitTool) Description ¶
func (t GitCommitTool) Description() string
func (GitCommitTool) Name ¶
func (t GitCommitTool) Name() string
func (GitCommitTool) RiskLevel ¶
func (t GitCommitTool) RiskLevel() approval.RiskLevel
type GitDiffTool ¶
type GitDiffTool struct{}
func (GitDiffTool) Description ¶
func (t GitDiffTool) Description() string
func (GitDiffTool) Name ¶
func (t GitDiffTool) Name() string
func (GitDiffTool) RiskLevel ¶
func (t GitDiffTool) RiskLevel() approval.RiskLevel
type GitFetchTool ¶
type GitFetchTool struct{}
func (GitFetchTool) Description ¶
func (t GitFetchTool) Description() string
func (GitFetchTool) Name ¶
func (t GitFetchTool) Name() string
func (GitFetchTool) RiskLevel ¶
func (t GitFetchTool) RiskLevel() approval.RiskLevel
type GitLogTool ¶
type GitLogTool struct{}
func (GitLogTool) Description ¶
func (t GitLogTool) Description() string
func (GitLogTool) Name ¶
func (t GitLogTool) Name() string
func (GitLogTool) RiskLevel ¶
func (t GitLogTool) RiskLevel() approval.RiskLevel
type GitMergeTool ¶
type GitMergeTool struct {
Base string
}
func (GitMergeTool) Description ¶
func (t GitMergeTool) Description() string
func (GitMergeTool) Name ¶
func (t GitMergeTool) Name() string
func (GitMergeTool) RiskLevel ¶
func (t GitMergeTool) RiskLevel() approval.RiskLevel
type GitRebaseTool ¶
type GitRebaseTool struct {
Base string
}
func (GitRebaseTool) Description ¶
func (t GitRebaseTool) Description() string
func (GitRebaseTool) Name ¶
func (t GitRebaseTool) Name() string
func (GitRebaseTool) RiskLevel ¶
func (t GitRebaseTool) RiskLevel() approval.RiskLevel
type GitStashTool ¶
type GitStashTool struct{}
func (GitStashTool) Description ¶
func (t GitStashTool) Description() string
func (GitStashTool) Name ¶
func (t GitStashTool) Name() string
func (GitStashTool) RiskLevel ¶
func (t GitStashTool) RiskLevel() approval.RiskLevel
type GitStatusTool ¶
type GitStatusTool struct{}
func (GitStatusTool) Description ¶
func (t GitStatusTool) Description() string
func (GitStatusTool) Name ¶
func (t GitStatusTool) Name() string
func (GitStatusTool) RiskLevel ¶
func (t GitStatusTool) RiskLevel() approval.RiskLevel
type ParseConflictsTool ¶
type ParseConflictsTool struct{}
func (ParseConflictsTool) Description ¶
func (t ParseConflictsTool) Description() string
func (ParseConflictsTool) Name ¶
func (t ParseConflictsTool) Name() string
func (ParseConflictsTool) RiskLevel ¶
func (t ParseConflictsTool) RiskLevel() approval.RiskLevel
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry() *Registry
type ResolveConflictTool ¶
type ResolveConflictTool struct{}
func (ResolveConflictTool) Description ¶
func (t ResolveConflictTool) Description() string
func (ResolveConflictTool) Name ¶
func (t ResolveConflictTool) Name() string
func (ResolveConflictTool) RiskLevel ¶
func (t ResolveConflictTool) RiskLevel() approval.RiskLevel
type RunLintTool ¶
type RunLintTool struct {
Command string
}
func (RunLintTool) Description ¶
func (t RunLintTool) Description() string
func (RunLintTool) Name ¶
func (t RunLintTool) Name() string
func (RunLintTool) RiskLevel ¶
func (t RunLintTool) RiskLevel() approval.RiskLevel
type RunTestsTool ¶
type RunTestsTool struct {
Command string
}
func (RunTestsTool) Description ¶
func (t RunTestsTool) Description() string
func (RunTestsTool) Name ¶
func (t RunTestsTool) Name() string
func (RunTestsTool) RiskLevel ¶
func (t RunTestsTool) RiskLevel() approval.RiskLevel
Click to show internal directories.
Click to hide internal directories.