Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller watches Kubernetes resources and send events to bots.
func New ¶
func New(log logrus.FieldLogger, conf *config.Config, notifiers map[string]bot.Bot, reporter status.StatusReporter) *Controller
New create a new Controller instance.
type GitHubRepoClient ¶
type GitHubRepoClient interface {
GetLatestRelease(ctx context.Context, owner, repo string) (*github.RepositoryRelease, *github.Response, error)
}
GitHubRepoClient describes the client for getting latest release for a given repository.
type UpgradeChecker ¶
type UpgradeChecker struct {
// contains filtered or unexported fields
}
UpgradeChecker checks for new Botkube releases.
func NewUpgradeChecker ¶
func NewUpgradeChecker(log logrus.FieldLogger, notifiers map[string]bot.Bot, ghCli GitHubRepoClient) *UpgradeChecker
NewUpgradeChecker creates a new instance of the Upgrade Checker.
Click to show internal directories.
Click to hide internal directories.