Documentation
¶
Index ¶
- type GenerateParams
- type Logger
- type ParentRepositoryInfo
- type PreviewParams
- type Result
- type Service
- func (s *Service) GenerateWorkflows(params GenerateParams) (*Result, error)
- func (s *Service) GenerateWorkflowsWithContext(ctx context.Context, logger Logger, params GenerateParams) (*Result, error)
- func (s *Service) PreviewWorkflows(params PreviewParams) (*Result, error)
- func (s *Service) SyncWorkflows(params SyncParams) (*Result, error)
- func (s *Service) ValidateWorkflows(params ValidateParams) (*Result, error)
- func (s *Service) ValidateWorkflowsWithContext(ctx context.Context, logger Logger, params ValidateParams) (*Result, error)
- type SyncParams
- type ValidateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateParams ¶
type GenerateParams struct {
StackName string
Output string
ConfigFile string
Force bool
DryRun bool
Parent bool
Staging bool
}
GenerateParams contains parameters for workflow generation
type ParentRepositoryInfo ¶
type ParentRepositoryInfo struct {
IsParent bool
ParentRepoURL string
ParentStackPath string
HasParentConfig bool
}
ParentRepositoryInfo holds information about parent repository configuration
type PreviewParams ¶
type PreviewParams struct {
StackName string
ConfigFile string
ShowContent bool
Parent bool
Staging bool
}
PreviewParams contains parameters for workflow preview
type Result ¶
type Result struct {
Success bool
Message string
Files []string
Warnings []string
Data map[string]interface{}
}
Result contains the result of a CI/CD operation
type Service ¶
type Service struct{}
Service provides core CI/CD functionality that can be shared across CLI, MCP, and chat interfaces
func (*Service) GenerateWorkflows ¶
func (s *Service) GenerateWorkflows(params GenerateParams) (*Result, error)
GenerateWorkflows generates GitHub Actions workflows from server.yaml configuration
func (*Service) GenerateWorkflowsWithContext ¶
func (*Service) PreviewWorkflows ¶
func (s *Service) PreviewWorkflows(params PreviewParams) (*Result, error)
PreviewWorkflows shows what workflows would be generated without creating files
func (*Service) SyncWorkflows ¶
func (s *Service) SyncWorkflows(params SyncParams) (*Result, error)
SyncWorkflows synchronizes workflows to GitHub repository
func (*Service) ValidateWorkflows ¶
func (s *Service) ValidateWorkflows(params ValidateParams) (*Result, error)
ValidateWorkflows validates existing workflow files against server.yaml configuration