Documentation
¶
Index ¶
- Variables
- type CommitPayload
- type Controller
- func (c *Controller) GeneratePipeline(ctx context.Context, in *controllertypes.GeneratePipelineInput) (*controllertypes.GeneratePipelineOutput, error)
- func (c *Controller) GeneratePipelineStep(ctx context.Context, in *controllertypes.GeneratePipelineStepInput) (*controllertypes.GeneratePipelineStepOutput, error)
- func (c *Controller) GetAnalysis(ctx context.Context, session *auth.Session, repoRef string, ...) (*types.AnalyseExecutionOutput, error)
- func (c *Controller) HandleCallbackEvent(innerEvent slackevents.EventsAPIInnerEvent) (bool, error)
- func (c *Controller) HandleEvent(_ context.Context, eventsAPIEvent slackevents.EventsAPIEvent) (*SlackbotOutput, error)
- func (c *Controller) ReviewCode(ctx context.Context, session *auth.Session, repoRef string) error
- func (c *Controller) SuggestPipeline(_ context.Context, _ *controllertypes.SuggestPipelineInput) (*controllertypes.SuggestPipelineOutput, error)
- func (c *Controller) UpdatePipeline(_ context.Context, _ *controllertypes.UpdatePipelineInput) (*controllertypes.UpdatePipelineOutput, error)
- type Files
- type SlackbotOutput
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( ProvideController, )
WireSet provides a wire set for this package.
Functions ¶
This section is empty.
Types ¶
type CommitPayload ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( authorizer authz.Authorizer, intelligence aiagent.Intelligence, repoStore store.RepoStore, pipelineStore store.PipelineStore, executionStore store.ExecutionStore, git git.Interface, urlProvider url.Provider, slackbot *messaging.Slack, ) *Controller
func ProvideController ¶
func ProvideController( authorizer authz.Authorizer, intelligence aiagent.Intelligence, repoStore store.RepoStore, pipelineStore store.PipelineStore, executionStore store.ExecutionStore, git git.Interface, urlProvider url.Provider, slackbot *messaging.Slack, ) *Controller
func (*Controller) GeneratePipeline ¶
func (c *Controller) GeneratePipeline( ctx context.Context, in *controllertypes.GeneratePipelineInput, ) (*controllertypes.GeneratePipelineOutput, error)
func (*Controller) GeneratePipelineStep ¶
func (c *Controller) GeneratePipelineStep( ctx context.Context, in *controllertypes.GeneratePipelineStepInput, ) (*controllertypes.GeneratePipelineStepOutput, error)
func (*Controller) GetAnalysis ¶
func (*Controller) HandleCallbackEvent ¶
func (c *Controller) HandleCallbackEvent(innerEvent slackevents.EventsAPIInnerEvent) (bool, error)
func (*Controller) HandleEvent ¶
func (c *Controller) HandleEvent( _ context.Context, eventsAPIEvent slackevents.EventsAPIEvent) (*SlackbotOutput, error)
func (*Controller) ReviewCode ¶
func (*Controller) SuggestPipeline ¶
func (c *Controller) SuggestPipeline( _ context.Context, _ *controllertypes.SuggestPipelineInput, ) (*controllertypes.SuggestPipelineOutput, error)
func (*Controller) UpdatePipeline ¶
func (c *Controller) UpdatePipeline( _ context.Context, _ *controllertypes.UpdatePipelineInput, ) (*controllertypes.UpdatePipelineOutput, error)
type SlackbotOutput ¶
type SlackbotOutput struct {
Success bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.