Documentation ¶
Index ¶
- type CommonController
- func (c *CommonController) InteractionCancel(ctx context.Context, interaction slack.InteractionCallback, ...) error
- func (c *CommonController) InteractionNothingToDo(ctx context.Context, interaction slack.InteractionCallback, ...) error
- func (c *CommonController) ShowCommands(ctx context.Context, ev *slackevents.AppMentionEvent, ...) error
- func (c *CommonController) ShowVersion(ctx context.Context, ev *slackevents.AppMentionEvent, ...) error
- type EmtecController
- func (c *EmtecController) DisableAutomation(ctx context.Context, ev *slackevents.AppMentionEvent, ...) error
- func (c *EmtecController) EnableAutomation(ctx context.Context, ev *slackevents.AppMentionEvent, ...) error
- func (c *EmtecController) ListTrack(ctx context.Context, ev *slackevents.AppMentionEvent, ...) error
- func (c *EmtecController) UpdateSceneToNext(ctx context.Context, interaction slack.InteractionCallback, ...) error
- type ReleaseController
- func (c *ReleaseController) CreatePullRequestForRelease(ctx context.Context, interaction slack.InteractionCallback, ...) error
- func (c *ReleaseController) SelectConfirmation(ctx context.Context, interaction slack.InteractionCallback, ...) error
- func (c *ReleaseController) SelectReleaseLevel(ctx context.Context, interaction slack.InteractionCallback, ...) error
- func (c *ReleaseController) SelectRepository(ctx context.Context, ev *slackevents.AppMentionEvent, ...) error
- type Target
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonController ¶
type CommonController struct {
// contains filtered or unexported fields
}
func NewCommonController ¶
func NewCommonController( logger *slog.Logger, slackFactory infra_slack.SlackClientFactory, ) *CommonController
func (*CommonController) InteractionCancel ¶
func (c *CommonController) InteractionCancel(ctx context.Context, interaction slack.InteractionCallback, client *socketmode.Client) error
func (*CommonController) InteractionNothingToDo ¶
func (c *CommonController) InteractionNothingToDo(ctx context.Context, interaction slack.InteractionCallback, client *socketmode.Client) error
func (*CommonController) ShowCommands ¶
func (c *CommonController) ShowCommands(ctx context.Context, ev *slackevents.AppMentionEvent, client *socketmode.Client, subcommands map[string]string, ) error
func (*CommonController) ShowVersion ¶
func (c *CommonController) ShowVersion(ctx context.Context, ev *slackevents.AppMentionEvent, client *socketmode.Client) error
type EmtecController ¶
type EmtecController struct {
// contains filtered or unexported fields
}
func NewEmtecController ¶
func NewEmtecController( logger *slog.Logger, slackFactory infra_slack.SlackClientFactory, cndClient *infra_cnd.CndWrapper, ) *EmtecController
func (*EmtecController) DisableAutomation ¶
func (c *EmtecController) DisableAutomation(ctx context.Context, ev *slackevents.AppMentionEvent, client *socketmode.Client) error
func (*EmtecController) EnableAutomation ¶
func (c *EmtecController) EnableAutomation(ctx context.Context, ev *slackevents.AppMentionEvent, client *socketmode.Client) error
func (*EmtecController) ListTrack ¶
func (c *EmtecController) ListTrack(ctx context.Context, ev *slackevents.AppMentionEvent, client *socketmode.Client) error
func (*EmtecController) UpdateSceneToNext ¶
func (c *EmtecController) UpdateSceneToNext(ctx context.Context, interaction slack.InteractionCallback, client *socketmode.Client) error
type ReleaseController ¶
type ReleaseController struct {
// contains filtered or unexported fields
}
func NewReleaseController ¶
func NewReleaseController( logger *slog.Logger, slackFactory infra_slack.SlackClientFactory, gitcommand gitcommand.GitCommandClient, githubapi githubapi.GitHubApiClient, targets []Target, ) *ReleaseController
func (*ReleaseController) CreatePullRequestForRelease ¶
func (c *ReleaseController) CreatePullRequestForRelease(ctx context.Context, interaction slack.InteractionCallback, client *socketmode.Client) error
func (*ReleaseController) SelectConfirmation ¶
func (c *ReleaseController) SelectConfirmation(ctx context.Context, interaction slack.InteractionCallback, client *socketmode.Client) error
func (*ReleaseController) SelectReleaseLevel ¶
func (c *ReleaseController) SelectReleaseLevel(ctx context.Context, interaction slack.InteractionCallback, client *socketmode.Client) error
func (*ReleaseController) SelectRepository ¶
func (c *ReleaseController) SelectRepository(ctx context.Context, ev *slackevents.AppMentionEvent, client *socketmode.Client) error
Click to show internal directories.
Click to hide internal directories.