Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitopsEvent ¶
type ManagerImpl ¶
type ManagerImpl struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager() *ManagerImpl
func (*ManagerImpl) AddProvider ¶
func (m *ManagerImpl) AddProvider(providerType string, token string, defaultChannel string, channelMapping string)
func (*ManagerImpl) Broadcast ¶
func (m *ManagerImpl) Broadcast(msg Message)
func (*ManagerImpl) Run ¶
func (m *ManagerImpl) Run()
type Message ¶
type Message interface { AsSlackMessage() (*slackMessage, error) AsGithubStatus() (*githubLib.RepoStatus, error) Env() string RepositoryName() string SHA() string }
func MessageFromFluxEvent ¶
func MessageFromGitOpsEvent ¶
func MessageFromGitOpsEvent(event *GitopsEvent) Message
Click to show internal directories.
Click to hide internal directories.