Documentation
¶
Index ¶
- type RepositoryConnection
- type Service
- func (s *Service) Cleanup(ctx context.Context, nodeID string) error
- func (s *Service) CreateIssue(ctx context.Context, nodeID string, issue *hephaestus.Issue) error
- func (s *Service) CreatePullRequest(ctx context.Context, nodeID string, pr *hephaestus.PullRequest) error
- func (s *Service) Initialize(ctx context.Context, config *hephaestus.RemoteSettings) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepositoryConnection ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements the RemoteRepositoryService interface
func NewService ¶
func NewService(metricsCollector hephaestus.MetricsCollectionService) *Service
NewService creates a new instance of the remote repository service
func (*Service) CreateIssue ¶
CreateIssue creates a new issue in the remote repository
func (*Service) CreatePullRequest ¶
func (s *Service) CreatePullRequest(ctx context.Context, nodeID string, pr *hephaestus.PullRequest) error
CreatePullRequest creates a new pull request in the remote repository
func (*Service) Initialize ¶
func (s *Service) Initialize(ctx context.Context, config *hephaestus.RemoteSettings) error
Initialize sets up the remote repository service with the provided configuration
Click to show internal directories.
Click to hide internal directories.