Documentation
¶
Index ¶
- type RemoteService
- func (s *RemoteService) Cleanup(ctx context.Context, nodeID string) error
- func (s *RemoteService) CreatePullRequest(ctx context.Context, nodeID string, title string, description string, ...) error
- func (s *RemoteService) CreateRepository(ctx context.Context, nodeID string) error
- func (s *RemoteService) GetRepository(ctx context.Context, nodeID string) (*Repository, error)
- func (s *RemoteService) Initialize(ctx context.Context, config hephaestus.RemoteRepositoryConfiguration) error
- func (s *RemoteService) UpdateRepository(ctx context.Context, nodeID string) error
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteService ¶
type RemoteService struct {
// contains filtered or unexported fields
}
RemoteService implements the RemoteRepositoryService interface
func NewRemoteService ¶
func NewRemoteService() *RemoteService
NewRemoteService creates a new instance of the remote repository service
func (*RemoteService) Cleanup ¶
func (s *RemoteService) Cleanup(ctx context.Context, nodeID string) error
Cleanup removes a repository instance and its resources
func (*RemoteService) CreatePullRequest ¶
func (s *RemoteService) CreatePullRequest(ctx context.Context, nodeID string, title string, description string, changes []hephaestus.CodeChange) error
CreatePullRequest creates a new pull request for changes
func (*RemoteService) CreateRepository ¶
func (s *RemoteService) CreateRepository(ctx context.Context, nodeID string) error
CreateRepository creates a new repository instance for a node
func (*RemoteService) GetRepository ¶
func (s *RemoteService) GetRepository(ctx context.Context, nodeID string) (*Repository, error)
GetRepository retrieves a repository instance for a node
func (*RemoteService) Initialize ¶
func (s *RemoteService) Initialize(ctx context.Context, config hephaestus.RemoteRepositoryConfiguration) error
Initialize sets up the remote repository service with the provided configuration
func (*RemoteService) UpdateRepository ¶
func (s *RemoteService) UpdateRepository(ctx context.Context, nodeID string) error
UpdateRepository updates a repository's information
Click to show internal directories.
Click to hide internal directories.