Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandCreator ¶
type MailSender ¶
type MailSender struct { log.Mixin SendgridClientCreator SendgridClientCreator APIKey string // contains filtered or unexported fields }
func (*MailSender) Send ¶
func (m *MailSender) Send(body, subject string) error
func (*MailSender) SetRecipients ¶
func (m *MailSender) SetRecipients(recipientArgs ...string) error
func (*MailSender) SetSender ¶
func (m *MailSender) SetSender(name, email string) error
type ReleaseNoter ¶
type ReleaseNoter struct { log.Mixin ReleaseToolsDir string K8sDir string GithubToken string CommandCreator CommandCreator }
func (*ReleaseNoter) GetMarkdown ¶
func (r *ReleaseNoter) GetMarkdown() (string, error)
type SendgridClient ¶
type SendgridClientCreator ¶
type SendgridClientCreator func(apiKey string) SendgridClient
Source Files ¶
Click to show internal directories.
Click to hide internal directories.