package
Version:
v0.4.1
Opens a new window with list of versions in this module.
Published: Mar 6, 2019
License: MIT
Opens a new window with license information.
Imports: 30
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
PromServer :prometheusのメトリクスエンドポイントを起動
func ValidateCWLogs() error
ValidateCWLogs : 指定されたCWLogsのlogGroupとlogStreamが使用可能かどうか
func ValidateSlack() error
ValidateSlack : 指定されたslackのチャンネルが使用可能かどうか。実際postする以外にprivateチャンネルの存在確認する方法はないかな…
func WatchStart(appConfig []Config)
WatchStart : eventをwatchするためのmain function
type Config struct {
Namespace string `yaml:"namespace"`
WatchEvent watchEvent `yaml:"watchEvent"`
FieldSelectors []fieldSelector `yaml:"fieldSelectors"`
Channel string `yaml:"channel"`
LogStream string `yaml:"logStream"`
}
Config はファイルで読み込む設定の型
LoadConfig :yamlファイルを読み込む
Source Files
¶
Click to show internal directories.
Click to hide internal directories.